/* =========================================================
   Estipro Global: site styles
   Brand: navy #0A1F33 · orange #F2962E · barely-cream off-white page, cream panels
   Type:  Archivo (display, variable width axis) · IBM Plex Sans (body) · IBM Plex Mono (photo placeholder labels only)
   Design language ("the drawing set"): the site is laid out like a well made drawing set:
   ruled sheets, hairlines, index numbers, real drawings as imagery. Square corners, flat panels, no glow.
   ========================================================= */

:root {
  --navy: #0A1F33;
  --navy-2: #0F2943;
  --navy-3: #173A5C;
  --ink: #0A1F33;
  --ink-2: #44516A;
  --ink-3: #6A768C;
  --page: #FBF9F4;          /* barely-cream off-white page background */
  --band: #FBF9F4;          /* same tone as the page: no colored bands */
  --surface: #F8F4EC;       /* card fill on white */
  --surface-2: #F1EADD;     /* chips, icon wells */
  --ph: #EFE9DF;            /* photo placeholder */
  --cream: #F4ECDD;         /* cream panel fill */
  --cream-line: #E4D4B7;
  --cream-glow: 0 0 0 4px rgba(244, 236, 221, .6), 0 18px 40px -26px rgba(122, 74, 18, .35);
  --white: #FFFFFF;
  --amber: #F2962E;
  --amber-hover: #E3851C;
  --amber-ink: #9E5609;
  --amber-soft: #FDF3E6;
  --on-dark: #F3F6FB;
  --on-dark-2: rgba(243, 246, 251, .72);
  --line: #E7DFD1;
  --line-strong: #D4C8B4;
  --line-dark: rgba(243, 246, 251, .14);
  --grid: rgba(10, 31, 51, .055); /* drafting-grid texture */
  --rule: #D4C8B4;           /* = --line-strong */
  --rule-soft: #E7DFD1;      /* = --line */
  --rule-dark: rgba(243, 246, 251, .16);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  /* type: one family, three voices (Archivo is a variable font with a width axis) */
  --w-display: 560;
  --w-head: 560;
  --w-label: 650;
  --wd-label: 116%;
  --wd-num: 125%;

  /* geometry: square and precise instead of soft and rounded */
  --r-sm: 2px;
  --r-btn: 4px;
  --r-md: 2px;
  --r-card: 2px;
  --r-xl: 2px;
  --r-shell: 8px;

  --shadow-card: 0 1px 2px rgba(10, 31, 51, .04), 0 18px 44px -18px rgba(10, 31, 51, .16);
  --shadow-lg: 0 30px 70px -24px rgba(10, 31, 51, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(80px, 9vw, 136px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: var(--w-head); margin: 0; color: inherit; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main { counter-reset: sheet; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--navy); color: var(--on-dark); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--on-dark); padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section) 0; }
.section-tight-top { padding-top: 0; }
/* one background tone: sections that used to be split by a colored band no longer stack double spacing */
.section:not(.section-dark) + .section-band, .section-band + .section:not(.section-dark) { padding-top: clamp(16px, 3vw, 40px); }

h2 {
  font-size: clamp(2.1rem, 1.25rem + 2.5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }

/* section labels: same font, expanded width, with an automatic sheet index */
.eyebrow {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display);
  font-size: 12.5px; font-weight: var(--w-label); font-stretch: var(--wd-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 22px;
}
.section .eyebrow::before, .audience .eyebrow::before {
  counter-increment: sheet;
  content: counter(sheet, decimal-leading-zero);
  font-weight: 500; font-stretch: var(--wd-num); letter-spacing: .04em;
  color: var(--amber-ink);
}
.section-dark .eyebrow, .eyebrow-amber { color: var(--on-dark); }
.section-dark .eyebrow::before { color: var(--amber); }
.page-hero .eyebrow, .deliver-card .eyebrow { color: var(--amber-ink); }

/* big light numerals used for indexes */
.cat-num, .dir-num, .value-num, .step-num, .step-card-num, .aud-tag, .about-stat strong,
.next-steps li::before {
  font-family: var(--f-display); font-weight: 300; font-stretch: var(--wd-num);
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}

/* section heading block: a ruled line on top, label, then headline left and note right */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 24px 96px;
  align-items: end;
  padding-top: 28px; border-top: 1px solid var(--rule);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-dark .section-head { border-top-color: var(--rule-dark); }
.section-head > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; max-width: 400px; justify-self: end; padding-bottom: 6px; }
.section-dark .section-head > p:not(.eyebrow), .section-head-light > p:not(.eyebrow) { color: var(--on-dark-2); }

/* ---------- buttons: flat, square, one orange action per view ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-family: var(--f-display);
  font-weight: 600; font-size: 15px; letter-spacing: 0;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 58px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-hover); }
.btn-dark { background: var(--navy); color: var(--on-dark); }
.btn-dark:hover { background: var(--navy-3); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.btn-glass { background: rgba(10, 31, 51, .45); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(10, 31, 51, .7); border-color: rgba(255, 255, 255, .5); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .34); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  color: var(--navy);
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.center-link { display: flex; justify-content: flex-start; margin-top: 28px; }
.center-link .link-arrow { padding: 14px 0; border-bottom: 1px solid var(--navy); }

.glass {
  background: rgba(10, 31, 51, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  color: #fff;
}

/* ---------- photo placeholders ----------
   Swap any .ph block for an <img> when real photos arrive. */
.ph {
  position: relative;
  background-color: var(--ph);
  background-image:
    linear-gradient(rgba(10, 31, 51, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 51, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}
.ph::after {
  content: attr(data-ph);
  position: absolute; left: 16px; top: 16px; right: 16px;
  width: fit-content; max-width: calc(100% - 32px);
  font-family: var(--f-mono); font-size: 11.5px; line-height: 1.45; letter-spacing: .01em;
  color: var(--navy);
  background: rgba(255, 255, 255, .86);
  border: 1px dashed rgba(10, 31, 51, .3);
  padding: 7px 10px; border-radius: 0;
}
.ph-dark {
  background-color: #0D2640;
  background-image:
    radial-gradient(120% 90% at 70% 40%, rgba(23, 58, 92, .9), rgba(10, 31, 51, 1) 70%),
    linear-gradient(rgba(243, 246, 251, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 246, 251, .05) 1px, transparent 1px);
  background-blend-mode: normal, screen, screen;
  background-size: 100% 100%, 48px 48px, 48px 48px;
}
.ph-dark::after {
  left: auto; right: 20px; top: auto; bottom: 20px;
  color: var(--on-dark); background: rgba(10, 31, 51, .7); border-color: rgba(243, 246, 251, .3);
}
.ph-fill { position: absolute; inset: 0; }
img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- reveal on scroll: quiet, things settle into place, nothing bounces or lifts ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* =========================================================
   HEADER + MEGA MENU: same floating bar, solid material, no glow
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px var(--gutter) 0;
  pointer-events: none;
  transition: padding .3s var(--ease);
}
.nav-shell {
  pointer-events: auto;
  position: relative; z-index: 3;
  max-width: var(--maxw); margin: 0 auto;
  height: 74px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 12px 0 24px;
  background: var(--page);
  border: 1px solid rgba(10, 31, 51, .1);
  border-radius: var(--r-shell);
  box-shadow: 0 1px 0 rgba(10, 31, 51, .04), 0 14px 30px -22px rgba(10, 31, 51, .45);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease), padding .3s var(--ease);
}
/* resting: tall and roomy. Scrolled: thinner, everything steps down a size. */
.site-header.scrolled { padding-top: 10px; }
.site-header.scrolled .nav-shell { background: var(--page); border-color: rgba(10, 31, 51, .12); height: 62px; padding: 0 10px 0 20px; }
.brand img { width: 150px; height: auto; transition: width .3s var(--ease); }
.site-header.scrolled .brand img { width: 128px; }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 14px; border-radius: var(--r-btn);
  font-family: var(--f-display); font-weight: 500; font-size: 15.5px; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease), font-size .3s var(--ease), height .3s var(--ease), padding .3s var(--ease);
}
.site-header.scrolled .nav-link { height: 40px; padding: 0 13px; font-size: 15px; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(10, 31, 51, .06); }
.nav-link.active { color: var(--navy); }
.nav-link.active::after { content: ""; }
/* Services toggle: a plus that turns into an X when the menu opens */
.plus-x { position: relative; width: 12px; height: 12px; margin-left: 2px; transition: transform .35s var(--ease); }
.plus-x::before, .plus-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; }
.plus-x::after { transform: rotate(90deg); }
.nav-link[aria-expanded="true"] .plus-x { transform: rotate(135deg); color: var(--amber-ink); }
.primary-nav .nav-link.active { font-weight: 600; }
.primary-nav .nav-link.active::before { content: ""; width: 6px; height: 6px; background: var(--amber); margin-right: 4px; }
.nav-cta { height: 50px; padding: 0 22px; font-size: 15px; transition: background-color .2s var(--ease), height .3s var(--ease), padding .3s var(--ease), font-size .3s var(--ease); }
.site-header.scrolled .nav-cta { height: 42px; padding: 0 20px; font-size: 15px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--on-dark); align-items: center; justify-content: center; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-close { display: none; }

.mega {
  pointer-events: none;
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 10px var(--gutter) 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.site-header.mega-open .mega {
  pointer-events: auto; opacity: 1; visibility: visible; transform: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s;
}
.mega-inner {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--page);
  border: 1px solid rgba(10, 31, 51, .1);
  border-radius: var(--r-shell);
  box-shadow: 0 30px 60px -30px rgba(10, 31, 51, .5);
  padding: 30px 32px 0;
}
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; }
.mega-cat {
  display: block;
  font-family: var(--f-display); font-weight: var(--w-label); font-stretch: var(--wd-label); font-size: 12px; line-height: 1.35;
  letter-spacing: .13em; text-transform: uppercase; color: var(--navy);
  padding-bottom: 10px; border-bottom: 1px solid var(--rule);
  margin-bottom: 12px;
}
.mega-cat:hover { color: var(--amber-ink); }
.mega-col li a {
  display: block; padding: 5px 0; font-size: 15px; color: var(--ink-2); line-height: 1.4;
  transition: color .15s var(--ease), transform .15s var(--ease);
}
.mega-col li a:hover { color: var(--navy); transform: translateX(3px); }
.mega-foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 28px -32px 0; padding: 16px 32px; border-top: 1px solid var(--line);
}
.mega-foot a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--navy); }
.mega-foot a:last-child { color: var(--amber-ink); }
.mega-foot .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mega-foot a:hover .icon { transform: translateX(3px); }

/* phone menu: same voices as the rest of the site (small caps label, Archivo 500 rows, ruled lines) */
.mobile-menu {
  pointer-events: auto;
  position: fixed; inset: 0; z-index: 2;
  background: var(--page);
  padding: 116px var(--gutter) 28px;
  overflow-y: auto;
  display: none; flex-direction: column; gap: 28px;
}
.menu-is-open .mobile-menu { display: flex; }
.menu-is-open .menu-open { display: none; }
.menu-is-open .menu-close { display: block; }
body.menu-is-open { overflow: hidden; }
/* a page-tone strip behind the floating bar, so scrolled links never show above it */
.site-header.menu-is-open::before { content: ""; position: absolute; inset: 0 0 -12px 0; z-index: 3; background: var(--page); }
.m-link, .m-group summary {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--rule); cursor: pointer; list-style: none;
}
.m-group summary::-webkit-details-marker { display: none; }
.m-label { font-family: var(--f-display); font-weight: 650; font-stretch: 116%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); padding-top: 20px; }
.m-group summary { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; gap: 16px; text-align: left; }
.m-plus { width: 18px; height: 18px; stroke-width: 1.5; flex: none; transition: transform .2s var(--ease); }
.m-group[open] .m-plus { transform: rotate(45deg); }
/* group links line up with the group titles; an open group closes with a rule */
.m-group ul { padding: 8px 0 12px; }
.m-group[open] ul { border-bottom: 1px solid var(--rule); }
.m-group li a { display: block; padding: 8px 0; font-family: var(--f-body); font-size: 15.5px; font-weight: 400; color: var(--ink-2); }
.m-foot { margin-top: auto; display: grid; gap: 14px; }
.m-call { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 15px; padding: 10px; }

/* =========================================================
   HERO: real linework from the portfolio instead of a stock photo
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  display: block;
  color: #fff; background: var(--navy);
  overflow: hidden;
}
/* hero photo: steel frame at blue hour, the empty sky on the left carries the headline */
/* the whole photo always shows, top to bottom; its left edge fades into the hero navy.
   Its right edge sits 280px past the right edge of the content (at 1440 and below it simply runs 8% off screen),
   so on every desktop width the steel clears the headline and both lamps stay in view
   (on wide screens it no longer drifts away to the far right). */
.hero-photo {
  position: absolute; top: 0; right: max(-8%, calc((100vw - var(--maxw)) / 2 - 280px)); z-index: -2; width: auto; height: 100%; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%);
}
/* one time wipe: the photo is revealed from the left over 1.2s once it has loaded (main.js adds .is-in).
   Without JavaScript, or with reduced motion, it simply shows. */
.js .hero-photo { clip-path: inset(0 100% 0 0); }
.js .hero-photo.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .hero-photo { clip-path: none; }
}
/* a light navy fade along the bottom so the facts stay readable where they cross the photo */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(10, 31, 51, .7) 0%, rgba(10, 31, 51, 0) 22%); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero .ph-dark::after { bottom: auto; top: 122px; right: max(20px, calc((100vw - var(--maxw)) / 2)); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 31, 51, .94) 0%, rgba(10, 31, 51, .78) 38%, rgba(10, 31, 51, .25) 75%, rgba(10, 31, 51, .1) 100%),
    linear-gradient(0deg, rgba(10, 31, 51, .75) 0%, rgba(10, 31, 51, 0) 40%);
}
.hero-inner {
  position: relative;
  display: block;
  padding-top: clamp(160px, 20vh, 200px); padding-bottom: clamp(48px, 7vh, 76px);
}
.hero-copy { max-width: 1000px; }
.hero-kicker {
  font-family: var(--f-display); font-size: 12.5px; font-weight: var(--w-label); font-stretch: var(--wd-label);
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72);
  margin-bottom: 30px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .92);
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 150, 46, .25); }
.hero h1 {
  font-size: clamp(2.8rem, 1rem + 5.4vw, 5.9rem);
  font-weight: var(--w-display);
  line-height: .96;
  letter-spacing: -0.048em;
  margin-bottom: 32px;
}
.hero h1 .accent { display: block; color: var(--amber); }
.hero-lead { font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, .74); max-width: 540px; margin-bottom: 38px; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
.hero-stats { display: flex; flex-wrap: wrap; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); width: fit-content; max-width: 100%; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; padding: 0 32px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.hero-stats dd { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }

/* the "title block": facts in ruled cells, like the corner of a drawing sheet */
.title-block {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
  margin: 0; border-top: 1px solid rgba(255, 255, 255, .28);
}
.title-block > div { padding: 22px 28px 30px 0; border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 28px; }
.title-block > div:first-child { border-left: 0; padding-left: 0; }
.title-block dt { font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: #fff; margin-bottom: 4px; }
.title-block dd { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .66); }

/* strip under the hero: still orange, a thin ruled line of small caps */
.trust-strip {
  background: var(--amber); color: var(--navy);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  padding: 0 var(--gutter);
  font-family: var(--f-display); font-weight: var(--w-label); font-size: 12.5px; font-stretch: 108%;
  letter-spacing: .1em; text-transform: uppercase;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 10px; padding: 17px 30px; border-left: 1px solid rgba(10, 31, 51, .22); }
.trust-strip span:first-child { border-left: 0; }
.trust-strip .icon { width: 15px; height: 15px; stroke-width: 2.6; }

/* =========================================================
   SERVICE CATEGORIES: one cream sheet ruled into six cells (not six floating cards)
   ========================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--cream-line); border: 1px solid var(--cream-line); }
.cat-card {
  display: flex; flex-direction: column;
  background: var(--cream);
  padding: 30px 32px 30px;
  min-height: 300px;
  transition: background-color .25s var(--ease);
}
.cat-card:hover { background: var(--page); }
.cat-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 44px; }
.cat-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--amber); display: grid; place-items: center; }
.cat-icon .icon { width: 22px; height: 22px; }
.cat-num { font-size: 2.6rem; line-height: 1; color: var(--navy); }
.cat-count { font-family: var(--f-display); font-size: 12px; font-weight: var(--w-label); font-stretch: var(--wd-label); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.cat-card h3 { font-size: 1.42rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px; max-width: 22ch; }
.cat-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin-bottom: 26px; max-width: 34ch; }
.cat-card .link-arrow { margin-top: auto; font-size: 14.5px; opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.cat-card:hover .link-arrow, .cat-card:focus-visible .link-arrow { opacity: 1; transform: none; }
.cat-card:hover .link-arrow .icon { transform: translateX(4px); }

/* =========================================================
   SHEETS: how every real drawing is framed
   ========================================================= */
.sheet { margin: 0; }
.sheet-img { background: #fff; border: 1px solid var(--rule); padding: 14px; }
.sheet-img img { width: 100%; height: auto; }
.sheet figcaption {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: baseline;
  padding: 12px 0 0; font-size: 14px; color: var(--ink-2);
}
.sheet figcaption span { font-family: var(--f-display); font-size: 11.5px; font-weight: var(--w-label); font-stretch: var(--wd-label); letter-spacing: .13em; text-transform: uppercase; color: var(--amber-ink); }
/* avoid a single word alone on the last line */
.sheet figcaption strong { font-family: var(--f-display); font-weight: 600; color: var(--navy); text-wrap: pretty; }
.sheet figcaption em { font-style: normal; color: var(--ink-3); }

/* =========================================================
   SPLIT STORY
   ========================================================= */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 6vw, 104px); align-items: center; }
.split-media { position: relative; }
.split-media:not(.sheet):not(.split-photo) { aspect-ratio: 1 / 1.02; overflow: hidden; border: 1px solid var(--rule); }
/* a real photo in the story section: framed with a hairline, the badge sits over its corner */
.split-photo { margin: 0; }
.split-photo-img { aspect-ratio: 1341 / 1173; overflow: hidden; border: 1px solid var(--rule); background: var(--ph); }
/* zoomed in about 10% from the top (the bottom is trimmed), and on wider screens the photo sits 44px
   lower than the badge, so the badge keeps clear of the people's heads */
.split-photo-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transform-origin: 50% 0; }
@media (min-width: 961px) {
  .split-photo-img { margin-top: 44px; }
}
.split-badge {
  position: absolute; right: -18px; top: -22px;
  background: var(--amber); color: var(--navy);
  padding: 18px 22px 16px;
  display: grid; gap: 2px;
}
.split-badge strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.split-badge span { font-family: var(--f-display); font-size: 12px; font-weight: var(--w-label); font-stretch: 108%; letter-spacing: .08em; text-transform: uppercase; }
.split-copy h2 { font-size: clamp(2rem, 1.2rem + 2.3vw, 3.15rem); margin-bottom: 24px; }
.split-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 28px; max-width: 540px; }
.check-list { display: grid; margin-bottom: 34px; border-top: 1px solid var(--rule); }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--rule); font-weight: 400; color: var(--navy); }
.check-list .icon { width: 18px; height: 18px; color: var(--amber-ink); stroke-width: 2.25; margin-top: 2px; }

/* =========================================================
   PROCESS (dark): a dimension line with five stations (no boxes)
   ========================================================= */
.section-dark { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.section-dark::before {
  /* real HVAC layout from the portfolio as faint white linework (made with tools/linework.mjs from portfolio/hvac-1.jpg) */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("../img/linework/hvac-1-white.webp");
  background-size: 1100px auto; background-repeat: no-repeat; background-position: right -180px top -60px;
  opacity: .1;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 62%);
  mask-image: linear-gradient(200deg, #000 10%, transparent 62%);
}
.section-dark .container { position: relative; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: none; border-top: 1px solid rgba(243, 246, 251, .5); }
.step { position: relative; padding: 30px 28px 6px 0; transition: border-color .3s var(--ease); }
.step:hover { border-color: rgba(242, 150, 46, .5); }
.step::before {
  /* tick on the dimension line */
  content: ""; position: absolute; left: 0; top: -9px; width: 1px; height: 17px; background: var(--amber);
  transform: rotate(35deg); transform-origin: center;
}
.step-num { display: block; font-size: 2.5rem; line-height: 1; color: var(--amber); margin-bottom: 34px; }
.step h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; color: #fff; }
.step p { font-size: 15.5px; color: var(--on-dark-2); max-width: 24ch; }

/* =========================================================
   PROJECT TYPES: ruled index on the left, a real sheet on the right
   ========================================================= */
.projects { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
.projects-copy { padding-top: 28px; border-top: 1px solid var(--rule); }
.projects-copy h2 { margin-bottom: 22px; }
.projects-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 32px; }
.tabs { display: grid; gap: 0; border-top: 1px solid var(--rule); counter-reset: tab; }
.tab {
  counter-increment: tab;
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; text-align: left;
  font-family: var(--f-display); font-weight: 500; font-size: 1.08rem; color: var(--ink-2);
  padding: 17px 0; background: none; border: 0; border-bottom: 1px solid var(--rule);
  transition: color .2s var(--ease), padding .2s var(--ease);
}
.tab::before { content: counter(tab, decimal-leading-zero); font-size: 12.5px; font-weight: 500; font-stretch: var(--wd-num); color: var(--ink-3); }
.tab::after { content: ""; width: 8px; height: 8px; background: var(--amber); opacity: 0; transition: opacity .2s var(--ease); }
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab[aria-selected="true"] { border-color: var(--navy); color: var(--navy); font-weight: 600; }
.tab[aria-selected="true"]::after { opacity: 1; }
.tab[aria-selected="true"]::before { color: var(--amber-ink); }
.projects-visual { position: relative; }
.tab-panel { animation: panelIn .45s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
/* crossfade: the old panel floats on top and fades out while the new one fades in (main.js) */
.tab-panel.is-leaving { position: absolute; top: 0; left: 0; right: 0; z-index: 1; pointer-events: none; animation: panelOut .38s var(--ease) forwards; }
@keyframes panelOut { from { opacity: 1; } to { opacity: 0; } }
.panel-media { position: relative; aspect-ratio: 3 / 2; background: #fff; border: 1px solid var(--rule); overflow: hidden; padding: 16px 16px 44px; }
.panel-media img { width: 100%; height: 100%; object-fit: contain; }
.panel-cap { position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--on-dark); font-size: 12.5px; padding: 8px 14px; }
.panel-note { padding: 24px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 8px 40px; }
.panel-note.glass { background: none; border: 0; color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.panel-title { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0; grid-column: 1; }
.panel-note > p:not(.panel-title) { font-size: 15.5px; color: var(--ink-2); margin: 0; grid-column: 1; }
.chain { display: grid; gap: 0; align-content: start; counter-reset: ch; grid-column: 2; grid-row: 1 / span 2; border-top: 1px solid var(--rule); }
.chain li {
  counter-increment: ch; display: flex; align-items: center; gap: 14px;
  padding: 8px 0; border-bottom: 1px solid var(--rule-soft);
  font-size: 14.5px; font-weight: 500; color: var(--navy); white-space: nowrap;
}
.chain li span { white-space: nowrap; }
.chain li::before { content: counter(ch); font-family: var(--f-display); font-stretch: var(--wd-num); font-size: 12px; color: var(--amber-ink); width: 14px; }

/* =========================================================
   AUDIENCE: four ruled columns on the page tone (no photo band, no glass)
   ========================================================= */
.audience { position: relative; isolation: isolate; color: var(--ink); background: var(--page); padding: clamp(16px, 3vw, 40px) 0 var(--section); overflow: hidden; }
.audience-media { position: absolute; inset: 0; z-index: -2; }
.audience-shade { display: none; }
.audience .ph-dark::after { z-index: 1; }
.aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--navy); }
.aud-card {
  border-left: 1px solid var(--rule);
  padding: 28px 28px 8px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.aud-card:hover { border-color: rgba(242, 150, 46, .6); }
.aud-card:first-child { border-left: 0; padding-left: 0; }
.aud-tag { display: block; color: var(--navy); font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; margin-bottom: 56px; }
.aud-card h3 { color: var(--navy); font-size: 1.28rem; margin-bottom: 10px; }
.aud-card p { font-size: 15.5px; color: var(--ink-2); }

/* =========================================================
   FAQ: a ruled list, not a stack of boxes
   ========================================================= */
.faq-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-intro { padding-top: 28px; border-top: 1px solid var(--rule); }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 28px; }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--navy); counter-reset: q; }
.faq-item {
  counter-increment: q;
  border-bottom: 1px solid var(--rule);
  transition: background-color .2s var(--ease);
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  width: 22px; height: 22px;
  color: var(--navy); stroke-width: 1.5;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.faq-item[open] summary .icon { transform: rotate(45deg); color: var(--amber-ink); }
.faq-body { padding: 0 60px 28px 0; color: var(--ink-2); max-width: 640px; font-size: 1.02rem; }

/* =========================================================
   PAGE ENDING v2: navy closing section, then a slim orange band, then the footer
   (docs/design-upgrade/closing/CLOSING-BRIEF.md). The closing section is
   "section section-dark closing", so it gets the navy background and the label number.
   ========================================================= */
.closing { padding: clamp(88px, 9vw, 136px) 0 clamp(56px, 6vw, 80px); }
.closing::before {
  /* real foundation plan from the portfolio as faint white linework, bottom right
     (made with tools/linework.mjs from portfolio/apt-struct-1.jpg) */
  background-image: url("../img/linework/apt-struct-1-white.webp");
  background-size: 1250px auto; background-position: right -260px bottom -120px;
  opacity: .09;
  -webkit-mask-image: linear-gradient(300deg, #000 8%, transparent 58%);
  mask-image: linear-gradient(300deg, #000 8%, transparent 58%);
}
.closing-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(48px, 7vw, 120px); align-items: end; }
.closing-copy { padding-top: 28px; border-top: 1px solid var(--rule-dark); }
.closing-copy h2 { color: #fff; font-size: clamp(2.4rem, 1.1rem + 3.7vw, 4.5rem); line-height: .98; letter-spacing: -0.048em; margin-bottom: 26px; }
.closing-copy > p:not(.eyebrow) { color: var(--on-dark-2); font-size: 1.12rem; max-width: 460px; }

.closing-panel { border-top: 1px solid rgba(243, 246, 251, .5); }
.closing-send {
  display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 28px;
  background: var(--amber); color: var(--navy);
  font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em;
  transition: background-color .2s var(--ease);
}
.closing-send .icon { width: 26px; height: 26px; transition: transform .25s var(--ease); }
.closing-send:hover { background: var(--amber-hover); }
.closing-send:hover .icon { transform: translateX(6px); }
.closing-row { display: grid; grid-template-columns: 84px 1fr; align-items: baseline; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--rule-dark); color: var(--on-dark); }
.closing-row span { font-family: var(--f-display); font-size: 11.5px; font-weight: var(--w-label); font-stretch: var(--wd-label); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.closing-row strong { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.015em; }
.closing-phone { padding: 22px 0 20px; }
.closing-phone strong { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.6rem); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
a.closing-row:hover strong { color: var(--amber); }

.closing-next { margin-top: clamp(64px, 7vw, 104px); }
.closing-next-title { font-family: var(--f-display); font-size: 12.5px; font-weight: var(--w-label); font-stretch: var(--wd-label); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 22px; }
.closing-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(243, 246, 251, .5); }
.closing-steps li { position: relative; display: grid; grid-template-columns: 64px 1fr; padding: 24px 32px 0 0; }
.closing-steps li::before { content: ""; position: absolute; left: 0; top: -9px; width: 1px; height: 17px; background: var(--amber); transform: rotate(35deg); }
.closing-num { font-family: var(--f-display); font-weight: 300; font-stretch: var(--wd-num); font-size: 1.9rem; line-height: 1; letter-spacing: -0.03em; color: var(--amber); }
.closing-steps p { margin: 0; font-size: 15.5px; color: var(--on-dark-2); max-width: 30ch; }
.closing-steps strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.015em; color: #fff; margin-bottom: 4px; }

@media (max-width: 960px) {
  .closing-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .closing-steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .closing-steps li { border-top: 1px solid rgba(243, 246, 251, .4); padding: 20px 0; }
  .closing-steps p { max-width: none; }
}
@media (max-width: 560px) {
  .closing-send { height: 72px; padding: 0 20px; font-size: 1.15rem; }
  .closing-row { grid-template-columns: 70px 1fr; }
  .closing-row strong { font-size: 1.02rem; overflow-wrap: anywhere; }
  .closing-phone strong { font-size: 1.9rem; }
}

/* =========================================================
   FOOTER: ruled like the title block of a sheet, on the light page tone
   (inside the footer the "dark" rule colour becomes the normal light-page rule)
   ========================================================= */
.site-footer { --rule-dark: var(--rule); background: var(--page); color: var(--ink-2); padding: clamp(64px, 7vw, 96px) 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1.1fr; gap: 0; padding-bottom: 0; position: relative; }
.footer-grid::before, .footer-grid::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--rule-dark); }
.footer-grid::before { top: 0; }
.footer-grid::after { bottom: 0; }
.footer-grid > div { padding: 36px 32px 44px; border-left: 1px solid var(--rule-dark); }
.footer-grid > div:first-child { padding-left: 0; border-left: 0; }
.footer-brand img { width: 168px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 360px; margin-bottom: 26px; }
/* large file Dropbox link: a solid navy panel so it stands out on the light footer */
.footer-drop {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--r-btn);
  background: var(--navy); color: var(--on-dark-2); font-size: 14.5px; line-height: 1.45; max-width: 380px;
  transition: background-color .2s var(--ease);
}
.footer-drop:hover { background: var(--navy-3); }
.footer-drop .icon { width: 26px; height: 26px; color: var(--amber); }
.footer-drop strong { display: block; font-family: var(--f-display); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; margin-bottom: 2px; }
.footer-drop .icon:last-child { width: 18px; height: 18px; margin-left: auto; color: #fff; transition: transform .2s var(--ease); }
.footer-drop:hover .icon:last-child { transform: translateX(4px); }
.footer-head { font-family: var(--f-display); font-size: 12px; font-weight: var(--w-label); font-stretch: var(--wd-label); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 22px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--navy); }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact a { color: var(--navy); }
.footer-contact .icon { width: 16px; height: 16px; color: var(--amber-ink); }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 22px; padding-bottom: 28px; font-size: 13.5px; color: var(--ink-3);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-photo { right: 0; }
  /* tablet: the steel reaches under the text, so a navy fade from the left keeps it readable */
  .hero::after { background: linear-gradient(0deg, rgba(10, 31, 51, .7) 0%, rgba(10, 31, 51, 0) 22%), linear-gradient(90deg, rgba(10, 31, 51, .9) 0%, rgba(10, 31, 51, .75) 45%, rgba(10, 31, 51, 0) 80%); }
}
/* orange strip, 761 to 1439px: the four items need about 1430px (with a scrollbar) to fit on one line,
   so below that they sit in a tidy 2 by 2 grid instead of an uneven wrap */
@media (min-width: 761px) and (max-width: 1439px) {
  .trust-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip span { justify-content: center; padding: 14px 20px; }
  .trust-strip span:nth-child(odd) { border-left: 0; }
  .trust-strip span:nth-child(n+3) { border-top: 1px solid rgba(10, 31, 51, .22); }
}
/* tablet (761 to 1180px) */
@media (min-width: 761px) and (max-width: 1180px) {
  /* process: five steps in rows of three, every row on its own dimension line */
  .steps { border-top: 0; row-gap: 30px; }
  .step { border-top: 1px solid rgba(243, 246, 251, .5); }
}
/* wide screens: the photo stops short of the window edge, so its right edge fades into the navy too */
@media (min-width: 1600px) {
  .hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 90%, transparent 100%); }
}
@media (max-width: 1080px) {
  .primary-nav, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mega { display: none; }
  .aud-grid, .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .title-block { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aud-card:nth-child(3) { border-left: 0; padding-left: 0; }
  .aud-card:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid > div:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
}
@media (max-width: 960px) {
  /* narrow screens: the frame sits behind the text, so the whole photo is toned down */
  .hero-photo { left: 0; width: 100%; object-fit: cover; object-position: right bottom; -webkit-mask-image: none; mask-image: none; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 31, 51, .55) 0%, rgba(10, 31, 51, .78) 55%, rgba(10, 31, 51, .94) 100%); }
  .section-head, .split, .projects, .faq-split { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 16px; }
  .section-head > p { justify-self: start; max-width: 600px; }
  .section-head > p:not(.eyebrow) { max-width: 560px; justify-self: start; }
  .split-badge { position: static; width: fit-content; margin-top: 18px; }
}
@media (max-width: 760px) {
  .hero .ph-dark::after { display: none; }
  .trust-strip { justify-content: flex-start; padding: 6px var(--gutter); }
  .trust-strip span { width: 100%; padding: 10px 0; border-left: 0; border-top: 1px solid rgba(10, 31, 51, .2); }
  .trust-strip span:first-child { border-top: 0; }
  .sheet figcaption { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 0; padding: 26px 22px; }
  .cat-top { margin-bottom: 26px; }
  .cat-card .link-arrow { opacity: 1; transform: none; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step { border-top: 1px solid rgba(243, 246, 251, .4); padding: 22px 0 22px; display: grid; grid-template-columns: 76px 1fr; column-gap: 8px; }
  .step-num { grid-row: span 2; margin: 0; font-size: 2rem; }
  .step p { max-width: none; }
  .panel-note { grid-template-columns: minmax(0, 1fr); }
  .chain { grid-column: 1; grid-row: auto; margin-top: 14px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid > div, .footer-grid > div:first-child { padding: 28px 0; border-left: 0; border-top: 1px solid var(--rule-dark); }
  .footer-grid > div:first-child { border-top: 0; }
  .footer-col a, .footer-contact a { display: inline-block; padding: 6px 0; }
  .footer-contact a { display: inline-flex; } /* bigger tap area, icon still beside the text */
}
@media (max-width: 560px) {
  .site-header.scrolled .nav-shell { padding: 0 10px 0 16px; }
  .menu-toggle { width: 44px; height: 44px; }
  .hero-inner { padding-top: 132px; padding-bottom: 44px; }
  .hero-kicker { font-size: 11px; letter-spacing: .1em; margin-bottom: 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { flex-direction: column; gap: 14px; width: 100%; }
  .hero-stats div { padding: 0; border-left: 0; flex-direction: row; align-items: baseline; gap: 12px; }
  .hero-stats dt { font-size: 1.25rem; min-width: 104px; }
  .title-block { grid-template-columns: minmax(0, 1fr); }
  .title-block > div, .title-block > div:first-child { display: grid; grid-template-columns: 124px 1fr; align-items: baseline; padding: 14px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .title-block > div:first-child { border-top: 0; }
  .title-block dt { font-size: 1.35rem; margin: 0; }
  .aud-grid { grid-template-columns: minmax(0, 1fr); }
  .aud-card, .aud-card:first-child { border-left: 0; padding: 22px 0 22px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 96px 1fr; column-gap: 8px; }
  .aud-card:first-child { border-top: 0; }
  .aud-tag { font-size: 2rem; margin: 0; grid-row: span 2; }
  .faq-item summary { padding: 20px 0; font-size: 1.05rem; }
  .faq-body { padding: 0 0 22px; }
}

/* alternate light band (same tone as the page) */
.section-band { background: var(--band); }

/* =========================================================
   NATIONWIDE SUPPORT BAND: slim orange band above the footer on every page.
   One row: label and line on the left, button on the right.
   ========================================================= */
.support-band { background: var(--amber); color: var(--navy); padding: clamp(40px, 5vw, 64px) 0 clamp(42px, 5vw, 66px); }
.support-copy { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; }
.support-copy .eyebrow { margin-bottom: 12px; font-size: 12.5px; }
.support-copy h2 { font-size: clamp(1.75rem, 0.95rem + 2.3vw, 2.85rem); font-weight: var(--w-head); letter-spacing: -0.035em; line-height: 1.06; margin: 0; }
.support-copy .btn { flex: none; border-radius: var(--r-btn); }
.support-copy .btn-dark:hover { background: #000; }
@media (max-width: 760px) {
  .support-copy { flex-direction: column; align-items: flex-start; }
  .support-copy .btn { width: 100%; justify-content: space-between; }
}
.footer-contact li span { align-items: flex-start; }
.footer-contact li span .icon { margin-top: 3px; }

/* =========================================================
   INNER PAGE HERO (services overview + service pages)
   ========================================================= */
.page-hero {
  padding: clamp(150px, 15vw, 196px) 0 clamp(48px, 6vw, 80px);
  background: var(--page);
}
.page-hero + .section, .page-hero + .directory { border-top: 1px solid var(--rule); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 40px 64px; align-items: end; }
.page-hero h1 {
  font-size: clamp(2.6rem, 1.1rem + 4.4vw, 5.2rem);
  font-weight: var(--w-display); line-height: .97; letter-spacing: -0.045em;
  margin-bottom: 26px;
}
.page-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; margin-bottom: 32px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 10px 0;
  font-family: var(--f-display); font-weight: 500; font-size: 14px; color: var(--ink-2);
}
.back-link .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.back-link:hover { color: var(--navy); }
.back-link:hover .icon { transform: translateX(-3px); }
.btn-outline .icon { width: 17px; height: 17px; }
.btn-outline:hover .icon { transform: none; }

.deliver-card {
  background: var(--navy); color: var(--on-dark);
  padding: 30px 32px 20px;
}
.deliver-card .eyebrow { color: var(--amber); margin-bottom: 8px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 400; line-height: 1.45; }
.tick-list li:last-child { border-bottom: 0; }
.tick-list .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--amber-ink); stroke-width: 2.4; }
.tick-list-dark li { border-color: var(--line-dark); color: #fff; }
.tick-list-dark .icon { color: var(--amber); }

/* what this solves */
.solves-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 40px 96px; align-items: start; }
.solves-copy { padding-top: 28px; border-top: 1px solid var(--rule); }
.solves-copy h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.2rem); margin-bottom: 22px; }
.solves-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 16px; max-width: 660px; }
.note-callout {
  display: flex; gap: 12px; align-items: flex-start; max-width: 660px;
  margin-top: 26px; padding: 16px 18px; border-radius: 14px;
  background: var(--amber-soft); border: 1px solid #F5DDBA; font-size: 15px; line-height: 1.5;
}
.note-callout .icon { width: 20px; height: 20px; color: var(--amber-ink); margin-top: 1px; }
/* side panels (fit, drop, ask, legal contents): flat, a navy rule on top, no glow */
.fit-card { background: var(--cream); border-top: 2px solid var(--navy); padding: 26px 28px 24px; position: sticky; top: 110px; }
.fit-title { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.fit-card .tick-list li { border-color: var(--cream-line); }

/* getting started */
.start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--navy); }
.start-card { display: flex; flex-direction: column; padding: 30px 48px 8px 0; }
.start-card + .start-card { border-left: 1px solid var(--rule); padding-left: 48px; padding-right: 0; }
.start-title { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 14px; }
.start-title .icon { display: none; }
.send-list { counter-reset: n; }
.send-list li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-weight: 400; line-height: 1.45; }
.send-list li:last-child { border-bottom: 0; }
.send-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-display); font-weight: 400; font-stretch: var(--wd-num); font-size: 12.5px; color: var(--amber-ink); padding-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips li { padding: 10px 14px; border: 1px solid var(--rule); font-weight: 500; font-size: 14px; line-height: 1; }
.start-foot { margin-top: auto; margin-bottom: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14.5px; }

/* three steps on the dimension line */
.step-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--navy); }
.step-card { position: relative; color: var(--ink); padding: 28px 32px 8px 0; }
.step-card::before { content: ""; position: absolute; left: 0; top: -9px; width: 1px; height: 17px; background: var(--amber-ink); transform: rotate(35deg); }
.step-card-num { display: block; font-size: 2.6rem; line-height: 1; color: var(--amber); margin-bottom: 36px; }
.step-card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.step-card p { color: var(--ink-2); max-width: 30ch; }

/* service cards (directory + related) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-card {
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--cream-line); border-radius: 22px;
  padding: 26px 26px 24px; min-height: 220px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); border-color: #DCCFB9; box-shadow: 0 26px 50px -30px rgba(10, 31, 51, .35); }
.svc-card[hidden] { display: none; }
.svc-card-cat { font-family: var(--f-display); font-weight: var(--w-label); font-stretch: var(--wd-label); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 12px; }
.svc-card h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 10px; }
.svc-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin-bottom: 20px; }
.svc-card .link-arrow { margin-top: auto; font-size: 14.5px; }
.svc-card:hover .link-arrow .icon { transform: translateX(4px); }

/* services directory: a ruled schedule, like the sheet index of a drawing set */
.directory .svc-grid { display: block; border-top: 1px solid var(--navy); }
.directory .svc-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 24px; gap: 8px 32px; align-items: baseline;
  min-height: 0; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  transition: padding .2s var(--ease), background-color .2s var(--ease);
}
.directory .svc-card[hidden] { display: none; } /* search results: keep non-matching services hidden */
.directory .svc-card:hover { transform: none; box-shadow: none; background: var(--cream); padding-left: 16px; padding-right: 16px; }
.directory .svc-card h3 { font-size: 1.14rem; font-weight: 600; margin: 0; }
.directory .svc-card p { margin: 0; font-size: 15px; }
.directory .svc-card .link-arrow { font-size: 0; margin: 0; align-self: center; }
.directory .svc-card .link-arrow .icon { width: 18px; height: 18px; }

/* related services: three ruled cells */
.section .svc-grid { gap: 0; border-top: 1px solid var(--navy); }
.section .svc-card { background: none; border: 0; border-left: 1px solid var(--rule); border-radius: 0; padding: 28px 32px 12px; min-height: 0; }
.section .svc-card:first-child { border-left: 0; padding-left: 0; }
.section .svc-card:hover { transform: none; box-shadow: none; }
.section .svc-card h3 { font-weight: 600; font-size: 1.3rem; }

/* sample sheet on a service page */
.svc-sample { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 88px); align-items: end; }
.svc-sample-copy { padding-top: 28px; border-top: 1px solid var(--rule); align-self: start; }
.svc-sample-copy h2 { font-size: clamp(1.8rem, 1.1rem + 1.8vw, 2.6rem); margin-bottom: 16px; }
.svc-sample-copy p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 22px; }
/* tall sheets show their top part, cut off at the bottom of the white frame (800px clears every wide or square sheet) */
.svc-sample .sheet-img { max-height: 800px; overflow: hidden; }
.svc-sample .sheet-img img { width: 100%; height: auto; object-position: center top; }

/* services overview: search + groups */
.search-card { width: 100%; }
.search-label { display: block; font-family: var(--f-display); font-weight: var(--w-label); font-stretch: var(--wd-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 14px; }
.search-field {
  display: flex; align-items: center; gap: 10px; height: 64px; padding: 0;
  border-bottom: 2px solid var(--navy);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-field:focus-within { border-color: var(--amber); }
.search-field .icon { width: 19px; height: 19px; color: var(--ink-3); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); }
.search-count { font-size: 13.5px; color: var(--ink-3); margin: 10px 0 16px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.jump-links a { font-family: var(--f-display); font-weight: 500; font-size: 14.5px; padding: 6px 0; border-bottom: 1px solid var(--rule); transition: background-color .2s var(--ease), color .2s var(--ease); }
.jump-links a:hover { color: var(--navy); border-color: var(--navy); }
.dir-group { scroll-margin-top: 0; } /* the page already keeps 110px clear for the header (html scroll-padding-top) */
.dir-group[hidden] { display: none; }
.dir-group > .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 clamp(40px, 5vw, 88px); align-items: start; padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(48px, 5vw, 72px); position: relative; }
.dir-group + .dir-group > .container::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--rule); }
.dir-head { display: block; position: sticky; top: 110px; }
.dir-num { display: block; font-size: 4.2rem; line-height: 1; color: var(--amber); margin-bottom: 26px; }
.dir-head h2 { font-size: clamp(1.7rem, 1.1rem + 1.5vw, 2.3rem); line-height: 1.08; margin-bottom: 14px; max-width: 14ch; }
.dir-head p { color: var(--ink-2); max-width: 34ch; margin-bottom: 20px; }
.dir-count { display: inline-block; font-family: var(--f-display); font-weight: var(--w-label); font-stretch: var(--wd-label); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--amber-ink); white-space: nowrap; }
.no-results { padding: 56px 0; text-align: center; color: var(--ink-2); font-size: 1.05rem; }
.no-results a { color: var(--amber-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .svc-hero-grid, .solves-grid, .start-grid { grid-template-columns: minmax(0, 1fr); }
  .fit-card { position: static; }
  .start-card, .start-card + .start-card { border-left: 0; padding: 26px 0 8px; }
  .start-card + .start-card { border-top: 1px solid var(--rule); }
  .step-cards { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step-card { border-top: 1px solid var(--navy); padding-bottom: 24px; }
  .section .svc-card, .section .svc-card:first-child { border-left: 0; padding: 24px 0 12px; border-bottom: 1px solid var(--rule); }
  .svc-sample { grid-template-columns: minmax(0, 1fr); }
  .dir-group > .container { grid-template-columns: minmax(0, 1fr); }
  .dir-head { position: static; margin-bottom: 28px; }
  .dir-num { font-size: 3rem; margin-bottom: 14px; }
}
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-card { min-height: 0; }
  .page-hero .hero-actions .btn { flex: 1 1 100%; }
  .directory .svc-card { grid-template-columns: minmax(0, 1fr) 24px; }
  .directory .svc-card p { grid-column: 1; }
  .directory .svc-card .link-arrow { grid-column: 2; grid-row: 1; }
}

/* =========================================================
   CONTACT / PLAN UPLOAD PAGE
   ========================================================= */
.drop-card { background: var(--cream); border-top: 2px solid var(--navy); padding: 26px 28px 24px; }
.drop-card-title { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.drop-card p:not(.drop-card-title) { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 40px clamp(40px, 5vw, 72px); align-items: start; }
.contact-side { position: sticky; top: 110px; }
.contact-h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem); margin-bottom: 28px; }
.contact-cards { display: grid; gap: 0; margin-bottom: 28px; border-top: 1px solid var(--navy); }
.contact-card { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: flex-start; border-bottom: 1px solid var(--rule); padding: 18px 0; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.contact-card-icon { display: none; }
.contact-card small { display: block; font-family: var(--f-display); font-size: 11.5px; font-weight: var(--w-label); font-stretch: var(--wd-label); letter-spacing: .13em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 6px; }
.contact-card strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.35; color: var(--navy); }

.next-steps { padding-top: 12px; }
.next-title { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 12px; }
.next-steps ol { counter-reset: s; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 60px 1fr; align-items: start; padding: 12px 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.next-steps li::before { content: counter(s, decimal-leading-zero); font-size: 2rem; line-height: .9; color: var(--amber); }
.next-steps strong { color: var(--navy); font-weight: 600; }

.form-card {
  background: var(--navy); color: var(--on-dark);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: inset 0 3px 0 var(--amber);
  scroll-margin-top: 100px;
}
.form-card-title { font-family: var(--f-display); font-weight: var(--w-head); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); letter-spacing: -0.03em; color: #fff; margin-bottom: 6px; }
.form-card-sub { color: var(--on-dark-2); font-size: 15px; margin-bottom: 28px; }
.req { color: var(--amber); }

.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-family: var(--f-display); font-size: 11.5px; font-weight: var(--w-label); font-stretch: var(--wd-label); letter-spacing: .13em; text-transform: uppercase; color: rgba(243, 246, 251, .8); margin-bottom: 10px; }
.field input:not([type="file"]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: #fff;
  background-color: transparent; border: 0; border-bottom: 1px solid rgba(243, 246, 251, .38);
  padding: 0 14px 0 0; height: 46px; outline: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { border: 1px solid rgba(243, 246, 251, .28); padding: 12px 14px; resize: vertical; min-height: 120px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2962E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field select option, .field select optgroup { color: var(--ink); background: #fff; }
.field input[type="date"] { color-scheme: dark; }
.field ::placeholder { color: rgba(243, 246, 251, .42); }
.field.invalid input, .field.invalid select { border-color: #F28B82; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.field-error { color: #F7B2AC; font-size: 13.5px; margin-top: 8px; }
.field-error[hidden] { display: none; }

.field .dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  margin: 0; padding: 34px 20px; border: 1px dashed rgba(243, 246, 251, .3);
  background: rgba(243, 246, 251, .03); cursor: pointer;
  text-transform: none; letter-spacing: 0; font-stretch: 100%;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.dropzone:hover, .dropzone.drag { border-color: var(--amber); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:focus-within { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(242, 150, 46, .25); }
.dropzone-icon { display: grid; place-items: center; color: var(--amber); margin-bottom: 6px; }
.dropzone-icon .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.dropzone-title { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: #fff; }
.dropzone-sub { font-family: var(--f-body); font-weight: 400; font-size: 14px; color: var(--on-dark-2); max-width: 440px; }
.dropzone-file { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(243, 246, 251, .1); font-size: 14px; font-weight: 600; color: #fff; max-width: 100%; }
.dropzone-file[hidden] { display: none; }
.dropzone-file .icon { width: 16px; height: 16px; color: var(--amber); }
.dropzone-file [data-file-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone-clear { color: #F7B2AC; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.form-foot .btn { height: 58px; padding: 0 28px; }
.form-error { margin-top: 22px; color: #F7B2AC; font-size: 14.5px; font-weight: 600; }
.form-error[hidden] { display: none; }
.form-foot p:not(.form-error) { color: var(--on-dark-2); font-size: 14px; max-width: 320px; }

.form-sent { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; margin-bottom: 28px; border-radius: 16px; background: rgba(242, 150, 46, .12); border: 1px solid rgba(242, 150, 46, .45); }
.form-sent[hidden] { display: none; }
.form-sent > .icon { width: 22px; height: 22px; color: var(--amber); stroke-width: 2.6; margin-top: 2px; }
.form-sent strong { display: block; color: #fff; font-family: var(--f-display); margin-bottom: 4px; }
.form-sent span { color: var(--on-dark-2); font-size: 15px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-side { position: static; order: 2; }
  .form-card { order: 1; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .form-foot p { max-width: none; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: end; }
.about-hero-grid h1 { max-width: 900px; }
.about-hero h1, .big-hero h1 { font-size: clamp(2.9rem, 1rem + 5.8vw, 6.5rem); line-height: .95; letter-spacing: -0.048em; }
.values-title { font-size: clamp(2.1rem, 1.25rem + 2.5vw, 3.5rem); }
.about-stat {
  display: flex; flex-direction: column; gap: 6px;
  width: 300px; padding: 22px 0 0; border-top: 2px solid var(--navy);
  color: var(--navy);
}
.about-stat strong { font-size: 7.2rem; line-height: .85; letter-spacing: -0.05em; color: var(--amber); margin-bottom: 14px; }
.about-stat span { font-family: var(--f-display); font-weight: 500; font-size: 1rem; line-height: 1.35; max-width: 22ch; }

/* leadership */
.leader-grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 48px clamp(40px, 6vw, 88px); align-items: start; }
.leader-card { margin: 0; position: sticky; top: 110px; }
.leader-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #E9EBEE; filter: saturate(.92); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card figcaption { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px; padding: 16px 0 0; }
.leader-card figcaption strong { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--navy); }
.leader-card figcaption span { font-family: var(--f-display); font-weight: var(--w-label); font-stretch: var(--wd-label); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.leader-copy { padding-top: 28px; border-top: 1px solid var(--rule); }
.leader-copy h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem); margin-bottom: 20px; }
.leader-bio { color: var(--ink-2); font-size: 1.08rem; max-width: 620px; margin-bottom: 30px; }
.leader-quote { margin: 0 0 26px; max-width: 700px; display: flex; flex-direction: column; }
.leader-quote p { font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 16px; }
.leader-quote p:last-child { margin-bottom: 0; }
.leader-pull { order: -1; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.15rem) !important; line-height: 1.22 !important; letter-spacing: -0.03em; color: var(--navy) !important; margin-bottom: 30px !important; padding-top: 6px; }
.leader-sign { padding-top: 20px; border-top: 1px solid var(--rule); max-width: 700px; color: var(--ink-3); font-size: 14.5px; }
.leader-sign strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--navy); }

/* values: four ruled columns */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--navy); }
.value-card { border-left: 1px solid var(--rule); padding: 28px 28px 8px; display: flex; flex-direction: column; }
.value-card:first-child { border-left: 0; padding-left: 0; }
.value-num { font-size: 2.6rem; line-height: .9; color: var(--amber); margin-bottom: auto; padding-bottom: 56px; }
.value-card h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.value-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

@media (max-width: 1080px) {
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-card:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) {
  .about-hero-grid, .leader-grid { grid-template-columns: minmax(0, 1fr); }
  .leader-card { position: static; max-width: 440px; }
}
@media (max-width: 560px) {
  .about-stat strong { font-size: 5rem; }
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .value-card, .value-card:first-child { border-left: 0; padding: 24px 0; border-top: 1px solid var(--rule); }
  .value-num { padding-bottom: 20px; }
}

/* =========================================================
   FAQ PAGE: list sits on the right two thirds, index numbers in the gutter
   ========================================================= */
.ask-card { width: 320px; background: var(--cream); border-top: 2px solid var(--navy); padding: 26px 28px 24px; }
.ask-card-title { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.ask-card p:not(.ask-card-title) { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.ask-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--cream-line); font-family: var(--f-display); font-weight: 600; font-size: 15.5px; color: var(--navy); }
.ask-line .icon { display: grid; place-items: center; width: 18px; height: 18px; color: var(--amber-ink); }
.ask-line:hover { color: var(--amber-ink); }

.faq-single { margin: 0 0 0 auto; width: min(100%, 860px); }
.faq-single .faq-item summary { justify-content: flex-start; }
.faq-single .faq-item summary::before { content: counter(q, decimal-leading-zero); font-family: var(--f-display); font-weight: 400; font-stretch: var(--wd-num); font-size: 13px; color: var(--amber-ink); margin-right: 4px; flex: none; width: 34px; }
.faq-single .faq-item summary .icon { margin-left: auto; }
.faq-single .faq-body { max-width: 760px; padding-left: 62px; }

@media (max-width: 960px) {
  .faq-single { width: 100%; }
}
@media (max-width: 560px) {
  .ask-card { width: 100%; }
  .faq-single .faq-body { padding-left: 0; }
}

/* =========================================================
   PORTFOLIO: sheets on a wall, not cards
   ========================================================= */
.pf-filters { display: flex; flex-wrap: wrap; gap: 0 28px; margin-bottom: 44px; border-bottom: 1px solid var(--rule); }
.pf-filter { font-family: var(--f-display); font-weight: 500; font-size: 15px; padding: 14px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--ink-2); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.pf-filter:hover { border-color: var(--amber); color: var(--navy); }
.pf-filter.is-on { color: var(--navy); font-weight: 600; border-bottom-color: var(--amber); }

.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.pf-card[hidden] { display: none; }
.pf-open { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; }
.pf-media { position: relative; display: block; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--rule); }
.pf-media img { width: 100%; height: 100%; object-fit: cover; }
.pf-media.pf-sheet { padding: 12px; }
.pf-media.pf-sheet img { object-fit: cover; object-position: center top; }
.pf-open:hover .pf-media { border-color: var(--navy); }
.pf-body { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 4px 16px; flex: 1; padding: 16px 0 0; }
.pf-tag { display: block; grid-column: 1 / -1; font-family: var(--f-display); font-weight: var(--w-label); font-stretch: var(--wd-label); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 6px; }
.pf-title { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; color: var(--navy); margin: 0; }
.pf-place { display: flex; align-items: center; gap: 6px; grid-column: 1; font-size: 14px; font-weight: 400; color: var(--ink-3); margin: 0; }
.pf-place .icon { display: none; }
.pf-scope { display: none; }
.pf-more { display: inline-flex; align-items: center; gap: 8px; grid-column: 2; grid-row: 2 / span 2; align-self: start; margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 0; color: var(--navy); }
.pf-more .icon { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.pf-open:hover .pf-more .icon { transform: translateX(4px); }
/* first project runs wide */
.pf-card:first-child { grid-column: span 2; }
.pf-card:first-child .pf-media { aspect-ratio: 16 / 9.2; }
.pf-card:first-child .pf-title { font-size: 1.6rem; }
.pf-empty { padding: 48px 0; text-align: center; color: var(--ink-2); }
.pf-empty a { color: var(--amber-ink); font-weight: 600; text-decoration: underline; }

/* project detail (dialog) */
.pf-dialog { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 0; background: var(--page); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(10, 31, 51, .6); }
.pf-dialog::backdrop { background: rgba(10, 31, 51, .72); backdrop-filter: blur(4px); }
.pf-dialog-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px; padding: clamp(24px, 3vw, 40px); }
.pf-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0; background: var(--navy); color: var(--on-dark); }
.pf-close .icon { width: 20px; height: 20px; }
.pf-detail-head { position: sticky; top: 0; align-self: start; padding-top: 4px; }
.pf-detail-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); margin-bottom: 10px; }
.pf-detail-scope { color: var(--ink-2); margin-bottom: 18px; }
.pf-deliver { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pf-deliver li { padding: 8px 12px; border: 1px solid var(--rule); font-weight: 600; font-size: 13.5px; line-height: 1; }
.pf-gallery { display: grid; gap: 16px; }
.pf-shot { margin: 0; overflow: hidden; border: 1px solid var(--rule); background: #fff; }
.pf-shot img { width: 100%; height: auto; }
.pf-shot figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--ink-3); background: var(--cream); border-top: 1px solid var(--cream-line); }
body.pf-lock { overflow: hidden; }

@media (max-width: 1080px) {
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pf-card:first-child { grid-column: auto; }
  .pf-card:first-child .pf-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 860px) {
  .pf-dialog-inner { grid-template-columns: minmax(0, 1fr); }
  .pf-detail-head { position: static; padding-right: 48px; }
}
@media (max-width: 620px) {
  .pf-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-filters { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .pf-filter { flex: none; }
  .pf-dialog { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; margin: 0; }
}
.pf-more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.pf-more-wrap[hidden] { display: none; }

/* =========================================================
   LEGAL PAGES (privacy, terms)
   ========================================================= */
.legal-date { color: var(--ink-3); font-size: 15px; }
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
/* the "On this page" box is a flat side panel like .ask-card and .fit-card */
.legal-toc { position: sticky; top: 110px; display: flex; flex-direction: column; background: var(--cream); border-top: 2px solid var(--navy); padding: 20px 22px; }
/* its title uses the same label voice as every section label */
.legal-toc-title { font-family: var(--f-display); font-weight: 650; font-stretch: 116%; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 8px; }
.legal-toc a { padding: 7px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--cream-line); }
.legal-toc a:last-child { border-bottom: 0; }
.legal-toc a:hover { color: var(--navy); }
.legal-body { max-width: 720px; }
.legal-body h2 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -0.02em; margin: 40px 0 12px; scroll-margin-top: 110px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.7; margin-bottom: 14px; }
.legal-body strong { color: var(--navy); }
.legal-body a { color: var(--amber-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
}
