/* ════════════════════════════════════════════════════════════
   VENDO. — UI/UX Design Agency
   Brand: Vendo Green #8EFEBB · Vendo Black #051412 · Sage #09221F
   Type:  Manrope (primary) · Instrument Sans (secondary)
   ════════════════════════════════════════════════════════════ */

:root {
  --green: #8EFEBB;
  --black: #051412;
  --sage: #09221F;
  --charcoal: #2C2C2C;
  --gray: #ABABAB;
  --white: #F4FBF7;

  --font-display: "Manrope", sans-serif;
  --font-body: "Instrument Sans", sans-serif;

  --pad: clamp(20px, 5vw, 80px);
  --radius: clamp(14px, 2vw, 24px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body[data-loading] { overflow: hidden; }

::selection { background: var(--green); color: var(--black); }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }

.dot { color: var(--green); font-style: normal; }

/* ── Film grain ─────────────────────────────── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 12% { transform: translate(-4%,3%); }
  25% { transform: translate(3%,-5%); } 37% { transform: translate(-5%,-2%); }
  50% { transform: translate(5%,4%); } 62% { transform: translate(-3%,5%); }
  75% { transform: translate(4%,-3%); } 87% { transform: translate(-4%,-4%); }
}

/* ── Custom cursor ──────────────────────────── */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; top: 0; left: 0;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--green);
    pointer-events: none; z-index: 300;
    transform: translate(-50%, -50%);
    transition: width .35s var(--ease), height .35s var(--ease), background-color .25s;
    mix-blend-mode: difference;
  }
  .cursor.is-label {
    width: 76px; height: 76px;
    mix-blend-mode: normal;
  }
  .cursor-text {
    font-family: var(--font-display); font-weight: 800;
    font-size: 13px; color: var(--black);
    opacity: 0; transform: scale(0.5);
    transition: opacity .25s, transform .35s var(--ease);
    white-space: nowrap;
  }
  .cursor.is-label .cursor-text { opacity: 1; transform: scale(1); }
}

/* ── Preloader ──────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 400;
  background: var(--black);
  display: grid; place-items: center;
}
.pre-center { text-align: center; }
.pre-logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(56px, 14vw, 140px);
  letter-spacing: -0.04em; line-height: 1;
  overflow: hidden;
}
.pre-logo span { display: inline-block; transform: translateY(110%); }
.pre-meta {
  margin-top: 18px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px;
  font-size: 13px; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.14em;
  opacity: 0;
}
.pre-count { font-family: var(--font-display); font-weight: 800; color: var(--green); font-size: 16px; min-width: 3ch; text-align: right; }
.pre-veil {
  position: absolute; inset: 0;
  background: var(--sage);
  transform: scaleY(0); transform-origin: top;
  pointer-events: none;
}

/* ── Buttons ────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--green);
  border-radius: 100px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; color: var(--green);
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s;
  -webkit-tap-highlight-color: transparent;
}
.btn-fill {
  position: absolute; inset: -1px; z-index: -1;
  background: var(--green);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--black); }
.btn:hover .btn-fill, .btn:focus-visible .btn-fill { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: rotate(45deg); }
.btn-label { position: relative; }

.btn-big { padding: 20px 34px; font-size: clamp(15px, 2.6vw, 22px); }
.btn-ghost { border-color: var(--charcoal); color: var(--white); }
.btn-ghost:hover { border-color: var(--green); }

/* ── Nav ────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  transition: transform .5s var(--ease), background-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(5, 20, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 26px; letter-spacing: -0.03em;
}
.nav-links { display: none; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--gray); transition: color .3s; }
.nav-links a:hover { color: var(--white); }
.btn-nav { display: none; padding: 11px 22px; font-size: 14px; }

/* underline-on-hover links */
[data-line] { position: relative; }
[data-line]::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
[data-line]:hover::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: grid; gap: 7px; padding: 17px 10px; /* ≥44px touch target */
  z-index: 120;
}
.burger span {
  width: 28px; height: 2px; background: var(--white);
  transition: transform .45s var(--ease), background-color .3s;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ── Fullscreen menu ────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--sage);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu.is-open { clip-path: inset(0 0 0% 0); visibility: visible; transition: clip-path .7s var(--ease); }
/* While the menu is open (incl. during its clip-path transition), clicks in
   the still-clipped region would fall through to the page behind it. */
body.menu-open main, body.menu-open .footer, body.menu-open .nav > :not(.burger) { pointer-events: none; }
.menu-links { display: flex; flex-direction: column; gap: 6px; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 9vw, 80px);
  letter-spacing: -0.03em; line-height: 1.15;
  overflow: hidden;
}
.menu-links a em { font-style: normal; font-size: 0.32em; color: var(--green); font-weight: 700; }
.menu-links a span { display: inline-block; transform: translateY(110%); transition: transform .7s var(--ease); }
.menu.is-open .menu-links a span { transform: translateY(0); }
.menu.is-open .menu-links a:nth-child(2) span { transition-delay: .05s; }
.menu.is-open .menu-links a:nth-child(3) span { transition-delay: .1s; }
.menu.is-open .menu-links a:nth-child(4) span { transition-delay: .15s; }
.menu.is-open .menu-links a:nth-child(5) span { transition-delay: .2s; }
.menu-links a:active span, .menu-links a:hover span { color: var(--green); }
.menu-foot {
  position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 14px; color: var(--gray);
}

/* ── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 24px) var(--pad) 90px;
  overflow: hidden;
}
#webgl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-inner { position: relative; z-index: 1; width: 100%; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gray);
  border: 1px solid rgba(142, 254, 187, 0.25);
  border-radius: 100px;
  padding: 9px 18px;
  margin-bottom: clamp(24px, 4vh, 48px);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(142, 254, 187, 0.5); }
  50% { box-shadow: 0 0 0 9px rgba(142, 254, 187, 0); }
}

.hero-title {
  font-size: clamp(52px, 12.5vw, 168px);
  text-wrap: balance;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .word { display: inline-block; transform: translateY(115%); }
.hero-title .green { color: var(--green); }
.hero-title .ital { font-family: var(--font-body); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

.hero-foot {
  margin-top: clamp(28px, 5vh, 56px);
  display: flex; flex-direction: column; gap: 28px;
  align-items: flex-start;
}
.hero-sub { max-width: 440px; color: var(--gray); font-size: clamp(16px, 2vw, 19px); }
.hero-ctas { display: flex; align-items: center; gap: clamp(18px, 3vw, 30px); flex-wrap: wrap; }
.hero-alt { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--gray); transition: color .3s; }
.hero-alt:hover { color: var(--green); }

.hero-scroll {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gray);
  pointer-events: none;
}
/* the centred scroll cue would crowd the stacked CTA on phones — hide it there */
@media (max-width: 700px) { .hero-scroll { display: none; } }
.scroll-track { width: 1px; height: 56px; background: var(--charcoal); overflow: hidden; }
.scroll-thumb { display: block; width: 100%; height: 40%; background: var(--green); animation: scrollHint 1.8s var(--ease) infinite; }
@keyframes scrollHint { 0% { transform: translateY(-110%); } 60%,100% { transform: translateY(260%); } }

/* ── Marquee ────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--sage);
  border-bottom: 1px solid var(--sage);
  padding: clamp(16px, 3vw, 28px) 0;
  overflow: hidden;
  background: rgba(9, 34, 31, 0.35);
}
.marquee-track { display: flex; white-space: nowrap; will-change: transform; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 5vw, 56px);
  letter-spacing: -0.02em;
  padding-right: 0.4em;
}
.marquee-track i { font-style: normal; color: var(--green); font-size: 0.6em; vertical-align: middle; }

/* ── Sections ───────────────────────────────── */
section { padding: clamp(80px, 13vh, 160px) var(--pad); }
.section-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: clamp(36px, 6vh, 72px);
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em;
}
.section-num {
  font-family: var(--font-display); font-weight: 800;
  color: var(--green);
}
.section-tag { color: var(--gray); }
.section-hint { margin-left: auto; color: var(--charcoal); }

/* ── Manifesto ──────────────────────────────── */
.manifesto-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
}

/* rotating V. badge */
.vbadge {
  position: relative; flex: 0 0 auto;
  width: clamp(170px, 20vw, 280px); aspect-ratio: 1;
  display: none;
  perspective: 700px;
}
.vbadge-ring { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.vbadge-mark {
  position: absolute; inset: 30%;
  animation: coin 7s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 0 10px rgba(142, 254, 187, 0.55))
    drop-shadow(0 0 30px rgba(142, 254, 187, 0.3));
}
@keyframes coin { to { transform: rotateY(360deg); } }
/* lean in: the whole badge spins faster while hovered */
.vbadge:hover .vbadge-mark { animation-duration: 1.8s; }
.vbadge:hover .vbadge-ring { animation-duration: 8s; }
@media (min-width: 900px) { .vbadge { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .vbadge-ring, .vbadge-mark { animation: none; }
}

.manifesto-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 5.2vw, 58px);
  line-height: 1.18; letter-spacing: -0.02em;
  max-width: 1100px;
  text-wrap: balance;
}
.manifesto-text .w { color: var(--charcoal); transition: color .3s; }
.manifesto-text .w.lit { color: var(--white); }
.manifesto-text .w.accent.lit { color: var(--green); }

.manifesto-meta {
  margin-top: clamp(48px, 8vh, 96px);
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
.meta-card {
  position: relative;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(9,34,31,0.65), rgba(5,20,18,0.4));
  padding: clamp(24px, 3.5vw, 40px);
  transition: border-color .4s, transform .1s linear;
  will-change: transform;
}
.meta-card:hover { border-color: rgba(142, 254, 187, 0.4); }
.meta-num, .meta-plus {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.04em; line-height: 1;
}
.meta-plus { color: var(--green); }
.meta-label { display: block; margin-top: 10px; color: var(--gray); font-size: 15px; }

/* ── Work ───────────────────────────────────── */
.work-grid {
  display: grid; gap: clamp(20px, 3vw, 36px);
  grid-template-columns: 1fr;
}
.case {
  border-radius: var(--radius);
  outline: none;
  cursor: pointer;
}
.case:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.case-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  border: 1px solid var(--sage);
  transition: border-color .4s;
}
.case:hover .case-media, .case:focus-visible .case-media { border-color: rgba(142, 254, 187, 0.45); }
.case-media.sage { background: radial-gradient(120% 120% at 20% 0%, #0d2f2a 0%, var(--sage) 55%, var(--black) 100%); }
.case-media.charcoal { background: radial-gradient(120% 120% at 80% 0%, #353535 0%, var(--charcoal) 50%, #141414 100%); }
.case-media.green { background: radial-gradient(130% 130% at 50% -10%, #b9ffd6 0%, var(--green) 55%, #4fd28d 100%); }

/* mockups inside cases */
.mock {
  width: 78%;
  background: rgba(244, 251, 247, 0.04);
  border: 1px solid rgba(244, 251, 247, 0.12);
  border-radius: 12px;
  padding: 5%;
  backdrop-filter: blur(4px);
  transform: translateY(8%);
  transition: transform .7s var(--ease);
  will-change: transform;
}
.case:hover .mock, .case:focus-visible .mock { transform: translateY(3%) scale(1.02); }
.mock-bar { display: flex; gap: 5px; margin-bottom: 8%; }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(244,251,247,0.25); }
.mock-hero { height: 52px; border-radius: 8px; background: linear-gradient(100deg, rgba(142,254,187,0.35), rgba(142,254,187,0.08)); margin-bottom: 7%; }
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(244,251,247,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.2s var(--ease) infinite;
}
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }
.mock-row { display: flex; gap: 6px; margin-bottom: 7%; }
.mock-chip { flex: 1; height: 16px; border-radius: 100px; background: rgba(244,251,247,0.1); }
.mock-chip.green { background: var(--green); }
.mock-cols { display: flex; gap: 6px; }
.mock-block { flex: 1; height: 38px; border-radius: 8px; background: rgba(244,251,247,0.08); }
.mock-block.tall { height: 52px; }
.green-soft { background: rgba(142, 254, 187, 0.3) !important; }

.mock-dash { display: flex; gap: 5%; }
.mock-side { display: flex; flex-direction: column; gap: 8px; width: 16%; }
.mock-side i { height: 8px; border-radius: 100px; background: rgba(244,251,247,0.16); }
.mock-side i:first-child { background: var(--green); }
.mock-main { flex: 1; }
.mock-kpis { display: flex; gap: 6px; margin-bottom: 8%; }
.mock-kpis span { flex: 1; height: 22px; border-radius: 6px; background: rgba(244,251,247,0.1); }
.mock-chart { height: 60px; margin-bottom: 8%; }
.mock-chart svg { width: 100%; height: 100%; }
.chart-line {
  stroke: var(--green); stroke-width: 2;
  stroke-dasharray: 320; stroke-dashoffset: 320;
}
.case:hover .chart-line, .case.in-view .chart-line { animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mock-rows { display: flex; flex-direction: column; gap: 6px; }
.mock-rows i { height: 9px; border-radius: 100px; background: rgba(244,251,247,0.1); }

.mock-mobile { display: flex; justify-content: center; gap: 6%; background: none; border: 0; backdrop-filter: none; }
.phone {
  width: 34%; aspect-ratio: 9 / 17;
  background: var(--black);
  border-radius: 14px;
  border: 1px solid rgba(5,20,18,0.5);
  padding: 8% 5%;
  box-shadow: 0 24px 48px rgba(5, 20, 18, 0.35);
  transition: transform .7s var(--ease);
}
.phone-back { transform: translateY(10%) rotate(4deg); opacity: 0.85; }
.case:hover .phone-back { transform: translateY(6%) rotate(7deg); }
.phone-notch { width: 36%; height: 4px; border-radius: 100px; background: var(--charcoal); margin: 0 auto 12%; }
.phone-hero { height: 34%; border-radius: 8px; background: linear-gradient(135deg, rgba(142,254,187,0.7), rgba(142,254,187,0.2)); margin-bottom: 10%; }
.phone-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12%; }
.phone-rows.top { margin-top: 8%; }
.phone-rows i { height: 7px; border-radius: 100px; background: rgba(244,251,247,0.18); }
.phone-cta { height: 14%; border-radius: 100px; background: var(--green); }

.mock-web .mock-nav { display: flex; gap: 6px; margin-bottom: 9%; }
.mock-web .mock-nav span { height: 9px; border-radius: 100px; background: rgba(244,251,247,0.12); flex: 1; }
.mock-web .mock-nav span:first-child { flex: 2; }
.mock-headline { margin-bottom: 9%; }
.mock-headline i { display: block; height: 16px; border-radius: 6px; background: rgba(244,251,247,0.2); margin-bottom: 6px; }
.mock-headline i.short { width: 60%; }
.mock-cards { display: flex; gap: 6px; }
.mock-cards span { flex: 1; height: 44px; border-radius: 8px; background: rgba(244,251,247,0.08); }

.case-info { padding: 18px 6px 0; }
.case-info h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; transition: color .3s; }
.case:hover .case-info h3 { color: var(--green); }
.case-info p { color: var(--gray); font-size: 15px; margin-bottom: 12px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.case-tags li {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid var(--charcoal); border-radius: 100px;
  padding: 5px 12px; color: var(--gray);
}
.work-more { margin-top: clamp(40px, 6vh, 72px); }

/* ── Services — interactive showcase ────────── */
.svc { display: grid; gap: clamp(20px, 3vw, 44px); grid-template-columns: 1fr; }

/* LEFT: index / tab list */
.svc-list {
  position: relative;
  border-top: 1px solid var(--sage);
  display: flex; flex-direction: column;
}
.svc-item {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: clamp(12px, 2.5vw, 26px);
  width: 100%; text-align: left;
  padding: clamp(18px, 2.6vw, 30px) clamp(6px, 1.5vw, 18px);
  border-bottom: 1px solid var(--sage);
  color: var(--white);
  -webkit-tap-highlight-color: transparent;
  transition: padding-left .5s var(--ease);
}
.svc-item:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.svc-idx {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; color: var(--green);
  min-width: 2.2em;
  transition: opacity .4s;
}
.svc-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.04;
  transition: color .4s, transform .5s var(--ease);
}
.svc-arrow {
  margin-left: auto; width: clamp(22px, 3vw, 30px); height: clamp(22px, 3vw, 30px);
  color: var(--green);
  opacity: 0; transform: translateX(-12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.svc-item.is-active { padding-left: clamp(14px, 2.5vw, 30px); }
.svc-item.is-active .svc-name { color: var(--green); }
.svc-item.is-active .svc-arrow { opacity: 1; transform: translateX(0); }
@media (hover: hover) {
  .svc-item:hover .svc-name { transform: translateX(6px); }
}
/* sliding highlight behind the active row (desktop) */
.svc-marker {
  position: absolute; left: 0; right: 0; top: 0;
  height: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, rgba(142,254,187,0.10), rgba(142,254,187,0));
  border-left: 2px solid var(--green);
  opacity: 0;
  transition: transform .5s var(--ease), height .5s var(--ease), opacity .4s;
}
.svc-marker.is-ready { opacity: 1; }

/* RIGHT: live preview stage */
.svc-stage {
  position: relative;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(142,254,187,0.07), transparent 60%),
    linear-gradient(160deg, rgba(9,34,31,0.6), rgba(5,20,18,0.35));
  overflow: hidden;
  min-height: 420px;
  display: grid;
}
.svc-watermark {
  position: absolute; right: clamp(8px, 2vw, 28px); bottom: clamp(-14px, -1vw, -6px);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(140px, 22vw, 280px); line-height: 1;
  color: rgba(142, 254, 187, 0.05);
  pointer-events: none; user-select: none;
  letter-spacing: -0.04em;
}
.svc-panel {
  grid-area: 1 / 1;
  display: flex; flex-direction: column;
  padding: clamp(22px, 3vw, 44px);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s;
}
.svc-panel.is-active {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .55s var(--ease) .05s, transform .65s var(--ease) .05s;
}
.svc-panel[hidden] { display: flex; } /* keep grid stacking; JS toggles .is-active */

.svc-visual {
  flex: 1; min-height: 200px;
  display: grid; place-items: center;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.svc-copy { max-width: 520px; }
.svc-desc { color: var(--white); font-size: clamp(16px, 1.9vw, 20px); line-height: 1.5; }
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin-top: 20px;
}
.svc-tags li {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--sage); border-radius: 100px;
  padding: 6px 14px; color: var(--green);
}

/* ── Stage visuals (animate only when their panel is active) ── */
.viz { position: relative; width: 100%; max-width: 420px; aspect-ratio: 16 / 11; transition: transform .35s var(--ease); }
@keyframes vizPop { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes vizDraw { to { stroke-dashoffset: 0; } }

/* 0 · Product Design — app frame + roaming cursor */
.viz-product { display: grid; place-items: center; }
.viz-app {
  width: 88%; padding: 6%;
  background: rgba(244,251,247,0.04);
  border: 1px solid rgba(244,251,247,0.12);
  border-radius: 14px; backdrop-filter: blur(4px);
}
.viz-topbar { display: flex; gap: 6px; margin-bottom: 7%; }
.viz-topbar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(244,251,247,0.25); }
.viz-hero { height: 54px; border-radius: 10px; margin-bottom: 6%;
  background: linear-gradient(100deg, rgba(142,254,187,0.4), rgba(142,254,187,0.08)); }
.viz-chips { display: flex; gap: 8px; margin-bottom: 6%; }
.viz-chips span { flex: 1; height: 16px; border-radius: 100px; background: rgba(244,251,247,0.1); }
.viz-chips span.on { background: var(--green); }
.viz-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.viz-blocks b { height: 30px; border-radius: 8px; background: rgba(244,251,247,0.08); }
.viz-blocks b.t { height: 48px; }
.viz-blocks b.on { background: rgba(142,254,187,0.3); }
.viz-cursor {
  position: absolute; width: 16px; height: 16px;
  border: 2px solid var(--green); border-radius: 50% 50% 50% 0;
  background: rgba(142,254,187,0.2);
  top: 30%; left: 60%; opacity: 0;
}
.svc-panel[data-panel="0"].is-active .viz-app > * { animation: vizPop .6s var(--ease) backwards; }
.svc-panel[data-panel="0"].is-active .viz-hero { animation-delay: .05s; }
.svc-panel[data-panel="0"].is-active .viz-chips { animation-delay: .12s; }
.svc-panel[data-panel="0"].is-active .viz-blocks { animation-delay: .19s; }
.svc-panel[data-panel="0"].is-active .viz-cursor { animation: cursorRoam 4s var(--ease) infinite .4s; }
@keyframes cursorRoam {
  0% { opacity: 0; top: 55%; left: 70%; }
  15% { opacity: 1; }
  40% { top: 24%; left: 30%; } 42% { transform: scale(.8); } 46% { transform: scale(1); }
  70% { top: 70%; left: 30%; } 72% { transform: scale(.8); } 76% { transform: scale(1); }
  90%, 100% { opacity: 0; top: 55%; left: 70%; }
}

/* 1 · UX Research — flow path + funnel */
.viz-research { display: grid; grid-template-rows: 1fr auto; gap: 6%; }
.viz-flow { width: 100%; height: 100%; }
.viz-path { stroke: var(--green); stroke-width: 2.5; stroke-dasharray: 360; stroke-dashoffset: 360; }
.viz-node circle { fill: var(--black); stroke: var(--green); stroke-width: 2.5; }
.viz-node { opacity: 0; }
.viz-funnel { display: flex; flex-direction: column; gap: 6px; }
.viz-funnel i {
  height: 12px; width: var(--w); border-radius: 100px; margin: 0 auto;
  background: linear-gradient(90deg, var(--green), rgba(142,254,187,0.25));
  transform: scaleX(0); transform-origin: center;
}
.svc-panel[data-panel="1"].is-active .viz-path { animation: vizDraw 1.4s var(--ease) forwards .2s; }
.svc-panel[data-panel="1"].is-active .viz-node { animation: nodePop .5s var(--ease) backwards; }
.svc-panel[data-panel="1"].is-active .viz-node.n1 { animation-delay: .2s; }
.svc-panel[data-panel="1"].is-active .viz-node.n2 { animation-delay: .55s; }
.svc-panel[data-panel="1"].is-active .viz-node.n3 { animation-delay: .9s; }
.svc-panel[data-panel="1"].is-active .viz-node.n4 { animation-delay: 1.25s; }
@keyframes nodePop { from { opacity: 0; transform: scale(0); } 70% { transform: scale(1.25); } to { opacity: 1; transform: scale(1); } }
.svc-panel[data-panel="1"].is-active .viz-funnel i { animation: funnelGrow .6s var(--ease) backwards; }
.svc-panel[data-panel="1"].is-active .viz-funnel i:nth-child(1) { animation-delay: .3s; }
.svc-panel[data-panel="1"].is-active .viz-funnel i:nth-child(2) { animation-delay: .42s; }
.svc-panel[data-panel="1"].is-active .viz-funnel i:nth-child(3) { animation-delay: .54s; }
.svc-panel[data-panel="1"].is-active .viz-funnel i:nth-child(4) { animation-delay: .66s; }
@keyframes funnelGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 2 · Design Systems — token grid + components */
.viz-system { display: grid; grid-template-rows: auto auto; gap: 9%; place-content: center; width: 86%; margin: 0 auto; }
.viz-tokens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.viz-tokens .sw { aspect-ratio: 1; border-radius: 12px; }
.sw.s1 { background: var(--green); }
.sw.s2 { background: rgba(142,254,187,0.55); }
.sw.s3 { background: var(--sage); border: 1px solid rgba(142,254,187,0.3); }
.sw.s4 { background: var(--charcoal); }
.sw.s5 { background: rgba(244,251,247,0.12); }
.sw.s6 { background: rgba(142,254,187,0.28); }
.viz-comps { display: flex; gap: 10px; align-items: center; justify-content: center; }
.viz-comps b { background: rgba(244,251,247,0.1); }
.viz-comps .pill { width: 64px; height: 22px; border-radius: 100px; }
.viz-comps .box { width: 40px; height: 40px; border-radius: 10px; }
.viz-comps .on { background: var(--green); }
.svc-panel[data-panel="2"].is-active .sw { animation: vizPop .5s var(--ease) backwards; }
.svc-panel[data-panel="2"].is-active .sw:nth-child(1) { animation-delay: .15s; }
.svc-panel[data-panel="2"].is-active .sw:nth-child(2) { animation-delay: .22s; }
.svc-panel[data-panel="2"].is-active .sw:nth-child(3) { animation-delay: .29s; }
.svc-panel[data-panel="2"].is-active .sw:nth-child(4) { animation-delay: .36s; }
.svc-panel[data-panel="2"].is-active .sw:nth-child(5) { animation-delay: .43s; }
.svc-panel[data-panel="2"].is-active .sw:nth-child(6) { animation-delay: .50s; }
.svc-panel[data-panel="2"].is-active .viz-comps b { animation: vizPop .5s var(--ease) backwards .55s; }

/* 3 · Brand Identity — mark, specimen, palette */
.viz-brand { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 8%; place-items: center; width: 84%; margin: 0 auto; }
.viz-mark {
  grid-row: 1 / 2;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(70px, 13vw, 130px); line-height: 1; color: var(--green);
  letter-spacing: -0.05em;
}
.viz-mark span { color: var(--green); }
.viz-specimen {
  grid-row: 1 / 2;
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(54px, 10vw, 104px); color: var(--white); line-height: 1;
}
.viz-palette { grid-column: 1 / 3; display: flex; gap: 12px; }
.viz-palette i { width: 34px; height: 34px; border-radius: 50%; }
.viz-palette i:nth-child(1) { background: var(--green); }
.viz-palette i:nth-child(2) { background: var(--sage); border: 1px solid rgba(142,254,187,0.3); }
.viz-palette i:nth-child(3) { background: var(--charcoal); }
.viz-palette i:nth-child(4) { background: var(--white); }
.svc-panel[data-panel="3"].is-active .viz-mark { animation: vizPop .6s var(--ease) backwards .15s; }
.svc-panel[data-panel="3"].is-active .viz-specimen { animation: vizPop .6s var(--ease) backwards .3s; }
.svc-panel[data-panel="3"].is-active .viz-palette i { animation: vizPop .5s var(--ease) backwards; }
.svc-panel[data-panel="3"].is-active .viz-palette i:nth-child(1) { animation-delay: .45s; }
.svc-panel[data-panel="3"].is-active .viz-palette i:nth-child(2) { animation-delay: .53s; }
.svc-panel[data-panel="3"].is-active .viz-palette i:nth-child(3) { animation-delay: .61s; }
.svc-panel[data-panel="3"].is-active .viz-palette i:nth-child(4) { animation-delay: .69s; }

/* 4 · Motion & Interaction — rings, play, waveform */
.viz-motion { display: grid; place-items: center; }
.viz-ring {
  position: absolute; border-radius: 50%; border: 1.5px solid rgba(142,254,187,0.5);
  opacity: 0;
}
.viz-ring.r1 { width: 90px; height: 90px; }
.viz-ring.r2 { width: 150px; height: 150px; }
.viz-ring.r3 { width: 210px; height: 210px; }
.viz-play {
  width: 0; height: 0;
  border-style: solid; border-width: 18px 0 18px 30px;
  border-color: transparent transparent transparent var(--green);
  margin-left: 8px; filter: drop-shadow(0 0 16px rgba(142,254,187,0.4));
}
.viz-wave {
  position: absolute; bottom: 8%; left: 0; right: 0;
  display: flex; gap: 6px; align-items: flex-end; justify-content: center; height: 40px;
}
.viz-wave i { width: 6px; border-radius: 100px; background: var(--green); height: 30%; }
.svc-panel[data-panel="4"].is-active .viz-ring { animation: ripple 3s var(--ease) infinite; }
.svc-panel[data-panel="4"].is-active .viz-ring.r2 { animation-delay: .5s; }
.svc-panel[data-panel="4"].is-active .viz-ring.r3 { animation-delay: 1s; }
@keyframes ripple { 0% { opacity: 0; transform: scale(.6); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
.svc-panel[data-panel="4"].is-active .viz-play { animation: vizPop .6s var(--ease) backwards .2s; }
.svc-panel[data-panel="4"].is-active .viz-wave i { animation: wave 1.1s var(--ease) infinite; }
.svc-panel[data-panel="4"].is-active .viz-wave i:nth-child(2) { animation-delay: .1s; }
.svc-panel[data-panel="4"].is-active .viz-wave i:nth-child(3) { animation-delay: .2s; }
.svc-panel[data-panel="4"].is-active .viz-wave i:nth-child(4) { animation-delay: .3s; }
.svc-panel[data-panel="4"].is-active .viz-wave i:nth-child(5) { animation-delay: .4s; }
.svc-panel[data-panel="4"].is-active .viz-wave i:nth-child(6) { animation-delay: .5s; }
.svc-panel[data-panel="4"].is-active .viz-wave i:nth-child(7) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 90%; } }

/* ── Niche fork ─────────────────────────────── */
.fork-grid { display: grid; gap: clamp(16px, 2.5vw, 28px); grid-template-columns: 1fr; }
.fork-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--sage); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(9,34,31,0.65), rgba(5,20,18,0.35));
  padding: clamp(26px, 4vw, 48px);
  transition: border-color .4s, transform .1s linear;
  will-change: transform;
}
.fork-card:hover { border-color: rgba(142, 254, 187, 0.5); }
.fork-icon { font-size: clamp(30px, 4vw, 42px); line-height: 1; }
.fork-card h3 { font-size: clamp(26px, 3.6vw, 44px); }
.fork-card p { color: var(--gray); font-size: clamp(15px, 1.8vw, 17px); max-width: 46ch; }
.fork-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--green);
}
.fork-link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.fork-card:hover .fork-link svg { transform: translateX(6px); }
@media (min-width: 760px) { .fork-grid { grid-template-columns: 1fr 1fr; } }

/* ── SEO visual (services panel 2) ──────────── */
.viz-seo { display: grid; place-items: center; }
.seo-chart { width: 86%; height: auto; }
.seo-line {
  stroke: var(--green); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 340;
}
.seo-badge {
  position: absolute; top: 4%; right: 6%;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--black); background: var(--green);
  border-radius: 100px; padding: 6px 14px;
  opacity: 0; transform: scale(.5);
}
.seo-pills { position: absolute; left: 7%; bottom: 6%; display: flex; flex-direction: column; gap: 6px; width: 40%; }
.seo-pills i {
  height: 10px; width: var(--w); border-radius: 100px;
  background: rgba(142, 254, 187, 0.3);
  transform: scaleX(0); transform-origin: left;
}
.svc-panel[data-panel="2"].is-active .seo-line { animation: vizDraw 1.4s var(--ease) forwards .15s; }
.svc-panel[data-panel="2"].is-active .seo-badge { animation: nodePop .55s var(--ease) forwards 1.2s; }
.svc-panel[data-panel="2"].is-active .seo-pills i { animation: funnelGrow .55s var(--ease) backwards; }
.svc-panel[data-panel="2"].is-active .seo-pills i:nth-child(1) { animation-delay: .3s; }
.svc-panel[data-panel="2"].is-active .seo-pills i:nth-child(2) { animation-delay: .42s; }
.svc-panel[data-panel="2"].is-active .seo-pills i:nth-child(3) { animation-delay: .54s; }

/* ── Process — sticky word-stack ────────────── */
.flow { padding: 0; position: relative; }
.flow-head { padding: clamp(72px, 12vh, 140px) var(--pad) 0; }
.flow-head .section-head { margin-bottom: clamp(20px, 4vh, 40px); }

/* each wrapper is taller than the viewport; the card inside sticks,
   creating a hold during which the giant word fills with green.
   Cards stack like a deck: staggered sticky tops let each previous
   card peek out above the one covering it. */
.fstep { height: 180vh; }
.fstep:last-child { height: 150vh; }
.fpanel {
  --peek: 3svh;
  position: sticky; top: var(--peek);
  height: 88svh;
  /* side margins absorb the corner overhang of the ±1.8deg deal-in tilt,
     so rotated cards never widen the document */
  margin: 0 clamp(22px, 2.5vw, 32px);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(12px, 2.2vh, 24px);
  padding: clamp(20px, 3.5vh, 44px) clamp(20px, 4vw, 64px);
  border: 1px solid rgba(142, 254, 187, 0.16);
  border-radius: clamp(20px, 3vw, 36px);
  background:
    radial-gradient(120% 100% at 85% 0%, rgba(9, 34, 31, 0.95), rgba(5, 20, 18, 0.98) 60%),
    var(--black);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.5), 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  /* pivot from the centre so the deal-in tilt swings corners the least */
  transform-origin: center center;
  will-change: transform;
}
.fstep[data-flow="1"] .fpanel { --peek: 5.5svh; background: radial-gradient(120% 100% at 12% 100%, rgba(9, 34, 31, 0.95), rgba(5, 20, 18, 0.98) 60%), var(--black); }
.fstep[data-flow="2"] .fpanel { --peek: 8svh; }
/* faint inner top edge so stacked slivers read as card rims */
.fpanel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 254, 187, 0.45), transparent);
}
.fghost {
  position: absolute; right: clamp(-10px, -0.5vw, 0px); bottom: -0.18em;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(160px, 26vw, 380px); line-height: 1; letter-spacing: -0.05em;
  color: rgba(142, 254, 187, 0.05);
  pointer-events: none; user-select: none;
}

.fmeta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.fkicker {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(20px, 3.2vw, 34px); color: var(--gray);
}
.findex {
  font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: 0.14em; color: var(--green);
}

/* the giant word: outlined ghost + green fill revealed by clip-path */
.fword {
  position: relative; line-height: 0.92;
  font-size: clamp(72px, 18vw, 270px);
  letter-spacing: -0.04em;
  user-select: none;
}
.fword-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px rgba(142, 254, 187, 0.35);
}
@supports not (-webkit-text-stroke: 2px black) {
  .fword-outline { color: rgba(142, 254, 187, 0.14); }
}
.fword-fill {
  position: absolute; inset: 0; display: block;
  color: var(--green);
  clip-path: inset(-5% 100% -5% 0);
  will-change: clip-path;
}
.fword i { font-style: normal; }
.fword-fill i { color: var(--white); }
html.no-gsap .fword-fill { clip-path: none; }

.frow {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}
.fline {
  max-width: 44ch; color: var(--white);
  font-size: clamp(16px, 2vw, 21px); line-height: 1.5;
  flex: 1 1 280px;
}
.fline em { font-style: italic; color: var(--gray); }
.ftime {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--green); border: 1px solid rgba(142, 254, 187, 0.3);
  border-radius: 100px; padding: 6px 14px;
  white-space: nowrap;
}
.fviz { flex: 0 0 auto; width: clamp(150px, 22vw, 240px); display: grid; place-items: center; }
.fviz .viz-discover, .fviz .viz-define, .fviz .viz-deliver { max-width: 100%; }

/* ── Process step visuals ───────────────────── */
.viz-discover, .viz-define, .viz-design, .viz-deliver { position: relative; width: 100%; max-width: 280px; aspect-ratio: 4 / 3; }

/* 01 Discover — radar */
.viz-discover { display: grid; place-items: center; }
.viz-discover .rd { position: absolute; border: 1px solid rgba(142,254,187,0.28); border-radius: 50%; }
.rd.r1 { width: 64px; height: 64px; } .rd.r2 { width: 128px; height: 128px; } .rd.r3 { width: 192px; height: 192px; }
.viz-discover .rd-sweep {
  position: absolute; width: 96px; height: 96px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(142,254,187,0.5), transparent 65%);
  opacity: 0; transition: opacity .5s;
}
.viz-discover .rd-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.rd-dot.d1 { transform: translate(42px, -26px); } .rd-dot.d2 { transform: translate(-34px, 38px); }
.fpanel.is-active .viz-discover .rd-sweep { opacity: 1; animation: spin 3.2s linear infinite; }
.fpanel.is-active .viz-discover .rd-dot { animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0%,100% { box-shadow: 0 0 0 0 rgba(142,254,187,0.5); } 50% { box-shadow: 0 0 0 7px rgba(142,254,187,0); } }

/* 02 Define — wireframe drawing in */
.viz-define { display: flex; flex-direction: column; gap: 10px; max-width: 220px; }
.viz-define .wf {
  height: 14px; border-radius: 6px; background: rgba(244,251,247,0.1);
  border: 1px solid rgba(142,254,187,0.25);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.viz-define .wf.head { height: 28px; background: rgba(142,254,187,0.18); }
.viz-define .wf.short { width: 56%; }
.viz-define .wf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.viz-define .wf-grid i {
  height: 38px; border-radius: 8px; border: 1px solid rgba(142,254,187,0.25); background: rgba(244,251,247,0.05);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.fpanel.is-active .viz-define .wf { transform: scaleX(1); }
.fpanel.is-active .viz-define .wf:nth-child(2) { transition-delay: .08s; }
.fpanel.is-active .viz-define .wf:nth-child(3) { transition-delay: .16s; }
.fpanel.is-active .viz-define .wf-grid i { transform: scaleY(1); }
.fpanel.is-active .viz-define .wf-grid i:nth-child(1) { transition-delay: .24s; }
.fpanel.is-active .viz-define .wf-grid i:nth-child(2) { transition-delay: .32s; }
.fpanel.is-active .viz-define .wf-grid i:nth-child(3) { transition-delay: .40s; }

/* 04 Deliver — rising bars + check */
.viz-deliver { display: flex; align-items: flex-end; justify-content: center; gap: 16px; height: 130px; }
.viz-deliver .bars { display: flex; align-items: flex-end; gap: 8px; height: 100%; }
.viz-deliver .bars i {
  width: 15px; border-radius: 6px 6px 0 0; height: 18%;
  background: linear-gradient(var(--green), rgba(142,254,187,0.2));
  transition: height .6s var(--ease);
}
.fpanel.is-active .viz-deliver .bars i:nth-child(1) { height: 44%; transition-delay: .05s; }
.fpanel.is-active .viz-deliver .bars i:nth-child(2) { height: 68%; transition-delay: .13s; }
.fpanel.is-active .viz-deliver .bars i:nth-child(3) { height: 92%; transition-delay: .21s; }
.fpanel.is-active .viz-deliver .bars i:nth-child(4) { height: 58%; transition-delay: .29s; }
.viz-deliver .check {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--green); position: relative;
  opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease) .35s, transform .5s var(--ease) .35s;
}
.viz-deliver .check::after {
  content: ""; position: absolute; left: 28%; top: 30%; width: 26%; height: 44%;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(40deg);
}
.fpanel.is-active .viz-deliver .check { opacity: 1; transform: scale(1); }

/* ── CTA ────────────────────────────────────── */
.cta {
  position: relative;
  text-align: center;
  padding-top: clamp(110px, 18vh, 220px);
  padding-bottom: clamp(110px, 18vh, 220px);
  background: radial-gradient(60% 50% at 50% 60%, rgba(9, 34, 31, 0.9), transparent);
}
.cta-ring {
  width: clamp(110px, 16vw, 180px);
  margin: 0 auto clamp(28px, 5vh, 56px);
  position: relative;
}
.cta-ring svg { width: 100%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-ring text {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.22em;
  fill: var(--gray);
}
.cta-ring-dot {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 44px); color: var(--green);
}
.cta-title {
  font-size: clamp(40px, 9vw, 120px);
  margin-bottom: clamp(32px, 5vh, 56px);
}
.cta-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.cta-title em { font-family: var(--font-body); font-style: italic; font-weight: 400; color: var(--green); }
.cta-note { margin-top: 22px; color: var(--gray); font-size: 14px; }

/* ── Footer ─────────────────────────────────── */
.footer {
  border-top: 1px solid var(--sage);
  padding: clamp(48px, 8vh, 90px) var(--pad) 28px;
  background: var(--sage);
}
.footer-top { overflow: hidden; margin-bottom: clamp(36px, 6vh, 64px); }
.footer-logo {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(72px, 19vw, 280px);
  letter-spacing: -0.045em; line-height: 0.95;
  color: var(--white);
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  margin-bottom: clamp(40px, 7vh, 72px);
}
.f-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.f-head { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--green); margin-bottom: 6px; }
.f-col a { color: var(--gray); font-size: 15px; transition: color .3s; }
.f-col a:hover { color: var(--white); }
.f-text { color: var(--gray); font-size: 15px; }
.footer-bar {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  border-top: 1px solid rgba(171, 171, 171, 0.15);
  padding-top: 22px;
  font-size: 13px; color: var(--gray);
}
.to-top { color: var(--green); font-weight: 600; }

/* ── Reveal helpers (GSAP targets) ──────────── */
.reveal { opacity: 0; transform: translateY(48px); }
html.no-js .reveal, html.no-gsap .reveal { opacity: 1; transform: none; }

/* ════════ BREAKPOINTS ════════ */
@media (min-width: 640px) {
  .manifesto-meta { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-foot { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

@media (min-width: 900px) {
  :root { --nav-h: 84px; }
  .nav-links { display: flex; }
  .btn-nav { display: inline-flex; }
  .burger { display: none; }
  .work-grid { grid-template-columns: 1fr 1fr; padding-bottom: clamp(40px, 7vw, 110px); }
  /* editorial offset: stagger the second column */
  .case:nth-child(even) { transform: translateY(clamp(40px, 7vw, 110px)); }

  /* services showcase becomes a split: index ↔ sticky stage */
  .svc { grid-template-columns: 1.04fr 0.96fr; align-items: start; }
  .svc-stage { position: sticky; top: calc(var(--nav-h) + 24px); min-height: 520px; }
  .svc-marker { display: block; }
}

/* ── Reduced motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .grain { display: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word, .pre-logo span { transform: none; }
}
