/* ==========================================================================
   SiteYourStory — the film
   One video, typography, depth. There is no other visual asset on this page,
   and nothing here invents one: no plates, no cards, no mockups, no drawn
   geometry. Every rule below either shows the film, reads type over it, or
   moves one of the two through space.
   ========================================================================== */

/* --- Ground ---------------------------------------------------------------
   The page sits on the film's own darkness so there is never a seam between
   the video and the page around it. */
body {
  background: var(--bg-dark);
  color: #f2f1ee;
}

/* --- Navigation -----------------------------------------------------------
   A mark and a way in. The film page has no inline menu and no persistent
   call to action sitting on the picture — the sheet holds the whole menu, so
   the burger is the only control and it is shown at every width.
   ------------------------------------------------------------------------ */

.nav--film {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  mix-blend-mode: normal;
}
.nav--film .logo {
  color: #fff;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.55);
}
.nav--film .burger {
  display: block;
  border-color: rgba(255, 255, 255, 0.28);
}
.nav--film .burger span { background: #fff; }

/* --- The film -------------------------------------------------------------
   A sticky stage holding the video, and a tall track behind it whose height
   is the length of the edit. Scroll moves through the track; the stage stays.
   ------------------------------------------------------------------------ */

.film {
  position: relative;
  z-index: 2;
}

.film-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  background: var(--bg-umber);
}

/* The plane the camera moves. Oversized so it can drift without ever
   showing an edge. */
.film-plane {
  position: absolute;
  inset: -3%;
  will-change: transform;
  transform: scale(1.03);
}

.film-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Graded a touch down so white type has somewhere to sit. The film is
     warm and bright; left raw, nothing reads over the ivory passages. */
  filter: contrast(1.03) saturate(0.99);
}

/* The track is pure scroll distance. It has no appearance. */
.film-track {
  position: relative;
  width: 100%;
  pointer-events: none;
}

/* --- Scrims ---------------------------------------------------------------
   The film changes exposure constantly — a bright ivory room, then a dark
   equipment bay. A single fixed overlay cannot serve both, so the scrim moves
   with the edit: it weights itself wherever that chapter's words sit, and
   lifts entirely when the film is speaking for itself.
   ------------------------------------------------------------------------ */

.film-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.film-scrim::before,
.film-scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
/* left-weighted: for chapters whose type sits in the left column */
.film-scrim::before {
  background: linear-gradient(100deg,
    rgba(8, 8, 10, 0.9) 0%,
    rgba(8, 8, 10, 0.72) 34%,
    rgba(8, 8, 10, 0.24) 66%,
    rgba(8, 8, 10, 0.06) 100%);
  opacity: 0;
}
/* bottom / centre wash */
.film-scrim::after {
  background:
    linear-gradient(to top,
      rgba(8, 8, 10, 0.86) 0%,
      rgba(8, 8, 10, 0.42) 34%,
      rgba(8, 8, 10, 0.06) 68%),
    linear-gradient(to bottom,
      rgba(8, 8, 10, 0.5) 0%,
      transparent 30%);
  opacity: 0;
}
.film-scrim[data-scrim='left']::before { opacity: 1; }
.film-scrim[data-scrim='bottom']::after { opacity: 1; }
.film-scrim[data-scrim='center']::before { opacity: 0.5; }
.film-scrim[data-scrim='center']::after { opacity: 0.72; }
/* 'none' — the film is talking. Both lift. */
.film-scrim[data-scrim='none']::before,
.film-scrim[data-scrim='none']::after { opacity: 0; }

/* --- Chapters -------------------------------------------------------------
   Every chapter occupies the same frame and is revealed by scroll. They are
   stacked, not stacked-up: only the live one is visible, so there is never a
   second copy of a headline sitting behind the first.
   ------------------------------------------------------------------------ */

.film-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform-style: preserve-3d;
  pointer-events: none;
}

.ch {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  padding-block: clamp(88px, 12vh, 150px) clamp(56px, 9vh, 110px);
}
.ch > .wrap {
  width: 100%;
}
.ch a,
.ch button {
  pointer-events: auto;
}

/* Chapters that sit low in frame rather than centred. */
.ch--low { justify-content: flex-end; }
.ch--center { align-items: center; text-align: center; }

/* --- Type -----------------------------------------------------------------
   One editorial grotesk, three sizes, and a strict measure. Readability is
   the constraint the rest of the design bends around, not the other way.
   ------------------------------------------------------------------------ */

.f-eyebrow {
  font-size: clamp(0.66rem, 0.78vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 241, 238, 0.62);
  margin-bottom: clamp(16px, 2.4vh, 30px);
}

.f-head {
  font-size: clamp(2.1rem, 5.2vw, 5.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.038em;
  max-width: 17ch;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.f-head--wide { max-width: 22ch; }

.f-lede {
  margin-top: clamp(18px, 2.6vh, 32px);
  font-size: clamp(1rem, 1.18vw, 1.22rem);
  line-height: 1.6;
  max-width: 46ch;
  color: rgba(242, 241, 238, 0.82);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

/* The mark, used once, at the top of the film. */
.f-mark {
  font-size: clamp(1.9rem, 4.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #fff;
  display: inline-flex;
  align-items: center;
}
.f-mark i {
  width: 0.16em;
  height: 0.16em;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 0.12em;
}
.f-sub {
  margin-top: 14px;
  font-size: clamp(0.68rem, 0.9vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(242, 241, 238, 0.7);
}

/* A single spoken line, set at the film's own scale. Used where the page has
   one thing to say and the room is doing the rest. */
.f-line {
  font-size: clamp(1.6rem, 3.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 20ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

/* --- Industries -----------------------------------------------------------
   One name per frame, at the size of a title card, because each one is timed
   to the room behind it. The tracking is wide and the weight is light — it is
   the film's own lockup language rather than the page's headline language.
   ------------------------------------------------------------------------ */

.f-ind {
  font-size: clamp(2.4rem, 6.4vw, 6.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.55);
}
.f-ind-note {
  margin-top: clamp(12px, 1.8vh, 22px);
  font-size: clamp(0.95rem, 1.12vw, 1.14rem);
  line-height: 1.55;
  max-width: 40ch;
  color: rgba(242, 241, 238, 0.82);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}
/* The industries the film does not show. Named plainly rather than pinned to
   footage that would be lying about them. */
.f-also {
  margin-top: clamp(18px, 2.6vh, 30px);
  padding-top: clamp(14px, 2vh, 22px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(0.86rem, 1vw, 1rem);
  line-height: 1.55;
  max-width: 38ch;
  color: rgba(242, 241, 238, 0.66);
}

/* --- Runs -----------------------------------------------------------------
   The four claims, the four stages, the nine industries. All the same object:
   a list read as type, never as cards. No borders, no boxes, no icons.
   ------------------------------------------------------------------------ */

.f-run {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.6em;
  margin-top: clamp(20px, 3vh, 40px);
  max-width: 30ch;
}
.f-run span {
  font-size: clamp(1.05rem, 1.9vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.f-run span::after {
  content: '·';
  margin-left: 1.6rem;
  color: var(--accent);
  opacity: 0.75;
}
.f-run span:last-child::after { content: none; }

/* Stages: numbered, stacked, generous. */
.f-stages {
  margin-top: clamp(22px, 3vh, 40px);
  display: grid;
  gap: clamp(10px, 1.5vh, 20px);
}
.f-stage {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 1.6vw, 26px);
}
.f-stage b {
  font-size: clamp(0.66rem, 0.78vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  flex: 0 0 auto;
  width: 2.4em;
}
.f-stage span {
  font-size: clamp(1.3rem, 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.f-stage em {
  font-style: normal;
  font-size: clamp(0.86rem, 1vw, 1rem);
  color: rgba(242, 241, 238, 0.7);
  margin-left: 0.8em;
}

/* The record: four figures, no dashboard. */
.f-figures {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 4vw, 76px);
  margin-top: clamp(22px, 3vh, 40px);
}
.f-figure b {
  display: block;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.f-figure b i {
  font-style: normal;
  color: var(--accent);
}
.f-figure span {
  display: block;
  margin-top: 8px;
  font-size: clamp(0.64rem, 0.76vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 241, 238, 0.6);
}

/* Industries: a column of names, the whole set legible at once. */
.f-list {
  margin-top: clamp(18px, 2.4vh, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 0.34em 1.1em;
  max-width: 26ch;
}
.f-list span {
  font-size: clamp(1.05rem, 2.1vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.12;
}

/* --- Chrome --------------------------------------------------------------
   Almost none. A progress hairline and a first-time scroll cue.
   ------------------------------------------------------------------------ */

.film-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.film-rail i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}

.film-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(26px, 4vh, 48px);
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.film-cue::before {
  content: '';
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}
/* Gone the moment the film starts moving. */
.film[data-started='true'] .film-cue { opacity: 0; }

/* Until the first frame is decodable, the mark holds the screen alone —
   no spinner, no placeholder graphic. */
.film[data-ready='true'] .film-plane { opacity: 1; }
.film-plane {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Reduced motion ------------------------------------------------------
   The film holds one frame and the chapters become an ordinary document,
   stacked and readable, in flow.
   ------------------------------------------------------------------------ */

.film[data-mode='static'] .film-stage {
  position: relative;
  height: 72svh;
}
.film[data-mode='static'] .film-track { display: none; }
.film[data-mode='static'] .film-plane { opacity: 1; transform: none; }
.film[data-mode='static'] .film-copy {
  position: static;
  inset: auto;
}
.film[data-mode='static'] .ch {
  position: static;
  inset: auto;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  padding-block: clamp(56px, 9vh, 110px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.film[data-mode='static'] .film-scrim,
.film[data-mode='static'] .film-cue,
.film[data-mode='static'] .film-rail { display: none; }

/* --- Close ---------------------------------------------------------------
   The film ends on its own lockup, then the page hands over. This section is
   the only part of the document that is not the film, and it stays plain: the
   ground colour, the words, the form.
   ------------------------------------------------------------------------ */

.close {
  position: relative;
  z-index: 2;
  background: var(--bg-close);
  padding-block: clamp(90px, 14vh, 170px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.close-head {
  font-size: clamp(1.9rem, 4.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
  max-width: 20ch;
  color: #fff;
}
.close-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(38px, 6vh, 72px);
}
.close-say { grid-column: 1 / span 5; }
.close-form { grid-column: 7 / span 6; }
.close-say .lede {
  color: rgba(242, 241, 238, 0.8);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  max-width: 34ch;
}
.close-say .reach {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  color: rgba(242, 241, 238, 0.6);
}
.close-say .reach a { color: var(--accent-lift); }

/* --- Responsive ----------------------------------------------------------
   Not a shrink. The measure tightens, the type steps down, the scrim moves
   under the words wherever they land, and the film keeps the whole frame.
   ------------------------------------------------------------------------ */

@media (max-width: 900px) {
  .film-stage { perspective: 800px; }

  /* The film is 16:9 and a phone is 9:19.5. Filling that frame crops away
     roughly two thirds of the picture's width — which takes the film's own
     burned-in lines with it, and at the end takes the brand lockup: the last
     shot rendered as "E YOURSTO". So the phone gets a different composition
     rather than a squeezed one. The film plays letterboxed and whole in the
     upper third, the words sit underneath it, and the camera drift is
     dropped because moving a contained frame only crops it again. */
  .film-video {
    object-fit: contain;
    object-position: 50% 38%;
  }
  .film-plane {
    inset: 0;
    transform: none !important;
  }
  /* Under a letterboxed picture the wash belongs behind the words only. */
  .film-scrim::before,
  .film-scrim::after {
    background: linear-gradient(to top,
      rgba(8, 8, 10, 0.94) 0%,
      rgba(8, 8, 10, 0.9) 42%,
      rgba(8, 8, 10, 0.4) 62%,
      transparent 78%);
  }
  .film-scrim[data-scrim='none']::before,
  .film-scrim[data-scrim='none']::after { opacity: 0; }
  .film-scrim[data-scrim='center']::before { opacity: 1; }
  .film-scrim[data-scrim='center']::after { opacity: 0; }

  .f-head { max-width: 15ch; }
  .f-run { max-width: 100%; }
  .f-list { max-width: 100%; }
  /* One column, not twelve spanned. Keeping the twelve-column track here
     leaves eleven gaps in place — 11 × 34px = 374px of gap inside a 350px
     content box — so the columns collapse to zero and the gaps push the page
     sideways. Collapsing the track removes the gaps with it. */
  .close-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .close-say,
  .close-form { grid-column: 1; }
  /* On a phone the words sit low, so the wash goes under them regardless of
     what the chapter asked for. */
  .film-scrim::before {
    background: linear-gradient(to top,
      rgba(8, 8, 10, 0.92) 0%,
      rgba(8, 8, 10, 0.66) 40%,
      rgba(8, 8, 10, 0.2) 74%,
      transparent 100%);
  }
  .ch {
    justify-content: flex-end;
    padding-block: clamp(76px, 11vh, 120px) clamp(64px, 10vh, 110px);
  }
  .ch--center { text-align: left; align-items: flex-start; }
}

@media (max-width: 640px) {
  .f-head { font-size: clamp(1.75rem, 8.4vw, 2.5rem); max-width: 14ch; }
  .f-lede { font-size: 0.98rem; max-width: 38ch; }
  .f-mark { font-size: clamp(1.6rem, 9vw, 2.4rem); }
  .f-stage span { font-size: clamp(1.15rem, 6vw, 1.6rem); }
  .f-stage em { display: block; margin-left: 0; margin-top: 2px; }
  .f-figure b { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .f-figures { gap: 20px 30px; }
  .f-list span { font-size: clamp(0.98rem, 4.6vw, 1.3rem); }
  .f-run span { font-size: clamp(1rem, 4.8vw, 1.3rem); }
  .f-run span::after { margin-left: 1rem; }
}


/* The closing sub-line, under the CTA headline. */
.close-sub {
  margin-top: clamp(14px, 2vh, 22px);
  font-size: clamp(1.05rem, 1.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(242, 241, 238, 0.78);
}

/* Selected work and process, on a phone. */
@media (max-width: 900px) {
  .stage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .work-item figure { width: 100%; margin-left: 0 !important; }
  .work-kind { margin-left: 0; flex-basis: 100%; }
  .work-list { gap: 44px; }
}
@media (max-width: 560px) {
  .stage-list { grid-template-columns: 1fr; }
}


/* --- The proof ------------------------------------------------------------
   One pinned stage, six real websites moving through depth. The card is the
   screenshot: no drawn browser chrome, no bevels, no invented frame. Depth
   and a very small rotation do the work, so it reads as a stream of sites
   passing rather than a carousel of cards.
   ------------------------------------------------------------------------ */

.proof {
  position: relative;
  z-index: 2;
  background: var(--bg-warm-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.proof-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  perspective: 1500px;
  perspective-origin: 50% 46%;
}
.proof-track { position: relative; width: 100%; pointer-events: none; }

.proof-head {
  position: absolute;
  top: clamp(84px, 12vh, 130px);
  left: 0; right: 0;
  z-index: 5;
  pointer-events: none;
}
.proof-title {
  font-size: clamp(1.05rem, 1.7vw, 1.7rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.022em;
  max-width: 30ch;
  color: rgba(242, 241, 238, 0.9);
}

.proof-deck {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
}
.proof-list { list-style: none; }

.proof-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  padding-block: clamp(150px, 20vh, 230px) clamp(80px, 12vh, 140px);
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.85fr);
  align-items: center;
  gap: clamp(24px, 3.4vw, 60px);
  width: min(92vw, 1280px);
}

/* The screenshot, held on a thin dark plate so a light site does not bleed
   into the page ground. */
.proof-shot {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #141416;
  aspect-ratio: 16 / 10;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.proof-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  display: block;
}
.proof-shot:hover { transform: translateY(-6px); }
.proof-shot:focus-visible { outline: 2px solid var(--accent-lift); outline-offset: 4px; }

.proof-ind {
  font-size: clamp(0.64rem, 0.76vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-lift);
  margin-bottom: clamp(10px, 1.6vh, 16px);
}
.proof-name {
  font-size: clamp(1.35rem, 2.3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}
.proof-kind {
  margin-top: 10px;
  font-size: clamp(0.85rem, 0.98vw, 0.98rem);
  line-height: 1.5;
  color: rgba(242, 241, 238, 0.66);
}
.proof-go { margin-top: clamp(16px, 2.4vh, 26px); }
.proof-go a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  transition: border-color 0.35s var(--ease), gap 0.35s var(--ease);
}
.proof-go a:hover { border-bottom-color: var(--accent); gap: 15px; }

.proof-index {
  position: absolute;
  left: 50%;
  bottom: clamp(30px, 5vh, 54px);
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 6;
}
.proof-dot {
  width: 20px; height: 2px;
  background: rgba(255, 255, 255, 0.22);
  transition: background-color 0.45s var(--ease);
}
.proof-dot.is-live { background: var(--accent); }

/* Reduced motion: a plain stacked list, everything visible. */
.proof[data-mode='static'] .proof-stage {
  position: relative; height: auto; display: block;
  padding-block: clamp(80px, 12vh, 150px);
}
.proof[data-mode='static'] .proof-head { position: static; margin-bottom: 50px; }
.proof[data-mode='static'] .proof-track { display: none; }
.proof[data-mode='static'] .proof-deck { height: auto; }
.proof[data-mode='static'] .proof-item {
  position: static; inset: auto; padding-block: 0; margin-bottom: 60px;
}

@media (max-width: 900px) {
  .proof-stage { perspective: 900px; }
  .proof-card { grid-template-columns: 1fr; gap: 20px; width: min(92vw, 560px); }
  .proof-item { padding-block: clamp(130px, 18vh, 180px) clamp(70px, 10vh, 110px); }
  .proof-title { font-size: 1rem; max-width: 26ch; }
}

/* The industries the proof section has no live example for. Named plainly
   rather than illustrated with something that isn't them. */
.proof-also {
  margin-top: clamp(10px, 1.6vh, 16px);
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  color: rgba(242, 241, 238, 0.55);
  max-width: 34ch;
}


/* --- Coverflow ------------------------------------------------------------
   The cards are website screens, not UI cards: no rounded-corner chrome, no
   drawn browser bar, no bevel. A thin plate, a real shadow, and the depth
   does the rest.
   ------------------------------------------------------------------------ */

.cf {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: clamp(80px, 13vh, 160px);
  overflow: hidden;
}
.cf-head { position: relative; z-index: 300; margin-bottom: clamp(34px, 5vh, 60px); }
.cf-title {
  font-size: clamp(1.6rem, 3.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.034em;
  color: #fff;
  max-width: 20ch;
}

.cf-stage {
  position: relative;
  height: clamp(240px, 42vw, 560px);
  perspective: 1600px;
  perspective-origin: 50% 50%;
  cursor: grab;
  touch-action: pan-y;
  outline: none;
}
.cf-stage.is-dragging { cursor: grabbing; }
.cf-stage:focus-visible { outline: 2px solid var(--accent-lift); outline-offset: 6px; }

.cf-ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.cf-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(280px, 46vw, 720px);
  aspect-ratio: 16 / 10;
  margin-left: calc(clamp(280px, 46vw, 720px) / -2);
  margin-top: calc(clamp(280px, 46vw, 720px) / 3.2 * -1);
  will-change: transform, opacity;
  transform-style: preserve-3d;
}
.cf-screen {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #141416;
  box-shadow: 0 60px 120px -45px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.cf-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* --- Caption + controls -------------------------------------------------- */
.cf-foot {
  position: relative;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(30px, 5vh, 56px);
  flex-wrap: wrap;
}
.cf-ind {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-lift);
  margin-bottom: 10px;
}
.cf-name {
  font-size: clamp(1.3rem, 2.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.06;
}
.cf-kind {
  margin-top: 8px;
  font-size: clamp(0.84rem, 0.96vw, 0.96rem);
  color: rgba(242, 241, 238, 0.64);
}
.cf-go { margin-top: 16px; }
.cf-go a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.86rem; font-weight: 600; color: #fff;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  transition: border-color 0.35s var(--ease), gap 0.35s var(--ease);
}
.cf-go a:hover { border-bottom-color: var(--accent); gap: 15px; }

.cf-controls { display: flex; align-items: center; gap: 18px; }
.cf-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.cf-arrow:hover { border-color: var(--accent); background: rgba(192, 57, 43, 0.14); }
.cf-dots { display: flex; gap: 8px; }
.cf-dot {
  width: 22px; height: 2px;
  border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background-color 0.4s var(--ease);
}
.cf-dot.is-live { background: var(--accent); }

@media (max-width: 760px) {
  .cf-foot { flex-direction: column; align-items: flex-start; }
  .cf-controls { width: 100%; justify-content: space-between; }
}
