:root {
  --navy:        #04182b;
  --navy-deep:   #031523;
  --navy-soft:   #0a2138;
  --gold:        #d2ac6d;
  --gold-deep:   #b08f52;
  --cream:       #fdfdfb;
  --paper:       #f2f0ec;
  --white:       #f6f7f9;
  --ink:         #16202b;
  --slate:       #5d6b7a;
  --line:        rgba(4, 24, 43, .13);
  --line-light:  rgba(255, 255, 255, .16);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --script: 'Dancing Script', 'Segoe Script', cursive;

  --pad: clamp(1.25rem, 5vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon-defs { position: absolute; width: 0; height: 0; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 2000;
  background: var(--gold); color: var(--navy); padding: .75rem 1.1rem; border-radius: 2px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── icons ───────────────────────────────────────────────────── */
.ico, .ico-lg {
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.ico { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.15em; }
.ico-lg { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.3; }

/* ── buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold    { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e0bd82; }
.btn-navy    { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-block   { width: 100%; }

.rule { display: block; width: 68px; height: 2px; background: var(--gold); margin: 1.6rem 0; }

.eyebrow {
  font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em; color: var(--gold);
}

/* ── header ──────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.15rem var(--pad);
  transition: background .35s, padding .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(4, 24, 43, .95);
  backdrop-filter: blur(10px);
  padding-top: .8rem; padding-bottom: .8rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}

.brand { display: flex; align-items: center; gap: .85rem; }

/* ── brand switch ─────────────────────────────────────────────
   Two treatments ship in the markup; exactly one is displayed.
   To go back to the original, flip these two lines.
   A: Marvin's supplied lockup (mark + wordmark + tagline, one image).
      The supplied art is navy-on-transparent for light backgrounds, so
      assets/mc-lockup.png is the same art with the dark ink re-inked to
      paper for this dark header. Source PNG kept unmodified in the repo root.
   B: the original monogram + live text.                                    */
.brand-legacy { display: none; }
.brand-lockup { display: block; }

.brand-lockup { height: 58px; width: auto; flex: none; }

.brand-legacy { align-items: center; gap: .85rem; }
/* Lifted from Marvin's approved design comp — the source art is only 34px
   wide, so it is used at small sizes only. */
.brand-monogram { width: 42px; height: auto; flex: none; }

.brand-text { display: flex; flex-direction: column; gap: .18rem; }
.brand-name {
  font-family: var(--serif); font-size: 1.12rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--white); line-height: 1;
}
.brand-name em { font-style: normal; }
.brand-name b { font-weight: 400; color: var(--gold); }
.brand-tag {
  font-size: .5rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.72); line-height: 1;
}
.brand-tag sup { font-size: .7em; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav > a {
  font-size: .72rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--white);
  padding: .35rem 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.site-nav > a:hover { color: var(--gold); border-color: var(--gold); }
.nav-cta { padding: .7rem 1.4rem; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: .5rem;
}
.menu-toggle span:not(.sr-only) { width: 24px; height: 1.5px; background: var(--white); }

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  /* v3's image is 1.5:1 rather than the 2.235:1 desktop plate, so cover crops
     far less and the vw cap that protected the wide plate is unnecessary.
     Full viewport height, as v3 does. */
  min-height: 100svh;
  /* The breathing photo is promoted to its own compositing layer, which can
     paint over later siblings. Isolating the hero and giving the scrim and
     copy their own layers makes the z-index order authoritative between
     layers rather than a suggestion. */
  isolation: isolate;
  display: flex; align-items: center;
  padding: clamp(4.5rem, 5.5vw, 8rem) var(--pad) clamp(2rem, 3vw, 4.5rem);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/hero-v3.jpg?v=20260818v5c') center center / cover no-repeat var(--navy-deep);
  /* v3's slow breathing. Paused for anyone who asks for reduced motion. */
  /* Deliberately NOT promoted with a compositing hint. Doing so makes this
     layer paint over .hero-inner regardless of z-index, burying the copy
     behind the photograph. v3 animates without one; so do we. */
  animation: heroBreathe 28s ease-in-out infinite alternate;
}
@keyframes heroBreathe { to { transform: scale(1.055); } }
@media (prefers-reduced-motion: reduce) {
  .hero-media { animation: none; }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; transform: translateZ(0);
  /* v3's softer, deeper wash - it fades further across the frame than the
     ratio-locked version needed, which is what gives the left column its
     weight without a hard edge. */
  background:
    linear-gradient(90deg, rgba(1,10,18,.94) 0%, rgba(3,14,24,.78) 31%, rgba(3,14,24,.15) 56%, rgba(3,14,24,.06) 100%),
    linear-gradient(0deg, rgba(0,11,20,.55) 0%, rgba(0,11,20,0) 45%);
}
.hero-inner {
  /* z-index is load-bearing: .hero-media is promoted to its own compositing
     layer by will-change, so the copy needs a declared stacking position or
     it can paint underneath the photograph. v3 does the same thing. */
  position: relative; z-index: 2; transform: translateZ(0); max-width: min(49%, 70ch);
}
/* Carries legibility over the daylight window so the scrim can stay light. */
.hero-title,
.hero-name,
.hero-roles,
.hero-eyebrow { text-shadow: 0 2px 20px rgba(2, 10, 19, .8), 0 1px 3px rgba(2, 10, 19, .55); }

.hero-eyebrow {
  font-size: clamp(.7rem, .86vw, 1.05rem); font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.92); margin-bottom: clamp(.9rem, 1.1vw, 1.6rem);
}

/* Sized in vw so the whole hero block holds the comp's proportions on a
   2560 monitor instead of stalling at a fixed rem cap. */
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 5.6vw, 8rem); line-height: 1.0;
  letter-spacing: -.01em; color: var(--white);
  /* The three lines are set with <br>. Without this, "That Scale™" breaks
     again after "That" at some zoom levels, and the extra line pushes the
     hero taller than the photograph — which is what opens the empty band
     above the stats bar. */
  white-space: nowrap;
}
.hero-title .tm { font-size: .28em; vertical-align: super; letter-spacing: 0; }

.hero .rule {
  width: clamp(68px, 5vw, 120px); height: 3px;
  margin: clamp(.9rem, 1.1vw, 1.6rem) 0;
}

.hero-name {
  font-family: var(--sans); font-size: clamp(1rem, 1.42vw, 2rem); font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: clamp(1rem, 1.2vw, 2rem);
}
.hero-roles .role { white-space: nowrap; }
.hero-roles {
  margin-bottom: clamp(1.6rem, 2vw, 3rem); max-width: min(47vw, 100%);
  font-size: clamp(.75rem, .95vw, 1.15rem); font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.88); line-height: 1.9;
}
.hero .btn {
  font-size: clamp(.72rem, .62vw, 1rem);
  padding: clamp(.95rem, .95vw, 1.35rem) clamp(1.7rem, 1.8vw, 2.6rem);
}

/* v3's scroll cue. */
.hero-scroll {
  position: absolute; z-index: 2; bottom: clamp(1.1rem, 1.8vw, 2.2rem);
  left: 50%; transform: translateX(-50%);
  font-size: .62rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.72);
  display: flex; align-items: center; gap: .6rem; white-space: nowrap;
  text-shadow: 0 2px 14px rgba(2,10,19,.8);
}
.hero-scroll span { animation: scrollNudge 2.4s ease-in-out infinite; }
@keyframes scrollNudge { 0%,100% { transform: translateY(0); opacity: .65; } 50% { transform: translateY(5px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll span { animation: none; } }

/* ── shared band label ───────────────────────────────────────── */
.band-label {
  font-size: .74rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); text-align: center;
}
.band-label.ruled { display: flex; align-items: center; justify-content: center; gap: 1.4rem; }
.band-label.ruled::before, .band-label.ruled::after {
  content: ''; width: clamp(2rem, 9vw, 8rem); height: 1px; background: var(--gold); opacity: .55;
}
.band-label.dark { color: var(--navy); }
.band-label.dark::before, .band-label.dark::after { background: var(--navy); opacity: .3; }

/* ── stats band ──────────────────────────────────────────────── */
.stats { background: var(--navy-deep); padding: 3.2rem var(--pad) 3.6rem; color: var(--white); }
.stats-grid {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: repeat(8, 1fr);
}
.stats-grid li {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding: .4rem 1rem; text-align: center;
  border-right: 1px solid var(--line-light);
}
.stats-grid li:last-child { border-right: 0; }
.stats-grid strong {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  color: var(--gold); line-height: 1;
}
.stats-grid span {
  font-size: .6rem; font-weight: 500; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(255,255,255,.72); line-height: 1.6;
}

/* ── about + capabilities ────────────────────────────────────── */
.about {
  background: var(--cream);
  padding: clamp(4.5rem, 8vw, 7.5rem) var(--pad);
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}
.about-copy h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.16; margin-top: 1rem;
}
.about-copy > p { color: var(--slate); font-size: .93rem; margin-bottom: 1.1rem; }
.about-copy .rule { margin: 1.5rem 0 1.8rem; }
.signature {
  font-family: var(--script); font-size: 2.1rem; color: var(--ink);
  margin: 1.8rem 0 .2rem !important; line-height: 1;
}
.signature-tag {
  font-size: .62rem !important; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold) !important; margin-bottom: 2rem !important;
}

.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); background: #fff;
}
.cap {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  padding: 2.4rem 1.5rem 2rem; text-align: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.cap:nth-child(3n) { border-right: 0; }
.cap:nth-child(n+4) { border-bottom: 0; }
.cap:hover { background: var(--paper); }
.cap h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.12rem; line-height: 1.25;
}
.cap p { font-size: .79rem; color: var(--slate); line-height: 1.65; }
.cap-arrow { color: var(--gold); margin-top: auto; font-size: 1.1rem; }

/* ── selected impact ─────────────────────────────────────────── */
.impact { background: var(--navy); color: var(--white); padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad); }
.impact-grid {
  margin-top: 2.8rem;
  display: grid; grid-template-columns: repeat(7, 1fr);
}
.impact-grid li {
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  padding: .5rem 1.1rem; text-align: center;
  border-right: 1px solid var(--line-light);
}
.impact-grid li:last-child { border-right: 0; }
.impact-grid p { font-size: .74rem; line-height: 1.7; color: rgba(255,255,255,.8); }

/* ── insights ────────────────────────────────────────────────── */
.insights { background: var(--paper); padding: clamp(4rem, 7vw, 6.5rem) var(--pad); }
.insight-grid {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem;
}
.insight {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.insight:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(4,24,43,.14); }
.insight-art {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: center;
  background: var(--navy);
}
.insight h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.28;
  padding: 1.2rem 1.15rem .55rem;
}
.insight > p { font-size: .76rem; color: var(--slate); line-height: 1.6; padding: 0 1.15rem 1rem; }
.read {
  margin-top: auto; padding: 0 1.15rem 1.3rem;
  font-size: .63rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .45rem;
}

/* ── closing CTA ─────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(rgba(4,24,43,.9), rgba(4,24,43,.94)),
              url('assets/footer-texture.jpg') center / cover no-repeat var(--navy);
  color: var(--white);
  padding: clamp(4rem, 7vw, 6rem) var(--pad);
  text-align: center;
}
.cta-watermark {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  width: clamp(140px, 18vw, 260px); height: auto;
  opacity: .10; pointer-events: none;
}
.cta-inner { position: relative; max-width: 820px; margin: 0 auto; }
.cta h2 {
  font-family: var(--serif); font-weight: 400; color: var(--gold);
  font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1.2rem;
}
.cta p { font-size: .87rem; color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.55);
  padding: 1.5rem var(--pad);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .68rem; letter-spacing: .04em;
  border-top: 1px solid var(--line-light);
}

/* ── modal ───────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 1.25rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,10,19,.82); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; width: min(560px, 100%);
  max-height: 92svh; overflow-y: auto;
  background: var(--navy); color: var(--white);
  border: 1px solid rgba(210,172,109,.35);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  animation: modal-in .28s ease-out;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .modal-panel { animation: none; } }

.modal-close {
  position: absolute; top: .6rem; right: .9rem;
  background: none; border: 0; cursor: pointer;
  font-size: 1.9rem; line-height: 1; color: rgba(255,255,255,.55);
}
.modal-close:hover { color: var(--gold); }
.modal-panel h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem);
  margin: .5rem 0 .7rem;
}
.modal-lead { font-size: .82rem; color: rgba(255,255,255,.72); margin-bottom: 1.6rem; }

.contact-form label { display: block; margin-bottom: 1rem; }
.contact-form label > span {
  display: block; margin-bottom: .4rem;
  font-size: .64rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem .9rem;
  color: var(--white); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.2); border-radius: 2px;
  outline: none; transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--gold); background: rgba(255,255,255,.08);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: .4rem; }
.contact-form button[disabled] { opacity: .55; cursor: progress; transform: none; }

/* Honeypot — off-screen rather than display:none so bots still fill it. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: .9rem 0 .3rem; font-size: .78rem; line-height: 1.5; min-height: 1.2em; }
.form-status.is-success { color: var(--gold); }
.form-status.is-error   { color: #ff9d8a; }
.form-note { font-size: .66rem; color: rgba(255,255,255,.4); }

/* ── article pages ───────────────────────────────────────────── */
.article-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--navy); border-bottom: 1px solid var(--line-light);
  padding: 1rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.back-link {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .5rem;
}
.back-link .ico { transform: rotate(180deg); }

.article-hero {
  background: var(--navy); color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(2.5rem, 5vw, 4rem);
}
.article-hero .wrap { max-width: 760px; margin: 0 auto; }
.article-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; margin: .9rem 0 1.2rem;
}
.article-standfirst { font-size: 1rem; color: rgba(255,255,255,.78); }
.byline {
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light);
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.byline b { color: var(--gold); font-weight: 600; }

.article-cover {
  display: block;
  width: min(1100px, calc(100% - 2 * var(--pad)));
  height: auto;
  margin: clamp(-2.5rem, -4vw, -1.5rem) auto 0;
  position: relative;
  box-shadow: 0 24px 60px rgba(4, 24, 43, .28);
}

.article-body {
  max-width: 760px; margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad) clamp(3.5rem, 7vw, 5.5rem);
}
.article-body p { margin-bottom: 1.35rem; font-size: 1.02rem; line-height: 1.78; color: #2b3946; }
.article-body h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.25;
  margin: 2.6rem 0 1rem;
}
.article-body blockquote {
  margin: 2.2rem 0; padding: .3rem 0 .3rem 1.6rem;
  border-left: 3px solid var(--gold);
  font-family: var(--serif); font-size: 1.24rem; line-height: 1.5; font-style: italic;
  color: var(--navy);
}
.article-body ul { margin: 0 0 1.35rem 1.2rem; list-style: disc; }
.article-body li { margin-bottom: .55rem; font-size: 1.02rem; line-height: 1.7; color: #2b3946; }
.article-body strong { color: var(--navy); font-weight: 600; }

.article-cta {
  background: var(--paper); border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad); text-align: center;
}
.article-cta h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .8rem;
}
.article-cta p { color: var(--slate); font-size: .9rem; max-width: 540px; margin: 0 auto 1.8rem; }

/* ── reveal ──────────────────────────────────────────────────── */
/* Scoped to .js, which the inline snippet in <head> sets before first paint.
   Without it every .reveal stays at opacity 0 until JavaScript succeeds, so a
   blocked script, a JS error, or a preview/crawler bot that does not execute
   JS renders the entire page blank. Content is visible by default; the
   animation is the enhancement. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── responsive ──────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .stats-grid  { grid-template-columns: repeat(4, 1fr); row-gap: 2.2rem; }
  .stats-grid li:nth-child(4n) { border-right: 0; }
  .impact-grid { grid-template-columns: repeat(4, 1fr); row-gap: 2.4rem; }
  .impact-grid li:nth-child(4n) { border-right: 0; }
  .insight-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    padding: 2rem var(--pad);
    background: var(--navy); border-left: 1px solid var(--line-light);
    transform: translateX(100%); transition: transform .35s ease;
  }
  .site-nav.open { transform: none; }
  .site-nav > a { font-size: .85rem; }
  body.menu-open { overflow: hidden; }

  .about { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(3n) { border-right: 1px solid var(--line); }
  .cap:nth-child(2n) { border-right: 0; }
  .cap:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .cap:nth-child(n+5) { border-bottom: 0; }
}

@media (max-width: 720px) {
  .stats-grid, .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid li, .impact-grid li { border-right: 0; }
  .insight-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; text-align: center; }
  .cta-watermark { display: none; }
}

/* ── mobile hero ─────────────────────────────────────────────────
   A 2.235:1 plate painted at full width is only ~170px tall on a phone,
   which left the photograph as a strip under the header and a screen of
   empty navy beneath it. On narrow screens fill the frame instead and sit
   the copy at the foot of it, over a vertical gradient. */
@media (max-width: 900px) {
  .hero {
    min-height: 92svh;
    align-items: flex-end;
    padding: 6rem var(--pad) 3rem;
  }
  .hero-media {
    /* v3's mobile framing for the same photograph. */
    background-size: cover;
    background-position: 61% center;
  }
  .hero-scrim {
    /* Copy sits from roughly the midpoint down, so the wash has to be heavy
       there — it is running over his suit and the lit window, not over dark. */
    background:
      linear-gradient(180deg,
        rgba(3,17,30,.60) 0%,
        rgba(3,17,30,.16) 20%,
        rgba(3,17,30,.52) 44%,
        rgba(3,17,30,.88) 68%,
        rgba(3,17,30,.96) 100%);
  }
  .hero-inner { max-width: 100%; }

  .hero-title { font-size: clamp(2rem, 8.6vw, 3.1rem); }
  .hero .rule { width: 58px; height: 2px; margin: .9rem 0; }
  .hero-name { font-size: .95rem; letter-spacing: .22em; margin-bottom: .9rem; }
  .hero-eyebrow { font-size: .6rem; letter-spacing: .16em; margin-bottom: .8rem; }
  .hero-roles {
    margin-bottom: 1.6rem; max-width: 100%;
    font-size: .64rem; letter-spacing: .08em; line-height: 1.9;
  }
  .hero .btn { white-space: nowrap; font-size: .68rem; padding: .9rem 1.4rem; }
  /* the copy already sits at the foot of the frame here, so the cue would
     collide with it */
  .hero-scroll { display: none; }

  /* the lockup was running across the subject's face at this width */
  .brand-tag { display: none; }
  .brand-lockup { height: 40px; }
  .brand-monogram { width: 34px; }
  .brand-name { font-size: .92rem; letter-spacing: .1em; }
  .site-header { padding: .8rem var(--pad); }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.85rem; }
  .hero-roles { font-size: .59rem; letter-spacing: .06em; }
  .brand-name { font-size: .82rem; }
}
