/* =================================================================
   HIRE STANDARD — stylesheet
   1. Tokens        2. Reset/base     3. Utilities
   4. Buttons       5. Header/Nav     6. Hero
   7. Sections/type 8. Components     9. Footer
   10. Motion       11. Responsive
================================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  --yellow: #F1EE00;
  --yellow-hover: #D4D100;
  --ink: #0F172A;
  --ink-800: #1E293B;
  --slate-700: #374151;
  --slate-500: #6B7280;
  --grey-100: #F3F4F6;
  --grey-200: #E5E7EB;
  --amber-soft: #FEF3C7;
  --white: #FFFFFF;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1360px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --nav-h: 84px;
  --radius: 4px;
  --section-y: clamp(3rem, 6vw, 6rem);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: hidden;
  max-width: 100%;
  scrollbar-width: none;
}
html::-webkit-scrollbar { width: 0; height: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--dark :focus-visible,
.section--ink :focus-visible,
.cta :focus-visible { outline-color: var(--ink); }

/* ---------- 3. UTILITIES ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }

.accent { color: var(--yellow-hover); }
.section--dark .accent,
.panel--ink .accent,
.hero .accent,
.site-footer .accent { color: var(--yellow); }

/* Yellow "highlighter" for light backgrounds — keeps text readable ink
   while carrying the brand accent (fixes low-contrast yellow-on-white). */
.u-accent {
  color: var(--ink);
  background-image: linear-gradient(transparent 88%, rgba(241, 238, 0, .9) 0);
  padding-inline: .06em;
}

.visually-hidden, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: .5rem; left: .5rem;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: .6rem 1rem;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* eyebrow labels */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1.4rem;
}
.eyebrow--accent { color: var(--yellow); letter-spacing: .24em; }
.eyebrow--plain { display: inline-block; margin-bottom: 1rem; }

.tick { width: 3rem; height: 3px; background: var(--ink); flex: none; }
.section--dark .tick, .cta .tick { background: rgba(255,255,255,.5); }
.tick--block { display: block; width: 5rem; margin-bottom: 1.25rem; }
.tick--center { display: block; width: 4rem; margin: 0 auto 1.5rem; }

/* ---------- 4. BUTTONS ---------- */
.btn {
  --btn-fg: var(--ink);
  --btn-bg: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 0 1.6rem;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform .15s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), filter .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

.btn--dark-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); box-shadow: var(--shadow-sm); }
.btn--dark-primary:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--dark-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--dark-secondary:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn--outline { background: transparent; color: var(--yellow-hover); border-color: var(--yellow); border-radius: var(--radius); }
.btn--outline:hover { background: var(--yellow); color: var(--ink); }

.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: #000; border-color: #000; }

.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }

.btn--sm { min-height: 38px; padding: 0 1.2rem; font-size: .72rem; border-radius: var(--radius); }
.btn--outline.btn--sm { border-radius: var(--radius); }
.btn--block { width: 100%; }

/* ---------- 5. HEADER / NAV ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,23,42,.18), transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(15, 23, 42, .1);
}
.site-header.is-scrolled::after { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255,255,255,.94); }
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  background: var(--ink); color: var(--yellow);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  border-radius: 3px;
}
.brand__word {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  letter-spacing: -.02em; text-transform: uppercase; color: var(--ink);
}
.brand__img { height: 3.375rem; width: auto; display: block; }

.nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.75rem); list-style: none; padding: 0; }
.nav__cta { display: flex; align-items: center; margin-left: .5rem; }
.nav__link {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--slate-500);
  padding: .4rem 0; position: relative; transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--ink); transition: width .25s var(--ease);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { width: 100%; background: var(--ink); }

/* Translucent overlay behind the open mobile panel */
.nav-scrim {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 95;
  background: rgba(15, 23, 42, .35);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle__bar { width: 22px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 7rem)) 0 clamp(3rem, 7vw, 6rem);
  background: #000; color: var(--white);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.55)),
    linear-gradient(0deg, rgba(15,23,42,.72), transparent 55%);
}
.hero.no-video .hero__bg {
  background: radial-gradient(120% 120% at 20% 10%, #1e293b, #0f172a 60%, #000);
}

.hero__inner { position: relative; z-index: 1; max-width: 60rem; }
.hero__eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--yellow);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3.2rem, 8.6vw, 6.6rem); line-height: 1.02;
  letter-spacing: -.03em; text-transform: uppercase;
  margin-bottom: 1.5rem; max-width: 20ch;
}
.hero__title .u-accent { color: var(--yellow); background: none; }
.hero__lede { font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 500; font-style: italic; line-height: 1.25; max-width: 34ch; margin-bottom: 1rem; }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- 7. SECTIONS & TYPE ---------- */
.section { padding-block: var(--section-y); }
.section--soft { background: var(--grey-100); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dots {
  background:
    radial-gradient(circle, var(--grey-200) 1px, transparent 1px) 0 0 / 30px 30px,
    var(--white);
}

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; }
.section__head-note { color: var(--slate-500); max-width: 26ch; text-align: right; }

.h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.04;
  letter-spacing: -.03em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 1.25rem;
}
.h2--light { color: var(--white); }
.h3-lg {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.05;
  letter-spacing: -.02em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 1.25rem;
}
.section--dark .h3-lg { color: var(--white); }

.lead { font-size: clamp(1.05rem, 1.7vw, 1.35rem); color: var(--slate-700); line-height: 1.5; max-width: 60ch; }
.lead--muted { color: rgba(255,255,255,.78); }
.lead--bold { font-weight: 700; color: var(--ink); }
.prose-lead .lead { margin-top: .5rem; }

.section__note { display: flex; gap: 1rem; align-items: flex-start; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 2.5rem; border-top: 1px solid var(--grey-200); }
.section__note-rule { width: 3rem; height: 2px; background: var(--ink); margin-top: .9rem; flex: none; }
.section__note p { font-size: 1.2rem; color: var(--slate-700); max-width: 52ch; }

/* Grids */
.grid-2 { display: grid; gap: clamp(2rem, 5vw, 5rem); }
.grid-2--center { align-items: center; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }

@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- 8. COMPONENTS ---------- */
/* Panels */
.panel { padding: clamp(1.75rem, 3.5vw, 3rem); position: relative; border-radius: var(--radius); }
.panel--soft { background: var(--grey-100); border: 1px solid var(--grey-200); }
.panel--soft-bordered { background: var(--grey-100); border: 1px solid var(--grey-200); border-left: 4px solid var(--ink); }
.panel--ink { background: var(--ink); color: var(--white); }
.panel--ink .panel__text, .panel--ink p { color: rgba(255,255,255,.82); }
.panel--glass { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.panel--ink::before, .panel--soft::before, .panel--glass::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--ink);
}
.panel--ink::before, .panel--glass::before { background: rgba(255,255,255,.28); }
.panel--soft-bordered::before { display: none; }
.panel__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-transform: uppercase; line-height: 1.1; color: var(--white); margin-bottom: 1rem; font-style: italic; }
.panel__text { margin-bottom: 1.5rem; font-size: 1.05rem; }
.panel__label { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .75rem; color: var(--ink); }

/* Icon list (positioning) */
.icon-list { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.icon-list li { display: flex; gap: 1rem; align-items: flex-start; font-size: 1.05rem; color: var(--white); font-weight: 500; }
.icon-list .material-symbols-outlined { color: rgba(255,255,255,.6); font-size: 1.6rem; }

/* Check / error lists */
.check-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; }
.check-list .material-symbols-outlined { color: var(--ink); font-size: 1.5rem; flex: none; font-variation-settings: "FILL" 1; }
.panel--ink .check-list .material-symbols-outlined { color: rgba(255,255,255,.6); }
.check-list span:last-child { font-weight: 500; }
.panel--ink .check-list span:last-child { color: rgba(255,255,255,.9); }
.check-list--grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 1.5rem; }
.check-list--grid span:last-child { font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .02em; color: var(--ink); }

/* Process */
.process { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; counter-reset: step; }
.process__card {
  background: var(--white); border: 1px solid var(--grey-200);
  padding: 2.25rem; min-height: 360px;
  display: flex; flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.process__card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.process__bar { display: block; height: 6px; background: var(--grey-200); overflow: hidden; margin-bottom: 2rem; }
.process__bar span { display: block; height: 100%; width: 30%; background: var(--ink); transition: width .4s var(--ease); }
.process__card:hover .process__bar span { width: 100%; }
@media (hover: none) { .process__bar span { width: 100%; } }
.process__num { font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--grey-200); margin-bottom: .75rem; transition: color .3s var(--ease); }
.process__card:hover .process__num { color: rgba(241,238,0,.35); }
.process__title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; color: var(--ink); margin-bottom: .75rem; margin-top: auto; }
.process__text { font-size: .95rem; color: var(--slate-700); }

/* Traits */
.trait-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.trait { background: var(--white); border: 2px solid var(--grey-200); padding: 2rem; transition: border-color .25s var(--ease), transform .25s var(--ease); box-shadow: var(--shadow-sm); }
.trait:hover { border-color: var(--ink); transform: translateY(-3px); }
.trait__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); margin-bottom: .75rem; }
.trait p { font-size: .95rem; color: var(--slate-700); }

/* Quote block */
.quote { background: var(--ink); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.quote p { font-family: var(--font-head); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.25; color: var(--white); max-width: 30ch; margin-inline: auto; }

/* For Organizations */
.org__intro { margin-bottom: clamp(3rem, 6vw, 5rem); align-items: stretch; }
.cost-grid { list-style: none; padding: 0 0 0 1.5rem; margin-top: 2rem; border-left: 4px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.cost-grid li { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; color: var(--ink); }
.org__approach { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.approach-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.approach-card { background: var(--grey-100); border: 1px solid var(--grey-200); border-left: 4px solid var(--ink); padding: 2rem; transition: box-shadow .25s var(--ease); }
.approach-card:hover { box-shadow: var(--shadow-md); }
.approach-card h4 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; color: var(--ink); margin-bottom: .75rem; }
.approach-card p { font-size: .95rem; color: var(--slate-700); }
.expect { background: var(--grey-100); border: 1px solid var(--grey-200); padding: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.5rem; align-items: center; }
.expect__title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); }
.expect__note { border-top: 1px solid var(--grey-200); padding-top: 1.25rem; color: var(--slate-700); font-size: .95rem; line-height: 1.6; }
.expect__note strong { color: var(--ink); font-weight: 700; }
@media (min-width: 900px) { .expect { grid-template-columns: 5fr 7fr; } }

/* Bento / stats */
.bento { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .bento { grid-template-columns: 7fr 5fr; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--ink); line-height: 1; }
.stat__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--slate-500); margin-top: .4rem; }
.values__title { font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; color: var(--white); margin-bottom: 2rem; }

/* Sector cards */
.sector-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.sector-card { background: var(--white); border: 1px solid var(--grey-200); border-left: 4px solid var(--ink); padding: 2rem; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.sector-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sector-card h3 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; color: var(--ink); margin-bottom: .75rem; }
.sector-card p { font-size: .95rem; color: var(--slate-700); }
.callout { padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--grey-200); align-items: start; }
@media (min-width: 901px) {
  .callout--reverse .span-5 { grid-column: 1 / 6; grid-row: 1; }
  .callout--reverse .span-7 { grid-column: 6 / 13; grid-row: 1; }
}
.section--center-intro .wrap { text-align: center; }
.section--center-intro .eyebrow { justify-content: center; }
.section--center-intro .prose-lead { margin-inline: auto; }
.section--center-intro .prose-lead .lead { margin-inline: auto; }

/* Accordion */
.accordion { border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--white); }
.accordion__item { background: var(--white); box-shadow: 0 0 0 1px var(--grey-200); }
.accordion__summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.75rem; cursor: pointer; transition: background-color .2s var(--ease); }
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:hover { background: var(--grey-100); }
.accordion__summary h3 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; color: var(--ink); }
.accordion__icon { color: var(--slate-500); transition: transform .3s var(--ease), color .2s var(--ease); }
.accordion__summary:hover .accordion__icon { color: var(--ink); }
.accordion__item[open] .accordion__icon { transform: rotate(180deg); }
.accordion__body { padding: 0 1.75rem 1.75rem; }
.accordion__body > p { font-size: .95rem; color: var(--slate-700); margin-bottom: 1rem; }
.role-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.role-list li { display: flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-500); }
.role-list li::before { content: ""; width: 6px; height: 6px; background: var(--ink); flex: none; }
.expertise__head { display: grid; gap: 1.5rem; max-width: none; }
.expertise__head > div:first-child { max-width: 62ch; }
.expertise__controls { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (min-width: 860px) { .expertise__head { grid-template-columns: 1fr auto; align-items: end; } }

/* Why this matters */
.why { margin-top: clamp(2.5rem, 5vw, 4rem); }
.why__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .why__grid { grid-template-columns: 3fr 2fr; } }
.why__title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); color: var(--white); line-height: 1; margin-bottom: 1.5rem; }
.why__text { font-size: 1.15rem; color: rgba(255,255,255,.85); border-left: 4px solid rgba(255,255,255,.3); padding-left: 1.5rem; max-width: 46ch; }
.why__aside { background: var(--ink-800); padding: clamp(1.75rem, 3vw, 2.5rem); border-top: 4px solid rgba(255,255,255,.3); }
.why__quote { font-style: italic; color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.4; margin-bottom: 1.75rem; }
.why__metrics { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.why__metrics li { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: .9rem; color: var(--white); padding-left: .85rem; border-left: 2px solid rgba(255,255,255,.3); }

/* Verticals gallery */
.vertical-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
@media (min-width: 1024px) { .vertical-grid { grid-template-columns: repeat(3, 1fr); } }
.vertical { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.vertical__media { position: absolute; inset: 0; }
.vertical__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 5%, rgba(15,23,42,.25) 60%, rgba(15,23,42,.55)); }
.vertical__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .6s var(--ease); }
.vertical:hover .vertical__media img { transform: scale(1.08); }
/* graceful fallback gradients if remote images fail */
.vertical__media[data-fallback="1"] { background: linear-gradient(140deg, #334155, #0f172a); }
.vertical__media[data-fallback="2"] { background: linear-gradient(140deg, #1e3a5f, #0f172a); }
.vertical__media[data-fallback="3"] { background: linear-gradient(140deg, #3f3f46, #0f172a); }
.vertical__media[data-fallback="4"] { background: linear-gradient(140deg, #422006, #0f172a); }
.vertical__media[data-fallback="5"] { background: linear-gradient(140deg, #3f3f46, #0f172a); }
.vertical__media[data-fallback="6"] { background: linear-gradient(140deg, #1f2f3f, #0f172a); }
.vertical__body { position: absolute; inset: auto 0 0 0; padding: 2rem; color: var(--white); z-index: 1; }
.vertical__rule { display: block; width: 3rem; height: 3px; background: var(--white); margin-bottom: 1.25rem; }
.vertical__body h3 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: .75rem; }
.vertical__body p { font-size: .9rem; color: rgba(255,255,255,.8); opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.vertical:hover .vertical__body p, .vertical:focus-within .vertical__body p { opacity: 1; transform: translateY(0); }

/* Contact */
.contact { align-items: start; row-gap: 3rem; }
.contact-info { list-style: none; padding: 0; display: grid; gap: 2rem; margin-top: 2.5rem; }
.contact-info li { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-info__icon { display: grid; place-items: center; width: 3rem; height: 3rem; background: var(--grey-100); border-radius: var(--radius); color: var(--ink); flex: none; }
.contact-info h3 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; color: var(--slate-500); margin-bottom: .35rem; }
.contact-info p { color: var(--ink); font-weight: 700; }
.contact-info a { color: var(--ink); }
.contact-info a:hover { color: var(--slate-700); text-decoration: underline; text-underline-offset: 3px; }

/* Form */
.form-card { padding: clamp(1.75rem, 3.5vw, 3rem); }
.form { display: grid; gap: 1.4rem; }
.form__row { display: grid; gap: 1.4rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .5rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-family: var(--font-body); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--slate-500); padding: 0; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: .85rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-500); opacity: .7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15,23,42,.12); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #b91c1c; box-shadow: 0 0 0 3px rgba(185,28,28,.15); }
.field__error { color: #b91c1c; font-size: .8rem; font-weight: 600; }
.field__req { color: #b91c1c; margin-left: .15em; }

.segmented { display: flex; flex-wrap: wrap; gap: .75rem; }
.segmented__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.segmented__opt span {
  display: inline-block; padding: .6rem 1.4rem;
  border: 2px solid var(--grey-200); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--slate-700);
  transition: all .2s var(--ease);
}
.segmented__opt input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.segmented__opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.form__status { font-size: .95rem; font-weight: 600; min-height: 1.2em; }
.form__status.is-success { color: #15803d; }
.form__status.is-error { color: #b91c1c; }

/* ---------- 9. FOOTER ---------- */
.site-footer { background: var(--ink); color: var(--slate-500); padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); margin-top: clamp(3rem, 6vw, 6rem); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .site-footer__brand { grid-column: span 1; } }
/* Footer logo lockup (placeholder until the real mark is supplied) */
.footer-logo {
  display: inline-flex; align-items: center; gap: .85rem;
  padding: .9rem 1.25rem .9rem 1rem;
  border: 1px solid var(--ink-800);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.footer-logo__mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: inset 0 0 0 3px var(--ink);
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
  letter-spacing: .02em; color: var(--white);
}
.footer-logo__word {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); line-height: 1;
}
.footer-logo__img { width: 44px; height: 44px; color: var(--white); }

.brand__word--footer { color: var(--white); display: inline-block; margin-bottom: 1.25rem; }
.site-footer__logo { height: clamp(3.75rem, 6vw, 4.75rem); width: auto; display: block; margin-bottom: 1.5rem; }
.site-footer__legal { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.7; max-width: 30ch; color: var(--slate-500); }

/* "Made in America" badge */
.made-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.5rem; padding: .5rem .85rem;
  border: 1px solid var(--ink-800); border-radius: var(--radius);
  background: rgba(255,255,255,.03);
}
.made-badge__flag {
  width: 22px; height: 14px; flex: none; position: relative; overflow: hidden;
  background: repeating-linear-gradient(180deg, var(--white) 0 2px, #b3202e 2px 4px);
}
.made-badge__flag::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; height: 8px;
  background: var(--ink-800);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.made-badge__text {
  font-family: var(--font-head); font-size: .66rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; color: var(--slate-500);
}
.made-badge__text strong { font-weight: 800; color: var(--white); }
.site-footer__col h3 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; color: var(--white); margin-bottom: 1.5rem; }
.site-footer__col ul { list-style: none; padding: 0; display: grid; gap: .85rem; }
.site-footer__col a { font-size: .9rem; color: var(--slate-500); transition: color .2s var(--ease); }
.site-footer__col a:hover { color: var(--white); }

.site-footer__connect { display: grid; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--ink-800); }
@media (min-width: 860px) { .site-footer__connect { grid-template-columns: minmax(300px, 26rem) 1fr; align-items: start; } }
.site-footer__connect-aside { display: grid; gap: 1.25rem; }
.site-footer__connect-aside .social { justify-self: end; }
.site-footer__map-panel { width: 100%; margin: 0; border: 1px solid var(--ink-800); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0,0,0,.85); }
.site-footer__map { display: block; width: 100%; height: clamp(340px, 32vw, 500px); border: 0; }
.site-footer__map-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.15rem; background: var(--ink-800); font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--slate-500); }
.site-footer__map-cap a { color: #e2e8f0; font-weight: 600; white-space: nowrap; text-decoration: none; transition: color .2s var(--ease); }
.site-footer__map-cap a:hover { color: var(--yellow); }
.site-footer__connect-title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.01em; display: block; margin-bottom: 1rem; }
.site-footer__connect-copy { color: #94a3b8; max-width: 46ch; margin-bottom: 1.75rem; font-size: 1rem; line-height: 1.7; }
.site-footer__contacts { display: grid; gap: .3rem; margin-bottom: .5rem; }
.site-footer__email { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #cbd5e1; margin-bottom: 0; transition: color .2s var(--ease); }
.site-footer__email:hover { color: var(--white); }
.site-footer__loc { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-500); margin-bottom: 1.75rem; }

.social { list-style: none; padding: 0; display: flex; gap: 1rem; }
.social a { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; background: var(--ink-800); border-radius: var(--radius); color: #cbd5e1; transition: background-color .2s var(--ease), color .2s var(--ease); }
.social a:hover { background: var(--white); color: var(--ink); }

.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--ink-800); }
.site-footer__base a { font-size: .85rem; color: var(--slate-500); transition: color .2s var(--ease); }
.site-footer__base a:hover { color: var(--white); }
.site-footer__legal-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.site-credit {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.site-credit a {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #cbd5e1;
}
.site-credit a:hover { color: var(--white); }

/* Back-to-top disc */
.to-top {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1.5px solid var(--yellow);
  background: var(--ink);
  color: var(--white);
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.to-top:active { transform: translateY(0); }
.to-top:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Final CTA */
.cta { position: relative; background: var(--yellow); color: var(--ink); padding-block: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta__title { font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: .95; letter-spacing: -.03em; margin-bottom: 1.25rem; }
.cta__lede { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; max-width: 40ch; margin: 0 auto 2.5rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta__watermark { position: absolute; left: 50%; bottom: -.15em; transform: translateX(-50%); font-family: var(--font-head); font-weight: 800; font-size: 22vw; line-height: 1; color: rgba(15,23,42,.06); text-transform: uppercase; letter-spacing: -.04em; pointer-events: none; user-select: none; z-index: 0; white-space: nowrap; }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  display: none; text-align: center;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  padding: 1rem; border-radius: 999px; box-shadow: var(--shadow-lg);
  transform: translateY(160%); transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }

/* Material icons baseline */
.material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; line-height: 1; vertical-align: middle; }

/* ---------- 10. MOTION ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .trait:hover, .process__card:hover, .sector-card:hover { transform: none; }
  .vertical:hover .vertical__media img { transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 5b. NAV — narrow layout / hamburger ---------- */
@media (max-width: 1180px) {
  .nav__list { gap: 1.5rem; }
  .nav__link { font-size: .78rem; letter-spacing: .02em; }
  .nav-cta { display: none; }
}

@media (max-width: 1024px) {
  .nav {
    /* The header's backdrop-filter is a containing block, so anchor to the header */
    position: absolute;
    top: 100%; right: 0; left: auto; bottom: auto;
    height: calc(100svh - var(--nav-h));
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-left: 1px solid rgba(255,255,255,.1);
    width: min(420px, 86vw); margin-left: auto;
    transform: translateX(calc(100% + 4rem));
    transition: transform .34s var(--ease);
    padding: 2rem var(--gutter) 2.5rem;
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 2rem;
    z-index: 99;
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav { background: rgba(15, 23, 42, .97); }
  }
  body.nav-open .nav { transform: translateX(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block; color: #e2e8f0; font-size: 1.05rem;
    padding: 1.1rem 0.9rem; border-bottom: 1px solid rgba(255,255,255,.1);
    border-left: 2px solid transparent;
    opacity: 0; transform: translateY(-6px);
    transition: color .2s var(--ease), background-color .2s var(--ease), border-left-color .2s var(--ease), padding-left .2s var(--ease);
  }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link:focus-visible {
    color: var(--white); background: rgba(255,255,255,.06);
    border-left-color: var(--yellow); padding-left: 1.3rem;
  }
  .nav__link.is-active { color: var(--white); border-left-color: var(--yellow); }
  .nav__cta { margin-top: 1.5rem; }
  .nav__cta .btn { width: 100%; min-height: 48px; }
  body.nav-open .nav__link { animation: navLinkIn .4s var(--ease) forwards; }
  body.nav-open .nav__list li:nth-child(1) .nav__link { animation-delay: .06s; }
  body.nav-open .nav__list li:nth-child(2) .nav__link { animation-delay: .11s; }
  body.nav-open .nav__list li:nth-child(3) .nav__link { animation-delay: .16s; }
  body.nav-open .nav__list li:nth-child(4) .nav__link { animation-delay: .21s; }
  body.nav-open .nav__list li:nth-child(5) .nav__link { animation-delay: .26s; }

  .nav__cta { display: block; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  body.nav-open { overflow: hidden; }
}

@keyframes navLinkIn { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
  .nav__link { opacity: 1; transform: none; }
  body.nav-open .nav__link { animation: none; }
}

/* ---------- 11. RESPONSIVE ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 68px; }



  .grid-12, .span-5, .span-6, .span-7 { display: block; grid-column: auto; }
  .grid-12 > * + * { margin-top: 1.5rem; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .section__head-note { text-align: left; }

  .mobile-cta { display: block; }
}

@media (max-width: 560px) {
  .cost-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .why__metrics { grid-template-columns: 1fr; }
  .doc-download { width: 100%; box-sizing: border-box; }
  .intro-cta { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .process__card { min-height: 0; padding: 1.5rem; }
  .process__bar span { width: 100%; }
  .process__num { font-size: 2.4rem; margin-bottom: .4rem; }
  .process__bar { margin-bottom: 1.25rem; }
}

@media print {
  .site-header, .mobile-cta, .hero__video, .nav-toggle, .nav-scrim { display: none !important; }
  * { color: #000 !important; background: #fff !important; }
}

@supports (animation-timeline: view()) {
  html.sdt .vertical:hover .vertical__media img { transform: scale(1.12); }
}

/* ---------- 12. CONTINUOUS SCROLL / PREMIUM MOTION ---------- */


/* Native scrollbar left alone — a custom track reads as a stray column
   against the dark footer. */

/* Scroll progress rule across the bottom of the header */
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--ink);
  z-index: 2;
}
.scroll-progress { will-change: transform; }
@keyframes progressGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- Scroll-driven reveals: tied to scroll position, not a one-shot trigger --- */
@supports (animation-timeline: view()) {
  html.sdt .reveal {
    opacity: 1; transform: none; transition: none;
    animation: revealRise linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 30%;
  }
  html.sdt .reveal:nth-child(n) { transition-delay: 0s; }
  html.sdt .hero .reveal { animation: none; opacity: 1; transform: none; filter: none; }

  /* Continuous drift on the hero backdrop + a soft hand-off out of the hero */
  html.sdt .hero__bg {
    animation: heroDrift linear both;
    animation-timeline: view(block);
    animation-range: cover 0% cover 100%;
  }
  html.sdt .hero__inner {
    animation: heroLift linear both;
    animation-timeline: view(block);
    animation-range: exit 0% exit 100%;
  }

  /* Verticals: images track the scroll instead of sitting still */
  html.sdt .vertical__media img {
    animation: mediaPan linear both;
    animation-timeline: view(block);
    animation-range: cover 0% cover 100%;
  }

  /* Dark bands ease in, so section edges read as one continuous surface */
  html.sdt .section--dark > .wrap,
  html.sdt .cta__inner {
    animation: bandIn linear both;
    animation-timeline: view(block);
    animation-range: entry 10% cover 40%;
  }
}

@keyframes revealRise {
  from { opacity: 0; transform: translateY(26px) scale(.995); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.12) translateY(4%); }
}
@keyframes heroLift {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-9%); }
}
@keyframes mediaPan {
  from { transform: scale(1.12) translateY(-2.5%); }
  to   { transform: scale(1.12) translateY(2.5%); }
}
@keyframes bandIn {
  from { opacity: .35; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.sdt .reveal,
  html.sdt .hero__bg,
  html.sdt .hero__inner,
  html.sdt .vertical__media img,
  html.sdt .section--dark > .wrap,
  html.sdt .cta__inner { animation: none; opacity: 1; transform: none; filter: none; }
  .scroll-progress { animation: none; transform: scaleX(0); }
}

/* ---------- 13. ENTRY CHOREOGRAPHY ---------- */
html.is-loading { overflow: hidden; }

.curtain {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  background: var(--ink); color: var(--white);
}
html.is-loading .curtain { display: grid; }
.curtain__mark {
  width: 64px; height: 64px;
  opacity: 0; transform: translateY(8px);
  animation: curtainMark .7s var(--ease) .05s forwards;
}
.curtain__rule {
  position: absolute; left: 50%; bottom: 22%;
  width: 120px; height: 2px; transform: translateX(-50%) scaleX(0);
  transform-origin: 0 50%;
  background: var(--yellow);
  animation: curtainRule .8s var(--ease) .25s forwards;
}
.curtain.is-lifting {
  animation: curtainLift .75s cubic-bezier(.76,0,.24,1) forwards;
}
@keyframes curtainMark { to { opacity: 1; transform: none; } }
@keyframes curtainRule { to { transform: translateX(-50%) scaleX(1); } }
@keyframes curtainLift {
  to { transform: translateY(-101%); }
}

/* Hero headline drawing in, word by word */
.hero__title .word {
  display: inline-block;
  clip-path: inset(0 0 -.2em 0);
}
.hero__title .word > span {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
}
.hero__title.is-drawn .word > span {
  animation: wordIn .8s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: calc(var(--i) * 70ms);
}
@keyframes wordIn { to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .curtain { display: none !important; }
  .hero__title .word > span { transform: none; opacity: 1; animation: none; }
}

/* ---------- 14. CRAFT DETAILS ---------- */

/* Headlines break on meaning, body copy avoids orphans */
.hero__title, .h2, .h3-lg, .cta__title, .why__title,
.vertical__body h3, .expect__title, .panel__title { text-wrap: balance; }
.lead, .prose-lead p, .section__note p, .panel__text, .trait p { text-wrap: pretty; }

/* Measures capped so long lines never run past comfortable reading */
.lead { max-width: 62ch; }
.section__head .lead, .plate-head .lead { max-width: 60ch; }

/* Stats: lining, tabular figures that align column to column */
.stat__num, .process__num, .cta__title, .why__metrics li {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.stat__num { letter-spacing: -.02em; }

/* Hairline frame on the page edges */
.site-header__inner,
.site-footer__base { position: relative; }
.section > .wrap::before,
.section > .wrap::after { content: none; }
body::before, body::after {
  content: ""; position: fixed; top: 0; bottom: 0; width: 1px; z-index: 80;
  background: rgba(15,23,42,.07); pointer-events: none;
}
body::before { left: max(1.5rem, calc((100vw - var(--maxw)) / 2 - 1.5rem)); }
body::after  { right: max(1.5rem, calc((100vw - var(--maxw)) / 2 - 1.5rem)); }
@media (max-width: 1024px) { body::before, body::after { display: none; } }

/* Restrained hover travel — 2px, not 8 */
.btn:hover { transform: translateY(-1px); }
.process__card:hover,
.sector-card:hover,
.trait:hover { transform: translateY(-2px); }
.to-top:hover { transform: translateY(-2px); }

/* Optical alignment: uppercase heads carry their own tracking, not the body's */
.h2, .h3-lg, .why__title, .expect__title { letter-spacing: -.025em; }
.eyebrow, .label, .stat__label { font-variant-numeric: lining-nums; }

/* Crisper hairlines on high-DPI */
@media (min-resolution: 2dppx) {
  .trait { border-width: 1px; }
}

/* ---------- 15. TYPE DISCIPLINE ----------
   One voice per section: 800 is reserved for the single statement that carries
   a section (hero, .h2, the CTA) plus the stat figures. Everything below that
   steps down to 700/600, and body copy gets lighter with more leading. */

/* Reserved 800 */
.hero__title, .h2, .cta__title, .stat__num, .brand__word { font-weight: 800; }

/* Second tier — supporting heads */
.h3-lg, .why__title, .panel__title, .expect__title,
.values__title, .site-footer__connect-title, .quote p {
  font-weight: 700;
  letter-spacing: -.02em;
}
.h3-lg { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.why__title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }

/* Third tier — card and row titles: sentence case, lighter, no shouting */
.process__title, .sector-card h3, .approach-card h4, .trait__title,
.accordion__summary h3, .vertical__body h3, .panel__label, .cost-grid li {
  font-weight: 600;
  text-transform: none;
  letter-spacing: -.005em;
}
.process__title, .sector-card h3, .approach-card h4, .accordion__summary h3 { font-size: 1.22rem; }
.trait__title { font-size: 1.15rem; }
.vertical__body h3 { font-size: 1.5rem; letter-spacing: -.015em; }
.cost-grid li { font-size: 1.1rem; }

/* Micro-labels stay uppercase but stop competing */
.eyebrow, .label, .stat__label, .role-list li, .site-footer__col h3,
.check-list--grid span:last-child, .field label, .field legend, .why__metrics li {
  font-weight: 600;
  letter-spacing: .16em;
}
.role-list li, .why__metrics li { letter-spacing: .1em; }

/* Body copy: lighter, looser, quieter */
.lead { font-weight: 400; line-height: 1.55; }
.lead--bold { font-weight: 600; }
.cta__lede { font-weight: 500; }
.contact-info p { font-weight: 600; }
.process__text, .trait p, .sector-card p, .approach-card p,
.accordion__body > p, .panel p, .vertical__body p, .site-footer__connect-copy {
  font-weight: 400;
  line-height: 1.7;
}
.check-list span:last-child, .icon-list li { font-weight: 400; }
.why__text { font-weight: 400; line-height: 1.6; }

.intro-cta { margin-top: 2.25rem; display: flex; justify-content: center; }
.doc-download { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; padding: .8rem 1.15rem; border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); background: transparent; transition: background-color .2s var(--ease), color .2s var(--ease); }
.doc-download:hover, .doc-download:focus-visible { background: var(--ink); color: var(--white); }
.doc-download:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.doc-download__file { font-size: 24px; }
.doc-download__text { display: grid; text-align: left; line-height: 1.15; }
.doc-download__title { font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; }
.doc-download__meta { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); margin-top: .15rem; }
.doc-download:hover .doc-download__meta, .doc-download:focus-visible .doc-download__meta { color: rgba(255,255,255,.7); }

.hs-founder { max-width: 840px; margin: 4rem auto; padding: 0 1.25rem; color: var(--slate-700); }
.hs-founder__rule { width: 100%; height: 1px; background: var(--grey-200); position: relative; margin-bottom: 2rem; }
.hs-founder__rule::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 0; width: 64px; height: 2px; background: var(--yellow); }
.hs-founder details { border: none; }
.hs-founder summary { display: block; list-style: none; cursor: pointer; outline-offset: 4px; -webkit-tap-highlight-color: transparent; }
.hs-founder summary::-webkit-details-marker { display: none; }
.hs-founder summary::marker { content: ""; }
.hs-founder__title { font-size: 1.75rem; font-weight: 700; color: var(--ink); margin: 0 0 .75rem; line-height: 1.2; }
.hs-founder__teaser { font-size: 1.05rem; line-height: 1.6; margin: 0 0 .75rem; }
.hs-founder__toggle { display: inline-block; font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.hs-founder details[open] .hs-founder__teaser,
.hs-founder details[open] .hs-founder__toggle--open { display: none; }
.hs-founder__body p { font-size: 1.05rem; line-height: 1.7; margin: 0 0 1.25rem; }
.hs-founder__sig { margin-top: 2rem; }
.hs-founder__sig img { width: 210px; height: auto; display: block; }
.hs-founder__sig-name { font-weight: 700; color: var(--ink); margin: .5rem 0 0; }
.hs-founder__sig-role { font-size: .9rem; color: var(--slate-500); margin: .15rem 0 0; }
.hs-founder__close { display: inline-block; margin-top: 1.75rem; font-family: inherit; font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: none; border: none; border-bottom: 2px solid var(--yellow); padding: 0 0 2px; cursor: pointer; }
.hs-founder__close:hover { color: var(--slate-700); }
.doc-download__dl { font-size: 20px; margin-left: .3rem; }
