/* ============================================================
   Tanguy Sevoz — scroll-driven portfolio
   Type: Alan Sans (display) + Geist (body), via Google Fonts.
   ============================================================ */

:root {
  --font-display: "Alan Sans", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, sans-serif;
  --display-weight: 700;        /* section titles, project names, stats */
  --display-weight-max: 800;    /* the biggest hero / contact statements */

  --cream:      #ede9e0;
  --cream-2:    #e3ddd0;
  --sage:       #9db0a0;
  --terracotta: #b5734f;
  --mustard:    #d9a94e;
  --blue:       #8fa9c4;
  --ink:        #262421;
  --ink-soft:   #5a554e;

  /* cool tones — hero legibility scrim + interactive accent.
     Accent = City 1's cobalt-blue arch (skill-recommended blue accent). */
  --navy:    #0f1e33;
  --navy-2:  #16273f;
  --accent:  #2f5fd6;

  --maxw: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Spacious spacing scale (skill density 2 — 8→96px, generous whitespace).
     Section rhythm scales with viewport so it breathes on large screens. */
  --space-1: 0.5rem;    /* 8  */
  --space-2: 1rem;      /* 16 */
  --space-3: 1.5rem;    /* 24 */
  --space-4: 2.5rem;    /* 40 */
  --space-5: 4rem;      /* 64 */
  --space-6: 6rem;      /* 96 */
  --gutter:  clamp(1.5rem, 5vw, 4rem);          /* page side padding */
  --section-y: clamp(6rem, 14vh, 10rem);        /* section top/bottom rhythm */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Lenis smooth-scroll — REQUIRED integration CSS. Without the scroll-behavior
   override, native smooth-scroll fights Lenis every frame and the scroll breaks. */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--cream);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { width: min(320px, 70vw); text-align: center; }
.preloader__label {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1rem;
}
.preloader__bar { height: 2px; background: var(--cream-2); border-radius: 2px; overflow: hidden; }
.preloader__fill { display: block; height: 100%; width: 0%; background: var(--accent); transition: width 0.2s linear; }
.preloader__pct { margin-top: 0.9rem; font-family: var(--font-display); font-size: 1.4rem; font-variant-numeric: tabular-nums; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--gutter);
  color: #fff;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(237, 233, 224, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  color: var(--ink);
  padding-top: 0.85rem; padding-bottom: 0.85rem;
  box-shadow: 0 1px 0 rgba(38, 36, 33, 0.08), 0 8px 30px rgba(38, 36, 33, 0.06);
}
.nav__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.015em; }
.nav__brand span { opacity: 0.55; }
.nav__right { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); }
.nav__links { display: flex; gap: clamp(1.4rem, 2.5vw, 2.4rem); font-size: 1.02rem; font-weight: 500; }
.nav__links a { position: relative; padding: 0.5rem 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: currentColor; transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
/* Adaptive nav CTA: WHITE pill over the dark hero (transparent nav), inverts to the
   ACCENT pill over light content (scrolled/solid nav) so it always stays legible. */
.nav__cta {
  font-size: 0.98rem; font-weight: 500; color: var(--accent);
  background: #fff; padding: 0.72rem 1.35rem; border-radius: 999px; line-height: 1;
  box-shadow: 0 6px 20px rgba(15, 30, 51, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 30, 51, 0.26); }
.nav.is-scrolled .nav__cta,
.nav.is-solid .nav__cta {
  color: #fff; background: var(--accent);
  box-shadow: 0 6px 18px rgba(47, 95, 214, 0.32);
}
.nav.is-scrolled .nav__cta:hover,
.nav.is-solid .nav__cta:hover { box-shadow: 0 12px 26px rgba(47, 95, 214, 0.45); }

/* ---------- Custom cursor (dot + trailing ring) ----------
   Strictly monochrome: INK over light surfaces, WHITE over dark surfaces
   (cursor.js toggles .on-dark from what's under the cursor). No blend mode,
   so it is never tinted green/pink over coloured backgrounds. */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
}
.cursor { pointer-events: none; }
.cursor__ring, .cursor__dot, .cursor__label {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; will-change: transform;
}
/* Always WHITE, with a soft dark outline + drop so it stays visible on white/
   light surfaces too — no per-surface colour switching (which flickered on mockups). */
.cursor__ring {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid #fff; opacity: 0;
  box-shadow: 0 0 0 1.25px rgba(18, 20, 28, 0.3), 0 2px 7px rgba(0, 0, 0, 0.3);
  transition: opacity 0.35s var(--ease), width 0.3s var(--ease),
    height 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* expanding pulse on click — a satisfying "tap" ring */
.cursor__ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(18, 20, 28, 0.2);
  opacity: 0; pointer-events: none;
}
.cursor.is-click .cursor__ring::after { animation: cursorRipple 0.5s var(--ease); }
@keyframes cursorRipple { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.cursor__dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 20, 28, 0.35);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.cursor__label {
  display: inline-flex; align-items: center; gap: 0.3em; white-space: nowrap;
  color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.01em; opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.cursor.is-label .cursor__label::after { content: "\2192"; transition: transform 0.28s var(--ease); }
.cursor.is-label.is-down .cursor__label::after { transform: translateX(3px); }
.cursor.is-in .cursor__ring, .cursor.is-in .cursor__dot { opacity: 1; }
.cursor.is-hover .cursor__ring { width: 66px; height: 66px; background: rgba(255, 255, 255, 0.12); }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; }
.cursor.is-label .cursor__ring {
  width: 92px; height: 92px; background: var(--accent);
  border-color: transparent; box-shadow: 0 12px 26px -6px rgba(15, 20, 40, 0.5);
  transition: width 0.44s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.44s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cursor.is-label.is-down .cursor__ring {
  width: 82px; height: 82px;
  transition: width 0.14s var(--ease), height 0.14s var(--ease);
}
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ---------- Hero (scroll-driven) ---------- */
.hero { position: relative; }
.hero__viewport {
  position: relative; width: 100%; height: 100vh; overflow: hidden;
  background: var(--cream-2);
}
.hero__canvas, .hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__poster { display: none; }
.hero.is-fallback .hero__canvas { display: none; }
.hero.is-fallback .hero__poster { display: block; }

/* Blue-navy scrim: darkens the bright video so white copy stays legible,
   with a soft spotlight behind the headline. This is the "background blue". */
.hero__viewport::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(88% 72% at 50% 44%, rgba(17,38,68,0.72) 0%, rgba(17,38,68,0.40) 42%, rgba(17,38,68,0.12) 74%, transparent 100%),
    linear-gradient(180deg, rgba(15,30,51,0.62) 0%, rgba(15,30,51,0.12) 26%, transparent 46%, transparent 58%, rgba(15,30,51,0.55) 100%);
}

/* Text-focused scrim — used only for the island clip (JS animates its opacity).
   Darken + blur are masked to a tight halo behind the copy, so the rest of the
   island stays sharp and visible. */
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; }

.hero--island .hero__viewport::after {
  /* island: a light scrim so the (zoomed) island + its animation stay clearly visible
     while the copy remains legible — no heavy central darkening or blur */
  background:
    radial-gradient(64% 54% at 50% 46%, rgba(15,30,51,0.42) 0%, rgba(15,30,51,0.16) 54%, transparent 82%),
    linear-gradient(180deg, rgba(15,30,51,0.40) 0%, transparent 20%, transparent 76%, rgba(15,30,51,0.46) 100%);
}
.hero--island .hero__scrim { display: none; }   /* focus-blur removed — it hid the island */

/* Overlay copy panels */
.hero__overlays { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 0 1.5rem; color: #fff;
  will-change: opacity, transform;
}
.hero__eyebrow {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 1.3rem; color: #f4f7fc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 22px rgba(15, 30, 51, 0.7);
}
.hero__title {
  font-family: var(--font-display); font-weight: var(--display-weight-max);
  font-size: clamp(3.2rem, 12.5vw, 9rem); line-height: 0.9; letter-spacing: -0.015em;
  text-shadow: 0 2px 44px rgba(15, 30, 51, 0.45);
}
.hero__sub {
  margin-top: 1.7rem; font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 400;
  max-width: 34ch; color: #f4f6fb;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.42), 0 2px 22px rgba(15, 30, 51, 0.55);
}
.hero__big {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(2.6rem, 9vw, 6.2rem); line-height: 0.98; letter-spacing: -0.02em;
  text-shadow: 0 2px 44px rgba(15, 30, 51, 0.5);
}

/* Scroll hint */
.hero__hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: #fff; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(15, 30, 51, 0.6);   /* legible over any hero frame */
}
.hero__hint-line {
  width: 1px; height: 40px; background: linear-gradient(#fff, transparent);
  animation: hintPulse 1.8s var(--ease) infinite;
}
@keyframes hintPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.hero.is-fallback .hero__panel:not(.is-lead) { display: none; }
.hero.is-fallback .hero__panel.is-lead { opacity: 1; }

/* ---------- Intro (the story opens) ---------- */
.intro__top { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro__lead { max-width: 42ch; }
.intro__art { position: relative; width: 100%; max-width: 470px; margin-inline: auto; }

/* ---- Hello portrait scene: claymation cutout + parallax accents ---- */
.hello-scene { position: relative; width: 100%; padding-top: 12%; overflow: visible; }
.hs-portrait { position: relative; z-index: 2; width: 100%; will-change: transform; }
.hs-portrait img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 26px 34px rgba(15, 30, 51, 0.22));
  will-change: transform;
}
.hs-glow {
  position: absolute; z-index: 0; inset: -12%;
  /* %-sized ellipse so the aura fades fully inside the box — no hard edge-clip */
  background: radial-gradient(56% 54% at 50% 54%, rgba(242, 212, 136, 0.32) 0%, rgba(157, 176, 160, 0.12) 50%, transparent 80%);
  pointer-events: none;
}
/* each floating accent: outer = scroll-parallax target, inner = idle bob */
.hs-item { position: absolute; z-index: 3; will-change: transform; pointer-events: none; }
.hs-item > * { display: block; animation: iaFloat 6s ease-in-out infinite; }
.hs-item--ring  { z-index: 1; top: 2%;  left: 1%; }
.hs-item--ring  > * { animation-duration: 8s; }
.hs-item--blue  { z-index: 1; top: 0%;  left: 42%; }
.hs-item--blue  > * { animation-duration: 6.5s; }
.hs-item--spark { z-index: 3; top: 14%; left: 8%; }
.hs-item--spark > * { animation-duration: 7s; animation-delay: 0.2s; }
.hs-item--gold  { z-index: 3; top: 46%; left: -1%; }
.hs-item--gold  > * { animation-duration: 5s; animation-delay: 0.8s; }
.hs-item--terra { z-index: 3; bottom: 11%; right: 2%; }
.hs-item--terra > * { animation-duration: 5.6s; animation-delay: 0.5s; }
.hs-item--card  { z-index: 4; top: 3%; right: -5%; }
.hs-item--card  > * { animation-duration: 6.2s; animation-delay: 0.3s; }

/* soft claymation spheres + tokens (site palette) */
.hs-orb { border-radius: 50%; box-shadow: 0 16px 26px rgba(15, 30, 51, 0.16); }
.hs-orb--blue  { width: clamp(36px, 8vw, 58px); aspect-ratio: 1; background: radial-gradient(circle at 32% 28%, #c6d9ef, #7f9fd0 66%, #6b8ec7); }
.hs-orb--terra { width: clamp(22px, 5vw, 34px); aspect-ratio: 1; background: radial-gradient(circle at 32% 28%, #d8bfb2, #b5734f 74%); }
.hs-dot--gold  { width: clamp(14px, 3vw, 20px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #eed3a0, #d9a94e 72%); box-shadow: 0 8px 14px rgba(15, 30, 51, 0.14); }
.hs-ring { width: clamp(44px, 9vw, 70px); aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(47, 95, 214, 0.28); }
.hs-spark { width: clamp(16px, 3.4vw, 24px); aspect-ratio: 1; background: var(--accent); opacity: 0.9;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.hs-card { width: clamp(84px, 18vw, 112px); padding: 11px 12px; background: #fff; border-radius: 14px;
  box-shadow: 0 18px 34px rgba(15, 30, 51, 0.16); transform: rotate(-7deg); }
.hs-card__bar { display: block; height: 8px; border-radius: 4px; background: var(--sage, #9db0a0); }
.hs-card__bar--b { width: 66%; margin-top: 7px; background: #e2dccf; }
.hs-card__chip { display: block; width: 42%; height: 15px; border-radius: 8px; background: var(--terracotta, #b5734f); margin-top: 10px; }
.artscene { width: 100%; height: auto; display: block; overflow: visible; }
.artscene .layer { will-change: transform; }
.intro__title {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 24ch; text-wrap: balance;
}
.intro__text { margin-top: 1.5rem; max-width: 46ch; font-size: 1.12rem; line-height: 1.75; color: var(--ink-soft); text-wrap: pretty; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2rem; }
.chips li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
  background: #fff; border: 1px solid var(--cream-2); border-radius: 999px;
  padding: 0.5rem 1.05rem 0.5rem 0.82rem;
  box-shadow: 0 4px 12px rgba(15, 30, 51, 0.06);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
/* little claymation "clay dot" spheres — same palette as the contact spheres / hello orbs */
.chips li::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 28%, #7f9fd0, #2f5fd6 78%);
  box-shadow: 0 1px 2px rgba(15, 30, 51, 0.18);
}
.chips li:nth-child(2)::before { background: radial-gradient(circle at 32% 28%, #d8bfb2, #b5734f 78%); }
.chips li:nth-child(3)::before { background: radial-gradient(circle at 32% 28%, #bcccb6, #9db0a0 78%); }
.chips li:nth-child(4)::before { background: radial-gradient(circle at 32% 28%, #eed3a0, #d9a94e 78%); }
.chips li:nth-child(5)::before { background: radial-gradient(circle at 32% 28%, #a9b9e6, #6b8ec7 78%); }
.chips li:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(15, 30, 51, 0.13); border-color: rgba(47, 95, 214, 0.4); }

/* Proof numbers — animate up on reveal, so they read as evidence not decoration */
.proof {
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--cream-2);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem);
}
.proof__num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5.2vw, 3.5rem);
  line-height: 1; letter-spacing: -0.02em; display: flex; align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.proof__num .sym { font-family: var(--font-body); font-weight: 500; color: var(--accent); font-size: 0.6em; }
.proof__label { margin-top: 0.95rem; font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); max-width: 20ch; }
.proof__item { transition: transform 0.4s var(--ease); }
.proof__item:hover { transform: translateY(-5px); }
.proof__item:hover .proof__num .sym { color: var(--terracotta); }
/* Intro art — floating claymation-style scene (mouse parallax added in main.js) */
.artscene .ia-float-a, .artscene .ia-float-b, .artscene .ia-float-b2, .artscene .ia-float-c,
.artscene .ia-drift-a, .artscene .ia-drift-b, .artscene .ia-pulse, .artscene .ia-heart {
  transform-box: fill-box; transform-origin: center;
}
.artscene .ia-float-a  { animation: iaFloat 6s   ease-in-out infinite; }
.artscene .ia-float-b  { animation: iaFloat 7s   ease-in-out infinite 0.4s; }
.artscene .ia-float-b2 { animation: iaFloat 5.4s ease-in-out infinite 0.2s; }
.artscene .ia-float-c  { animation: iaFloat 5s   ease-in-out infinite 0.8s; }
.artscene .ia-drift-a  { animation: iaDrift  20s ease-in-out infinite; }
.artscene .ia-drift-b  { animation: iaDriftR 24s ease-in-out infinite; }
.artscene .ia-pulse    { animation: iaPulse  7s  ease-in-out infinite; }
.artscene .ia-heart    { animation: iaBeat   2.8s ease-in-out infinite; }
@keyframes iaFloat  { 0%, 100% { transform: translateY(0); }   50% { transform: translateY(-10px); } }
@keyframes iaDrift  { 0%, 100% { transform: translateX(0); }   50% { transform: translateX(15px); } }
@keyframes iaDriftR { 0%, 100% { transform: translateX(0); }   50% { transform: translateX(-15px); } }
@keyframes iaPulse  { 0%, 100% { transform: scale(1); }        50% { transform: scale(1.05); } }
@keyframes iaBeat   { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.2); } 28% { transform: scale(1); } }

/* ---------- Generic sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.section__eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.15rem; }
.section__eyebrow::before { content: ""; width: 1.7rem; height: 2px; border-radius: 2px; background: currentColor; transform-origin: left; animation: eyebrowLine 3.6s var(--ease) infinite; }
@keyframes eyebrowLine { 0%, 100% { transform: scaleX(0.55); opacity: 0.6; } 50% { transform: scaleX(1); opacity: 1; } }
.section__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.025em; }
.section__head { margin-bottom: clamp(3rem, 6vw, 5rem); display: flex; flex-direction: column; }

/* ---------- Projects (editorial alternating showcase, 3D tilt + scroll parallax) ---------- */
.projects { display: flex; flex-direction: column; gap: clamp(4rem, 9vw, 8rem); }
.project { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
/* whole-card link for projects that have a case-study page */
.project__link { position: absolute; inset: 0; z-index: 5; border-radius: 24px; }
.project__cta { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.35rem; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--accent); transition: gap 0.3s var(--ease); }
.project--linked { cursor: pointer; }
.project--linked .project__name { transition: color 0.3s var(--ease); }
.project--linked:hover .project__name { color: var(--accent); }
.project--linked:hover .project__cta { gap: 0.85rem; }
.project:nth-child(even) .project__visual { order: 2; }
.project:nth-child(even) .project__body { justify-self: end; }

.project__visual { position: relative; }
.project__scene { perspective: 1100px; }
.project__inner {
  position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 22px 55px rgba(15, 30, 51, 0.16);
  transition: box-shadow 0.45s var(--ease);
  will-change: transform;
}
.project:hover .project__inner { box-shadow: 0 42px 90px rgba(15, 30, 51, 0.28); }
/* Linked card: grows a touch on hover, dips on press (tactile before the transition). */
.project--linked .project__inner { transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease); }
.project--linked:hover .project__inner { transform: scale(1.015); }
.project--linked:active .project__inner { transform: scale(0.975); transition: box-shadow 0.45s var(--ease), transform 0.13s var(--ease); }
.project__media {
  position: absolute; inset: -8%;                /* overscan for tilt + parallax headroom */
  background-image: var(--frame);
  background-size: cover; background-position: var(--pos, center);
  will-change: transform;
}
.project__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(15, 30, 51, 0.10) 66%, rgba(15, 30, 51, 0.42) 100%);
}
.project__chip {
  position: absolute; top: 1.05rem; left: 1.05rem; transform: translateZ(50px);
  background: rgba(15, 30, 51, 0.5); color: #fff; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.02em; padding: 0.46rem 0.9rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 4px 12px rgba(15, 30, 51, 0.18);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}
/* Platform label — bottom-right of every card, kept consistent across projects */
.project__platform {
  position: absolute; right: 1.05rem; bottom: 1rem; transform: translateZ(38px);
  background: rgba(15, 30, 51, 0.5); color: #fff;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; padding: 0.42rem 0.78rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 4px 12px rgba(15, 30, 51, 0.18);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}
/* --- Live-site "COMING SOON" DISABLED state for projects whose case-study page isn't
   built yet. Purely a visual layer toggled by .project--soon; the card MARKUP + SPACING
   are untouched, so shipping a page later = remove .project--soon (add .project--linked
   + a .project__link href, restore the CTA) and the exact live card returns. --- */

/* Visual: blur + desaturate + veil the imagery so it reads as locked / teased. */
.project--soon .project__media { filter: blur(5px) grayscale(0.4) brightness(0.94); }
.project--soon .project__inner::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: linear-gradient(155deg, rgba(11, 12, 14, 0.12) 0%, rgba(11, 12, 14, 0.36) 52%, rgba(11, 12, 14, 0.66) 100%);
}
.project--soon .project__chip, .project--soon .project__platform { opacity: 0.5; }

/* The status label is the focal point: centered over the veil, with a lock. */
.project__soon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(60px); z-index: 4;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(11, 12, 14, 0.5); color: #fff;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; padding: 0.58rem 1.05rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 26px rgba(11, 12, 14, 0.32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.project__soon svg { width: 15px; height: 15px; }

/* Body copy fades to half-visible so the card clearly reads "not ready yet",
   while the name stays legible enough to know what's coming. */
.project--soon .project__index, .project--soon .project__meta { opacity: 0.5; }
.project--soon .project__name { opacity: 0.66; }
.project--soon .project__desc {
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, 0.18) 100%);
          mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, 0.18) 100%);
}
.project__cta--soon { color: var(--ink); opacity: 0.5; }

/* On-brand life: the lock label gently breathes; hovering peeks a little behind the glass. */
.project--soon .project__soon { animation: soon-breathe 3.4s ease-in-out infinite; }
@keyframes soon-breathe {
  0%, 100% { transform: translate(-50%, -50%) translateZ(60px) scale(1);    opacity: 0.75; }
  50%      { transform: translate(-50%, -50%) translateZ(60px) scale(1.09); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .project--soon .project__soon { animation: none; } }
.project__body { max-width: 30rem; }
.project__index {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.14em; margin-bottom: 0.7rem; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.project__index::after { content: ""; width: 1.6rem; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.5; }
.project__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1; letter-spacing: -0.025em; margin-bottom: 0.95rem; }
/* Basic info line: company · role · years */
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin-bottom: 1rem; }
.project__co   { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.project__role { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.project__meta > span + span { position: relative; padding-left: 0.7rem; }
.project__meta > span + span::before { content: "·"; position: absolute; left: 0; color: var(--ink-soft); opacity: 0.7; }
.project__desc { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; max-width: 44ch; }

/* ---------- Story / journey (alternating center-rail timeline) ---------- */
.story { list-style: none; position: relative; max-width: 1080px; margin: 0 auto; padding: 0.5rem 0; }
.story__rail { position: absolute; left: 50%; top: 0.5rem; bottom: 0.5rem; width: 2px; margin-left: -1px; background: var(--cream-2); border-radius: 2px; overflow: hidden; }
.story__fill { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top center; }
/* each milestone is a full-width row: year + card one side of the spine, snapshot mirrored on the other */
.story__beat {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto;
  column-gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
  padding-bottom: clamp(6rem, 11vw, 10rem);
}
.story__beat:last-of-type { padding-bottom: 0; }
.story__year { grid-row: 1; }
.story__card { grid-row: 2; }
.story__beat:nth-of-type(odd)  .story__year { grid-column: 1; justify-self: end;   text-align: right; }
.story__beat:nth-of-type(even) .story__year { grid-column: 2; justify-self: start; text-align: left; }
.story__beat:nth-of-type(odd)  .story__card { grid-column: 1; justify-self: end;   text-align: right; }
.story__beat:nth-of-type(even) .story__card { grid-column: 2; justify-self: start; text-align: left; }
.story__beat:nth-of-type(odd)  .shot { grid-column: 2; justify-self: start; margin-left: clamp(1rem, 4.5vw, 3.4rem); }
.story__beat:nth-of-type(even) .shot { grid-column: 1; justify-self: end;   margin-right: clamp(1rem, 4.5vw, 3.4rem); }
/* gentle reveal of the whole row */
.story__beat.reveal { transform: translateY(26px); }
/* node on the central spine, centred in the row */
.story__beat::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--sage); z-index: 3;
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.story__beat.is-in::after { border-color: var(--accent); background: var(--accent); }
.story__beat.is-now::after { animation: nowPulse 2.6s ease-in-out infinite; }
@keyframes nowPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(47, 95, 214, 0.16); }
  50%      { box-shadow: 0 0 0 10px rgba(47, 95, 214, 0.04); }
}
.story__year { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--accent); margin-bottom: 0.5rem; font-variant-numeric: tabular-nums; }
.story__card {
  position: relative; z-index: 1; text-align: left; max-width: 33ch;
  background: #fff; border: 1px solid var(--cream-2); border-radius: 16px;
  padding: 1.15rem 1.35rem; box-shadow: 0 12px 30px rgba(38, 36, 33, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.story__beat:hover .story__card { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15, 30, 51, 0.12); }
.story__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -0.01em; margin-bottom: 0.5rem; color: var(--ink); }
.story__card p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

.journey { position: relative; }
.journey .section__head, .journey .story { position: relative; z-index: 1; }
/* Polaroid snapshots inside the timeline — one per milestone, mirrored across the
   spine and anchored to its node. Parallax + 3D pointer-tilt wired in main.js. */
.shot {
  grid-row: 1 / span 2; align-self: center; margin: 0; position: relative; z-index: 1;
  width: clamp(196px, 22vw, 250px); pointer-events: auto;
  perspective: 1000px; will-change: transform;
}
.shot--portrait { width: clamp(158px, 17vw, 196px); }
.shot__frame {
  background: #fff; padding: 9px 9px 0; border-radius: 12px;
  border: 1px solid rgba(15, 30, 51, 0.05);
  box-shadow: 0 18px 40px -14px rgba(15, 30, 51, 0.30), 0 3px 9px rgba(15, 30, 51, 0.08);
  transform: rotate(var(--rot, 0deg)); transform-origin: center center; transform-style: preserve-3d;
  transition: box-shadow 0.45s var(--ease); will-change: transform;
}
.shot__frame img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 6px; background: var(--cream-2);
}
.shot--portrait .shot__frame img { aspect-ratio: 3 / 4; }
.shot--logo .shot__frame img { object-fit: contain; padding: 15% 16%; background: #fff; }
.shot__cap {
  display: block; text-align: center; font-family: var(--font-display);
  font-weight: 500; font-size: 0.72rem; letter-spacing: 0.01em;
  color: var(--ink-soft); padding: 8px 4px 9px;
}
.shot:hover { z-index: 6; }
.shot:hover .shot__frame { box-shadow: 0 34px 70px -18px rgba(15, 30, 51, 0.40), 0 5px 14px rgba(15, 30, 51, 0.12); }

/* ---------- Scroll progress + word reveal ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 90; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), #6c8ce8);
}
.word { display: inline-block; }
.word__in { display: inline-block; will-change: transform, opacity; }

/* ---------- Feedback (auto-scrolling marquee, ongoing motion) ---------- */
.feedback { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.feedback .section__head { margin-bottom: 0; }
.marquee {
  /* padding-block must clear the card hover shadow (0 20px 44px ≈ 60px) so
     overflow:hidden clips past it, not through it — otherwise the shadow gets
     sliced off along a hard line at the section's bottom edge. */
  width: 100%; overflow: hidden; padding-block: clamp(2.5rem, 4vw, 3.75rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex; width: max-content; gap: clamp(1.25rem, 2.5vw, 2rem);
  padding-inline: clamp(0.75rem, 2.5vw, 2rem);
  animation: marqueeScroll 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.quote {
  flex: 0 0 auto; width: min(370px, 80vw);
  background: #fff; border: 1px solid var(--cream-2); border-radius: 18px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  box-shadow: 0 10px 30px rgba(38, 36, 33, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15, 30, 51, 0.12); }
.quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.38rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 0.5; color: var(--accent); margin-bottom: 0.35rem; }
.quote figcaption { display: flex; flex-direction: column; gap: 0.15rem; }
.quote__name { font-weight: 600; color: var(--ink); }
.quote__role { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.section--contact { position: relative; text-align: center; }
.contact__decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.section--contact > :not(.contact__decor) { position: relative; z-index: 1; }
.c-cloud { position: absolute; width: clamp(78px, 11vw, 132px); opacity: 0.8; filter: drop-shadow(0 12px 18px rgba(15, 30, 51, 0.10)); }
.c-cloud--a { top: 10%; left: 5%; animation: iaDrift 22s ease-in-out infinite; }
.c-cloud--b { bottom: 16%; right: 6%; animation: iaDriftR 27s ease-in-out infinite; }
.c-dot { position: absolute; border-radius: 50%; }
.c-dot--a { width: 18px; height: 18px; background: var(--accent); top: 28%; right: 15%; animation: iaFloat 6s ease-in-out infinite; }
.c-dot--b { width: 12px; height: 12px; background: var(--terracotta); bottom: 30%; left: 13%; animation: iaFloat 5s ease-in-out infinite 0.6s; }
/* clay 3D spheres near the footer (radial gradient = spherical shading) */
.c-sphere { position: absolute; border-radius: 50%; box-shadow: 0 16px 26px rgba(15, 30, 51, 0.16); }
.c-sphere--a { width: 46px; height: 46px; background: radial-gradient(circle at 32% 28%, #c6d9ef, #7f9fd0 66%, #6b8ec7); bottom: 8%; left: 11%; animation: iaFloat 6.5s ease-in-out infinite; }
.c-sphere--b { width: 30px; height: 30px; background: radial-gradient(circle at 32% 28%, #eed3a0, #d9a94e 72%); bottom: 22%; right: 13%; animation: iaFloat 5.6s ease-in-out infinite 0.5s; }
.c-sphere--c { width: 22px; height: 22px; background: radial-gradient(circle at 32% 28%, #d8bfb2, #b5734f 74%); bottom: 6%; right: 30%; animation: iaFloat 6s ease-in-out infinite 1s; }
.contact__title { font-family: var(--font-display); font-weight: var(--display-weight-max); font-size: clamp(2.8rem, 10vw, 7.5rem); line-height: 0.95; letter-spacing: -0.03em; margin: 0.9rem 0 1.6rem; }
.contact__note { max-width: 54ch; margin: 0 auto 2.4rem; font-size: 1.12rem; line-height: 1.7; color: var(--ink-soft); text-wrap: balance; }
.contact__off { margin-top: clamp(3rem, 6vw, 4.5rem); font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); opacity: 0.85; }
.contact__mail { display: inline-block; margin-bottom: 1.9rem; font-size: clamp(1.15rem, 3vw, 1.7rem); border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: color 0.3s, border-color 0.3s; }
.contact__mail:hover { color: var(--accent); border-color: var(--accent); }
.contact__btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: #fff;
  background: var(--accent); padding: 0.95rem 1.9rem; border-radius: 999px; line-height: 1;
  box-shadow: 0 10px 24px rgba(47, 95, 214, 0.36);
  transition: box-shadow 0.3s var(--ease);
}
.contact__btn span { transition: transform 0.3s var(--ease); }
.contact__btn:hover { box-shadow: 0 16px 34px rgba(47, 95, 214, 0.46); }
.contact__btn:hover span { transform: translateX(4px); }
.contact__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.contact__btn--ghost { background: transparent; color: var(--accent); border: 1.5px solid rgba(47, 95, 214, 0.4); box-shadow: none; }
.contact__btn--ghost:hover { background: rgba(47, 95, 214, 0.08); border-color: var(--accent); box-shadow: none; }
.contact__links { display: flex; justify-content: center; gap: 2rem; margin-top: 2.4rem; font-size: 0.98rem; color: var(--ink-soft); }
.contact__links a { position: relative; transition: color 0.3s; }
.contact__links a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--accent); transition: width 0.3s var(--ease); }
.contact__links a:hover { color: var(--accent); }
.contact__links a:hover::after { width: 100%; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2rem, 4vh, 3rem) var(--gutter) clamp(2.5rem, 5vh, 3.5rem);
  display: flex; justify-content: space-between;
  font-size: 0.9rem; color: var(--ink-soft); border-top: 1px solid var(--cream-2);
}

/* ---------- Reveal (JS adds .is-in) ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  /* keep card + snapshot from crowding the spine on mid screens */
  .story__beat { column-gap: clamp(1.5rem, 4vw, 3rem); }
  .story__card { max-width: 30ch; }
  .shot { width: clamp(172px, 20vw, 216px); }
  .shot--portrait { width: clamp(144px, 16vw, 176px); }
}
@media (max-width: 900px) {
  .intro__top { grid-template-columns: 1fr; gap: clamp(1.5rem, 6vw, 3rem); }
  .intro__lead { max-width: none; }
  .intro__art { max-width: 380px; }
  .project { grid-template-columns: 1fr; gap: 1.6rem; }
  .project:nth-child(even) .project__visual { order: 0; }
  .project:nth-child(even) .project__body { justify-self: start; }
  .project__body { max-width: none; }
}
@media (max-width: 720px) {
  .proof { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .nav__links { display: none; }              /* keep brand + CTA on small screens */
  .nav { padding: 1rem 1.25rem; }
  .footer { flex-direction: column; gap: 0.4rem; }
  /* Timeline collapses to a single left-aligned rail; snapshot stacks under its card */
  .story { max-width: none; }
  .story__rail { left: 7px; margin-left: 0; }
  .story__beat { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 1.35rem; padding-left: 2rem; padding-bottom: clamp(5.5rem, 16vw, 8rem); align-items: start; }
  .story__beat:nth-of-type(odd) .story__year,
  .story__beat:nth-of-type(even) .story__year { grid-column: 1; grid-row: 1; justify-self: start; text-align: left; margin-bottom: 0; }
  .story__beat:nth-of-type(odd) .story__card,
  .story__beat:nth-of-type(even) .story__card { grid-column: 1; grid-row: 2; justify-self: start; text-align: left; max-width: none; }
  .story__beat:nth-of-type(odd) .shot,
  .story__beat:nth-of-type(even) .shot { grid-column: 1; grid-row: 3; align-self: start; justify-self: start; margin: 0; width: clamp(184px, 54vw, 240px); }
  .story__beat:nth-of-type(odd) .shot--portrait,
  .story__beat:nth-of-type(even) .shot--portrait { width: clamp(150px, 44vw, 190px); }
  .story__beat.reveal { transform: translateY(18px); }
  .story__beat::after { left: 0.5px; top: 0.5rem; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__hint-line { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .artscene [class^="ia-"] { animation: none !important; }
  .hs-item > * { animation: none !important; }
  .section__eyebrow::before { animation: none; transform: none; }
  /* Marquee becomes a static, centered, wrapped set (no duplicates) */
  .marquee { width: auto; left: auto; transform: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__track > [aria-hidden="true"] { display: none; }
  .c-cloud, .c-dot, .c-sphere { animation: none !important; }
  .section__eyebrow::before { animation: none; }
  .story__fill { transform: scaleY(1); }
  .story__beat.reveal { transform: none; }
  .story__beat.is-now::after { animation: none; }
}

/* ============================================================
   Page transition overlay (home <-> case-study pages).
   A brand-coloured curtain that wipes across on navigation.
   JS drives the motion; reduced-motion hides it entirely.
   ============================================================ */
.pt {
  position: fixed; inset: 0; z-index: 4000;
  background: var(--pt-bg, #201d6b);
  transform: translateY(100%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; will-change: transform;
}
.pt.is-busy { pointer-events: auto; }
.pt__word {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.4rem); letter-spacing: -0.03em; color: #fff;
  opacity: 0; transform: translateY(10px);
}
.pt__word span { opacity: 0.62; }
@media (prefers-reduced-motion: reduce) { .pt { display: none; } }
