/* =========================================================
   VELTRION STUDIO — Cinematic landing page
   Design system: ink + cream + signal-red accent
   Fonts: Big Shoulders Display · Playfair Display · Instrument Serif · JetBrains Mono
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0B0B0E;
  --ink-2:      #131318;
  --ink-3:      #1B1B22;
  --line:       #2A2A33;
  --cream:      #F2EBD8;
  --cream-dim:  #8E8579;
  --cream-mute: #635D52;
  --accent:     #E94B2B;
  --accent-2:   #FCD56C;
  --grain-op:   0.07;

  --font-display:  "Big Shoulders Display", "Arial Black", system-ui, sans-serif;
  --font-editorial: "Playfair Display", "Times New Roman", serif;
  --font-body:     "Instrument Serif", "Times New Roman", serif;
  --font-mono:     "JetBrains Mono", ui-monospace, "Menlo", monospace;

  --letterbox-h: clamp(28px, 4vw, 56px);
  --gutter: clamp(20px, 4vw, 64px);
  --max-w: 1440px;

  /* Type scale */
  --t-hero: clamp(5rem, 18vw, 18rem);
  --t-h2:   clamp(3rem, 9vw, 8.5rem);
  --t-h3:   clamp(1.6rem, 2.6vw, 2.4rem);
  --t-body: clamp(1.05rem, 1.2vw, 1.25rem);
  --t-small: 0.78rem;

  --ease-cine: cubic-bezier(0.7, 0, 0.18, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html { background: var(--ink); color: var(--cream); }   /* base black always */
body { background: transparent; }                        /* let the ambient layer show */
html { scroll-behavior: auto; } /* JS smooth scroll takes over */

/* Living atmospheric background canvas — behind all content, above base black */
.ambient {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .ambient { display: none; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }

body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.45;
  background: transparent;
  color: var(--cream);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  cursor: none;
}
@media (max-width: 900px), (pointer: coarse) {
  body { cursor: auto; }
}

::selection { background: var(--accent); color: var(--cream); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  mix-blend-mode: difference;
}
.cursor__dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cream);
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-cine), background 0.2s;
}
.cursor__ring {
  position: absolute; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--cream);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-cine), border-color 0.2s, width 0.3s, height 0.3s;
}
.cursor.is-hover .cursor__ring {
  width: 72px; height: 72px;
  border-color: var(--accent);
}
.cursor.is-hover .cursor__dot {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(2);
}
@media (max-width: 900px), (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 200;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' /></svg>");
  background-size: 280px 280px;
  mix-blend-mode: overlay;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 4%); }
  40%  { transform: translate(5%, -2%); }
  60%  { transform: translate(-2%, -5%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Vignette ---------- */
.vignette {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 150;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.55) 100%);
}

/* ---------- Letterbox bars ---------- */
.letterbox {
  position: fixed; left: 0; right: 0;
  height: var(--letterbox-h);
  background: var(--ink);
  z-index: 250;
  pointer-events: none;
  border-color: rgba(255,255,255,0.04);
}
.letterbox--top    { top: 0;    border-bottom: 1px solid var(--line); }
.letterbox--bottom { bottom: 0; border-top: 1px solid var(--line); }

/* ---------- Timeline indicator ---------- */
.timeline {
  position: fixed;
  right: clamp(16px, 2vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  mix-blend-mode: difference;
}
.timeline__rail {
  width: 1px; height: 200px;
  background: rgba(255,255,255,0.12);
  position: relative; overflow: hidden;
}
.timeline__fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 0%;
  background: var(--accent);
  transition: height 0.18s linear;
}
.timeline__meta { display: flex; gap: 4px; align-items: center; }
.timeline__scene { color: var(--cream); font-weight: 500; }
.timeline__sep   { opacity: 0.4; }
@media (max-width: 900px) { .timeline { display: none; } }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: var(--letterbox-h);
  left: 0; right: 0;
  z-index: 260;
  padding: 14px var(--gutter) 20px;
  /* subtle dark fade so the nav stays readable over any section (always visible) */
  background: linear-gradient(to bottom, rgba(11, 11, 14, 0.92) 35%, rgba(11, 11, 14, 0));
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar__brand { display: flex; gap: 10px; align-items: baseline; color: var(--cream); }
.topbar__brand-mark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.topbar__brand-name { font-weight: 500; }
.topbar__nav { display: flex; gap: 22px; }
.topbar__nav a { transition: color 0.2s; position: relative; }
.topbar__nav a:hover { color: var(--cream); }
.topbar__cta {
  color: var(--cream);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.topbar__cta:hover { background: var(--accent); color: var(--cream); border-color: var(--accent); }
.topbar__status { display: flex; gap: 8px; align-items: center; }
.topbar__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(233, 75, 43, 0.7);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(233, 75, 43, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(233, 75, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 75, 43, 0); }
}
/* Language toggle (EN / HU) */
.topbar__lang { display: flex; gap: 6px; align-items: center; }
.topbar__lang-btn {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cream-dim);
  padding: 5px 7px; border-radius: 5px; min-height: 30px;
  transition: color 0.2s, background 0.2s; cursor: pointer;
}
.topbar__lang-btn:hover { color: var(--cream); }
.topbar__lang-btn[aria-pressed="true"] { color: var(--accent-2); }   /* gold = active */
.topbar__lang-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.topbar__lang-sep { color: var(--cream-mute); }

@media (max-width: 900px) {
  .topbar { font-size: 10px; gap: 12px; }
  .topbar__nav { display: none; }
  .topbar__status { display: none; }
}

/* ---------- Shared section frame ---------- */
section {
  position: relative;
  padding: clamp(120px, 14vw, 220px) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  scroll-margin-top: var(--letterbox-h);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--t-h2);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: clamp(60px, 8vw, 120px);
}
.section-title em {
  font-family: var(--font-editorial);
  font-weight: 900;
  font-style: italic;
  font-feature-settings: "ss01";
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--accent);
}

/* Scene marker, top of each section */
.scene-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 42px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.scene-marker__sep { opacity: 0.4; }

/* Kicker (eyebrow) */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.kicker--dim { color: var(--cream-mute); }

/* ---------- HERO — pinned cinematic scene ---------- */
.hero-pin {
  position: relative;
  height: 200vh; /* total scroll length of the pinned scene */
  margin: 0;
  padding: 0;
  max-width: none;
}
.hero-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  /* solid black up top, fading to transparent at the bottom so the crimson
     bleed shows through — the molten flow looks like it pours OUT of the hero */
  background: linear-gradient(to bottom,
    var(--ink) 0%, var(--ink) 48%,
    rgba(11, 11, 14, 0.55) 78%, rgba(11, 11, 14, 0) 100%);
  display: block;
}

/* Optional video backdrop (only visible if assets/hero.mp4 exists) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;                 /* subtle so text stays readable */
  filter: saturate(1.05) contrast(1.05);
}
.hero-video::after { content: ""; }

/* Canvas ambient background */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: screen;
}

/* Liquid-metal centerpiece canvas — behind the headline, the hero anchor visual */
#hero3d {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 3;
  pointer-events: none;       /* parallax tracks window pointer; lets clicks pass through */
}
@media (prefers-reduced-motion: reduce) { #hero3d { opacity: 0.6; } }

/* Haze gradient blobs (slow drift) */
.hero-haze {
  position: absolute; inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.hero-haze__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  will-change: transform;
}
.hero-haze__blob--a {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(233,75,43,0.55), transparent 70%);
  top: -10%; left: -10%;
  animation: hazeA 22s ease-in-out infinite alternate;
}
.hero-haze__blob--b {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(252,213,108,0.18), transparent 70%);
  bottom: -15%; right: -10%;
  animation: hazeB 28s ease-in-out infinite alternate;
}
.hero-haze__blob--c {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  top: 35%; left: 40%;
  animation: hazeC 34s ease-in-out infinite alternate;
}
@keyframes hazeA {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40vw, 30vh) scale(1.3); }
}
@keyframes hazeB {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30vw, -20vh) scale(1.2); }
}
@keyframes hazeC {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20vw, -25vh) scale(0.8); }
}

/* ===== THE BIRD — Real-time 3D golden hummingbird (Three.js canvas) ===== */
#bird3d {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  z-index: 100;          /* in front of hero content, behind letterbox/topbar/cursor */
  pointer-events: none;
  /* soft golden glow around the whole canvas reads as ambient light spill */
  filter: drop-shadow(0 0 60px rgba(233, 165, 58, 0.18));
}
@media (prefers-reduced-motion: reduce) {
  #bird3d { display: none; }
}

/* Hero content overlay */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 8;
  padding:
    calc(var(--letterbox-h) + 110px) var(--gutter)
    calc(var(--letterbox-h) + 80px);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; flex-direction: column;
  pointer-events: none;
}
.hero-content > * { pointer-events: auto; }
.hero__meta {
  display: flex; gap: 18px; align-items: center;
  will-change: opacity, transform;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8.5vw, 8.5rem);   /* toned down — less bold/overpowering */
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--cream);
  margin: clamp(24px, 3vw, 48px) 0 clamp(22px, 3vw, 44px);
  will-change: opacity, transform;
}
.hero__line { display: block; overflow: hidden; }
.hero__line--alt { text-align: right; }
.hero__word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease-cine);
  will-change: transform;
}
.hero__word--italic {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
}
body:not(.is-loading) .hero__word { transform: translateY(0); }
body:not(.is-loading) .hero__line--alt .hero__word { transition-delay: 0.18s; }

.hero__sub {
  max-width: 580px;
  display: grid; gap: 14px;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  animation: heroRise 0.9s var(--ease-cine) 0.45s forwards;
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}
.hero__sub-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.hero__sub-body {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.4;
  color: var(--cream);
}

.hero__foot {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 56px);
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  animation: heroRise 0.9s var(--ease-cine) 0.7s forwards;
}

/* Scroll indicator (right side, in hero) */
.hero__scroll {
  position: absolute;
  right: clamp(16px, 2vw, 36px);
  bottom: clamp(80px, 12vw, 160px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0;
  will-change: opacity;
  animation: heroFadeIn 0.8s var(--ease-cine) 1.1s forwards;
}
@keyframes heroFadeIn { to { opacity: 1; } }
.hero__scroll-bar {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--cream-dim), transparent);
  animation: scrollBar 2.4s ease-in-out infinite;
}
@keyframes scrollBar {
  0%   { transform: scaleY(0.2); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* Hero marquee — driven by JS phase (appears at end of pin) */
.marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: var(--letterbox-h);
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 14, 0.25);   /* near-transparent so the crimson bleeds behind it */
  backdrop-filter: blur(2px);
  overflow: hidden;
  z-index: 7;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  animation: heroRise 0.9s var(--ease-cine) 0.85s forwards;
}
.marquee__track {
  display: flex; gap: 32px; align-items: center;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.marquee__track > span:nth-child(odd) {
  font-family: var(--font-editorial);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--accent);
}
.marquee__dot {
  color: var(--cream-dim) !important;
  font-family: var(--font-body) !important;
  font-size: 0.6em !important;
  font-style: normal !important;
  font-weight: normal !important;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Hero fits on shorter screens (laptops) so the buttons clear the marquee ---- */
@media (max-height: 840px) {
  .hero-content { padding-top: calc(var(--letterbox-h) + 52px); }
  .hero__meta { display: none; }
  .hero__title { font-size: clamp(2.1rem, 5.8vw, 4.6rem); margin: 8px 0 14px; }
  .hero__sub { gap: 6px; margin-top: 6px; }
  .hero__sub-body { font-size: clamp(0.92rem, 1.1vw, 1.1rem); }
  .hero__foot { margin-top: 16px; }
}
@media (max-height: 680px) {
  .hero__title { font-size: clamp(1.8rem, 5vw, 3.4rem); }
  .hero__sub-eyebrow { display: none; }
}

/* ---------- Buttons / CTAs ---------- *
   UX baseline (per ui-ux-pro-max): 48px+ touch target, visible focus ring,
   pressed/active feedback, hover feedback, no tap delay, motion-safe. */
.btn {
  display: inline-flex; gap: 10px; align-items: center; justify-content: center;
  min-height: 48px;                 /* touch target ≥44px */
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  touch-action: manipulation;       /* removes the 300ms tap delay */
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s var(--ease-cine), color 0.25s, border-color 0.25s,
              transform 0.2s var(--ease-cine), box-shadow 0.3s var(--ease-cine);
}
.btn > * { position: relative; z-index: 2; }   /* keep label/arrow above the shimmer */

/* Gold shimmer sweep on hover/focus — echoes the golden hummingbird */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, transparent 32%, rgba(252,213,108,0.55) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease-cine);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(130%); }

.btn svg { transition: transform 0.3s var(--ease-cine); }
.btn:hover svg { transform: translateX(4px); }

.btn--accent {
  background: var(--accent); color: var(--cream);
  box-shadow: 0 8px 26px -10px rgba(233, 75, 43, 0.65);
}
.btn--accent:hover {
  background: var(--cream); color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -10px rgba(252, 213, 108, 0.5);
}
.btn--ghost { border-color: var(--line); color: var(--cream); }
.btn--ghost:hover {
  border-color: var(--cream);
  background: rgba(242, 235, 216, 0.07);
  transform: translateY(-2px);
}
.btn--large { min-height: 56px; padding: 19px 36px; font-size: 14px; }

/* Pressed feedback — placed last so it wins over :hover */
.btn:active { transform: scale(0.96); transition-duration: 0.08s; }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .btn::before { display: none; }
  .btn, .btn:hover, .btn:active { transform: none; }
}

/* ---------- MANIFESTO ---------- */
.manifesto { background: transparent; }
.manifesto__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-h2);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: clamp(60px, 8vw, 120px);
  max-width: 1200px;
}
.manifesto__title > span { display: block; overflow: hidden; }
.manifesto__title--italic {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 900;
  text-transform: none;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.manifesto__title em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 900;
  text-transform: none;
  color: var(--accent);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.manifesto__lead {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.35;
  color: var(--cream);
  max-width: 36ch;
}
.manifesto__list {
  display: grid; gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.manifesto__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--cream);
}
.manifesto__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding-top: 6px;
}
@media (max-width: 800px) {
  .manifesto__grid { grid-template-columns: 1fr; }
}

/* ---------- WORK ---------- */
.work { background: transparent; }
.work__list {
  display: grid; gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.work-card { background: var(--ink); transition: background 0.3s var(--ease-cine); }
.work-card:hover { background: var(--ink-2); }
.work-card__inner {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr auto;
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
  padding: clamp(40px, 5vw, 70px) clamp(8px, 1vw, 20px);
  position: relative;
}
.work-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-top: 8px;
}
.work-card__num strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--cream);
  margin-top: 4px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.work-card__main h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
  transition: color 0.3s, transform 0.3s var(--ease-cine);
}
.work-card:hover .work-card__main h3 {
  color: var(--accent);
  transform: translateX(8px);
}
.work-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 16px;
}
.work-card__brief {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.5;
  color: var(--cream-dim);
  max-width: 50ch;
}
.work-card__meta {
  display: grid; gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-top: 8px;
}
.work-card__meta em {
  display: block;
  color: var(--cream-mute);
  font-style: normal;
  font-size: 10px;
  margin-bottom: 4px;
}
.work-card__meta span { color: var(--cream); }
.work-card__live {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 6px;
  box-shadow: 0 0 0 0 rgba(233,75,43,0.7);
  animation: pulse 1.8s ease-out infinite;
  vertical-align: middle;
}
.work-card__arrow {
  align-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 8px;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-cine);
}
.work-card:hover .work-card__arrow { transform: translateX(6px); }
.work-card__arrow--cta {
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 10px 18px;
  background: transparent;
  display: inline-block;
}
.work-card__arrow--cta:hover { background: var(--accent); color: var(--cream); }
.work-card--placeholder .work-card__main h3 { color: var(--accent); }

@media (max-width: 900px) {
  .work-card__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .work-card__meta { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ---------- SERVICES ---------- */
.services { background: transparent; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--ink);
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 24px;
  transition: background 0.3s var(--ease-cine);
}
.service:hover { background: var(--ink-2); }
.service--feature {
  background: var(--ink-2);
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}
.service--feature:hover { background: var(--ink-3); }
.service__head { display: flex; flex-direction: column; gap: 14px; }
.service__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.service__head h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--cream);
}
.service--feature .service__head h3 {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 900;
  color: var(--accent);
  text-transform: none;
}
.service__body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--cream-dim);
}
.service__includes {
  display: grid; gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.service__includes li {
  padding-left: 22px;
  position: relative;
}
.service__includes li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
}
.service__price {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.service__price-from {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.service__price-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--cream);
  letter-spacing: -0.02em;
}
.service__per {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--cream-dim);
  margin-left: 4px;
  letter-spacing: 0.1em;
}
@media (max-width: 1000px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ---------- PROCESS ---------- */
.process { background: transparent; }
.process__list { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process__step {
  background: var(--ink);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(30px, 4vw, 80px);
  padding: clamp(36px, 5vw, 70px) clamp(8px, 1vw, 20px);
  align-items: start;
  transition: background 0.3s var(--ease-cine);
}
.process__step:hover { background: var(--ink-2); }
.process__num span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.process__body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}
.process__body p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.5;
  color: var(--cream-dim);
  max-width: 56ch;
  margin-bottom: 18px;
}
.process__time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
}
@media (max-width: 800px) {
  .process__step { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- PROOF ---------- */
.proof { background: transparent; }
.quote {
  max-width: 1100px;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.quote blockquote {
  position: relative;
  font-family: var(--font-editorial);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  padding-left: clamp(40px, 6vw, 80px);
}
.quote__mark {
  position: absolute;
  left: 0; top: -0.25em;
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 900;
  font-size: 1.4em;
  color: var(--accent);
  line-height: 1;
}
.quote em { color: var(--accent); }
.quote figcaption {
  margin-top: 36px;
  padding-left: clamp(40px, 6vw, 80px);
  display: grid; gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.quote__name { color: var(--cream); }

.proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--ink);
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 18px;
  transition: background 0.3s;
}
.stat:hover { background: var(--ink-2); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cream);
}
.stat__small {
  font-size: 0.45em;
  color: var(--cream-dim);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
@media (max-width: 800px) {
  .proof__stats { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */
.cta { background: transparent; text-align: left; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 11vw, 10rem);   /* smaller so italic descenders aren't cut */
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: clamp(40px, 5vw, 80px);
}
/* room for descenders (the 'y' in "yours.") inside the reveal clip */
.cta__title > span { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.cta__title--italic {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 900;
  text-transform: none;
  color: var(--accent);
  text-align: right;
  letter-spacing: -0.03em;
}
.cta__sub {
  max-width: 560px;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: clamp(36px, 5vw, 60px);
}
.cta__fineprint {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  max-width: 50ch;
  line-height: 1.7;
}

/* ---------- FOOTER ---------- */
.foot {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) var(--gutter) calc(var(--letterbox-h) + 40px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.foot__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.foot__brand-mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}
.foot__brand-tag {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 36ch;
}
.foot__nav {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.foot__nav a { transition: color 0.2s; }
.foot__nav a:hover { color: var(--accent); }
.foot__contact {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.foot__contact a { color: var(--cream); transition: color 0.2s; }
.foot__contact a:hover { color: var(--accent); }
.foot__bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-mute);
}
@media (max-width: 900px) {
  .foot__top { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Reveal-on-scroll utility ---------- */
/* ---------- Scroll reveal (whole-page entrance animations) ---------- */
.r-up {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease-cine), transform 0.85s var(--ease-cine);
  will-change: opacity, transform;
}
.r-up.r-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .r-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}

[data-reveal-chars] {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;     /* room for descenders within the reveal clip */
  margin-bottom: -0.16em;
}
[data-reveal-chars] .char {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.9s var(--ease-cine);
}
[data-reveal-chars].in-view .char {
  transform: translateY(0);
}

/* ---------- Accessibility / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__word { transform: none; }
  .hero__sub, .hero__foot { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .grain { display: none; }
  body { cursor: auto; }
  .cursor { display: none; }
}

/* Focus states */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
