@charset "utf-8";
/* ═══════════════════════════════════════════════════════════════════════════
   Vanguard Staffing Solutions
   1. Tokens   2. Reset   3. Type   4. Layout   5. Components
   6. Sections 7. Form    8. Motion 9. Responsive
   ═══════════════════════════════════════════════════════════════════════════ */

@import url("_lqip.css");

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Brand constants. Both grounds are derived from these. */
  --brass:        #c8a96a;
  --brass-deep:   #806429;  /* 4.98:1 on ivory — AA for small text */

  /* Fluid type scale */
  --t-display: clamp(3.4rem, 1.2rem + 8.6vw, 8.75rem);
  --t-h2:      clamp(2.1rem, 1.1rem + 3.4vw, 4rem);
  --t-h3:      clamp(1.32rem, 1.1rem + 0.8vw, 1.85rem);
  --t-lede:    clamp(1.06rem, 0.98rem + 0.4vw, 1.3rem);
  --t-body:    clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --t-small:   0.815rem;

  /* Rhythm */
  --shell:   82.5rem;
  --gut:     clamp(1.25rem, 0.6rem + 2.6vw, 3.5rem);
  --sec-y:   clamp(5rem, 3rem + 8vw, 11rem);
  --rule:    1px;

  --ease:    cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* Film grain — one turbulence tile reused across the whole page. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  color-scheme: dark;
}

/* Two grounds. Every component reads these, so it adapts by context alone. */
[data-ground="noir"] {
  --bg:    #0b0c0e;
  --raise: #121417;
  --line:  #22262b;
  --ink:   #f2efe9;
  --mute:  #9a9691;
  --acc:   var(--brass);
  --grain-op: .05;
  --shadow: 0 1px 0 rgba(255,255,255,.04);
}
[data-ground="ivory"] {
  --bg:    #f5f2ec;
  --raise: #fffdf9;
  --line:  #e2ddd3;
  --ink:   #14161a;
  --mute:  #6b6862;
  --acc:   var(--brass-deep);
  --grain-op: .035;
  --shadow: 0 1px 0 rgba(0,0,0,.03);
}

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

@font-face {
  font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: #0b0c0e;
  color: #f2efe9;
  font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-body);
  line-height: 1.6;
  font-feature-settings: "tnum" 1, "cv05" 1;
  overflow-x: hidden;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--brass); color: #0b0c0e; }

[hidden] { display: none !important; }

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

.u-sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; top: 0; left: 50%; translate: -50% -140%;
  z-index: 200; padding: .85rem 1.4rem;
  background: var(--brass); color: #0b0c0e; font-weight: 600; font-size: .9rem;
  transition: translate .25s var(--ease);
}
.skip:focus { translate: -50% 0; }

/* ── 3. Type ───────────────────────────────────────────────────────────── */
.h2, .h3, h1, h2, h3 {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-weight: 400; line-height: .98; letter-spacing: -.022em;
  text-wrap: balance;
}
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: 1.12; letter-spacing: -.014em; }
em { font-style: italic; }
p { text-wrap: pretty; }

.kicker {
  display: flex; align-items: baseline; gap: .7rem;
  font-size: var(--t-small); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute);
}
.kicker .idx { color: var(--acc); font-variant-numeric: tabular-nums; letter-spacing: .06em; }

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .6rem;
  font-size: var(--t-small); letter-spacing: .13em; text-transform: uppercase;
  color: var(--mute);
}
.eyebrow__dot {
  width: 6px; height: 6px; background: var(--acc);
  rotate: 45deg; flex: none;
}
.sep { opacity: .5; padding-inline: .1em; }
.nowrap { white-space: nowrap; }

/* ── 4. Layout ─────────────────────────────────────────────────────────── */
.shell {
  width: 100%; max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

section[data-ground], .marquee, .foot {
  position: relative;
  background: var(--bg);
  color: var(--ink);
}

/* Grain sits above the ground, below the content. */
section[data-ground]::before, .foot::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: var(--grain-op);
  pointer-events: none; z-index: 5;
}
/* Content sits above the ground; full-bleed media layers stay beneath it.
   Deliberately NOT `section > *` — that would outrank position:absolute on
   the media layers and pull them into flow. */
.shell { position: relative; z-index: 2; }

/* Hairline between two ivory sections, so bands read as one sheet of paper. */
.sectors, .doors, .process, .models, .standards, .quotes, .faq { border-top: var(--rule) solid var(--line); }

.sec-head { max-width: 46rem; margin-bottom: clamp(2.75rem, 1.5rem + 4vw, 5rem); }
.sec-head .h2 { margin-top: 1.1rem; }
.sec-head__lede { margin-top: 1.3rem; color: var(--mute); font-size: var(--t-lede); max-width: 38rem; }
/* Emphasis in a lede borrows the display italic — Inter Tight has no true
   italic and the synthesised slant looks cheap at this size. */
.sec-head__lede em, .contact__lede em {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic; font-size: 1.1em; color: var(--ink);
}

/* ── 5. Components ─────────────────────────────────────────────────────── */

/* Photography — one grade for every image on the page. This is what stops a
   set of stock photographs looking like a set of stock photographs. */
.ph {
  position: relative; display: block; overflow: hidden;
  background-image: var(--lqip);
  background-size: cover; background-position: center;
  isolation: isolate;
}
.ph img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.78) contrast(1.06) brightness(.97);
  opacity: 0;
  transition: opacity .7s var(--ease), scale 1.4s var(--ease);
}
.ph img.is-loaded { opacity: 1; }
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(203deg, rgba(200,169,106,.20) 0%, rgba(200,169,106,0) 48%),
    linear-gradient(0deg,  rgba(11,12,14,.42)   0%, rgba(11,12,14,0)   62%);
  mix-blend-mode: soft-light;
}
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--tall     { aspect-ratio: 3 / 4; }
.ph--wide     { aspect-ratio: 16 / 10; }
.ph--classic  { aspect-ratio: 4 / 3; }

/* Buttons */
.btn {
  --btn-pad: .82rem 1.5rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem; padding: var(--btn-pad);
  font-size: .925rem; font-weight: 500; letter-spacing: -.005em;
  border: var(--rule) solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), translate .35s var(--ease);
  white-space: nowrap;
}
.btn--lg   { --btn-pad: 1.02rem 1.9rem; font-size: .97rem; }
.btn--full { width: 100%; }

.btn--solid { background: var(--acc); color: #0b0c0e; }
.btn--solid:hover { background: var(--ink); color: var(--bg); }

.btn--line { border-color: color-mix(in oklab, var(--ink) 34%, transparent); color: var(--ink); }
.btn--line:hover { border-color: var(--acc); color: var(--acc); }

.btn--ghost { color: var(--ink); padding-inline: .65rem; }
.btn--ghost::after {
  content: ""; position: absolute; left: .65rem; right: .65rem; bottom: .55rem;
  height: 1px; background: currentColor;
  scale: 0 1; transform-origin: right; transition: scale .4s var(--ease);
}
.btn--ghost:hover::after { scale: 1 1; transform-origin: left; }
.btn:active { translate: 0 1px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease);
  border-bottom: var(--rule) solid transparent;
}
.nav.is-stuck {
  background: color-mix(in oklab, #0b0c0e 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line);
}
.nav::before { content: none; }
.nav__in {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 72px;
}
.nav__links { display: flex; gap: clamp(1rem, 2vw, 1.9rem); margin-inline: auto; }
.nav__links a {
  position: relative; font-size: .9rem; color: var(--mute);
  transition: color .3s var(--ease); padding-block: .4rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--acc); scale: 0 1; transform-origin: right;
  transition: scale .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-here { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-here::after { scale: 1 1; transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: .5rem; }

.brand { display: inline-flex; align-items: center; gap: .68rem; flex: none; }
.brand__mark { width: 24px; height: 24px; color: var(--acc); flex: none; }
.brand__word {
  display: flex; flex-direction: column; line-height: 1;
  font-family: "Instrument Serif", serif; font-size: 1.32rem; letter-spacing: -.012em;
}
.brand__sub {
  font-family: "Inter Tight", sans-serif; font-size: .585rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
  margin-top: .3rem;
}

.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav__bar {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  margin-inline: auto; transition: translate .3s var(--ease), rotate .3s var(--ease), opacity .2s;
}
.nav__toggle[aria-expanded="true"] .nav__bar:first-child { translate: 0 3px; rotate: 45deg; }
.nav__toggle[aria-expanded="true"] .nav__bar:last-child  { translate: 0 -3px; rotate: -45deg; }

.menu {
  display: flex; flex-direction: column;
  padding: .5rem var(--gut) 2rem;
  background: #0b0c0e; border-top: var(--rule) solid var(--line);
}
.menu a {
  padding: 1rem 0; border-bottom: var(--rule) solid var(--line);
  font-size: 1.05rem; color: var(--ink);
}
.menu__cta { color: var(--brass); }
.menu[hidden] { display: none; }

/* Scroll progress */
.progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 110;
  pointer-events: none;
}
.progress i {
  display: block; height: 100%; width: 100%;
  background: var(--brass); transform-origin: left; scale: 0 1;
}

/* ── 6. Sections ───────────────────────────────────────────────────────── */

/* Hero */
.hero {
  display: flex; align-items: flex-end;
  min-height: 100svh; padding-block: 8.5rem clamp(2.5rem, 1rem + 4vw, 4.5rem);
  overflow: hidden;
}
.hero::before { z-index: 3; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, #0b0c0e 6%, rgba(11,12,14,.86) 34%, rgba(11,12,14,.42) 62%, rgba(11,12,14,.6) 100%),
    linear-gradient(0deg, #0b0c0e 2%, rgba(11,12,14,0) 42%);
}
.hero__in { position: relative; z-index: 4; width: 100%; }
.hero__h {
  font-family: "Instrument Serif", serif; font-weight: 400;
  font-size: var(--t-display); line-height: .9; letter-spacing: -.035em;
  margin-top: 1.6rem;
}
.hero__h .line { display: block; }
.hero__h em { color: var(--brass); }
.hero__lede {
  max-width: 34rem; margin-top: 1.9rem;
  font-size: var(--t-lede); color: color-mix(in oklab, var(--ink) 74%, transparent);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.4rem; }

.proof {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px clamp(1rem, 2vw, 2rem);
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  padding-top: 1.6rem;
  border-top: var(--rule) solid color-mix(in oklab, var(--ink) 16%, transparent);
}
.proof > div { display: flex; flex-direction: column; justify-content: space-between; }
.proof dt {
  font-size: .755rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute); margin-bottom: .55rem; text-wrap: balance;
}
.proof dd {
  display: flex; align-items: baseline; gap: .28rem;
  font-family: "Instrument Serif", serif; font-size: clamp(1.9rem, 1.2rem + 1.9vw, 2.9rem);
  line-height: 1; letter-spacing: -.02em;
}
.proof__u {
  font-family: "Inter Tight", sans-serif; font-size: .78rem; font-weight: 500;
  letter-spacing: .04em; color: var(--acc);
}

/* Marquee */
.marquee {
  overflow: hidden; border-block: var(--rule) solid var(--line);
  padding-block: .95rem; white-space: nowrap;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 2.2rem;
  animation: slide 46s linear infinite; will-change: transform;
}
.marquee span {
  font-family: "Instrument Serif", serif; font-size: 1.28rem;
  letter-spacing: -.01em; color: color-mix(in oklab, var(--ink) 62%, transparent);
}
.marquee i { color: var(--brass); font-size: .5rem; font-style: normal; }
@keyframes slide { to { translate: -50% 0; } }

/* Thesis */
.thesis { padding-block: var(--sec-y); }
.thesis__grid {
  display: grid; gap: clamp(2.5rem, 1rem + 6vw, 5.5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
}
.thesis__fig figcaption {
  margin-top: 1rem; font-size: var(--t-small); color: var(--mute);
  letter-spacing: .01em;
}
.thesis__body .h2 { margin: 1.2rem 0 1.7rem; }
.thesis__body em { color: var(--acc); }
.thesis__body p + p { margin-top: 1.1rem; }
.thesis__body p { color: var(--mute); max-width: 34rem; }
.thesis__sig {
  margin-top: 1.9rem !important; padding-top: 1.4rem;
  border-top: var(--rule) solid var(--line);
  color: var(--ink) !important; font-size: var(--t-lede);
}

/* Sectors */
.sectors { padding-block: var(--sec-y); }
.cards {
  display: grid; gap: clamp(1.75rem, 1rem + 2.4vw, 3.25rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card { display: flex; flex-direction: column; }
.card__body { display: flex; flex-direction: column; flex: 1 1 auto; }
.card .ph { margin-bottom: 1.5rem; }
.card:hover .ph img { scale: 1.035; }
.card h3 { font-size: var(--t-h3); margin-bottom: .75rem; }
.card__body > p { color: var(--mute); font-size: .975rem; margin-bottom: 1.15rem; }
.chips {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-top: auto; padding-top: 1.15rem;
  border-top: var(--rule) solid var(--line);
}
.chips li {
  font-size: .765rem; letter-spacing: .012em; color: var(--mute);
  padding: .3rem .62rem; border: var(--rule) solid var(--line);
  background: var(--raise);
}

/* Doors */
.doors { padding-block: var(--sec-y); }
.doors__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.door { display: flex; flex-direction: column; gap: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); }
.door .ph { aspect-ratio: 16 / 10; }
.door__body { display: flex; flex-direction: column; flex: 1 1 auto; }
.door .btn { align-self: flex-start; margin-top: auto; }
.door .h3 { margin: 1rem 0 1.4rem; }
.ticks { display: grid; gap: .72rem; margin-bottom: 1.9rem; }
.ticks li {
  position: relative; padding-left: 1.5rem;
  font-size: .945rem; color: var(--mute);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 7px; height: 7px; rotate: 45deg;
  border: var(--rule) solid var(--acc);
}
.ticks strong { color: var(--ink); font-weight: 500; }

/* Process */
.process { padding-block: var(--sec-y); }
.steps { display: grid; gap: 0; border-top: var(--rule) solid var(--line); }
.step {
  display: grid; gap: clamp(1rem, 4vw, 4rem);
  grid-template-columns: 6.5rem minmax(0, 1fr);
  padding-block: clamp(1.9rem, 1rem + 2.4vw, 3.1rem);
  border-bottom: var(--rule) solid var(--line);
  transition: background .5s var(--ease);
}
.step:hover { background: var(--raise); }
.step__n {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4.1rem); line-height: .82;
  color: color-mix(in oklab, var(--ink) 14%, transparent); letter-spacing: -.03em;
  transition: color .5s var(--ease);
}
.step:hover .step__n { color: var(--acc); }
.step__c { max-width: 44rem; }
.step__c h3 { font-size: var(--t-h3); margin-bottom: .7rem; }
.step__c p { color: var(--mute); }

/* Engagement models */
.models { padding-block: var(--sec-y); }
.models__list { border-top: var(--rule) solid var(--line); }
.model {
  display: grid; gap: .5rem clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  align-items: baseline;
  padding-block: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
  border-bottom: var(--rule) solid var(--line);
}
.model__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem; }
.model h3 { font-size: var(--t-h3); letter-spacing: -.005em; }
.model__tag {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--acc); border: var(--rule) solid var(--line);
  padding: .22rem .55rem; white-space: nowrap;
}
.model > p { color: var(--mute); }

/* Access */
.access { padding-block: var(--sec-y); overflow: hidden; }
.access__media { position: absolute; inset: 0; z-index: 0; opacity: .22; }
.access__media .ph, .access__media img { width: 100%; height: 100%; }
.access__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #0b0c0e 0%, rgba(11,12,14,.72) 42%, rgba(11,12,14,.86) 70%, #0b0c0e 100%);
}
.access__grid {
  display: grid; gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.access__head .h2 { margin: 1.2rem 0 1.5rem; }
.access__head em { color: var(--brass); }
.access__lede { color: var(--mute); font-size: var(--t-lede); max-width: 32rem; }
.access__lede a {
  color: var(--acc); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: color-mix(in oklab, var(--acc) 45%, transparent);
  overflow-wrap: anywhere;
}
.access__lede a:hover { text-decoration-color: var(--acc); }
.pledges { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pledges li {
  padding: 1.5rem 1.6rem 1.6rem 0;
  border-top: var(--rule) solid var(--line);
}
.pledges li:nth-child(odd) { padding-right: 2.2rem; }
.pledges h3 {
  font-family: "Inter Tight", sans-serif; font-size: .93rem; font-weight: 600;
  letter-spacing: -.004em; line-height: 1.35; margin-bottom: .45rem;
}
.pledges p { font-size: .885rem; color: var(--mute); line-height: 1.55; }

/* Standards */
.standards { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.standards__list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2.5rem);
}
.standards__list li { display: flex; flex-direction: column; gap: .5rem; }
.standards__k {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.45rem); line-height: 1;
  letter-spacing: -.022em;
}
.standards__v {
  font-size: .795rem; color: var(--mute); letter-spacing: .012em;
  text-wrap: balance; line-height: 1.45;
}

/* Testimonials — a ledger of rows, matching the engagement-models rhythm
   rather than a three-up card grid. */
.quotes { padding-block: var(--sec-y); }
.quotes__list { border-top: var(--rule) solid var(--line); }
.quote { border-bottom: var(--rule) solid var(--line); }
.quote figure {
  display: grid; gap: 1.1rem clamp(1.5rem, 4vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 13.5rem);
  align-items: start;
  padding-block: clamp(1.9rem, 1rem + 2.4vw, 3rem);
}
.quote blockquote p {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-size: clamp(1.28rem, 1.02rem + 1.1vw, 1.9rem);
  line-height: 1.26; letter-spacing: -.015em;
  max-width: 46ch; text-indent: -.42em;
}
/* Curly quotes live in CSS so the copy stays clean to edit. */
.quote blockquote p::before { content: "“"; }
.quote blockquote p::after  { content: "”"; }
.quote figcaption { display: flex; flex-direction: column; gap: .28rem; padding-top: .6rem; }
.quote figcaption::before {
  content: ""; width: 1.7rem; height: 1px; background: var(--acc); margin-bottom: .6rem;
}
.quote__who   { font-size: .875rem; font-weight: 600; letter-spacing: -.004em; }
.quote__where { font-size: .8rem; color: var(--mute); line-height: 1.45; }

/* FAQ */
.faq { padding-block: var(--sec-y); }
.faq__grid {
  display: grid; gap: clamp(2.25rem, 1rem + 4vw, 5rem);
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
}
.faq__head .h2 { margin-top: 1.1rem; }
.faq__list { border-top: var(--rule) solid var(--line); }
.faq details { border-bottom: var(--rule) solid var(--line); }
.faq summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.28rem; cursor: pointer; list-style: none;
  font-size: 1.035rem; font-weight: 500; letter-spacing: -.008em;
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-top: .4rem;
  border-right: 1.5px solid var(--acc); border-bottom: 1.5px solid var(--acc);
  rotate: 45deg; transition: rotate .4s var(--ease), translate .4s var(--ease);
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 4px; }
.faq summary:hover { color: var(--acc); }
.faq__a { padding-bottom: 1.5rem; padding-right: clamp(0rem, 6vw, 5rem); }
.faq__a p { color: var(--mute); }
.faq__a a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact { padding-block: var(--sec-y); }
.contact__grid {
  display: grid; gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
}
.contact__head .h2 { margin: 1.2rem 0 1.5rem; }
.contact__head em { color: var(--brass); }
.contact__lede { color: var(--mute); font-size: var(--t-lede); max-width: 28rem; }
.contact__es {
  margin-top: .9rem; font-size: .92rem; color: var(--mute);
  max-width: 28rem; font-style: italic;
}
.contact__direct {
  margin-top: 2.2rem; padding-top: 1.5rem;
  border-top: var(--rule) solid var(--line);
  display: flex; flex-direction: column; gap: .3rem;
}
.contact__direct span { font-size: var(--t-small); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.contact__direct a {
  font-family: "Instrument Serif", serif; font-size: clamp(1.15rem, 1rem + .7vw, 1.55rem);
  color: var(--brass); letter-spacing: -.012em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: color-mix(in oklab, var(--brass) 40%, transparent);
  transition: text-decoration-color .3s var(--ease);
  overflow-wrap: anywhere;
}
.contact__direct a:hover { text-decoration-color: var(--brass); }

/* ── 7. Form ───────────────────────────────────────────────────────────── */
.form { background: var(--raise); border: var(--rule) solid var(--line); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); }

.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: var(--rule) solid var(--line); margin-bottom: 1.9rem;
}
.seg__btn {
  padding: .8rem .9rem; background: none; border: 0; cursor: pointer;
  font-size: .89rem; font-weight: 500; color: var(--mute);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.seg__btn.is-on { background: var(--acc); color: #0b0c0e; }
.seg__btn:not(.is-on):hover { color: var(--ink); }

.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .795rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.field .opt { text-transform: none; letter-spacing: .01em; opacity: .75; }
.field input, .field textarea {
  width: 100%; padding: .78rem .9rem;
  background: var(--bg); border: var(--rule) solid var(--line); color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--mute) 66%, transparent); }
.field input:focus, .field textarea:focus { border-color: var(--acc); outline: none; }
.field textarea { resize: vertical; min-height: 6rem; }
.field__err { font-size: .78rem; color: #e4926f; min-height: 0; }
.field.is-bad input, .field.is-bad textarea { border-color: #e4926f; }

.check { flex-direction: row; align-items: flex-start; gap: .65rem; }
.check input { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .2rem; accent-color: var(--acc); }
.check label { text-transform: none; letter-spacing: .01em; font-size: .88rem; line-height: 1.5; color: var(--mute); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form button[type="submit"] { margin-top: 1.7rem; }
.form__status { margin-top: 1rem; font-size: .9rem; color: var(--acc); }
.form__status:empty { margin: 0; }
.form__status.is-bad { color: #e4926f; }
.form__fine { margin-top: 1.1rem; font-size: .79rem; color: var(--mute); line-height: 1.5; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.foot { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2.5rem; border-top: var(--rule) solid var(--line); }
.foot__top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem;
  padding-bottom: 2.2rem; border-bottom: var(--rule) solid var(--line);
}
.foot__nav { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-inline: auto; }
.foot__nav a { font-size: .875rem; color: var(--mute); transition: color .3s var(--ease); }
.foot__nav a:hover { color: var(--ink); }
.foot__mail a {
  font-size: .9rem; color: var(--brass);
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: color-mix(in oklab, var(--brass) 35%, transparent);
  overflow-wrap: anywhere;
}
.foot__eeo {
  margin-top: 2.2rem; max-width: 62rem;
  font-size: .775rem; line-height: 1.65; color: color-mix(in oklab, var(--mute) 88%, transparent);
}
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  margin-top: 2.2rem; padding-top: 1.5rem; border-top: var(--rule) solid var(--line);
  font-size: .78rem; color: var(--mute);
}

/* ── 8. Motion ─────────────────────────────────────────────────────────── */
/* Visible by default, so the page still reads if the script never runs or
   fails. The inline snippet in <head> sets .js, which opts into animating. */
.reveal { opacity: 1; translate: none; }
.js .reveal {
  opacity: 0; translate: 0 22px;
  transition: opacity .85s var(--ease), translate .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; translate: none; }
  .marquee__track { animation: none; }
  .ph img { opacity: 1; }
}

/* ── 9. Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors__grid { grid-template-columns: minmax(0, 1fr); }
  .access__grid, .faq__grid, .contact__grid, .thesis__grid { grid-template-columns: minmax(0, 1fr); }
  .thesis__fig { max-width: 34rem; }
  .access__lede, .contact__lede { max-width: 44rem; }
  .standards__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .model { grid-template-columns: minmax(0, 1fr); }
  .quote figure { grid-template-columns: minmax(0, 1fr); }
  .quote blockquote p { max-width: none; }
}

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav { background: color-mix(in oklab, #0b0c0e 88%, transparent); backdrop-filter: blur(14px); }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem clamp(1rem, 3vw, 2rem); }
  .pledges { grid-template-columns: minmax(0, 1fr); }
  .pledges li:nth-child(odd) { padding-right: 0; }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding-block: 7rem 3.5rem; }
  .hero__media img { object-position: 58% 50%; }
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(11,12,14,.94) 0%, rgba(11,12,14,.78) 30%,
      rgba(11,12,14,.82) 62%, #0b0c0e 100%);
  }
  .proof { padding-top: 1.3rem; }
  .proof dt { font-size: .7rem; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .card .ph { aspect-ratio: 16 / 11; }
  .step { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .step__n { font-size: 2.1rem; }
  .standards__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__fields { grid-template-columns: minmax(0, 1fr); }
  .field--wide { grid-column: auto; }
  .foot__nav { margin-inline: 0; width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .seg { grid-template-columns: minmax(0, 1fr); }
  .seg__btn + .seg__btn { border-top: var(--rule) solid var(--line); }
  .standards__list { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .nav, .progress, .marquee, .hero__media, .form, .skip { display: none !important; }
  body, section[data-ground] { background: #fff !important; color: #000 !important; }
}
