/* =================================================================
   2U Digital — Growth Consultancy
   Dark-premium one-page. Signature: "connect the dots" constellation.
   Palette leads with brand purple; lime is the disciplined spark.
   ================================================================= */

/* ---------- Brand body face (commercial — drop files in assets/fonts/) ---------- */
@font-face {
  font-family: "TT Fors";
  src: url("../fonts/TTFors-SemiBold.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Fors";
  src: url("../fonts/TTFors-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* color */
  --ink:        #0a0a0c;
  --ink-2:      #0d0d10;
  --surface:    #131316;
  --surface-2:  #17171c;
  --line:       rgba(255,255,255,.09);
  --line-soft:  rgba(255,255,255,.055);

  --purple:       #520c9e;   /* brand violet */
  --purple-lit:   #7e4fd0;   /* violet accent */
  --purple-glow:  rgba(82,12,158,.5);
  /* alternating section bg — gradient echoing the hero glow (bright top-right -> deep dark) */
  --purple-bg:    radial-gradient(125% 125% at 82% -12%, #7d22d2 0%, #4d13a4 38%, #1d0a4a 100%);

  /* brand accent (gold) — kept the --lime name to avoid churn */
  --lime:       #edc84a;
  --lime-dim:   #c8a23a;

  --text:       #f6f6f4;
  --muted:      #c4c4cc;
  --dim:        #8b8b94;

  /* type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body:    "TT Fors", "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* metrics */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --radius-lg: 24px;

  /* motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--lime); color: #11130a; }

/* focus visibility (quality floor) */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
/* alternating deep-purple band */
.section--purple { background: var(--purple-bg); border-block: 1px solid rgba(255,255,255,.10); }
.process.section--purple { background: var(--purple-bg); } /* beats .process own bg */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--lime-dim);
  opacity: .7;
}

.section-head { max-width: 760px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-top: 22px;
}
.section-head p {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 60ch;
  margin-top: 22px;
}

.accent { color: var(--lime); }
.text-purple { color: var(--purple-lit); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) 24px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--lime);
  color: #11130a;
  box-shadow: 0 0 0 rgba(237,200,74,0);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(237,200,74,.5);
}
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,10,12,.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
/* gold logo via alpha mask (recolours the wordmark to brand gold, crisp) */
.logo-mark {
  display: block;
  width: 92px; height: 36px;
  background: var(--lime);
  -webkit-mask: url("../img/logo/2u-wordmark.png") no-repeat left center;
  mask: url("../img/logo/2u-wordmark.png") no-repeat left center;
  -webkit-mask-size: contain; mask-size: contain;
  transition: opacity .3s var(--ease);
}
.nav__logo { display: inline-flex; }
.nav__logo:hover .logo-mark { opacity: .82; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
}
.nav__links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-block: 6px;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; }

/* ---------- Nav dropdown (What We Do → Platforms / Method) ---------- */
.nav__has-sub { position: relative; }
.nav__caret { font-size: 9px; margin-left: 5px; display: inline-block; transition: transform .25s var(--ease); }
.nav__has-sub:hover .nav__caret,
.nav__has-sub:focus-within .nav__caret { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: -12px;
  min-width: 184px; list-style: none; margin: 0; padding: 9px;
  background: rgba(13,13,16,.97);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid var(--line-soft); border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  display: grid; gap: 2px; z-index: 101;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
}
.nav__sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; } /* hover bridge */
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; white-space: nowrap; }
.nav__sub a::after { display: none; }
.nav__sub a:hover { color: var(--text); background: rgba(255,255,255,.06); }
/* mobile drawer sub-items */
.drawer a.drawer__sub { padding-left: 20px; font-size: 13px; opacity: .82; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .9;
}
/* hero background video (brand reel) */
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; opacity: .55; pointer-events: none;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,12,.66) 0%, rgba(10,10,12,.48) 42%, rgba(10,10,12,.9) 100%);
}
/* ambient purple field behind everything */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 80vw; height: 80vw;
  max-width: 900px; max-height: 900px;
  right: -18vw; top: -22vw;
  background: radial-gradient(circle at center, var(--purple-glow), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 940px; }

.hero__eyebrow { margin-bottom: 30px; }

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -.035em;
}
.hero h1 .lime { color: var(--lime); position: relative; white-space: nowrap; }
/* the literal dots in "Dots" */
.hero h1 .dots { display: inline-flex; gap: .14em; margin-left: .12em; vertical-align: baseline; }
.hero h1 .dots i {
  width: .15em; height: .15em;
  border-radius: 50%;
  background: var(--lime);
  align-self: flex-end;
  margin-bottom: .14em;
  box-shadow: 0 0 14px rgba(237,200,74,.7);
}
.hero__sub {
  margin-top: 32px;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.55;
}
.hero__sub b { color: var(--lime); font-weight: 700; }
.section-head p b { color: var(--lime); font-weight: 700; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero__scroll {
  position: absolute;
  left: var(--gutter); bottom: 30px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex; align-items: center; gap: 10px;
}
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--lime), transparent); animation: scrollPulse 2.2s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100%{transform:scaleY(.4);opacity:.4} 50%{transform:scaleY(1);opacity:1} }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line-soft);
  padding-block: 22px;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  background: var(--ink-2);
}
.marquee__track {
  display: inline-flex;
  gap: 0;
  animation: marquee 46s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: .02em;
  color: var(--muted);
  padding-inline: 30px;
  position: relative;
}
.marquee__track span::after { content: "·"; position: absolute; right: -4px; color: var(--purple-lit); }
.marquee__track span.hot { color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
/* extra bottom padding so the gap before the (tighter) next section matches the others */
.problem { padding-bottom: clamp(110px, 16vw, 210px); }
/* full-screen "disconnected dots" moment (constellation lives here now) */
.problem {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
}
.problem__canvas { z-index: 0; opacity: .85; }
.problem::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,12,.82) 0%, rgba(10,10,12,.42) 52%, rgba(10,10,12,0) 100%);
}
.problem > .wrap { position: relative; z-index: 2; width: 100%; }
@media (max-width: 560px) { .problem { min-height: auto; padding-top: clamp(64px, 14vw, 110px); } }
.problem .statement {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -.025em;
  max-width: 17ch;
  margin-top: 28px;   /* breathing room below the eyebrow */
}
.problem .statement em { font-style: normal; color: var(--lime); }
.problem__grid {
  margin-top: 44px;
  max-width: 600px;   /* keep the copy + chips on the left, clear of the constellation */
}
.problem__body { color: var(--muted); font-size: clamp(16px,1.5vw,19px); max-width: 46ch; }
.problem__verbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.problem__verbs span {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: default;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.problem__verbs span:hover {
  color: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}

/* ---------- Pillars (3 lenses — NOT a sequence, no numbers) ---------- */
.pillars__grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 40px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute; inset: -1px -1px auto -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-lit), transparent);
  opacity: 0; transition: opacity .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(111,59,191,.5); }
.pillar:hover::before { opacity: 1; }
.pillar__mark { width: 44px; height: 44px; color: var(--lime); margin-bottom: 26px; }
.pillar h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.pillar p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ---------- Capabilities (6 paid-media capabilities) ---------- */
.caps__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cap {
  background: var(--ink-2);
  padding: 34px 30px 38px;
  transition: background .35s var(--ease);
  position: relative;
}
.cap:hover { background: var(--surface); }
.cap__no { font-family: var(--mono); font-size: 12px; color: var(--purple-lit); letter-spacing: .1em; }
.cap h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 20px; letter-spacing: -.01em;
  margin: 16px 0 12px;
}
.cap p { color: var(--muted); font-size: 14.5px; line-height: 1.58; }
.cap__mark { width: 30px; height: 30px; color: var(--lime); margin-top: 22px; opacity: .9; }

/* ---------- Platforms ---------- */
.platforms { background: var(--ink-2); border-block: 1px solid var(--line-soft); }
.platforms__grid { margin-top: 50px; display: flex; flex-wrap: wrap; gap: 12px; }
.platforms__grid span {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: -.01em;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--ink);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.platforms__grid span:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.platforms__grid span.muted { color: var(--muted); }
.platforms__note { margin-top: 38px; color: var(--muted); font-family: var(--mono); font-size: clamp(13.5px, 1.5vw, 16px); letter-spacing: .03em; }
.platforms__note b { color: var(--lime); font-weight: 700; }

/* ---------- Aligned-incentives band ---------- */
.aligned {
  margin-top: 0;
  padding-bottom: clamp(110px, 16vw, 210px);  /* match section separation (next section is tighter) */
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(82,12,158,.45), transparent 60%),
    var(--ink);
  border-block: 1px solid var(--line-soft);
}
.aligned__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,90px); align-items: center; }
.aligned h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.08; letter-spacing: -.025em;
  margin-top: 28px;   /* breathing room below the eyebrow */
}
.aligned h2 .accent { color: var(--lime); }
.aligned__body p { color: var(--muted); font-size: clamp(16px,1.4vw,18px); line-height: 1.6; }
.aligned__points { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.aligned__points li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); font-size: 15.5px; }
.aligned__points svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 1px; }

/* ---------- Process (six disciplines — a real sequence) ---------- */
.process { background: var(--ink-2); border-block: 1px solid var(--line-soft); }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.process__eq {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -.01em;
  color: var(--muted);
}
.process__eq b { color: var(--text); font-weight: 500; }
.process__eq .grow { color: var(--lime); }

.steps {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.steps--7 { grid-template-columns: repeat(7, 1fr); }
.steps__line {
  position: absolute;
  top: 19px; left: 0;
  height: 2px; width: 100%;
  background: var(--line);
  overflow: hidden;
}
.steps__line i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--purple-lit), var(--lime));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease-out);
}
.is-inview .steps__line i { transform: scaleX(1); }

.step { padding-right: 18px; position: relative; }
.step__dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--muted);
  position: relative; z-index: 1;
  transition: border-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.step:last-child .step__dot { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 0 4px rgba(237,200,74,.12); }
.step h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  margin-top: 22px;
  letter-spacing: -.01em;
}
.step p { color: var(--dim); font-size: 13.5px; margin-top: 8px; font-family: var(--mono); letter-spacing: .02em; }

/* ---------- Team ---------- */
.team__grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.member {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.member:hover { transform: translateY(-6px); border-color: rgba(111,59,191,.5); }
.member__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #1c1426, var(--ink));
}
.member__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(1) contrast(1.02) brightness(.92);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.member:hover .member__photo img { filter: grayscale(0) brightness(1); transform: scale(1.03); }
.member__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,12,.85));
  pointer-events: none;
}
.member__body { padding: 26px 26px 30px; }
.member__role { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-dim); }
.member__body h3 { font-family: var(--display); font-weight: 500; font-size: 24px; margin: 10px 0 14px; letter-spacing: -.01em; }
.member__body p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.member__creds { list-style: none; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.member__creds li {
  font-family: var(--mono); font-size: 11px; letter-spacing: .01em;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 10px;
  background: var(--ink-2);
  cursor: default;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.member__creds li:hover {
  color: #11130a;
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}

/* ---------- Credibility ---------- */
.cred__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,90px); align-items: end; }
.cred__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cred__badges span {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--surface);
}
.cred__badges span b { color: var(--purple-lit); font-weight: 700; }

/* stats */
.stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
}
.stat { padding: 40px 36px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--text);
}
.stat__num .u { color: var(--lime); }
.stat__label { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 22ch; }
.stat__ph { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-dim); margin-top: 10px; display: block; }
.stats__more { margin-top: 26px; }
.stats__more a {
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lime); display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid transparent; padding-bottom: 3px;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.stats__more a:hover { gap: 16px; border-bottom-color: var(--lime); }

/* client wall */
.clients { margin-top: 56px; }
.clients__label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); text-align: center; margin-bottom: 30px; }
/* continuous logo carousel — brands pass one by one */
.logos {
  position: relative;
  padding-block: 6px;
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logos__row { overflow: hidden; }
.logos__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(52px, 7vw, 104px);   /* medium-large separation */
  animation: marquee 64s linear infinite;
  will-change: transform;
}
.logos__track--rev { animation-direction: reverse; }  /* second row scrolls the opposite way */
.logos:hover .logos__track { animation-play-state: paused; }
.logos__track img {
  height: 38px; width: auto; max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .52;
  transition: opacity .35s var(--ease), filter .35s var(--ease);
  flex: none;
}
.logos__track img:hover { opacity: 1; filter: none; }

/* geography */
.geo {
  margin-top: 40px; text-align: center;
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em;
  color: var(--muted);
}
.geo b { color: var(--text); font-weight: 400; }

/* ---------- Contact ---------- */
.contact { background: var(--ink-2); border-top: 1px solid var(--line-soft); padding-bottom: clamp(110px, 16vw, 210px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,7vw,100px); align-items: start; }
.contact h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.02; letter-spacing: -.03em;
  margin-top: 28px;   /* breathing room below the eyebrow */
}
.contact__lead { color: var(--muted); margin-top: 24px; font-size: clamp(16px,1.5vw,19px); max-width: 46ch; }
.contact__ready { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-top: 36px; }
.contact__alt { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.contact__alt a { color: var(--muted); display: inline-flex; align-items: center; gap: 12px; width: fit-content; transition: color .25s var(--ease); }
.contact__alt a:hover { color: var(--lime); }
.contact__alt svg { width: 17px; height: 17px; color: var(--purple-lit); flex: none; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(237,200,74,.12);
}
.form .btn--primary { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 16px; text-align: center; letter-spacing: .03em; }
.form__status { font-size: 14px; margin-top: 14px; text-align: center; min-height: 1.2em; }
.form__status.ok { color: var(--lime); }

/* ---------- Footer ---------- */
.footer { padding-block: 64px 40px; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__brand img { height: 30px; filter: brightness(0) invert(1); opacity: .9; }
.footer__brand p { color: var(--dim); font-size: 13px; margin-top: 16px; max-width: 30ch; font-family: var(--mono); letter-spacing: .02em; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted);
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: 48px; padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--dim);
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--muted); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: 112px;           /* raised to clear a WhatsApp/chat bubble below it */
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #f5dd78, var(--lime) 55%, #d8ad39);
  color: #11130a;
  box-shadow: 0 10px 30px -8px rgba(237,200,74,.5);
  opacity: 0; transform: translateY(14px) scale(.9);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -8px rgba(237,200,74,.75); }
@media (max-width: 560px) { .to-top { bottom: 104px; } }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Pricing ---------- */
.pricing-hero { padding-top: clamp(130px, 16vw, 180px); padding-bottom: clamp(40px, 6vw, 70px); }
.pricing__head { max-width: 720px; margin-inline: auto; text-align: center; }
.pricing__head .eyebrow { justify-content: center; }
.pricing__head h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.02; letter-spacing: -.03em;
  margin-top: 22px;
}
.pricing__head h1 .accent { color: var(--lime); }
.pricing__head p { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); margin-top: 22px; max-width: 56ch; margin-inline: auto; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;   /* equal-height cards so CTAs align at the bottom */
  margin-top: clamp(40px, 6vw, 72px);
}
.tier {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px 40px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.tier:hover {
  transform: translateY(-8px);
  border-color: rgba(237,200,74,.55);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(237,200,74,.2);
}
/* featured (Most Popular) */
.tier--featured {
  border-color: var(--lime);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(82,12,158,.5), transparent 60%),
    var(--surface);
  box-shadow: 0 20px 60px -28px rgba(237,200,74,.4);
}
.tier--featured:hover { transform: translateY(-12px); box-shadow: 0 36px 80px -28px rgba(237,200,74,.5); }

.tier__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: #11130a; background: var(--lime);
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(237,200,74,.7);
}
.tier__name { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime-dim); }
.tier__price { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 4vw, 46px); letter-spacing: -.02em; margin-top: 18px; line-height: 1; }
.tier__price .per { font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.tier__note { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 8px; }
.tier__tagline { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-top: 18px; }
.tier__channels { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.tier__channels b { color: var(--lime); font-weight: 700; }
.tier__cta { margin-top: auto; padding-top: 28px; }  /* pin to card bottom */
.tier__cta .btn { width: 100%; justify-content: center; }
.tier--featured .tier__cta .btn--ghost { border-color: var(--lime); color: var(--lime); }

.tier__features { list-style: none; display: grid; gap: 13px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.tier__features li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.45; }
.tier__features svg { width: 18px; height: 18px; color: var(--lime); flex: none; margin-top: 1px; }
.tier__features li.is-head { color: var(--text); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; gap: 0; margin-bottom: 2px; }

.pricing__minspend { margin: 44px auto 0; max-width: 56ch; text-align: center; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.5; color: var(--muted); }
.pricing__minspend b { color: var(--lime); font-weight: 700; white-space: nowrap; }
.pricing__disclaimer { margin: 14px auto 0; max-width: 60ch; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--dim); }

/* pricing fine print band */
.included__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.included__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); padding: 28px 26px; }
.included__item h3 { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -.01em; margin-bottom: 12px; }
.included__item h3 .accent { color: var(--lime); }
.included__item p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Legal / prose pages ---------- */
.legal { padding-top: clamp(118px, 14vw, 160px); }
.legal__content { max-width: 760px; margin-inline: auto; }
.legal__content h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: 10px;
}
.legal__content h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(18px, 2.2vw, 23px); letter-spacing: -.01em; color: var(--text);
  margin: 42px 0 14px;
}
.legal__content p { color: var(--muted); font-size: 16px; line-height: 1.72; margin-bottom: 14px; }
.legal__content p > em:only-child {
  display: inline-block; color: var(--lime-dim); font-style: normal;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.legal__content ul { color: var(--muted); margin: 0 0 18px; padding-left: 20px; display: grid; gap: 9px; }
.legal__content li { font-size: 16px; line-height: 1.65; }
.legal__content li::marker { color: var(--lime-dim); }
.legal__content a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.legal__content strong { color: var(--text); font-weight: 600; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-inview { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .pillars__grid, .team__grid { grid-template-columns: 1fr; }
  .steps, .steps--7 { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .steps__line { display: none; }
  .problem__grid, .cred__top, .contact__grid, .aligned__inner { grid-template-columns: 1fr; }
  .caps__grid { grid-template-columns: 1fr; }
  .pricing__grid, .included__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .logos__track img { height: 32px; }
}
@media (max-width: 560px) {
  .logos__track { gap: 48px; }
  .steps, .steps--7 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 130px; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- Mobile nav drawer ---------- */
.nav__toggle { width: 44px; height: 44px; place-items: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); position: relative; transition: background .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: rgba(10,10,12,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 24px var(--gutter) 36px;
  display: grid; gap: 6px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav.is-open .drawer { opacity: 1; transform: none; pointer-events: auto; }
.drawer a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--text); font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.drawer .btn { margin-top: 18px; justify-content: center; }
.drawer .btn--primary { color: #11130a; } /* keep dark text on lime in mobile menu */

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  padding: 16px clamp(16px, 4vw, 40px);
  transform: translateY(130%); transition: transform .45s var(--ease);
}
.consent.is-open { transform: none; }
.consent__inner {
  max-width: 1120px; margin: 0 auto;
  background: rgba(13,13,16,.98);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
  border: 1px solid var(--line-soft); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.consent__text { flex: 1 1 340px; font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.consent__text a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__btn {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap;
}
.consent__btn--primary { background: var(--lime); color: #11130a; font-weight: 700; }
.consent__btn--primary:hover { transform: translateY(-2px); }
.consent__btn--ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.consent__btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

.cprefs { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: 20px; }
.cprefs.is-open { display: flex; }
.cprefs__overlay { position: absolute; inset: 0; background: rgba(4,4,8,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cprefs__panel {
  position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto;
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6); padding: 28px;
}
.cprefs__title { font-size: 22px; margin: 0 0 6px; }
.cprefs__intro { font-size: 14px; color: var(--muted); margin: 0 0 20px; line-height: 1.6; }
.cprefs__list { list-style: none; display: grid; gap: 14px; margin: 0 0 22px; padding: 0; }
.cprefs__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px; border: 1px solid var(--line-soft); border-radius: 12px; }
.cprefs__row h4 { font-size: 13px; margin: 0 0 4px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.cprefs__row p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.cprefs__always { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--lime); white-space: nowrap; padding-top: 2px; }
.cprefs__switch { position: relative; flex: none; width: 46px; height: 26px; cursor: pointer; }
.cprefs__switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cprefs__switch span { position: absolute; inset: 0; background: rgba(255,255,255,.14); border-radius: 999px; transition: background .25s var(--ease); }
.cprefs__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.cprefs__switch input:checked + span { background: var(--lime); }
.cprefs__switch input:checked + span::after { transform: translateX(20px); }
.cprefs__switch input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.cprefs__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 620px) {
  .consent__inner { padding: 16px; }
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1 1 auto; text-align: center; }
  .cprefs__actions { justify-content: stretch; }
  .cprefs__actions .consent__btn { flex: 1 1 auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .steps__line i { transform: scaleX(1); }
  .hero__scroll span { animation: none; }
  .marquee__track, .logos__track { animation: none; }
}
