/* ==========================================================================
   Opria — section compositions
   Order follows the scroll story:
   hero · trust · problem · workflow · record · dashboard · quote · pipeline
   · project · visual · features · voices · cta
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared: full-bleed photographic plates
   -------------------------------------------------------------------------- */

.plate { position: relative; overflow: clip; isolation: isolate; }
.plate__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
}
.plate__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: .16;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* Section header: heading on the left, standfirst on the right. A grid, not
   flex — flex bases resolve from max-content and wrap unpredictably here. */
.flow__head, .dash__head, .pipe__head, .feat__head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: end;
}
@media (max-width: 900px) {
  .flow__head, .dash__head, .pipe__head, .feat__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

/* Hairline field: the blueprint substrate, sitting behind the manifesto so
   the "your work has no structure" argument is made on a ruled page. */
.field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(90deg, var(--line-faint) 1px, transparent 1px);
  background-size: calc(100% / 8) 100%;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

/* ==========================================================================
   1 — HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(48px, 7vh, 88px);
  overflow: clip;
  isolation: isolate;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 64%;
  z-index: -3;
  will-change: transform;
}
/* The photograph is already near-black, so the veil only has to protect the
   type on the left and melt the bottom edge into the page. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(94deg, var(--bg) 0%, rgba(8, 8, 8, .86) 22%, rgba(8, 8, 8, .28) 48%, transparent 72%),
    linear-gradient(180deg, rgba(8, 8, 8, .94) 0%, rgba(8, 8, 8, .34) 24%, transparent 46%, rgba(8, 8, 8, .55) 82%, var(--bg) 100%);
}

/* The Opria mark, blown up as a faint contour drawing behind the car. */
.hero__glyph {
  position: absolute;
  right: -8vw;
  top: 42%;
  width: min(58vw, 760px);
  /* Centred with the standalone `translate` property so GSAP can own
     `transform` for the scroll drift without losing the offset. */
  translate: 0 -50%;
  z-index: -1;
  opacity: .5;
  pointer-events: none;
  will-change: transform;
}

.hero__in { position: relative; width: 100%; }
.hero__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 356px);
  gap: clamp(32px, 4vw, 56px);
  align-items: end;
}
.hero__copy { min-width: 0; }
/* `em` here, not `ch` — the measure has to track the headline's own size. */
.hero .h1 { margin-top: 22px; max-width: 11em; }
/* The mask each line rises out of. The padding/negative-margin pair gives
   descenders room inside the clip without changing the line rhythm — Hungarian
   is full of gy/ly/ű and the line-height here is .93. */
.hero .h1 .ln {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.hero .h1 .ln > span { display: block; }
.hero__lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: var(--fs-lede);
  color: var(--text-dim);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* Floating product shards — real UI fragments, not a dashboard screenshot. */
.shards {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: end;
  padding-bottom: 8px;
}
.shard {
  width: min(100%, 340px);
  background: rgba(10, 10, 11, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 13px 15px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
  will-change: transform;
}
.shard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.shard__body {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.015em;
}
.shard__meta {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--text-dim);
}
.shard__top span:last-child { color: var(--accent); }
.shard--wide { width: min(100%, 380px); }

/* Baseline: coordinate marks + scroll cue. */
.hero__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(40px, 6vh, 72px);
  padding-top: 16px;
  border-top: 1px solid var(--line-faint);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hero__ticks { display: flex; align-items: flex-end; gap: 6px; height: 12px; }
.hero__ticks i { width: 1px; height: 4px; background: var(--line-strong); }
.hero__ticks i:nth-child(5n + 1) { height: 11px; background: var(--accent-line); }

.scrollcue { display: inline-flex; align-items: center; gap: 10px; }
.scrollcue__bar {
  position: relative;
  width: 42px; height: 1px;
  background: var(--line);
  overflow: hidden;
}
.scrollcue__bar::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: cue 2.6s var(--ease-io) infinite;
}
@keyframes cue {
  0%   { transform: scaleX(0); transform-origin: left; }
  45%  { transform: scaleX(1); transform-origin: left; }
  55%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ==========================================================================
   2 — TRUST
   ========================================================================== */

.trust { border-block: 1px solid var(--line-faint); background: var(--bg-raised); }
.trust__in {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(28px, 4vw, 46px);
}
.trust__lead {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -.015em;
  color: var(--text-dim);
  flex: none;
}
.trust__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-left: auto;
}
.trust__cats li {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-inline: clamp(10px, 1.4vw, 20px);
  border-right: 1px solid var(--line);
  transition: color .3s var(--ease-out);
}
.trust__cats li:last-child { border-right: 0; padding-right: 0; }
.trust__cats li:hover { color: var(--text); }

/* ==========================================================================
   3 — PROBLEM (editorial manifesto)
   ========================================================================== */

.problem { position: relative; overflow: clip; isolation: isolate; }
.problem__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.problem .h2 { max-width: 15ch; margin-top: 20px; }
.problem__note { margin-top: 26px; max-width: 44ch; color: var(--text-dim); }

.manifest { margin-top: clamp(44px, 6vw, 76px); border-top: 1px solid var(--line-faint); }
.manifest li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding-block: clamp(14px, 1.6vw, 20px);
  border-bottom: 1px solid var(--line-faint);
}
/* Each row is "answered" by an accent rule drawn along its own baseline as it
   scrolls into view — a strike through the words themselves reads as an error
   state once the copy runs to two lines. */
.manifest li::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .85s var(--ease-out);
}
.manifest li.is-in::after { transform: scaleX(1); }
.manifest__txt {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, .85rem + .8vw, 1.5rem);
  letter-spacing: -.02em;
  color: var(--text-dim);
  transition: color .6s var(--ease-out);
}
.manifest li.is-in .manifest__txt { color: var(--text); }
.manifest__fix {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .6s var(--ease-out) .25s, transform .6s var(--ease-out) .25s;
  white-space: nowrap;
}
.manifest li.is-in .manifest__fix { opacity: 1; transform: none; }

.problem__fig { position: relative; }
.problem__fig img {
  width: 100%;
  aspect-ratio: 3 / 4.4;
  object-fit: cover;
  border-radius: var(--r-md);
  filter: grayscale(.28) contrast(1.06);
}
.problem__cap {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ==========================================================================
   4 — WORKFLOW (the system diagram)
   ========================================================================== */

.flow { background: var(--bg-raised); border-block: 1px solid var(--line-faint); }
.flow__head { margin-top: 0; }
.flow__head .h2 { max-width: 16ch; margin-top: 18px; }
.flow__head .lede { max-width: 38ch; }

.track {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 44px;
}
.track__rail {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--line);
}
.track__rail::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  box-shadow: 0 0 14px var(--accent-line);
}
.track__nodes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 28px);
}
.node { position: relative; padding-right: 12px; }
.node::before {
  content: '';
  position: absolute;
  top: -48px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out),
              box-shadow .4s var(--ease-out);
}
.node.is-lit::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash), 0 0 18px var(--accent-line);
}
.node__i {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .14em;
  color: var(--text-faint);
}
.node__t {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(.9375rem, .85rem + .3vw, 1.125rem);
  letter-spacing: -.02em;
  color: var(--text-dim);
  transition: color .4s var(--ease-out);
}
.node.is-lit .node__t { color: var(--text); }
.node__d {
  margin-top: 6px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text-faint);
}
.track__row2 { margin-top: clamp(40px, 5vw, 64px); }

/* ==========================================================================
   5 — RECORD (the job as the vehicle's file)
   ========================================================================== */

.record__cols {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: stretch;
}
/* The photograph runs off the left edge of the page and fills the row, so it
   reads as a plate rather than a thumbnail parked beside the copy. */
.record__fig {
  position: relative;
  display: flex;
  margin-left: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--maxw)) / 2)));
}
.record__fig img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: 54% 50%;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  /* The one warm frame in the set — pulled back so it sits with the rest. */
  filter: contrast(1.06) saturate(.86) brightness(.9);
}
/* Measurement callout drawn over the photograph. */
.record__callout {
  position: absolute;
  left: 18px; bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(8, 8, 8, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.record__callout b { color: var(--accent); font-weight: 500; }
.record .h2 { max-width: 14ch; margin-top: 18px; }
.record__lede { margin-top: 22px; }
.record__win { margin-top: 34px; }

/* ==========================================================================
   6 — DASHBOARD
   ========================================================================== */

.dash { background: var(--bg-raised); border-block: 1px solid var(--line-faint); overflow: clip; }
.dash__head .h2 { max-width: 17ch; margin-top: 18px; }
.dash__stage {
  margin-top: clamp(44px, 5vw, 72px);
  perspective: 2200px;
}
.dash__stage .win { transform-origin: 50% 0%; will-change: transform; }

/* ==========================================================================
   6b — MATERIAL BAND
   ========================================================================== */

.band {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding-block: clamp(72px, 9vw, 132px);
}
.band .plate__img { object-position: 34% 58%; filter: saturate(.7) contrast(1.08) brightness(.8); }
.band .plate__veil {
  background:
    linear-gradient(92deg, rgba(8, 8, 8, .96) 0%, rgba(8, 8, 8, .84) 34%, rgba(8, 8, 8, .3) 68%, rgba(8, 8, 8, .55) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 74%, var(--bg) 100%);
}
.band__in { position: relative; z-index: 2; display: grid; gap: 16px; max-width: 640px; }
.band__t { max-width: 16ch; }
.band__d { color: var(--text-dim); max-width: 46ch; font-size: .9688rem; }
.band__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.band__meta li { display: flex; align-items: center; gap: 18px; }
.band__meta li::after { content: ''; width: 3px; height: 3px; background: var(--accent-line); }
.band__meta li:last-child::after { display: none; }

/* ==========================================================================
   7 — QUOTE / CALCULATOR
   ========================================================================== */

.quote__cols {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(32px, 4.5vw, 80px);
  align-items: center;
}
.quote .h2 { max-width: 13ch; margin-top: 18px; }
.quote__lede { margin-top: 22px; }

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.steps li {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 6px 10px;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out),
              background-color .35s var(--ease-out);
}
.steps li.is-lit {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-wash);
}

/* ==========================================================================
   8 — PIPELINE
   ========================================================================== */

.pipe { background: var(--bg-raised); border-block: 1px solid var(--line-faint); }
.pipe__head .h2 { max-width: 16ch; margin-top: 18px; }

.pipe__scroll {
  margin-top: clamp(40px, 5vw, 68px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  /* Soft right edge: the board is wider than the page and should say so. */
  mask-image: linear-gradient(90deg, #000 0 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0 94%, transparent 100%);
}
.pipe__hint {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.pipe__scroll::-webkit-scrollbar { height: 3px; }
.pipe__scroll::-webkit-scrollbar-thumb { background: var(--line-strong); }
.board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 1fr);
  gap: 14px;
  min-width: min-content;
}
.col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.col__head b { font-weight: 400; color: var(--text-dim); }
.col--won .col__head { border-bottom-color: var(--accent-line); }
.col--won .col__head b { color: var(--accent); }
.col__body { display: grid; gap: 10px; padding-top: 12px; }

.pcard {
  background: var(--surface);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-md);
  padding: 13px 14px;
  transition: transform .45s var(--ease-out), border-color .45s var(--ease-out),
              background-color .45s var(--ease-out);
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--surface-hi);
}
.pcard__id {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .1em;
  color: var(--text-faint);
}
.pcard__t {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: .9375rem;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.pcard__c { margin-top: 4px; font-size: .8125rem; color: var(--text-dim); }
.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-faint);
  font-family: var(--font-mono);
  font-size: .6875rem;
}
.pcard__val { color: var(--text); }
.pcard__date { color: var(--text-faint); }
.pcard--move { border-color: var(--accent-line); }

/* ==========================================================================
   9 — PROJECT (one job, start to finish)
   ========================================================================== */

.proj { position: relative; }
.proj__plate {
  position: relative;
  border-radius: var(--r-lg);
  overflow: clip;
  isolation: isolate;
  min-height: clamp(560px, 74vh, 780px);
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 3.4vw, 52px);
}
/* The frame carries a cool cast and a lit shelf along its top edge; graded
   down so the car and the wet floor are the only things left in it. */
.proj__plate .plate__img {
  object-position: 50% 64%;
  filter: saturate(.55) contrast(1.16) brightness(.72);
}
.proj__plate .plate__veil {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .95) 0%, rgba(8, 8, 8, .55) 22%, rgba(8, 8, 8, .3) 46%, rgba(8, 8, 8, .95) 84%),
    linear-gradient(90deg, rgba(8, 8, 8, .8) 0%, rgba(8, 8, 8, .2) 42%, transparent 64%);
}
.proj__top {
  position: absolute;
  top: clamp(24px, 3.4vw, 52px);
  left: clamp(24px, 3.4vw, 52px);
  right: clamp(24px, 3.4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.proj__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  max-width: 16ch;
}
.proj__stages {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 20px);
}
.stage { position: relative; padding-top: 16px; }
.stage__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
}
.stage__bar::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-io);
}
.stage.is-done .stage__bar::after { transform: scaleX(1); }
.stage.is-live .stage__bar::after { transform: scaleX(.46); background: var(--s-build); }
.stage__i {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .14em;
  color: var(--text-faint);
}
.stage__t {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: clamp(.8125rem, .74rem + .3vw, 1rem);
  letter-spacing: -.015em;
  color: var(--text-dim);
  transition: color .5s var(--ease-out);
}
.stage.is-done .stage__t, .stage.is-live .stage__t { color: var(--text); }
.stage__m {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: .625rem;
  color: var(--text-faint);
}

/* ==========================================================================
   10 — AUTOMOTIVE VISUAL
   ========================================================================== */

.visual {
  position: relative;
  min-height: clamp(520px, 88vh, 900px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: clip;
  isolation: isolate;
}
/* Inverted vignette: the scrim is darkest under the type and opens up toward
   the edges, so the ceiling light and the red backglow still read. */
.visual .plate__veil {
  background:
    radial-gradient(54% 48% at 50% 47%, rgba(8, 8, 8, .9) 0%, rgba(8, 8, 8, .66) 58%, rgba(8, 8, 8, .34) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(8, 8, 8, .3) 18%, rgba(8, 8, 8, .3) 80%, var(--bg) 100%);
}
.visual .plate__img { filter: contrast(1.1) brightness(.9); }
.visual__in { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: center; }
.visual .h2 { max-width: 18ch; }
.visual__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ==========================================================================
   11 — FEATURES (six stories, not a card grid)
   ========================================================================== */

.feat__head .h2 { max-width: 15ch; margin-top: 18px; }

.stories { margin-top: clamp(48px, 6vw, 84px); border-top: 1px solid var(--line-faint); }
.story {
  display: grid;
  grid-template-columns: 88px minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  padding-block: clamp(36px, 4.4vw, 64px);
  border-bottom: 1px solid var(--line-faint);
}
.story__i {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  color: var(--text-faint);
  align-self: start;
  padding-top: 6px;
}
.story__body { display: grid; gap: 12px; }
.story__kicker {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.story__t { font-size: clamp(1.3rem, 1.05rem + 1vw, 2rem); letter-spacing: -.028em; line-height: 1.08; }
.story__d { color: var(--text-dim); font-size: .9688rem; max-width: 42ch; }
.story__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.story__facts span {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .08em;
  color: var(--text-faint);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-xs);
  padding: 4px 8px;
}
.story__vis { min-width: 0; }
/* Alternate which side the demo sits on so six stories read as a rhythm
   rather than a list. The index column stays put on the left throughout. */
@media (min-width: 1081px) {
  .story:nth-child(even) .story__vis { grid-column: 2; grid-row: 1; }
  .story:nth-child(even) .story__body { grid-column: 3; grid-row: 1; }
}

/* ==========================================================================
   12 — VOICES (explicit placeholder — no invented testimonials)
   ========================================================================== */

.voices { background: var(--bg-raised); border-block: 1px solid var(--line-faint); }
.voices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(36px, 4.4vw, 60px);
}
.voice {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .012);
}
.voice__q {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, .95rem + .6vw, 1.375rem);
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--text-dim);
}
.voice__who { display: flex; align-items: center; gap: 12px; }
.voice__av {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  flex: none;
}
.voice__name { font-size: .875rem; color: var(--text-faint); }
.voice__role { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em; color: var(--text-faint); }

/* ==========================================================================
   13 — FINAL CTA
   ========================================================================== */

.final {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding-block: clamp(100px, 14vw, 200px);
  text-align: center;
}
.final .plate__veil {
  background:
    radial-gradient(70% 70% at 50% 46%, rgba(8, 8, 8, .5) 0%, rgba(8, 8, 8, .88) 62%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}
.final__in { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: center; }
.final .h2 { max-width: 16ch; }
.final__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.final__fine { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-top: 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .track__nodes { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .story { grid-template-columns: 60px minmax(0, 1fr); }
  .story__vis { grid-column: 2 / -1; }
  .proj__stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
}

@media (max-width: 900px) {
  .hero { min-height: 92svh; align-items: center; padding-top: 130px; }
  .hero__cols { grid-template-columns: minmax(0, 1fr); }
  .hero__img { object-position: 66% 40%; opacity: .8; }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, .94) 0%, rgba(8, 8, 8, .72) 40%, rgba(8, 8, 8, .86) 74%, var(--bg) 100%);
  }
  .hero__glyph { right: -28vw; width: 92vw; opacity: .35; }
  /* Extra clearance on top of `.hero__cols`' row-gap: the stacked layout
     needs the floating composition to rest well clear of the CTA group
     rather than merely brushing past it. */
  .shards { justify-items: stretch; grid-template-columns: 1fr; margin-top: 28px; }
  .shard:nth-child(n + 3) { display: none; }
  .shard--wide { width: 100%; }
  .problem__cols, .record__cols, .quote__cols { grid-template-columns: minmax(0, 1fr); }
  .problem__fig { order: -1; }
  .problem__fig img { aspect-ratio: 16 / 10; }
  .record__fig { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .record__fig img { min-height: 0; aspect-ratio: 16 / 10; border-radius: 0; }
  .trust__in { flex-direction: column; align-items: flex-start; gap: 20px; }
  .trust__cats { margin-left: 0; }
  .trust__cats li:first-child { padding-left: 0; }
}

@media (max-width: 620px) {
  .track__nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj__plate { min-height: 620px; }
  .manifest li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .manifest__fix { grid-column: 2; font-size: .625rem; }
  .story { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .story__i { padding-top: 0; }
  .story__vis { grid-column: 1; }
  /* One shard is enough on a phone: it says "this is a real system" without
     turning the hero into a scroll of its own. */
  .hero { padding-top: 106px; }
  .shard:nth-child(n + 2) { display: none; }
  .hero__cta { margin-top: 30px; }
  .hero__base {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    font-size: .5625rem;
    letter-spacing: .1em;
  }
  .hero__ticks { display: none; }
}
