/* ============================================================
   Design tokens are defined in styles/tokens.css (single source
   of truth). Link tokens.css BEFORE this file on every page.
   ============================================================ */

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* shared type helpers */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.2rem;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
.display em { font-style: italic; color: var(--accent); }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  background: linear-gradient(to bottom, rgba(12,8,9,0.7), transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.nav__logo img { height: 30px; width: auto; }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.nav__links a { color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--fg); }
.nav__cta {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 9px 16px;
  border: 1px solid var(--faint);
  border-radius: var(--r-pill);
  transition: border-color .2s, background .2s;
}
.nav__cta:hover { border-color: var(--accent); background: var(--accent-soft); }

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  /* reserve room for the fixed nav so the headline never tucks under it */
  padding-top: calc(var(--nav-h) + 16px);
  background: radial-gradient(120% 90% at 50% 30%, var(--bg-elev) 0%, var(--bg) 62%);
}
.hero__canvas { position: absolute; inset: 0; z-index: 1; }
.hero__canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(12,8,9,0.92) 0%, rgba(12,8,9,0.35) 38%, rgba(12,8,9,0) 60%),
    linear-gradient(to right, rgba(12,8,9,0.6) 0%, rgba(12,8,9,0) 50%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 9vh, 110px);
  pointer-events: none;            /* doesn't block cursor tracking */
}
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 0 0 1.4rem;
  max-width: 16ch;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6rem; }
.hero__meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.hero__motion-btn {
  position: absolute;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 4;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--fg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 500 0.85rem var(--mono);
  cursor: pointer;
}

/* ----- Hero quick-access rail (desktop) ----------------------------------
   A vertical stack of short "batons" pinned to the hero's right edge. They
   idle near-invisible and tucked off-screen; a JS-driven --reveal (0..1),
   mapped from cursor X, slides them in and raises opacity as the head turns
   to look right. Per-item hover lifts a single baton to full opacity.       */
.quicklinks {
  --reveal: 0;                       /* set inline by quicklinks.js, 0..1 */
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-right: var(--gutter);
  pointer-events: none;              /* JS flips to auto once revealed */
}
.quicklinks__label {
  margin: 0 4px 2px 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  opacity: calc(0.12 + var(--reveal) * 0.7);
  transform: translateX(calc((1 - var(--reveal)) * 44px));
  transition: opacity .4s ease, transform .4s ease;
}
.quicklinks__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}

.qlink {
  --pull: 0px;                       /* extra left nudge on hover/focus */
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  width: clamp(196px, 17vw, 236px);
  padding: 10px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--faint);
  border-radius: var(--r-sm);
  box-shadow: 0 12px 30px rgba(0,0,0,0.38);
  color: var(--fg);
  opacity: calc(0.08 + var(--reveal) * 0.72);
  transform: translateX(calc((1 - var(--reveal)) * 58px + var(--pull)));
  transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .35s ease,
              border-color .25s, background .25s;
}
.qlink:hover, .qlink:focus-visible { --pull: -14px; opacity: 1; border-color: var(--accent); background: var(--bg-elev-2); }
.qlink:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* metallic diagonal sheen — same recipe as the work cards, sweeps in on hover */
.qlink::before {
  content: "";
  position: absolute; inset: -1px; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,0.10) 48%, rgba(255,255,255,0.02) 54%, transparent 64%);
  opacity: 0; transition: opacity .35s ease;
  mix-blend-mode: screen;
}
.qlink:hover::before, .qlink:focus-visible::before { opacity: 1; }
.qlink > * { position: relative; z-index: 1; }

.qlink__logo {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px;
  border: 1px solid var(--faint); border-radius: 8px;
  background: rgba(255,255,255,0.03);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em;
  color: var(--muted);
  transition: border-color .25s, color .25s;
}
.qlink:hover .qlink__logo, .qlink:focus-visible .qlink__logo { border-color: var(--accent); color: var(--fg); }
.qlink__text { display: flex; flex-direction: column; line-height: 1.18; min-width: 0; }
.qlink__brand { font-family: var(--sans); font-weight: 600; font-size: 0.9rem; }
.qlink__sub {
  font-family: var(--mono); font-size: 0.66rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* No cursor to track → show the rail statically, no motion */
@media (prefers-reduced-motion: reduce) {
  .quicklinks { --reveal: 1; pointer-events: auto; }
  .qlink { transition: border-color .25s, background .25s; }
}
/* Hide where there's no room or no fine pointer to drive the reveal */
@media (max-width: 1100px), (pointer: coarse) {
  .quicklinks { display: none; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--faint);
  color: var(--fg);
  transition: border-color .2s, background .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--fg); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: #ff447f; border-color: #ff447f; }
.btn--ghost { border-color: transparent; color: var(--muted); }
.btn--ghost:hover { color: var(--fg); border-color: var(--faint); }
.btn--icon { padding: 6px; border: 0; color: var(--muted); }
.btn--icon:hover { color: var(--accent); border-color: transparent; }
.btn--icon svg { width: 24px; height: 24px; display: block; }

/* ============================================================
   Proof bar (marquee)
   ============================================================ */
.proof {
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  overflow: hidden;
  padding: 26px 0;
}
.proof__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}
.proof__logo {
  flex: none;
  width: 110px;
  height: auto;
  opacity: 0.62;
  transition: opacity 0.2s ease;
}
.proof:hover .proof__track { animation-play-state: paused; }
.proof__logo:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Thesis / pillars
   ============================================================ */
.thesis .display { max-width: 20ch; margin-bottom: clamp(48px, 7vw, 88px); }
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.pillar {
  border-top: 1px solid var(--faint);
  padding-top: 22px;
}
.pillar__no { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); }
.pillar h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 14px 0 10px;
}
.pillar p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ============================================================
   Selected work
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  perspective: 1100px;            /* 3D space for the tilt */
}
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --ty: 0px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--faint);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
  transform-style: preserve-3d;
  transition: transform .12s ease-out, border-color .25s, background .25s;
  will-change: transform;
}
.card:hover { --ty: -4px; border-color: var(--accent); background: var(--bg-elev-2); }

/* keep content above the glare layers */
.card > * { position: relative; z-index: 1; }

/* metallic diagonal sheen (subtle), fades in on hover */
.card::before {
  content: "";
  position: absolute; inset: -1px; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,0.10) 48%, rgba(255,255,255,0.02) 54%, transparent 64%);
  opacity: 0; transition: opacity .35s ease;
  mix-blend-mode: screen;
}
/* light reflection following the cursor */
.card::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(380px circle at var(--mx) var(--my), rgba(255,255,255,0.16), transparent 42%),
    radial-gradient(620px circle at var(--mx) var(--my), var(--accent-soft), transparent 50%);
  opacity: 0; transition: opacity .3s ease;
  mix-blend-mode: soft-light;
}
.card:hover::before, .card:hover::after { opacity: 1; }

/* company logo slot (top-right) — mockup now, swap span→img when real logos land */
.card__logo {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--faint); border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.02em;
  color: var(--muted);
  object-fit: contain;
  transition: border-color .25s, color .25s;
}
.card:hover .card__logo { border-color: var(--accent); color: var(--fg); }
img.card__logo { padding: 8px; }

/* real brand logo (top-right of card) — sized by max-width per brand,
   natural proportions (height follows). Square marks get a smaller cap
   than wide wordmarks so they read as similar visual weight. */
.card__logo--img {
  width: auto; height: auto;
  border: none; background: none; padding: 0;
  border-radius: 0;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity .25s ease;
}
.card__logo--mastercard { max-width: 70px; }
.card__logo--bayer      { max-width: 58px; }
.card__logo--lindt      { max-width: 84px; }
.card__logo--samsung    { max-width: 80px; }
.card:hover .card__logo--img { opacity: 1; }

/* award line under feature title */
.card__award {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.03em;
  color: var(--accent); margin: 0 0 14px;
}

/* sub-heading between main cases and side-project cards */
.work__sub {
  margin-top: clamp(56px, 8vw, 100px);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.work__sub .display { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.card--feature { grid-column: 1 / -1; }
.card__top {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.card__role { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.card__badge {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--accent); background: var(--accent-soft);
  padding: 5px 11px; border-radius: var(--r-pill);
}
.card__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05; margin: 0 0 12px;
}
.card--feature .card__title { font-size: clamp(2.2rem, 5vw, 4rem); }
.card__desc { color: var(--muted); margin: 0 0 20px; max-width: 60ch; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.card__tags span {
  font-family: var(--mono); font-size: 0.72rem;
  padding: 5px 10px; border: 1px solid var(--faint); border-radius: var(--r-pill);
  color: var(--muted);
}
.card__cta { font-family: var(--mono); font-size: 0.82rem; color: var(--accent); margin-top: 20px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ============================================================
   Approach / loop
   ============================================================ */
.loop {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--faint);
  border: 1px solid var(--faint); border-radius: var(--r-md); overflow: hidden;
}
.loop li {
  background: var(--bg);
  display: flex; align-items: center; gap: 14px;
  padding: 26px clamp(18px, 2.5vw, 32px);
}
.loop__no {
  font-family: var(--serif); font-style: italic;
  font-size: 2rem; color: var(--accent); line-height: 1;
}
.loop__label { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; }
.loop__label em { font-style: normal; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); display: block; }
.approach__proof {
  margin: 32px 0 0; color: var(--muted); font-size: 1.05rem;
}
.approach__proof strong { color: var(--fg); }
@media (max-width: 760px) { .loop { grid-template-columns: 1fr; } }

/* ============================================================
   About
   ============================================================ */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}
.about__body p { color: var(--muted); margin: 0 0 1.1rem; }
.about__passions-label {
  font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent) !important; margin-top: 1.8rem !important;
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; }
.chips li {
  font-family: var(--mono); font-size: 0.78rem;
  padding: 6px 12px; border: 1px solid var(--faint); border-radius: var(--r-pill); color: var(--muted);
}
@media (max-width: 760px) { .about__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Toolbox
   ============================================================ */
.tools {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.tools li {
  font-family: var(--mono); font-size: 0.85rem;
  padding: 10px 16px; border: 1px solid var(--faint); border-radius: var(--r-sm);
  color: var(--fg); transition: border-color .2s, color .2s;
}
.tools li:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   Contact
   ============================================================ */
.contact { text-align: center; }
.contact__title { font-size: clamp(2.8rem, 9vw, 7rem); margin-bottom: 2rem; }
.contact__links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
  font-family: var(--mono); font-size: 0.95rem;
}
.contact__links a { color: var(--muted); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.contact__links a:hover { color: var(--fg); border-color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--faint);
  padding: 40px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--maxw); margin: 0 auto;
  flex-wrap: wrap;
}
.footer__logo { height: 26px; opacity: 0.7; }
.footer p { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); margin: 0; }

/* ============================================================
   Timeline (career evolution / case approach)
   ============================================================ */
.timeline { list-style: none; margin: 0; padding: 0; }
.tl {
  display: grid;
  grid-template-columns: 44px minmax(220px, 1fr) 1.1fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding: clamp(26px, 3.5vw, 42px) 0;
  border-top: 1px solid var(--faint);
}
.tl:last-child { border-bottom: 1px solid var(--faint); }
.tl__no { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); padding-top: 0.5em; }
.tl__title { font-family: var(--sans); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 0.5rem; }
.tl__desc { color: var(--muted); margin: 0; max-width: 46ch; }
.tl__tags { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.tl__tags span {
  font-family: var(--mono); font-size: 0.72rem;
  padding: 6px 12px; border: 1px solid var(--faint); border-radius: var(--r-pill); color: var(--muted);
}
@media (max-width: 820px) {
  .tl { grid-template-columns: 1fr; gap: 12px; }
  .tl__no { padding-top: 0; }
}

/* ============================================================
   Case study — hero + angled device
   ============================================================ */
.case-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(120px, 16vh, 200px) var(--gutter) clamp(60px, 9vh, 110px);
}
.case-back { display: inline-block; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 1.6rem; transition: color .2s; }
.case-back:hover { color: var(--accent); }
.case-hero__title { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0 0 1.2rem; }
.case-hero__sub { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 52ch; margin: 0 0 1.4rem; }
.case-hero__stage { display: flex; justify-content: center; perspective: 1600px; }

.device {
  --w: clamp(220px, 26vw, 300px);
  width: var(--w); aspect-ratio: 9 / 19.5;
  border-radius: 14% / 6.5%;
  background: #07070a;
  border: 2px solid rgba(255,255,255,0.14);
  padding: 9px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.6), inset 0 0 0 2px rgba(255,255,255,0.03);
  position: relative;
}
.device--angled { transform: rotateY(-22deg) rotateX(6deg) rotate(-1.5deg); transform-style: preserve-3d; animation: deviceFloat 7s ease-in-out infinite; }
@keyframes deviceFloat {
  0%,100% { transform: rotateY(-22deg) rotateX(6deg) rotate(-1.5deg) translateY(0); }
  50%     { transform: rotateY(-19deg) rotateX(5deg) rotate(-1.5deg) translateY(-12px); }
}
.device__island { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 30%; height: 18px; background: #000; border-radius: 999px; z-index: 3; }
.device__screen { width: 100%; height: 100%; border-radius: 10% / 5%; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #241019, #0c0809 70%); position: relative; }

/* placeholder landing layout inside the phone */
.mock { padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.mock__bar { display: flex; align-items: center; justify-content: space-between; }
.mock__dot { width: 16px; height: 16px; border-radius: 6px; background: var(--accent); }
.mock__pill { width: 44px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.18); }
.mock__hero { display: flex; flex-direction: column; gap: 7px; margin-top: 6px; }
.mock__eyebrow { width: 38%; height: 6px; border-radius: 4px; background: var(--accent); opacity: .8; }
.mock__h { width: 88%; height: 13px; border-radius: 4px; background: rgba(255,255,255,0.78); }
.mock__h--short { width: 60%; }
.mock__btn { width: 42%; height: 16px; border-radius: 999px; background: var(--accent); margin-top: 4px; }
.mock__img { width: 100%; flex: 1; min-height: 70px; border-radius: 10px; background: linear-gradient(135deg, rgba(255,45,114,.35), rgba(255,255,255,.06)); }
.mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock__card { height: 46px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
.mock__lines { display: flex; flex-direction: column; gap: 6px; }
.mock__lines span { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.14); }
.mock__line--short { width: 55%; }

@media (max-width: 880px) {
  .case-hero { grid-template-columns: 1fr; }
  .case-hero__stage { order: -1; margin-bottom: 20px; }
}

/* case meta strip */
.case-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px);
  padding-top: 0; padding-bottom: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--faint);
}
.case-meta > div { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; }
.case-meta__k { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.case-meta__v { font-size: 0.98rem; color: var(--fg); }
@media (max-width: 720px) { .case-meta { grid-template-columns: 1fr 1fr; } }

/* stats (outcome) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.stat { border: 1px solid var(--faint); border-radius: var(--r-lg); padding: clamp(20px, 2.5vw, 32px); background: var(--bg-elev); }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--accent); line-height: 1; }
.stat__label { display: block; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .proof__track { animation: none; }
  .device--angled { animation: none; }
}
