/* ==========================================================================
   Substrate — HI ARCHITECTURE DETAIL lane.
   Greige editorial architecture: one hue, three band values plus one dark
   inversion. Montserrat everywhere, every heading weight 400, sentence case
   with a terminal full stop. Scale carries hierarchy, never weight.
   Motion budget is the reference's: an 800ms load settle, a 6px header
   settle, 500ms image hovers. One addition: structural hairlines draw.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Ground values, sampled off the photography's warm cream paper. */
  --ground:      #dfd8c6;
  --surface:     #d8d1bf;   /* one value darker: alternate band, no divider */
  --paper:       #e7e1d2;   /* the drawing sheet, lighter than the ground   */

  /* Inversion. Warm green-black, lifted from the hero photograph's surface. */
  --ink:         #131a16;
  --ink-soft:    #1c241e;

  /* Text roles on light ground. */
  --heading:     #131a16;
  --muted:       #574f42;   /* body                     5.68 / 5.30 : AA    */
  --label:       #64594a;   /* eyebrows, ordinals, meta 4.81 / 4.49 : AA    */

  /* Text roles on ink. */
  --on-ink:       #dfd8c6;  /* 12.45 : AAA */
  --on-ink-body:  #b9b2a0;  /*  8.37 : AAA */
  --on-ink-label: #a79e8b;  /*  6.66 : AAA */

  /* Hairlines are always an alpha of the stratum's ink or ground. */
  --rule:        rgba(19, 26, 22, 0.16);
  --rule-firm:   rgba(19, 26, 22, 0.30);
  --rule-faint:  rgba(19, 26, 22, 0.10);
  --rule-dark:   rgba(223, 216, 198, 0.18);
  --rule-dark-firm: rgba(223, 216, 198, 0.34);

  /* Container ladder. Five measures, deliberately out of phase with the
     value alternation so no two section handoffs feel the same. */
  --wide:        1382px;
  --medium:       972px;
  --frame:        914px;
  --quote:        774px;
  --narrow:       700px;
  --gutter:      clamp(20px, 2.1vw, 30px);

  --pad-y:       clamp(72px, 7.4vw, 110px);

  --banner-h:     36px;
  --header-h:     52px;

  --ease-settle: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-draw:   cubic-bezier(0.65, 0.05, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

body {
  font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system,
               'Segoe UI', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  background: var(--ground);
  color: var(--muted);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- type --- */

h1, h2, h3 { font-weight: 400; color: var(--heading); }

.h1 {
  font-size: clamp(32px, 4.05vw, 58px);
  line-height: 1.14;
  letter-spacing: 0.01em;
}
.h2 {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.h2--tight { line-height: 1.25; font-size: clamp(27px, 2.5vw, 36px); }
.h2--faq   { font-size: clamp(25px, 2.1vw, 30px); line-height: 1.6; }

.statement {
  font-size: clamp(21px, 1.95vw, 28px);
  line-height: 1.55;
  color: var(--heading);
}

.lead  { font-size: clamp(15.5px, 1.15vw, 16.5px); line-height: 1.75; }
.small { font-size: 14px; line-height: 1.6; }

/* Two tracking regimes only: 0.28em for eyebrows, ~0.01em for display. */
.eyebrow {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--label);
}
.meta {
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label);
}
.ord {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--label);
  font-variant-numeric: tabular-nums;
}

/* Underline that overhangs the text on both sides. */
.ulink {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--heading);
  text-decoration: none;
  padding: 0 5px 7px;
  margin: 0 -5px;
  position: relative;
  transition: color 0.15s ease;
}
.ulink::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.25s var(--ease-settle), background 0.15s ease;
}
.ulink:hover { color: var(--label); }
.on-ink .ulink { color: var(--on-ink); }
.on-ink .ulink:hover { color: var(--on-ink-label); }

/* --------------------------------------------------------- containers --- */

.wrap    { width: 100%; max-width: var(--wide);   margin: 0 auto; padding-inline: var(--gutter); }
.wrap-md { width: 100%; max-width: var(--medium); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-q  { width: 100%; max-width: var(--quote);  margin: 0 auto; padding-inline: var(--gutter); }
.wrap-n  { width: 100%; max-width: var(--narrow); margin: 0 auto; padding-inline: var(--gutter); }

section { padding-block: var(--pad-y); }
.band-surface { background: var(--surface); }
.band-ink     { background: var(--ink); }

.on-ink { color: var(--on-ink-body); }
.on-ink h2, .on-ink h3, .on-ink .h2 { color: var(--on-ink); }
.on-ink .eyebrow, .on-ink .meta, .on-ink .ord { color: var(--on-ink-label); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--ground);
  padding: 12px 18px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.skip:focus { left: 0; }

:where(a, button, input):focus-visible {
  outline: 2px solid var(--heading);
  outline-offset: 3px;
}
.on-ink :where(a, button, input):focus-visible,
.band-ink :where(a, button, input):focus-visible { outline-color: var(--on-ink); }

/* ------------------------------------------------------ sticky chrome --- */

.banner {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink);
  color: var(--on-ink-body);
  height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-inline: 16px;
  overflow: hidden;
}
.banner p {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
.banner__short { display: none; }

.hdr {
  position: sticky;
  top: calc(var(--banner-h) - 6px);   /* the 6px settle, and nothing more */
  z-index: 30;
  height: var(--header-h);
  background: var(--ground);          /* near-opaque fill, never a blur   */
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.hdr.is-scrolled { border-bottom-color: var(--rule); }
.hdr__in {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.hdr__nav { display: flex; gap: clamp(14px, 1.6vw, 26px); align-items: center; }
.hdr__nav a {
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.hdr__nav a:hover { color: var(--label); }
.hdr__right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }

.mark {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--heading);
  white-space: nowrap;
}
.mark__glyph { width: 15px; height: 20px; overflow: visible; }
.mark__word {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* the 3x3 snap-grid menu button, borrowed wholesale */
.dots {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
  line-height: 0;
}
.dots span {
  display: grid;
  grid-template-columns: repeat(3, 3px);
  gap: 3px;
}
.dots i { width: 3px; height: 3px; background: var(--heading); display: block; }

.drawer {
  position: fixed; inset: 0; z-index: 60;
  visibility: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(19, 26, 22, 0.42);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto;
  width: min(86vw, 380px);
  background: var(--ground);
  padding: 26px var(--gutter) 40px;
  transform: translateX(100%);
  transition: transform 0.28s var(--ease-settle);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close {
  align-self: flex-end;
  background: none; border: 0; cursor: pointer;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--label); padding: 8px 0;
}
.drawer__nav { display: grid; gap: 4px; margin-top: 26px; }
.drawer__nav a {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 17px;
  color: var(--heading);
  text-decoration: none;
}
.drawer__nav a:last-child { border-bottom: 1px solid var(--rule); }

/* ------------------------------------------------------------- hero ---- */

.hero {
  position: relative;
  /* The reference's best decision: stop short of the fold. The next band is
     visible at rest, so the page never needs a scroll cue. */
  height: min(74vh, 700px);
  min-height: 460px;
  padding: 0;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
      rgba(19, 26, 22, 0.94) 0%,
      rgba(19, 26, 22, 0.90) 26%,
      rgba(19, 26, 22, 0.66) 46%,
      rgba(19, 26, 22, 0.22) 66%,
      rgba(19, 26, 22, 0.06) 100%);
}
.hero__in { position: relative; width: 100%; }
.hero__col { max-width: 620px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.86); font-size: 12px; }
.hero .h1 { color: #fff; margin: 20px 0 34px; }

.ghost {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: none;
  color: #fff;
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 19px 42px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* --------------------------------------------------------- belief ------ */

.belief { text-align: center; padding-bottom: clamp(48px, 5vw, 74px); }
.belief .eyebrow { display: block; margin-bottom: 30px; }
.belief .statement { max-width: 41ch; margin-inline: auto; }

/* --------------------------------------------------- strata schedule --- */

.strata { padding-top: 0; }
.strata__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.strata__grid--5 { grid-template-columns: repeat(5, 1fr); gap: 28px; }
.strata__col > .rule { margin-bottom: 22px; }
.strata__col .ord { display: block; margin-bottom: 9px; }
.strata__col h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.005em;
  margin-bottom: 10px;
}
.strata__col p { font-size: 13.5px; line-height: 1.65; }

/* Structural hairlines. They draw from the left as you arrive. */
.rule {
  height: 1px;
  background: var(--rule);
  transform-origin: left;
}
.on-ink .rule, .band-ink .rule { background: var(--rule-dark); }
.rule--center { transform-origin: center; }

/* ---------------------------------------------------------- work ------- */

.head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 3.4vw, 52px);
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
/* The plate is the card. No container, no border, no radius, no shadow. */
.plate {
  display: block;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 20px;
}
.plate svg { width: 100%; height: auto; transition: transform 0.5s ease; }
.card:hover .plate svg,
.card:focus-within .plate svg,
.plate:hover svg { transform: scale(1.035); }

.card__title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 10px;
}
.card__title h3 { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.card__title .ord { flex: none; }
.card p { font-size: 13.5px; line-height: 1.6; }
.card__metric { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.card__metric b { font-weight: 500; color: var(--heading); }
.card__tag { margin-top: 12px; }
.card__go { margin-top: 20px; }

/* -------------------------------------------------------- practice ----- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.specimen {
  background: var(--paper);
  padding: clamp(28px, 3vw, 44px);
}
.specimen__fig {
  font-size: clamp(56px, 6vw, 82px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.specimen__cap { margin-top: 12px; }
.specimen__list { margin-top: 30px; }
.specimen__list li { padding: 15px 0; border-top: 1px solid var(--rule); }
.specimen__list li:last-child { border-bottom: 1px solid var(--rule); }
.specimen__list b { display: block; font-size: 14px; font-weight: 600; color: var(--heading); line-height: 1.5; }
.specimen__list span { font-size: 13px; line-height: 1.55; }

.practice__body { display: grid; gap: 22px; }
.practice__body .eyebrow { margin-bottom: 6px; }
.roster { margin-top: 8px; }
.roster li { display: grid; gap: 3px; padding: 16px 0; border-top: 1px solid var(--rule); }
.roster li:first-child { border-top: 0; padding-top: 0; }
.roster b { font-size: 14.5px; font-weight: 600; color: var(--heading); }
.roster span { font-size: 13.5px; line-height: 1.6; }

/* --------------------------------------------- field: over-bleed photo -- */

.field {
  padding: 0;
  overflow: hidden;      /* the bleed escapes the grid, never the document */
}
.field__frame {
  position: relative;
  width: 135%;
  margin-left: -17.5%;
  aspect-ratio: 1584 / 672;
  overflow: hidden;
  background: var(--ink);
}
.field__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* A fixed crop-in. It reads as depth and costs no JavaScript. */
  transform: scale(1.22);
}

/* -------------------------------------------------------- diagnostic --- */

.diag { text-align: center; }
.diag .eyebrow { display: block; margin-bottom: 26px; }
.diag .h2 { margin-bottom: 16px; }
.diag__sub { max-width: 56ch; margin: 0 auto; }

.panel {
  max-width: var(--frame);
  margin: clamp(38px, 4vw, 58px) auto 0;
  background: var(--ink);
  color: var(--on-ink-body);
  text-align: left;
  padding: clamp(22px, 2.4vw, 32px);
}
.panel__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-dark);
}
.panel__head .meta { color: var(--on-ink-label); }
.panel__grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(20px, 2.6vw, 40px);
  padding-top: 22px;
}
.stage { display: grid; gap: 7px; padding: 9px 0; }
.stage__top { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-label); }
.stage__bar { height: 1px; background: var(--rule-dark); position: relative; }
.stage__bar i {
  position: absolute; inset: 0 auto 0 0;
  display: block; height: 1px; width: 0;
  background: var(--on-ink);
  transition: width 0.6s linear;
}
.stage.is-active .stage__top { color: var(--on-ink); }

.feed { display: grid; gap: 0; }
.feed li {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid rgba(223, 216, 198, 0.1);
  font-size: 12.5px;
  line-height: 1.5;
  animation: feedIn 0.45s var(--ease-settle) both;
}
.feed li:first-child { border-top: 0; }
.feed .ref { color: var(--on-ink-label); letter-spacing: 0.1em; font-size: 11px; font-variant-numeric: tabular-nums; }
.feed .val { color: var(--on-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
@keyframes feedIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel__foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule-dark); }
.panel__foot p { font-size: 12.5px; line-height: 1.6; color: var(--on-ink-label); }

/* Approved figures. They paint as facts and never move. */
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(48px, 5vw, 76px);
  text-align: left;
}
.figures .fig__n {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.figures .rule { margin-bottom: 14px; }
.figures p { font-size: 13.5px; line-height: 1.6; }
.figures .meta { margin-top: 8px; display: block; }

.findings { margin-top: clamp(40px, 4vw, 60px); text-align: left; }
.findings li {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.65;
}
.findings li:last-child { border-bottom: 1px solid var(--rule); }

/* ------------------------------------------------------------ voice ---- */

.voice { text-align: center; }
.voice > .wrap-q > .rule { margin-bottom: clamp(46px, 4.6vw, 70px); }
.voice .eyebrow { display: block; margin-bottom: 30px; }
.quote { min-height: 190px; }
.quote blockquote {
  font-size: clamp(20px, 1.85vw, 26px);
  line-height: 1.45;
  font-style: italic;
  color: var(--heading);
  animation: quoteIn 0.45s var(--ease-settle) both;
}
.quote figcaption { margin-top: 26px; font-size: 13.5px; line-height: 1.7; }
.quote figcaption b { font-weight: 600; color: var(--heading); }
@keyframes quoteIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.voice__ctrl {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  margin-top: clamp(28px, 3vw, 42px);
}
.arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--rule-firm);
  background: none; cursor: pointer;
  display: grid; place-items: center;
  color: var(--heading);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.arrow:hover { background: rgba(19, 26, 22, 0.06); border-color: var(--heading); }
.arrow svg { width: 15px; height: 10px; }
.count { font-size: 11px; letter-spacing: 0.2em; color: var(--label); font-variant-numeric: tabular-nums; }
.count b { font-weight: 400; color: var(--heading); }

/* ------------------------------------------------------------- cta ----- */

.cta { text-align: center; }
.cta .eyebrow { display: block; margin-bottom: 26px; }
.cta .h2 { margin-bottom: 18px; }
.cta__sub { max-width: 48ch; margin: 0 auto; }
.form { max-width: 430px; margin: clamp(34px, 3.6vw, 48px) auto 0; text-align: left; }
.form label {
  display: block;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-ink-label); margin-bottom: 9px;
}
.form input {
  width: 100%;
  background: var(--ink-soft);
  border: 1px solid rgba(223, 216, 198, 0.3);
  border-radius: 2px;
  color: var(--on-ink);
  padding: 14px 16px;
  font-size: 15px;
}
.form input::placeholder { color: rgba(167, 158, 139, 0.85); }
.form input:focus { border-color: var(--on-ink); outline: none; }
.form button {
  width: 100%;
  margin-top: 16px;
  background: var(--ground);
  color: var(--ink);
  border: 1px solid var(--ground);
  border-radius: 2px;
  padding: 16px 20px;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.form button:hover { background: var(--paper); }
.form__note { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--on-ink-label); min-height: 20px; }
.form__note.is-error { color: #e8c9a0; }
.form.is-sent .form__fields { display: none; }

/* ----------------------------------------------------------- footer ---- */

.ftr { background: var(--ink); color: var(--on-ink-body); padding-block: clamp(64px, 6vw, 92px) 30px; }
.ftr__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 44px);
}
.ftr h2 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-ink-label); margin-bottom: 22px; }
.ftr__grid li { margin-bottom: 13px; }
.ftr__grid a { color: var(--on-ink); text-decoration: none; font-size: 13.5px; transition: color 0.15s ease; }
.ftr__grid a:hover { color: var(--on-ink-label); }

.ftr__sign {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px; flex-wrap: wrap;
  margin-top: clamp(56px, 5vw, 80px);
}
.ftr__sign .mark { color: var(--on-ink); }
.ftr__sign .mark i { background: var(--on-ink); }
.ftr__sign p { font-size: 13px; line-height: 1.6; color: var(--on-ink-label); max-width: 46ch; text-align: right; }

.ftr__base {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin-top: 34px; padding-top: 22px;
  border-top: 1px solid var(--rule-dark);
}
.ftr__base span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-label); }

/* ------------------------------------------- inner pages: work, method -- */

/* A text-only page hero. No photograph, no 100vh: the ground band carries it,
   the way the reference's inner pages do. */
.phero { padding-top: clamp(72px, 8vw, 122px); padding-bottom: clamp(56px, 5.4vw, 80px); }
.phero .eyebrow { display: block; margin-bottom: 26px; }
.phero .h1 { max-width: 17ch; margin-bottom: 30px; }
.phero .lead { max-width: 58ch; }

.proj { padding-block: clamp(56px, 5.6vw, 84px); }
.proj:first-child { padding-top: 0; }
.proj__head {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  margin: 22px 0 14px;
}
.proj__body {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(28px, 3vw, 40px);
}
.proj__text { display: grid; gap: 16px; }
.proj__stack { color: var(--label); }
.metrics { display: grid; gap: 12px; margin-top: 6px; }
.metrics li { font-size: 14px; line-height: 1.6; }
.metrics li b { font-weight: 500; color: var(--heading); }
.metrics .meta { display: block; margin-top: 2px; }
.metrics--inline { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.stages3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: clamp(38px, 4vw, 56px);
}
.stages3 .strata__col > .rule { margin-bottom: 22px; }
.stages3 h3 { font-size: 15px; font-weight: 600; line-height: 1.45; margin: 9px 0 10px; }
.stages3 p { font-size: 13.5px; line-height: 1.65; }

.proj__quote {
  max-width: var(--quote);
  margin-top: clamp(36px, 3.6vw, 52px);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  font-style: italic;
  color: var(--heading);
}

.trade__deliverable { margin-top: 30px; max-width: 62ch; }

/* Role swap inside the inversion band. Same values, different jobs. */
.on-ink .figures .fig__n,
.on-ink .metrics li b,
.on-ink .card__metric b { color: var(--on-ink); }
.on-ink .findings li { border-color: var(--rule-dark); }

.mstage, .erow {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(28px, 3.4vw, 56px);
  padding-block: clamp(38px, 4vw, 58px);
}
.mstage > .rule, .erow > .rule { grid-column: 1 / -1; margin-bottom: 4px; }
.mstage__left, .erow__left { display: grid; gap: 8px; align-content: start; }
.mstage__left h3 { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.3; }
.mstage__right, .erow__right { display: grid; gap: 18px; }
.mstage__head { max-width: 26ch; }
.mstage__keep b { font-weight: 600; color: var(--heading); }
.mstage__out { max-width: 46ch; }
.mstage__out .rule { margin-bottom: 14px; }
.mstage__out .meta { display: block; margin-bottom: 5px; }
.erow__right h3 { font-size: 17px; font-weight: 600; line-height: 1.5; }

@media (max-width: 900px) {
  .proj__body { grid-template-columns: 1fr; }
  .proj__body .plate { max-width: 420px; }
  .stages3 { grid-template-columns: 1fr; gap: 28px; }
  .mstage, .erow { grid-template-columns: 1fr; gap: 20px; }
}

/* ------------------------------------------------------------ motion --- */

/* Load settle. 14px over 800ms: a short distance, slowly. */
@keyframes hiFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hiImageIn {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: none; }
}
.js .hero__col > * { animation: hiFadeUp 800ms ease both; }
.js .hero__col > *:nth-child(2) { animation-delay: 90ms; }
.js .hero__col > *:nth-child(3) { animation-delay: 180ms; }
.js .hero__img { animation: hiImageIn 1400ms var(--ease-settle) both; }

/* The one mechanism the reference does not have: structural rules draw
   themselves as you descend the page. Never applied to body text. */
.js [data-draw] { transform: scaleX(0); }
.js [data-draw].is-in {
  transform: scaleX(1);
  transition: transform 700ms var(--ease-draw);
}
.js [data-rise] { opacity: 0; transform: translateY(8px); }
.js [data-rise].is-in {
  opacity: 1; transform: none;
  transition: opacity 500ms var(--ease-settle), transform 500ms var(--ease-settle);
}

/* ---------------------------------------------------------- responsive - */

@media (max-width: 1080px) {
  .strata__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 30px; }
  .strata__grid--5 { grid-template-columns: repeat(3, 1fr); }
  .work__grid   { grid-template-columns: repeat(2, 1fr); }
  .panel__grid  { grid-template-columns: 1fr; }
  .ftr__grid    { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 900px) {
  .hdr__nav { display: none; }
  .hdr__in { grid-template-columns: auto 1fr auto; }
  .hdr__right .ghost-sm { display: none; }
  .dots { display: block; }
  .split { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; gap: 32px; }
  .field__frame { width: 122%; margin-left: -11%; }
}

@media (max-width: 700px) {
  :root { --header-h: 50px; }
  body { font-size: 17px; }
  .lead { font-size: 17px; }
  .banner__full { display: none; }
  .banner__short { display: inline; }
  .banner p { font-size: 9.5px; letter-spacing: 0.16em; }
  .hero { height: min(78vh, 560px); }
  .hero__img { object-position: 74% 50%; }
  .hero__veil {
    background: linear-gradient(180deg,
      rgba(19, 26, 22, 0.84) 0%,
      rgba(19, 26, 22, 0.66) 44%,
      rgba(19, 26, 22, 0.86) 100%);
  }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.24em; }
  .hero .h1 { margin: 16px 0 28px; }
  .ghost { display: block; text-align: center; padding: 18px 20px; }
  .strata__grid, .strata__grid--5 { grid-template-columns: 1fr; gap: 30px; }
  .work__grid { grid-template-columns: 1fr; gap: 44px; }
  .strata__col h3, .card__title h3 { font-size: 17px; }
  .strata__col p, .card p, .card__metric { font-size: 15px; }
  .findings li { font-size: 15px; }
  .figures p { font-size: 15px; }
  .specimen__list span, .roster span { font-size: 14.5px; }
  .feed li { grid-template-columns: 66px 1fr; }
  .feed .val { grid-column: 2; }
  .ftr__sign { flex-direction: column; align-items: flex-start; }
  .ftr__sign p { text-align: left; }
}

@media (max-width: 460px) {
  .ftr__grid { grid-template-columns: 1fr; }
  .voice__ctrl { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-draw] { transform: scaleX(1); }
  .js [data-rise] { opacity: 1; transform: none; }
}
