/* ═══════════════════════════════════════════════════════════════
   MedFlix — medflix.designthinking.lk
   Hand-authored. No build step. Files ship from the repo root.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'MFDisplay';
  src: url('assets/fonts/archivo-black-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black:      #08080a;
  --black-2:    #0e0d10;
  --panel:      #131215;
  --red:        #e50914;
  --red-dim:    #b0060f;
  --red-deep:   #3d0308;
  --ink:        #ffffff;
  --ink-2:      rgba(255, 255, 255, .70);
  --ink-3:      rgba(255, 255, 255, .48);
  --ink-4:      rgba(255, 255, 255, .30);
  --line:       rgba(255, 255, 255, .10);
  --line-2:     rgba(255, 255, 255, .18);

  --display: 'MFDisplay', 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --nav-h: 64px;
  --gut: clamp(20px, 5vw, 48px);

  --sp: clamp(72px, 11vw, 152px);

  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font: 400 clamp(15.5px, 1.05vw, 17px)/1.68 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ── REC corner brackets ────────────────────────────────────── */

.rec {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
}
.rec__c {
  position: absolute;
  width: clamp(34px, 5vw, 58px);
  height: auto;
  opacity: .5;
}
.rec__c--tl { top: calc(var(--nav-h) + 14px); left: 14px; }
.rec__c--tr { top: calc(var(--nav-h) + 14px); right: 14px; }
.rec__c--bl { bottom: 14px; left: 14px; }
.rec__c--br { bottom: 14px; right: 14px; }

@media (max-width: 720px) {
  .rec__c--bl, .rec__c--br { display: none; }
}

/* ── Nav ────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 10, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__mark {
  font-family: var(--display);
  font-size: clamp(19px, 2.1vw, 23px);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  line-height: 1;
  margin-right: auto;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}
.nav__links a {
  font-size: 13.5px;
  letter-spacing: .02em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav__links a[aria-current='true'] { color: var(--ink); }
.nav__links a[aria-current='true']::after { transform: scaleX(1); }

.nav__cta {
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 7px 14px !important;
  color: var(--ink) !important;
}
.nav__cta:hover { background: var(--red); border-color: var(--red); }
.nav__cta::after { display: none; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav__toggle span {
  display: block;
  width: 17px; height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.nav__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 12, .98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current='true'] { color: var(--red); }
  .nav__cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: 1px solid var(--line-2) !important;
  }
}

/* ── Shared section furniture ───────────────────────────────── */

.s {
  padding-block: var(--sp);
  scroll-margin-top: var(--nav-h);
  position: relative;
}

.eyebrow {
  font-size: 11.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
  font-weight: 600;
}

.h2 {
  font-family: var(--display);
  font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 34px;
  text-wrap: balance;
}

.h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.9vw, 31px);
  line-height: 1.12;
  margin: 0 0 16px;
}

.lead {
  font-size: clamp(16.5px, 1.5vw, 19.5px);
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0 0 44px;
}

.prose { max-width: 60ch; color: var(--ink-2); }
.prose p { margin: 0 0 18px; }

/* reveal-on-scroll — scoped to .js so that with no JavaScript the content is
   simply visible rather than stuck at opacity:0 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ── 1 · Hero ───────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) var(--gut) 90px;
  position: relative;
  background:
    radial-gradient(85% 60% at 50% 46%, rgba(229, 9, 20, .11) 0%, transparent 62%),
    var(--black);
  scroll-margin-top: 0;
}

.hero__in {
  width: 100%;
  max-width: 1000px;
}
/* With JS, both states share one grid cell so the swap doesn't shift layout.
   Without JS they stack normally and the visitor sees the lines and the
   wordmark together — no sequence, but nothing missing either. */
.js .hero__in { display: grid; }
.js .hero__lines, .js .hero__answer { grid-area: 1 / 1; }
.hero__lines:not(:only-child) { margin-bottom: 30px; }
.js .hero__lines { margin-bottom: 0; }

.hero__lines {
  align-self: center;
  transition: opacity .6s ease, transform .6s ease;
}
.hero__lines.is-out {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}

.hero__line {
  font-family: var(--display);
  font-size: clamp(26px, 6vw, 60px);
  line-height: 1.12;
  margin: 0 0 .18em;
  letter-spacing: -.01em;
  color: var(--ink-4);
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn .85s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: calc(var(--i) * .95s + .35s);
}
.hero__line--q { color: var(--ink); }

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

.hero__answer { align-self: center; }
.js .hero__answer {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .7s ease .1s, transform .7s ease .1s;
}
.js .hero__answer.is-in {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero__pre {
  font-size: clamp(15px, 2.2vw, 21px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 6px;
}

.hero__video {
  width: min(920px, 100%);
  margin-inline: auto;
  /* the sting is 16:9 but the wordmark sits in the middle fifth, so the box is
     cropped to 12:5 — shorter, and the wordmark is never touched */
  aspect-ratio: 12 / 5;
  position: relative;
  /* the final frame sits behind the video: if the file is slow, blocked, or
     the codec is unavailable, the wordmark is still there instead of a void */
  background: url('assets/video/brand-animation-poster.jpg') center / cover no-repeat, var(--black);
}
.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

.hero__tagline {
  font-size: clamp(15px, 1.7vw, 19px);
  font-style: italic;
  color: var(--ink-2);
  margin: 0;
}

.cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink-3);
  opacity: 0;
  animation: cueIn .8s ease 5s forwards;
}
.cue__txt {
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.cue__line {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--red), transparent);
  animation: cueDrop 1.9s ease-in-out infinite;
}
@keyframes cueIn { to { opacity: 1; } }
@keyframes cueDrop {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .5; }
  50%      { transform: scaleY(1);  transform-origin: top; opacity: 1; }
}

/* ── 2 · Problem ────────────────────────────────────────────── */

.s--problem { background: linear-gradient(var(--black), var(--black-2)); }

.stats {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--black);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat--wide { grid-column: 1 / -1; }

.stat__n {
  font-family: var(--display);
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: .96;
  color: var(--red);
  letter-spacing: -.02em;
}
.stat__n--words {
  font-size: clamp(24px, 3.4vw, 38px);
  color: var(--ink);
  line-height: 1.08;
}
.stat__plus, .stat__tilde { color: var(--ink-4); }
.stat__l {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}
.fn {
  font-size: 9px;
  color: var(--ink-4);
  vertical-align: super;
  margin-left: 2px;
}

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
}

.hmw {
  margin: 52px 0 0;
  padding: clamp(26px, 4vw, 40px);
  border-left: 3px solid var(--red);
  background: linear-gradient(90deg, rgba(229, 9, 20, .09), transparent 70%);
}
.hmw p {
  font-family: var(--display);
  font-size: clamp(20px, 3.1vw, 33px);
  line-height: 1.22;
  margin: 0 0 12px;
  text-wrap: balance;
}
.hmw cite {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.notes {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-4);
  max-width: 76ch;
}
.notes li { margin-bottom: 6px; }

/* ── 3 · Solution ───────────────────────────────────────────── */

.s--solution { background: var(--black-2); }

.phase {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 26px;
}
.phase--two { margin-top: 72px; }
.phase__tag {
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 5px 11px;
}
.phase__tag--next {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red-dim);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 34px);
  position: relative;
  transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.step__n {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--red);
  display: block;
  margin-bottom: 20px;
}
.step__i {
  width: 40px;
  height: 40px;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.step__h {
  font-family: var(--display);
  font-size: clamp(19px, 2.2vw, 24px);
  margin: 0 0 10px;
}
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.ai {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.2vw, 26px);
}
.ai__card {
  border: 1px dashed var(--line-2);
  padding: clamp(22px, 3vw, 32px);
  background: rgba(229, 9, 20, .03);
}
.ai__h {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 22px);
  margin: 0 0 10px;
  color: var(--red);
}
.ai__card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.beats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.beat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: baseline;
}
.beat__n {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--red);
}
.beat strong { color: var(--ink); }

@media (max-width: 800px) { .ai { grid-template-columns: 1fr; } }

.pull {
  font-family: var(--display);
  font-size: clamp(20px, 3.2vw, 34px);
  line-height: 1.26;
  text-align: center;
  margin: clamp(56px, 8vw, 90px) auto 0;
  max-width: 22ch;
  text-wrap: balance;
}

/* ── 4 · Product ────────────────────────────────────────────── */

.s--product { background: var(--black); }

.shot {
  margin: 0 0 clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.shot--flip .shot__media { order: 2; }

.shot__media {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.shot__media img { width: 100%; height: auto; }
.shot__media video { width: 100%; height: auto; display: block; }

.shot--portrait .shot__media {
  width: min(360px, 100%);
  aspect-ratio: 9 / 16;
  justify-self: center;
  background: #000;
}
.shot--portrait .shot__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shot__media--scroll { overflow-x: auto; }
.shot__media--scroll img { min-width: 640px; }

/* the two-beat nudge sequence: audio first, then the visual cue */
.shot__media--seq { display: grid; }
.seq { margin: 0; }
.seq + .seq { border-top: 1px solid var(--line); }
.seq img { display: block; }
.seq figcaption {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 8px 12px 10px;
}

.shot__h {
  font-family: var(--display);
  font-size: clamp(21px, 2.7vw, 29px);
  margin: 0 0 12px;
}
.shot figcaption p { margin: 0 0 12px; color: var(--ink-2); }

@media (max-width: 860px) {
  .shot { grid-template-columns: 1fr; }
  .shot--flip .shot__media { order: 0; }
}

.fade {
  border-top: 1px solid var(--line);
  padding-top: clamp(38px, 5vw, 60px);
}
.fade__lead { color: var(--ink-2); max-width: 60ch; margin: 0 0 40px; }

.fade__chart { position: relative; margin-bottom: 26px; }
.fade__axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.fade__ax--assist { color: var(--red); }
.fade__ax--exp { color: var(--ink-3); }
.fade__svg { width: 100%; height: 130px; display: block; }

.fade__ends {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 34px);
  align-items: start;
  margin-top: 26px;
}
.fade__end { padding-top: 16px; }

/* device renders — both are transparent PNG/AVIF, so they sit straight on black */
.dev {
  display: grid;
  place-items: center;
  min-height: clamp(110px, 15vw, 168px);
  margin-bottom: 18px;
  padding: 8px;
}
.dev img {
  width: auto;
  max-width: 100%;
  max-height: clamp(104px, 14vw, 156px);
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .6));
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.fade__end:hover .dev img { transform: translateY(-4px) scale(1.02); }
.fade__when {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.fade__end strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(17px, 2vw, 21px);
  display: block;
  margin-bottom: 8px;
}
.fade__end p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
/* sits level with the middle of the two device renders */
.fade__arrow { color: var(--ink-4); font-size: 22px; padding-top: clamp(52px, 7vw, 80px); }
.fade__foot { color: var(--ink-3); font-size: 14px; font-style: italic; margin: 0; }

@media (max-width: 720px) {
  .fade__ends { grid-template-columns: 1fr; }
  .fade__arrow { display: none; }
  .fade__svg { height: 96px; }
}

.where {
  margin-top: clamp(56px, 8vw, 92px);
  border-top: 1px solid var(--line);
  padding-top: clamp(34px, 4vw, 50px);
}
.where__h {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 26px;
}
.where__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.where__i {
  position: relative;
  padding: 18px 16px;
  background: var(--panel);
  border-top: 3px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-4);
  line-height: 1.35;
}
.where__i--done { border-top-color: var(--red-dim); color: var(--ink-2); }
.where__i--here {
  border-top-color: var(--red);
  background: rgba(229, 9, 20, .12);
  color: #fff;
  font-family: var(--display);
  letter-spacing: .04em;
}
.where__i--here::before {
  content: '';
  position: absolute;
  top: -3px; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  animation: pulseBar 2.2s ease-in-out infinite;
}
@keyframes pulseBar { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

@media (max-width: 900px) {
  .where__list { grid-template-columns: 1fr; }
  .where__i { border-top-width: 2px; }
}

/* ── 5 · Who it's for ───────────────────────────────────────── */

.s--who { background: var(--black-2); }
.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 76px);
}
.who__col p { color: var(--ink-2); margin: 0; }
.roll { list-style: none; margin: 0 0 22px; padding: 0; }
.roll li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
}
.roll__n {
  font-family: var(--display);
  color: var(--red);
  font-size: 13px;
  border: 1px solid var(--red-dim);
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.who__sustain {
  font-size: 14px;
  color: var(--ink-3) !important;
  font-style: italic;
}
@media (max-width: 800px) { .who { grid-template-columns: 1fr; } }

/* ── 6 · Privacy ────────────────────────────────────────────── */

.s--privacy {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(229, 9, 20, .07), transparent 60%),
    var(--black);
}
.pdpa { list-style: none; margin: 0; padding: 0; }
.pdpa__i {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(20px, 2.6vw, 28px) 0;
  border-top: 1px solid var(--line);
}
.pdpa__i:last-child { border-bottom: 1px solid var(--line); }
.pdpa__tag {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.pdpa__i p { margin: 0; color: var(--ink-2); font-size: clamp(15px, 1.4vw, 17px); }

@media (max-width: 680px) {
  .pdpa__i { grid-template-columns: 1fr; gap: 8px; }
}

/* ── 7 · Journey ────────────────────────────────────────────── */

.s--journey { padding-top: 0; background: var(--black-2); }

.shift {
  background:
    linear-gradient(180deg, var(--red-deep) 0%, var(--black-2) 100%);
  padding-block: clamp(70px, 10vw, 130px);
  margin-bottom: clamp(50px, 7vw, 90px);
  border-top: 1px solid rgba(229, 9, 20, .3);
  text-align: center;
}
.shift__k {
  font-size: 11.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 14px;
}
.shift__h {
  font-family: var(--display);
  font-size: clamp(38px, 8.5vw, 96px);
  line-height: .98;
  margin: 0 0 22px;
  letter-spacing: -.015em;
}
.shift__p {
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0 auto;
  font-size: clamp(15.5px, 1.4vw, 18px);
}

.tl { list-style: none; margin: 0; padding: 0; }

.tl__i {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: clamp(12px, 2vw, 26px);
  padding-bottom: clamp(56px, 8vw, 96px);
  position: relative;
}
.tl__i::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--line-2), transparent);
}
.tl__i:last-child::before { display: none; }

.tl__marker {
  width: 56px; height: 56px;
  border: 1px solid var(--red-dim);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--black-2);
  position: relative;
  z-index: 1;
}
.tl__marker span {
  font-family: var(--display);
  font-size: 15px;
  color: var(--red);
}

.tl__body { min-width: 0; }

.tl__h {
  font-family: var(--display);
  font-size: clamp(23px, 3.6vw, 40px);
  line-height: 1.08;
  margin: 10px 0 14px;
}
.tl__body > p { color: var(--ink-2); max-width: 62ch; margin: 0 0 30px; }

@media (max-width: 720px) {
  .tl__i { grid-template-columns: 1fr; gap: 0; }
  .tl__i::before { display: none; }
  .tl__marker { width: 46px; height: 46px; margin-bottom: 6px; }
}

/* journey artifacts */

.art {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(18px, 2.6vw, 30px);
}
.art__title {
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.art--split {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: clamp(18px, 2.6vw, 30px);
  align-items: start;
}
/* landscape originals (VPC, Lean Canvas): photo full-width on top, content below */
.art--stack {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}
/* grid items default to min-width:auto — without this the wide Lean Canvas
   and VPC grids inside push the column past 1fr and the page scrolls sideways */
.art__main { min-width: 0; }
.art__photo { margin: 0; }
.art__photo img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  filter: saturate(.7) contrast(1.05);
  transition: filter .35s;
}
.art__photo:hover img { filter: none; }
.art__photo figcaption {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 10px;
}
.art__cap {
  font-size: 13.5px;
  color: var(--ink-3);
  font-style: italic;
  margin: 22px 0 0;
}
.art__list { margin: 22px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; }
.art__list li { margin-bottom: 8px; }
.dn { color: var(--red); font-weight: 700; }
.up { color: #4ade80; font-weight: 700; }

@media (max-width: 860px) {
  .art--split { grid-template-columns: 1fr; }
  .art--split .art__photo { max-width: 320px; }
}

/* stop 1 */
.art--listen { display: grid; gap: 26px; }
.art__figs { display: flex; gap: clamp(24px, 5vw, 56px); flex-wrap: wrap; }
.art__fig strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  color: var(--red);
  display: block;
  line-height: 1;
}
.art__fig span { font-size: 13px; color: var(--ink-3); }
.art__q {
  margin: 0;
  border-left: 2px solid var(--red-dim);
  padding-left: 20px;
}
.art__q p {
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.45;
  margin: 0 0 10px;
  color: var(--ink);
}
.art__q cite {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.art__q--placeholder p { color: var(--ink-4); font-style: italic; }

/* stop 2 — flow */
.flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flow__box {
  flex: 1 1 130px;
  text-align: center;
  padding: 16px 12px;
  border: 1px solid var(--line-2);
  font-family: var(--display);
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: .06em;
  color: var(--ink-2);
}
.flow__box--on {
  border-color: var(--red);
  color: #fff;
  background: rgba(229, 9, 20, .12);
  box-shadow: 0 0 0 1px rgba(229, 9, 20, .3);
}
.flow__arrow {
  flex: 0 0 26px;
  height: 1px;
  background: var(--line-2);
  position: relative;
}
.flow__arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  border-left: 6px solid var(--line-2);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}
.flow__brace {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
}
.flow__brace span { color: var(--ink-4); }

@media (max-width: 560px) {
  .flow { flex-direction: column; align-items: stretch; }
  .flow__arrow { width: 1px; height: 18px; margin-inline: auto; flex: 0 0 18px; }
  .flow__arrow::after {
    right: -3.5px; top: auto; bottom: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 6px solid var(--line-2);
    border-bottom: none;
  }
}

/* stop 3 — value proposition canvas, drawn as the classic square + circle */
.vpc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3.4vw, 44px);
  align-items: start;
}
.vpc__side-h {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 14px;
  text-align: center;
}
.vpc__half--map .vpc__side-h { color: var(--red); }
.vpc__shape {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line-2);
  background: var(--panel);
}
.vpc__shape--profile { border-radius: 50%; }
.vpc__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.vpc__lines line { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vpc__dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--red);
}
.vpc__cell { position: absolute; }
.vpc__cell h4 {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 7px;
  color: var(--ink);
}
.vpc__cell--pains h4 { color: var(--red); }
.vpc__cell ul { margin: 0; padding-left: 14px; }
.vpc__cell li { font-size: 12px; color: var(--ink-2); margin-bottom: 4px; line-height: 1.35; }

/* square: features in the left triangle, gain creators top, pain solvers bottom */
.vpc__cell--features { left: 3%; top: 50%; transform: translateY(-50%); width: 30%; }
.vpc__cell--gainc { left: 42%; top: 7%; width: 52%; }
.vpc__cell--painsol { left: 42%; bottom: 7%; width: 52%; }
/* circle: gains in the top sector, jobs right, pains bottom */
.vpc__cell--gains { left: 22%; top: 10%; width: 44%; }
.vpc__cell--jobs { right: 4%; top: 50%; transform: translateY(-50%); width: 26%; }
.vpc__cell--pains { left: 22%; bottom: 10%; width: 44%; }

/* too narrow for the shapes: fall back to stacked cells */
@media (max-width: 700px) {
  .vpc { grid-template-columns: 1fr; gap: 26px; }
  .vpc__shape {
    aspect-ratio: auto;
    border-radius: 0;
    display: grid;
    gap: 1px;
    background: var(--line);
    border-color: var(--line);
  }
  .vpc__lines, .vpc__dot { display: none; }
  .vpc__cell {
    position: static;
    transform: none;
    width: auto;
    padding: 14px 16px;
    background: var(--panel);
  }
  .vpc__side-h { text-align: left; }
}

/* stop 4 — lean canvas */
.lc {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-areas:
    'prob sol  uvp  adv  seg'
    'prob met  uvp  chan seg'
    'cost cost rev  rev  rev';
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.lc__c { background: var(--panel); padding: 14px; }
.lc__c--prob { grid-area: prob; }
.lc__c--sol  { grid-area: sol; }
.lc__c--uvp  { grid-area: uvp; }
.lc__c--adv  { grid-area: adv; }
.lc__c--seg  { grid-area: seg; }
.lc__c--met  { grid-area: met; }
.lc__c--chan { grid-area: chan; }
.lc__c--cost { grid-area: cost; }
.lc__c--rev  { grid-area: rev; }
.lc__c--uvp { background: rgba(229, 9, 20, .08); }

.lc__c h4 {
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 9px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
}
.lc__n {
  color: var(--red);
  border: 1px solid var(--red-dim);
  width: 17px; height: 17px;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  flex: 0 0 auto;
}
.lc__c ul { margin: 0; padding-left: 15px; }
.lc__c li, .lc__c > p { font-size: 12.5px; color: var(--ink-2); line-height: 1.42; margin: 0 0 5px; }
.lc__sub {
  margin: 12px 0 0 !important;
  padding-top: 10px;
  border-top: 1px dashed var(--line-2);
  font-size: 11.5px !important;
  color: var(--ink-3) !important;
}
.lc__sub strong { color: var(--ink-2); }
.lc__note {
  font-size: 12px;
  color: var(--ink-4);
  margin: 16px 0 0;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .lc {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'prob sol'
      'uvp  uvp'
      'adv  chan'
      'seg  met'
      'cost rev';
  }
}
@media (max-width: 560px) {
  .lc {
    grid-template-columns: 1fr;
    grid-template-areas: 'prob' 'sol' 'uvp' 'adv' 'seg' 'met' 'chan' 'cost' 'rev';
  }
}

/* stop 6 — the pitch, on stage */
.art--pitch { max-width: 860px; }
.art--pitch video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

/* stop 5 — hardware */
.hw {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
}
.hw__step { border: 1px solid var(--line-2); padding: clamp(18px, 2.4vw, 26px); }
.hw__step--end { border-color: var(--red-dim); background: rgba(229, 9, 20, .06); }
.hw__k {
  display: block;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.hw__step strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(17px, 2.1vw, 22px);
  display: block;
  margin-bottom: 10px;
}
.hw__step p { margin: 0; font-size: 14px; color: var(--ink-2); }
.hw__link {
  position: relative;
  min-width: 110px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--line-2));
}
.hw__link::after {
  content: '';
  position: absolute;
  right: 0; top: -4px;
  border-left: 8px solid var(--line-2);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.hw__label {
  position: absolute;
  left: 50%;
  top: -26px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}
@media (max-width: 780px) {
  .hw { grid-template-columns: 1fr; }
  .hw__link { width: 1px; min-width: 0; height: 46px; margin: 6px auto; background: linear-gradient(180deg, var(--red), var(--line-2)); }
  .hw__link::after { right: -4px; top: auto; bottom: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 8px solid var(--line-2); border-bottom: none; }
  .hw__label { left: 22px; top: 12px; transform: none; }
}

/* ── 8 · Team ───────────────────────────────────────────────── */

/* Netflix "Who's watching?" profile tiles */
.s--team { background: var(--black); }
.team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 3.2vw, 40px);
}
.team__m {
  width: clamp(96px, 14vw, 150px);
  text-align: center;
}
.team__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.team__m img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color .25s, transform .25s;
}
.team__link:hover img,
.team__link:focus-visible img {
  border-color: var(--red);
  transform: scale(1.05);
}
.team__name {
  font-family: var(--display);
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.25;
  color: var(--ink-2);
  transition: color .25s;
}
.team__link:hover .team__name,
.team__link:focus-visible .team__name { color: var(--ink); }

/* Mentors — smaller sub-row under the team grid */
.team__sub {
  font-size: 11.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  text-align: center;
  margin: clamp(36px, 5vw, 56px) 0 18px;
}
.team--mentors { gap: clamp(14px, 2.4vw, 28px); }
.team__m--mentor { width: clamp(72px, 9vw, 104px); }
.team__m--mentor .team__name { font-size: clamp(13px, 1.3vw, 15px); }

/* ── 9 · Contact ────────────────────────────────────────────── */

.s--contact {
  background:
    radial-gradient(80% 70% at 50% 100%, rgba(229, 9, 20, .13), transparent 60%),
    var(--black-2);
  text-align: center;
}
.s--contact .lead { margin-inline: auto; }
.mail {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(19px, 3.6vw, 42px);
  color: var(--red);
  text-decoration: none;
  letter-spacing: -.01em;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  transition: border-color .25s, color .25s;
  word-break: break-word;
}
.mail:hover { color: #fff; border-bottom-color: var(--red); }

/* ── Footer ─────────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 34px;
  background: var(--black);
}
.foot__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot__mark {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
}
.foot__tag { font-size: 13px; color: var(--ink-3); font-style: italic; }
.foot__yr { font-size: 13px; color: var(--ink-4); }

/* ── Reduced motion ─────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  /* show the four lines AND the answer, stacked, with no animation and no video */
  .hero__in { display: block; }
  .hero__lines, .hero__answer { grid-area: auto; }
  .hero__line { opacity: 1 !important; transform: none !important; }
  .hero__lines { margin-bottom: 34px; }
  .hero__lines.is-out { opacity: 1 !important; transform: none !important; }
  .hero__answer { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  .cue { opacity: 1 !important; }
}
