/* ==========================================================================
   PDX Construction Solutions
   Direction: Editorial Industrial
   Display: Archivo (variable width) · Body: Newsreader · Spec: IBM Plex Mono
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --navy:        #1B2A38;   /* Navy Steel   — header, footer, dark bands */
  --amber:       #D9822B;   /* Amber        — accents, CTAs */
  --concrete:    #6B6E70;   /* Concrete Gray— rules, icons, large meta */
  --paper:       #EFEEEA;   /* Light Concrete — page background */
  --rust:        #A13D2B;   /* Rust Red     — urgency, alerts */

  /* Derived steps (kept to a minimum on purpose) */
  --navy-deep:   #141F29;
  --amber-lit:   #E89A4B;   /* hover: brightens, so navy label stays AA */
  --paper-card:  #F7F6F3;
  --ink:         #565B5D;   /* body text — darkened concrete, 6:1 on paper */

  --rule:        rgba(27, 42, 56, 0.14);
  --rule-soft:   rgba(27, 42, 56, 0.07);
  --rule-dark:   rgba(239, 238, 234, 0.18);
  --grid-line:   rgba(27, 42, 56, 0.045);

  /* Type */
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body:    "Newsreader", Georgia, "Times New Roman", serif;
  --spec:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Spacing scale (4pt rhythm) */
  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;  --s5: 24px;
  --s6: 32px;  --s7: 48px;  --s8: 64px;  --s9: 96px;  --s10: 128px;

  /* Layout */
  --gutter: 20px;
  --max: 1240px;
  --header-h: 64px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 180ms;
  --mid: 380ms;
  --slow: 800ms;

  /* Layers */
  --z-base: 1;
  --z-sticky: 40;
  --z-overlay: 90;
  /* The header sits ABOVE the menu overlay on purpose: the overlay is opaque
     and full-screen, so anything below it swallows the close button and traps
     the user in the menu. */
  --z-header: 100;
}

@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 84px; }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.03;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }

ul { margin: 0; padding: 0; list-style: none; }

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--amber); color: var(--navy); }

.skip-link {
  position: absolute;
  left: var(--gutter); top: -100px;
  z-index: 130;
  background: var(--amber); color: var(--navy);
  font-family: var(--spec); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 18px; text-decoration: none;
  transition: top var(--fast) ease-out;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--s8); }
@media (min-width: 900px) { .section { padding-block: var(--s9); } }

.section--tight { padding-block: var(--s7); }

/* Every navy surface gets the same inverted text treatment. Keep .cta and
   .pagehero in this list — they set a navy background of their own, and
   without it headings inherit navy-on-navy. */
.section--dark { background: var(--navy); }
.section--dark, .cta, .pagehero { color: rgba(239,238,234,0.82); }
.section--dark h2, .section--dark h3, .section--dark h4,
.cta h1, .cta h2, .cta h3, .cta h4,
.pagehero h1, .pagehero h2, .pagehero h3 { color: var(--paper); }

.gridfield {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
}

.hr { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   4. Typography components
   -------------------------------------------------------------------------- */
.spec {
  font-family: var(--spec);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.5;
}
.section--dark .spec, .cta .spec, .pagehero .spec, .spec--onDark { color: var(--amber); }
.spec--amber { color: var(--amber); }

.display-xl {
  font-family: var(--display);
  /* "CRAFTSMANSHIP," is 14 unbreakable characters and sets the ceiling on
     every width below. On phones the face is condensed so the word can carry
     more weight in the space available — a narrower masthead is a deliberate
     mobile setting, not the desktop one shrunk. */
  font-size: clamp(1.75rem, 9.6vw, 5rem);
  font-variation-settings: "wdth" 92, "wght" 800;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--navy);
}
/* Above the split-hero breakpoint the headline lives in ~52% of the
   container, so it scales off that column, not off the viewport, and it
   opens back up to the full expanded width. */
@media (min-width: 980px) {
  .display-xl {
    font-size: clamp(2.25rem, 4.4vw, 3.6rem);
    font-variation-settings: "wdth" 112, "wght" 800;
  }
}

.display-l {
  font-family: var(--display);
  /* 1.8rem floor, not 2rem: at 320px a 12-character word such as
     "restoration." overflows the column at 32px and forces a page scroll. */
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  font-variation-settings: "wdth" 108, "wght" 700;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-transform: uppercase;
}

.display-m {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-variation-settings: "wdth" 105, "wght" 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.h-card {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-variation-settings: "wdth" 100, "wght" 650;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.lead {
  font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
  line-height: 1.62;
  color: var(--ink);
  max-width: 46ch;
}
.section--dark .lead, .cta .lead { color: rgba(239,238,234,0.8); }

.prose { max-width: 62ch; }

.amber { color: var(--amber); }
.rust  { color: var(--rust); }

/* Section heading block */
.head { margin-bottom: var(--s7); }
.head .spec { display: block; margin-bottom: var(--s4); }
.head .lead { margin-top: var(--s4); }

/* --------------------------------------------------------------------------
   5. Signature: dimension line (⊢——⊣)
   -------------------------------------------------------------------------- */
.dim {
  display: block;
  position: relative;
  height: 11px;
  width: 100%;
  margin: var(--s4) 0;
}
.dim::before,
.dim::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--amber);
  opacity: 0;
  transition: opacity var(--mid) ease-out;
}
.dim::before { left: 0; }
.dim::after  { right: 0; }
.dim > i {
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--slow) var(--ease);
}
.is-in .dim::before { opacity: 1; transition-delay: 60ms; }
.is-in .dim::after  { opacity: 1; transition-delay: 640ms; }
.is-in .dim > i     { transform: scaleX(1); transition-delay: 60ms; }

.dim--short { max-width: 132px; }
.dim--dark::before, .dim--dark::after, .dim--dark > i { background: var(--amber); }

/* Registration / crop marks around key plates */
.plate { position: relative; }
.plate::before,
.plate::after {
  content: "";
  position: absolute;
  width: 15px; height: 15px;
  border: 1px solid var(--amber);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--mid) ease-out 260ms;
}
.plate::before { top: -9px;    left: -9px;  border-right: 0; border-bottom: 0; }
.plate::after  { bottom: -9px; right: -9px; border-left: 0;  border-top: 0; }
.is-in.plate::before, .is-in.plate::after,
.is-in .plate::before, .is-in .plate::after { opacity: 1; }
@media (max-width: 767px) {
  .plate::before, .plate::after { display: none; }
}
/* The hero plate goes edge-to-edge below the split breakpoint, so its
   registration marks would sit off-canvas. */
@media (max-width: 979px) {
  .hero__figure.plate::before, .hero__figure.plate::after { display: none; }
}

/* --------------------------------------------------------------------------
   6. Imagery — one art direction for the whole set
   -------------------------------------------------------------------------- */
.shot {
  position: relative;
  overflow: hidden;
  background: #d8d6d1;
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.05);
  transform: scale(1.001);
  transition: transform 900ms var(--ease), filter 500ms ease-out;
}
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,42,56,0.10), rgba(27,42,56,0.02) 45%, rgba(161,61,43,0.06));
  mix-blend-mode: multiply;
  pointer-events: none;
}
a:hover .shot img, .work-item:hover .shot img { transform: scale(1.045); filter: saturate(0.95) contrast(1.06); }

.shot--4x5  { aspect-ratio: 4 / 5; }
.shot--6x5  { aspect-ratio: 6 / 5; }   /* hero: the shot is symmetrical, so it must not be side-cropped */
.shot--3x2  { aspect-ratio: 3 / 2; }
.shot--1x1  { aspect-ratio: 1 / 1; }
.shot--wide { aspect-ratio: 16 / 9; }

.caption {
  font-family: var(--spec);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  gap: var(--s2);
  align-items: baseline;
  margin-top: var(--s3);
}
/* Amber sits at 2.5:1 on Light Concrete — fine for the dimension rules, not
   for a glyph you are meant to read. Registration marks run in navy. */
.caption span:first-child { color: var(--navy); }
.section--dark .caption, .cta .caption { color: rgba(239,238,234,0.8); }
.section--dark .caption span:first-child, .cta .caption span:first-child { color: var(--amber); }

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 0;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-variation-settings: "wdth" 100, "wght" 650;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: background var(--fast) ease-out, border-color var(--fast) ease-out, color var(--fast) ease-out;
}
.btn svg { flex: none; transition: transform var(--fast) var(--ease); }
.btn:hover { --btn-bg: var(--amber-lit); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { --btn-bg: var(--amber); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover { --btn-bg: var(--navy); --btn-fg: var(--paper); border-color: var(--navy); }

.btn--navy {
  --btn-bg: var(--navy);
  --btn-fg: var(--paper);
  border-color: var(--navy);
}
.btn--navy:hover { --btn-bg: #263B4E; border-color: #263B4E; }

.btn--ghostLight {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: rgba(239,238,234,0.45);
}
.btn--ghostLight:hover { --btn-bg: var(--paper); --btn-fg: var(--navy); border-color: var(--paper); }

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
}
@media (min-width: 980px) { .btn-row { margin-top: var(--s6); } }
@media (max-width: 460px) {
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}

/* Inline text link with amber underline reveal */
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-variation-settings: "wdth" 100, "wght" 650;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--navy);
  padding-block: 6px;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-size: 0% 2px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size var(--mid) var(--ease);
}
.link:hover { background-size: 100% 2px; }
.link:hover svg { transform: translateX(4px); }
.link svg { transition: transform var(--fast) var(--ease); }
.link--light { color: var(--paper); }

/* --------------------------------------------------------------------------
   8. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: var(--navy);
  /* An inset line rather than a border, so the brand panel can stretch the
     full header height instead of stopping 1px short of it. */
  box-shadow: inset 0 -1px 0 transparent;
  transition: box-shadow var(--mid) ease-out, background var(--mid) ease-out;
}
.header.is-stuck { box-shadow: inset 0 -1px 0 rgba(217,130,43,0.4); background: var(--navy-deep); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

/* The logo is drawn in navy and would vanish on a navy bar, so the brand
   sits on a Light Concrete panel that bleeds off the left edge — a placard
   bolted to the header rather than a logo floated on top of it. */
.brand {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding-right: clamp(14px, 5vw, 72px);
  background: var(--paper);
  /* amber L-bracket: without it the panel dissolves into the paper hero
     directly beneath the header */
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  text-decoration: none;
  color: var(--navy);
}
.brand::before {          /* carries the panel out to the viewport edge */
  content: "";
  position: absolute;
  top: 0; bottom: -2px; right: 100%;
  width: 100vw;
  background: var(--paper);
  border-bottom: 2px solid var(--amber);
}
.brand__mark { flex: none; height: 36px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-variation-settings: "wdth" 108, "wght" 750;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--navy);
}
.brand__sub {
  font-family: var(--spec);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 5px;
}
@media (min-width: 420px) { .brand__name { font-size: 1.0625rem; } .brand__sub { font-size: 9px; } }
@media (min-width: 900px) { .brand__mark { height: 46px; } .brand__sub { letter-spacing: 0.24em; } }

.nav { display: none; }
@media (min-width: 980px) {
  .nav { display: flex; align-items: center; gap: var(--s6); }
}
.nav a {
  font-family: var(--spec);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239,238,234,0.78);
  text-decoration: none;
  padding-block: 8px;
  position: relative;
  transition: color var(--fast) ease-out;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--mid) var(--ease);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--paper); }

.header__actions { display: flex; align-items: center; gap: var(--s3); }

.call-btn {
  display: none;
  min-height: 44px;
  padding: 10px 18px;
  align-items: center;
  gap: 9px;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background var(--fast) ease-out;
  font-variant-numeric: tabular-nums;
}
.call-btn:hover { background: var(--amber-lit); }
@media (min-width: 720px) { .call-btn { display: inline-flex; } }

/* Compact icon-only call button for small screens */
.call-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--amber);
  color: var(--navy);
  text-decoration: none;
  transition: background var(--fast) ease-out;
}
.call-icon:hover { background: var(--amber-lit); }
@media (min-width: 720px) { .call-icon { display: none; } }

.burger {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(239,238,234,0.45);
  color: var(--paper);
  transition: border-color var(--fast) ease-out, background var(--fast) ease-out;
}
.burger:hover { border-color: var(--amber); }
.burger span {
  display: block; width: 18px; height: 1px; background: currentColor;
  position: relative;
  transition: background var(--fast) ease-out;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: currentColor;
  transition: transform var(--mid) var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 980px) { .burger { display: none; } }

/* Mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--navy);
  padding: calc(var(--header-h) + var(--s7)) var(--gutter) var(--s8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--mid) ease-out, transform var(--mid) var(--ease), visibility 0s linear var(--mid);
  overflow-y: auto;
}
.menu.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--mid) ease-out, transform var(--mid) var(--ease), visibility 0s;
}
.menu__list { display: flex; flex-direction: column; gap: 2px; }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: var(--s4);
  padding: 14px 0;
  border-bottom: 1px solid rgba(239,238,234,0.12);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-variation-settings: "wdth" 106, "wght" 700;
  font-weight: 700;
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color var(--fast) ease-out, transform var(--mid) var(--ease);
}
.menu__list a:hover { color: var(--amber); transform: translateX(8px); }
.menu__list .idx { font-family: var(--spec); font-size: 10px; letter-spacing: 0.14em; color: var(--amber); font-weight: 500; }
.menu__foot { margin-top: var(--s7); }
.menu__phone {
  display: block;
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: 1.5rem;
  color: var(--amber);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  margin-top: var(--s2);
}

/* --------------------------------------------------------------------------
   9. Mobile sticky action bar
   -------------------------------------------------------------------------- */
.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: var(--navy-deep);
  border-top: 1px solid rgba(217,130,43,0.35);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateY(110%);
  transition: transform var(--mid) var(--ease);
}
.actionbar.is-shown { transform: none; }
.actionbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.actionbar__call  { background: var(--amber); color: var(--navy); }
.actionbar__quote { background: transparent; color: var(--paper); }
@media (min-width: 900px) { .actionbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 58px; } }

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-h) + var(--s6));
  padding-bottom: var(--s8);
  position: relative;
  overflow: hidden;
}
.hero__grid { display: grid; gap: var(--s7); }
/* Grid children default to min-width:auto, so a single long unbreakable word
   in the headline can force the column wider than its track. Opt out. */
.hero__grid > * { min-width: 0; }

.hero__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4);
  margin-bottom: var(--s5);
}
.hero__eyebrow .tick { width: 22px; height: 1px; background: var(--amber); flex: none; }

.hero h1 { margin-bottom: var(--s2); }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span {
  display: block;
  transform: translateY(105%);
  transition: transform 900ms var(--ease);
}
.hero.is-in h1 .ln > span { transform: none; }
.hero.is-in h1 .ln:nth-child(2) > span { transition-delay: 80ms; }
.hero.is-in h1 .ln:nth-child(3) > span { transition-delay: 160ms; }
.hero.is-in h1 .ln:nth-child(4) > span { transition-delay: 240ms; }

.hero__lede { margin-top: var(--s5); }

.hero__media { position: relative; }
.hero__figure { margin: 0; }

/* Stats rail */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid var(--rule);
}
.stats__item { min-width: 0; }
.stats__n {
  display: block;
  font-family: var(--display);
  font-variation-settings: "wdth" 105, "wght" 750;
  font-weight: 700;
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stats__l {
  display: block;
  font-family: var(--spec);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.45;
}

/* Three columns on a 320px phone leaves 80px per stat, which shreds the
   labels into four ragged lines. Below 520px the rail becomes a stacked
   list instead: number left, label right, hairline between. */
@media (max-width: 519px) {
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stats__item {
    display: flex;
    align-items: baseline;
    gap: var(--s4);
    padding-block: var(--s4);
    border-bottom: 1px solid var(--rule);
  }
  .stats__item:last-child { border-bottom: 0; padding-bottom: 0; }
  .stats__n { min-width: 4.5ch; font-size: 2rem; }
  .stats__l { margin-top: 0; }
  .stats__l br { display: none; }
}

@media (min-width: 980px) {
  .hero { padding-top: calc(var(--header-h) + var(--s8)); padding-bottom: var(--s9); }
  .hero__grid { grid-template-columns: 1.05fr 0.85fr; gap: var(--s8); align-items: center; }
  .stats { gap: var(--s6); }
}

/* Full-bleed media on small screens — a phone-specific composition.
   Negative gutter margins rather than 100vw: 100vw includes the scrollbar
   and pushes the image off-centre. */
@media (max-width: 979px) {
  .hero__media { margin-inline: calc(-1 * var(--gutter)); }
  .hero__media .caption { padding-inline: var(--gutter); }
}

/* --------------------------------------------------------------------------
   11. Credential band
   -------------------------------------------------------------------------- */
.creds { background: var(--navy); }
.creds__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(239,238,234,0.14);
}
.creds__item {
  background: var(--navy);
  padding: var(--s5) var(--s4);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.creds__item svg { color: var(--amber); }
.creds__item b {
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 650;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.creds__item span {
  font-family: var(--spec);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(239,238,234,0.62);
  line-height: 1.5;
}
@media (min-width: 760px) {
  .creds__list { grid-template-columns: repeat(4, 1fr); }
  .creds__item { padding: var(--s6) var(--s5); }
}

/* --------------------------------------------------------------------------
   12. Services
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
@media (min-width: 620px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc {
  position: relative;
  background: var(--paper);
  padding: var(--s6) var(--s5) var(--s7);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: background var(--mid) ease-out;
}
.svc::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--mid) var(--ease);
}
.svc:hover { background: var(--paper-card); }
.svc:hover::before { transform: scaleX(1); }
.svc__meta { display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; }
.svc__meta span:first-child { color: var(--navy); }
.svc__meta .n { color: var(--ink); }
.svc p { color: var(--ink); font-size: 1rem; line-height: 1.65; }

/* The card heading is the link; the pseudo-element stretches the hit area over
   the whole card, so there is one link with real anchor text rather than a
   duplicate "read more". */
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; }
.svc:hover h3 a { color: var(--amber); }
.svc h3 a:focus-visible { outline: none; }
.svc:has(h3 a:focus-visible) { outline: 3px solid var(--amber); outline-offset: -3px; }
.svc__ico { color: var(--navy); margin-bottom: var(--s2); }

/* Secondary offer that deliberately sits below the photo-backed services */
.svc-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  margin-top: var(--s7);
  padding: var(--s5) var(--s5) var(--s5) calc(var(--s5) - 3px);
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
}
.svc-note b {
  display: block;
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 650;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.svc-note p { font-size: 1rem; margin: 0; max-width: 52ch; }
.svc-note .btn { flex: none; }
@media (max-width: 620px) { .svc-note .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   12b. Before / after pair
   -------------------------------------------------------------------------- */
.ba { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .ba { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.ba__item { position: relative; margin: 0; }
.ba__tag {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--spec);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ba__tag--after { border-left: 4px solid var(--amber); }

/* Related-services list on the service pages */
.related { display: grid; gap: 1px; background: rgba(239,238,234,0.18); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related__item { background: var(--navy); }
.related__item a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: var(--s5);
  text-decoration: none;
  color: rgba(239,238,234,0.82);
  transition: background var(--mid) ease-out;
}
.related__item a:hover { background: var(--navy-deep); }
.related__item a:hover .related__name { color: var(--amber); }
.related__item a:hover .arrow { transform: translateX(4px); }
.related__name {
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 650;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--paper);
  transition: color var(--fast) ease-out;
}
.related__blurb { font-size: 0.9375rem; line-height: 1.55; }
.related__item .arrow { margin-top: auto; color: var(--amber); transition: transform var(--fast) var(--ease); }

/* --------------------------------------------------------------------------
   13. Process — a real sequence, so it is numbered
   -------------------------------------------------------------------------- */
.process { position: relative; }
.steps { display: grid; gap: 0; }
.step {
  position: relative;
  padding: var(--s5) 0 var(--s6) var(--s7);
  border-left: 1px solid var(--rule);
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: -1px; top: 0;
  width: 1px; height: 100%;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 700ms var(--ease);
}
.step.is-in::before { transform: scaleY(1); }
.step__n {
  position: absolute;
  left: 0; top: var(--s5);
  transform: translateX(-50%);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--paper);
  border: 1px solid var(--amber);
  font-family: var(--spec);
  font-size: 10px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.step h3 { margin-bottom: var(--s3); }
.step p { color: var(--ink); font-size: 1rem; }
.step .spec { margin-bottom: var(--s3); display: block; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .step {
    padding: var(--s7) var(--s5) 0 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .step::before { left: 0; top: -1px; width: 100%; height: 1px; transform: scaleX(0); transform-origin: left; }
  .step.is-in::before { transform: scaleX(1); }
  .step__n { left: 0; top: 0; transform: translateY(-50%); }
}

/* --------------------------------------------------------------------------
   14. Work
   -------------------------------------------------------------------------- */
.work { display: grid; gap: var(--s7); }
@media (min-width: 900px) {
  .work { grid-template-columns: 1.25fr 1fr; gap: var(--s8) var(--s7); align-items: start; }
  .work-item--lead { grid-row: span 2; }
}
.work-item { text-decoration: none; display: block; }
.work-item__body { margin-top: var(--s4); }
.work-item h3 { margin-bottom: var(--s2); transition: color var(--fast) ease-out; }
.work-item:hover h3 { color: var(--amber); }
.work-item p { color: var(--ink); font-size: 1rem; margin-top: var(--s3); max-width: 46ch; }

/* --------------------------------------------------------------------------
   15. Testimonials
   -------------------------------------------------------------------------- */
.quotes { display: grid; gap: var(--s7); }
@media (min-width: 860px) { .quotes { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.quote { border-top: 1px solid var(--rule-dark); padding-top: var(--s5); }
.quote blockquote {
  margin: 0 0 var(--s5);
  font-family: var(--body);
  font-size: clamp(1.1875rem, 2.6vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--paper);
  text-wrap: pretty;
}
.quote figcaption { display: flex; flex-direction: column; gap: 6px; }
.quote cite {
  font-style: normal;
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 650;
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: var(--s4); }

/* --------------------------------------------------------------------------
   16. Big CTA band
   -------------------------------------------------------------------------- */
.cta { background: var(--navy); position: relative; overflow: hidden; }
.cta__inner { position: relative; z-index: 2; }
.cta__phone {
  display: inline-block;
  font-family: var(--display);
  font-variation-settings: "wdth" 112, "wght" 800;
  font-weight: 800;
  font-size: clamp(2rem, 9.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--amber);
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-block: 8px;                 /* keeps the tap target over 44px */
  margin-block: var(--s5) var(--s4);
  transition: color var(--fast) ease-out;
}
.cta__phone:hover { color: var(--amber-lit); }
.cta__hours {
  font-family: var(--spec);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239,238,234,0.6);
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-deep); color: rgba(239,238,234,0.68); padding-block: var(--s8) var(--s6); }
.footer__grid { display: grid; gap: var(--s7); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.25fr 1.15fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.4fr 1.25fr 1fr 1.15fr; } }

/* Same rule as the header: the logo gets a light plate to sit on, here as a
   contained placard rather than a bleeding panel. */
.footer__logo {
  display: inline-block;
  background: var(--paper);
  border-bottom: 2px solid var(--amber);
  padding: 18px 22px;
  margin-bottom: var(--s5);
  line-height: 0;
}
.footer__logo img { height: 104px; width: auto; }
@media (min-width: 760px) { .footer__logo img { height: 118px; } }

.footer h2 {
  font-family: var(--spec);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--s4);
}
.footer a { color: rgba(239,238,234,0.78); text-decoration: none; overflow-wrap: anywhere; transition: color var(--fast) ease-out; }
.footer a:hover { color: var(--amber); }
.footer li { margin-bottom: 10px; font-size: 0.9375rem; }
.footer__phone {
  display: block;
  font-family: var(--display);
  font-variation-settings: "wdth" 105, "wght" 750;
  font-weight: 700;
  font-size: clamp(1.375rem, 2.6vw, 1.625rem);
  color: var(--amber) !important;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s3);
}
.footer__areas { columns: 2; column-gap: var(--s5); }
.footer__bottom {
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid rgba(239,238,234,0.13);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s6);
  justify-content: space-between;
}
.footer__bottom p { font-family: var(--spec); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(239,238,234,0.62); margin: 0; line-height: 1.6; }

/* Build credit — the quietest line on the page, but still AA (5.4:1) and the
   link is underlined so it is not identified by colour alone. */
.footer__credit {
  margin: var(--s4) 0 0;
  font-family: var(--spec);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: rgba(239, 238, 234, 0.58);
}
.footer__credit a {
  color: rgba(239, 238, 234, 0.82);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__credit a:hover { color: var(--amber); }

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
.form-shell { position: relative; }
.field { margin-bottom: var(--s5); }
.field > label {
  display: block;
  font-family: var(--spec);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  padding: 0;
}
.req { color: var(--rust); }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  transition: border-color var(--fast) ease-out, background var(--fast) ease-out;
  appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231B2A38' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--concrete); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy);
  background: #fff;
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--concrete); }

.help {
  display: block;
  font-family: var(--spec);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 8px;
}
.err {
  display: none;
  align-items: center;
  gap: 7px;
  font-family: var(--spec);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  margin-top: 8px;
}
.field.has-error .err { display: flex; }
/* Colour + inset shadow rather than a thicker border, so nothing reflows */
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--rust);
  box-shadow: inset 0 0 0 1px var(--rust);
}

.field-row { display: grid; gap: 0; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; gap: 0 var(--s5); } }


.form-note {
  font-family: var(--spec);
  font-size: 12px; letter-spacing: 0.01em;
  color: var(--ink); line-height: 1.65; margin-top: var(--s4);
}

.form-success {
  display: none;
  border: 1px solid var(--navy);
  background: var(--paper-card);
  padding: var(--s7) var(--s6);
}
.form-success.is-shown { display: block; }
.form-success .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--s5);
  background: var(--amber); color: var(--navy);
}


/* Contact aside card */
.info-card { border: 1px solid var(--rule); background: var(--paper-card); padding: var(--s6) var(--s5); }
.info-card + .info-card { border-top: 0; }
.info-row { display: flex; gap: var(--s4); padding-block: var(--s4); border-bottom: 1px solid var(--rule); }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row:first-of-type { padding-top: 0; }
.info-row svg { color: var(--amber); flex: none; margin-top: 3px; }
.info-row b { display: block; font-family: var(--spec); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.info-row span, .info-row a {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;   /* the email address is one long token */
}
.info-row a { padding-block: 10px; }   /* tap target */
.info-row > div { min-width: 0; }
.info-row a:hover { color: var(--amber); }

.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px var(--s4); }
.areas li { font-family: var(--spec); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }

/* --------------------------------------------------------------------------
   18b. Work gallery
   -------------------------------------------------------------------------- */
.job { padding-block: var(--s8); border-top: 1px solid var(--rule); }
.job:first-of-type { border-top: 0; }
@media (min-width: 900px) { .job { padding-block: var(--s9); } }
.job__head { margin-bottom: var(--s6); }
.job__head .spec { display: block; margin-bottom: var(--s4); }
.job__head .lead { margin-top: var(--s4); }

/* One label per group of photos, not one per photo */
.gallery-group { margin-top: var(--s6); }
.gallery-group__label {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin: 0 0 var(--s4);
}
.gallery-group__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery__item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
}
.gallery__item .shot { aspect-ratio: 4 / 3; }
.gallery__item:hover .shot img { transform: scale(1.05); }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(12, 18, 24, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--mid) ease-out, visibility 0s linear var(--mid);
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity var(--mid) ease-out, visibility 0s; }
.lb__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4);
  padding: var(--s3) var(--gutter);
  padding-top: max(var(--s3), env(safe-area-inset-top, 0px));
}
.lb__label { font-family: var(--spec); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.lb__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb__nav {
  display: flex; align-items: center; justify-content: center; gap: var(--s3);
  padding: var(--s4) var(--gutter);
  padding-bottom: max(var(--s4), env(safe-area-inset-bottom, 0px));
}
.lb__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: transparent;
  border: 1px solid rgba(239,238,234,0.4);
  color: var(--paper);
  transition: background var(--fast) ease-out, border-color var(--fast) ease-out;
}
.lb__btn:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.lb__count { font-family: var(--spec); font-size: 11px; letter-spacing: 0.12em; color: rgba(239,238,234,0.72); min-width: 74px; text-align: center; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .lb { transition: none; } }

/* --------------------------------------------------------------------------
   19. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) 0;
  min-height: 56px;
  background: none;
  border: 0;
  text-align: left;
  color: var(--navy);
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 650;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  transition: color var(--fast) ease-out;
}
.faq__q:hover { color: var(--amber); }
.faq__sign { position: relative; flex: none; width: 14px; height: 14px; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; background: var(--amber);
  transition: transform var(--mid) var(--ease), opacity var(--mid) ease-out;
}
.faq__sign::before { left: 0; top: 6.5px; width: 14px; height: 1px; }
.faq__sign::after  { top: 0; left: 6.5px; width: 1px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--mid) var(--ease); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
/* Collapsed panels are taken out of the accessibility tree, not just clipped */
.faq__a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear var(--mid);
}
.faq__q[aria-expanded="true"] + .faq__a > div { visibility: visible; transition-delay: 0s; }
.faq__a p { padding-bottom: var(--s5); max-width: 60ch; font-size: 1rem; }

/* --------------------------------------------------------------------------
   20. Page hero (contact)
   -------------------------------------------------------------------------- */
.pagehero {
  background: var(--navy);
  padding-top: calc(var(--header-h) + var(--s7));
  padding-bottom: var(--s7);
}
.pagehero h1 { color: var(--paper); }
.pagehero .lead { color: rgba(239,238,234,0.8); max-width: 52ch; }
.pagehero .spec { color: var(--amber); }
.crumbs { display: flex; gap: var(--s2); align-items: center; margin-bottom: var(--s5); }
.crumbs a { color: rgba(239,238,234,0.72); text-decoration: none; padding-block: 8px; }
.crumbs a:hover { color: var(--amber); }
.crumbs span[aria-current] { color: var(--paper); }

.contact-grid { display: grid; gap: var(--s8); }
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 0.86fr 1.14fr; gap: var(--s8); align-items: start; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + var(--s5)); }
}

/* --------------------------------------------------------------------------
   21. Reveal system
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 620ms ease-out, transform 620ms var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity 560ms ease-out, transform 560ms var(--ease); }
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-in > *:nth-child(2) { transition-delay: 70ms; }
[data-stagger].is-in > *:nth-child(3) { transition-delay: 140ms; }
[data-stagger].is-in > *:nth-child(4) { transition-delay: 210ms; }
[data-stagger].is-in > *:nth-child(5) { transition-delay: 280ms; }
[data-stagger].is-in > *:nth-child(6) { transition-delay: 350ms; }

/* --------------------------------------------------------------------------
   22. Reduced motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .hero h1 .ln > span { transform: none !important; }
  .dim > i { transform: scaleX(1) !important; }
  .dim::before, .dim::after { opacity: 1 !important; }
  .step::before { transform: none !important; }
  .plate::before, .plate::after { opacity: 1 !important; }
  .actionbar { transform: none !important; }
}

@media print {
  .header, .actionbar, .menu, .btn { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}
