/* ==========================================================================
   UiEdge — design studio site
   Tokens → base → shared components → home sections (page order) → inner pages → responsive
   ========================================================================== */

:root {
  --bg: #070b09;                /* near-black with a green cast */
  --bg-2: #0f1813;              /* raised surfaces on dark */
  --paper: #f2f4ee;
  --paper-2: #e4e8dd;
  --ink: #0a0f0c;
  --white: #fff;
  --accent: #22e06b;            /* brand green: fills everywhere, type on dark */
  --accent-2: #b8ff5a;          /* lime, used sparingly in gradients */
  --accent-text: var(--accent); /* green used for type; deepened on light surfaces */
  --dim: rgba(236, 255, 244, .64);
  --muted: #647067;
  --line: rgba(255, 255, 255, .11);
  --line-l: rgba(10, 15, 12, .13);
  --sub: var(--dim);
  --chip-b: rgba(255, 255, 255, .2);

  --font-d: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --font-s: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-b: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-m: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad: clamp(20px, 4.4vw, 64px);
  --r: 20px;
  --r-l: clamp(22px, 2.4vw, 34px);
  --r-xl: clamp(28px, 3.4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--white);
  font: 400 17px/1.5 var(--font-b); letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* film grain over everything, so the flat colours never look flat */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.logo-mark__edge { fill: var(--accent); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--pad); }
/* every section is a sheet with rounded shoulders that slides over the one before it */
.sec { position: relative; margin-top: calc(var(--r-xl) * -1); border-radius: var(--r-xl) var(--r-xl) 0 0; padding-block: clamp(90px, 10.5vw, 150px) calc(clamp(90px, 10.5vw, 150px) + var(--r-xl)); }
.sec--dark { background: var(--bg); color: var(--white); }
.sec--light { background: var(--paper); color: var(--ink); --accent-text: #0a8a42; --sub: var(--muted); --chip-b: rgba(10, 15, 12, .17); }

.head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(44px, 5.5vw, 80px); }
.head p { max-width: 440px; color: var(--sub); font-size: clamp(16px, 1.25vw, 18.5px); }
.head .btn, .head .switch { margin-top: 26px; }

/* ---------- type ---------- */
.h2 { font: 600 clamp(36px, 5.3vw, 84px)/.97 var(--font-d); letter-spacing: -.04em; text-wrap: balance; }
.h2 em, .hero__title em, .phero__title em, .hs__next em { font: italic 400 1.05em/1 var(--font-s); letter-spacing: -.02em; color: var(--accent-text); }
/* word-by-word reveal: .w is the mask, .wi the moving part */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .05em .16em; margin: -.06em -.05em -.16em; }
em .w { padding-inline: .1em; margin-inline: -.1em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- buttons: a pill whose icon dot swells to fill it ---------- */
.btn {
  --fill: var(--ink); --ico: var(--accent); --hover: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  height: 56px; padding: 0 8px 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-b); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .45s var(--ease), border-color .45s;
}
.btn::before { content: ""; position: absolute; z-index: -1; right: 8px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--fill); transition: transform .65s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scale(16); }
.btn:hover, .btn:focus-visible { color: var(--hover); }
.btn__i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; color: var(--ico); transition: transform .55s var(--ease); }
.btn__i svg { width: 12px; height: 12px; }
.btn:hover .btn__i { transform: rotate(45deg); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--dark { --fill: var(--accent); --ico: var(--ink); --hover: var(--ink); background: var(--ink); color: var(--white); }
.btn--light { --ico: var(--white); background: var(--white); color: var(--ink); }
.btn--ghost { --fill: var(--white); --ico: var(--ink); --hover: var(--ink); border-color: rgba(255, 255, 255, .26); color: var(--white); }
.btn--sm { height: 46px; padding: 0 6px 0 20px; font-size: 14px; }
.btn--sm::before { right: 6px; width: 34px; height: 34px; margin-top: -17px; }
.btn--sm .btn__i { width: 34px; height: 34px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- small parts ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--chip-b); font-size: 13.5px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.chip { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.2; }

.card { position: relative; overflow: hidden; border-radius: var(--r-l); padding: clamp(24px, 2.6vw, 40px); background: var(--white); }
.card--dark { background: var(--bg-2); color: var(--white); --chip-b: rgba(255, 255, 255, .2); }
.card--accent { background: var(--accent); color: var(--ink); }
.card--tint { background: var(--paper-2); }
.card--glass { background: rgba(255, 255, 255, .045); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

.ticks { display: grid; gap: 12px; align-content: start; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .14em; width: 21px; height: 21px; border-radius: 50%; background: var(--accent); }
.ticks li::after { content: ""; position: absolute; left: 7.5px; top: calc(.14em + 4.5px); width: 6px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.ticks--row { display: flex; flex-wrap: wrap; gap: 12px 26px; }

.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; right: -8vw; top: -14vw; background: #18c95f; opacity: .3; animation: drift-a 17s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 36vw; height: 36vw; left: -12vw; bottom: -16vw; background: #0a6a3a; opacity: .55; animation: drift-b 21s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 22vw; height: 22vw; right: 26vw; bottom: -8vw; background: var(--accent-2); opacity: .13; animation: drift-a 13s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(-9vw, 7vw) scale(1.18); } }
@keyframes drift-b { to { transform: translate(10vw, -6vw) scale(.86); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 224, 107, .7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(34, 224, 107, 0); } }

/* ---------- cursor follower (desktop pointers only; the real cursor stays) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; opacity: 0; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .3s; }
.cursor.is-live { opacity: 1; }
.cursor span { font: 600 12.5px/1 var(--font-b); color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .25s; }
.cursor.is-link { width: 34px; height: 34px; margin: -17px 0 0 -17px; opacity: .35; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; opacity: 1; }
.cursor.is-big span { opacity: 1; }

/* ---------- preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); border-radius: 0 0 var(--r-xl) var(--r-xl); animation: loader-failsafe 0s 9s forwards; }
@keyframes loader-failsafe { to { visibility: hidden; } }
.loader__mark { width: 76px; height: 58px; color: var(--white); animation: breathe 1.5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.9); opacity: .6; } }
.loader__pct { position: absolute; left: var(--pad); bottom: 26px; font: 600 clamp(64px, 11vw, 160px)/.8 var(--font-d); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.is-return .loader__mark, .is-return .loader__pct { opacity: 0; }

/* ---------- nav: three floating pills ---------- */
.nav { position: fixed; inset: 16px 0 auto 0; z-index: 100; pointer-events: none; transition: transform .7s var(--ease); }
.nav.is-hidden { transform: translateY(-150%); }
.nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; max-width: 1400px; margin-inline: auto; padding-inline: var(--pad); }
.nav__in > * { pointer-events: auto; }
.brand, .nav__links, .nav__burger { background: rgba(13, 20, 16, .72); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.brand { justify-self: start; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px; border-radius: 999px; color: var(--white); text-decoration: none; }
.brand__mark { width: 26px; height: 20px; }
.nav__links { position: relative; display: flex; align-items: center; height: 56px; padding: 6px; border-radius: 999px; }
.nav__links a { position: relative; z-index: 1; display: flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .74); text-decoration: none; transition: color .3s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--white); }
.nav__hl { position: absolute; left: 0; top: 6px; width: 0; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .11); opacity: 0; pointer-events: none; }
.nav__cta { justify-self: end; align-self: center; margin-block: 5px; }
.nav__burger { display: none; justify-self: end; position: relative; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; padding: 0; }
.nav__burger span { position: absolute; left: 18px; right: 18px; height: 1.5px; background: var(--white); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:first-child { top: 23px; }
.nav__burger span:last-child { top: 31px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 27px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 27px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--pad) 36px; background: var(--bg); clip-path: inset(0 0 100% 0 round 0 0 40px 40px); visibility: hidden; transition: clip-path .75s var(--ease-io), visibility 0s .75s; }
.menu.is-open { clip-path: inset(0 0 0 0 round 0); visibility: visible; transition: clip-path .75s var(--ease-io), visibility 0s; }
.menu__links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font: 600 clamp(32px, 10vw, 52px)/1.1 var(--font-d); letter-spacing: -.05em; text-decoration: none; }
.menu__links a[aria-current="page"] { color: var(--accent); }
.menu__foot { display: grid; gap: 6px; color: var(--dim); }
.menu__foot a { text-decoration: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: clip; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 124px 0 56px; background: var(--bg); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.4px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(60% 70% at 70% 45%, #000, transparent); mask-image: radial-gradient(60% 70% at 70% 45%, #000, transparent); }
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 20px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .045); font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.status i, .float--c i, .bento__d-k i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); animation: ping 2s infinite; }
.hero__title { margin: 26px 0 28px; font: 600 clamp(44px, 6.5vw, 106px)/.93 var(--font-d); letter-spacing: -.042em; }
.hero__lead { max-width: 530px; margin-bottom: 36px; font-size: clamp(17px, 1.35vw, 20px); color: var(--dim); }
.hero__stage { position: relative; justify-self: end; width: 100%; aspect-ratio: 1 / 1.04; max-height: 76vh; }
.hero__canvas { position: absolute; left: -14%; top: -14%; width: 128%; height: 128%; }
.float { position: absolute; display: grid; gap: 5px; padding: 16px 18px; border-radius: 20px; background: rgba(15, 24, 19, .68); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px #000; font-size: 13px; color: var(--dim); white-space: nowrap; }
.float b { font: 600 32px/1 var(--font-d); letter-spacing: -.045em; color: var(--white); }
.float b small { font-size: .5em; color: var(--dim); }
.float--a { left: -3%; top: 13%; }
.float--b { right: 0; bottom: 20%; }
.float--c { left: 9%; bottom: 7%; display: flex; align-items: center; gap: 9px; padding: 11px 17px; border-radius: 999px; color: var(--white); font-size: 14px; }
.stars { color: var(--accent); font-size: 13px; letter-spacing: 2px; }
.spin { position: absolute; right: 1%; top: 2%; width: 132px; height: 132px; display: grid; place-items: center; color: var(--white); }
.spin > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.spin text { font: 500 14.6px var(--font-m); letter-spacing: .13em; text-transform: uppercase; fill: currentColor; }
.spin > span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); transition: transform .55s var(--ease); }
.spin > span svg { width: 16px; height: 16px; }
.spin:hover > span { transform: scale(1.14) rotate(45deg); }

/* ==========================================================================
   CLIENTS — one quiet moving rail
   ========================================================================== */
.logos { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding: 26px 0 calc(30px + var(--r-xl)); }
.logos__in { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.logos__t { flex: none; max-width: 150px; font-size: 14px; line-height: 1.3; color: var(--dim); }
.logos__rail { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__track { display: flex; align-items: center; width: max-content; animation: marquee 36s linear infinite; }
.logos__rail:hover .logos__track { animation-play-state: paused; }
.logos__track img { height: 56px; width: auto; margin-right: clamp(40px, 5vw, 76px); filter: brightness(0) invert(1); opacity: .6; transition: opacity .3s; }
.logos__track img:hover { opacity: 1; }

/* ==========================================================================
   STUDIO — bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.bento__a { grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: space-between; gap: 50px; min-height: 560px; }
.bento__say { font-size: clamp(30px, 3.7vw, 58px); line-height: 1.02; }
.bento__a-foot { display: grid; gap: 26px; justify-items: start; }
.bento__a-foot p { max-width: 540px; color: var(--muted); }
.bento__b { grid-column: 2 / 4; min-height: 280px; padding: 0; display: flex; align-items: flex-end; }
.bento__art { position: absolute; inset: 0; }
.bento__art svg { width: 100%; height: 100%; transition: scale 1.4s var(--ease); }
.bento__b:hover .bento__art svg { scale: 1.06; }
.bento__b .chips { position: relative; margin: 20px; }
.bento__b .chips li { background: rgba(7, 11, 9, .72); border-color: transparent; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bento__c, .bento__d { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 250px; font-size: 15px; }
.bento__c b { font: 600 clamp(46px, 5.2vw, 82px)/.9 var(--font-d); letter-spacing: -.055em; }
.bento__d b { font: 600 clamp(42px, 4.6vw, 72px)/.9 var(--font-d); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.bento__d-k { display: flex; align-items: center; gap: 9px; color: var(--muted); }

/* ==========================================================================
   SERVICES — cards that pile up as you scroll
   ========================================================================== */
.scards { display: grid; gap: 28px; }
.scard { position: sticky; top: calc(92px + var(--i) * 14px); }
.scard__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(22px, 3vw, 48px); min-height: min(540px, 70vh); padding: clamp(18px, 2.2vw, 34px); border-radius: var(--r-l); transform-origin: 50% 0; will-change: transform; box-shadow: 0 -24px 60px -34px rgba(0, 0, 0, .8); }
.scard__in::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--bg); opacity: var(--shade, 0); pointer-events: none; }
.scard--deep .scard__in { background: #101a14; border: 1px solid var(--line); }
.scard--light .scard__in { background: var(--paper); color: var(--ink); --sub: var(--muted); --chip-b: rgba(10, 15, 12, .17); --accent-text: #0a8a42; }
.scard--accent .scard__in { background: var(--accent); color: var(--ink); --sub: rgba(10, 15, 12, .74); --chip-b: rgba(10, 15, 12, .28); --accent-text: var(--ink); }
.scard__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: clamp(6px, 1.2vw, 16px); }
.scard__copy h3 { font: 600 clamp(30px, 3.7vw, 58px)/.98 var(--font-d); letter-spacing: -.048em; }
.scard__copy > p { max-width: 480px; color: var(--sub); }
.scard__stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: auto; font-size: 14.5px; }
.scard__stat b { font: italic 400 clamp(34px, 3.6vw, 54px)/1 var(--font-s); color: var(--accent-text); }
.scard__art { position: relative; min-height: 260px; overflow: hidden; border-radius: calc(var(--r-l) - 10px); }
.scard__art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: scale 1.4s var(--ease); }
.scard:hover .scard__art svg { scale: 1.05; }

/* ==========================================================================
   WORK — sideways gallery
   ========================================================================== */
.work { padding-block: 0; }
.hs__pin { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hs__track { display: flex; align-items: stretch; gap: 26px; height: min(64vh, 620px); padding-inline: var(--pad); will-change: transform; }
.hs__intro { flex: none; width: min(46vw, 660px); display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-right: 3vw; }
.hs__intro > p { max-width: 480px; color: var(--muted); }
.hs__intro .hs__hint { display: flex; align-items: center; gap: 14px; font: 500 12.5px var(--font-m); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.hs__hint i { width: 48px; height: 1px; background: currentColor; transform-origin: left; animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } 100% { opacity: 0; } }
.hs__card { flex: none; position: relative; width: min(58vw, 880px); overflow: hidden; border-radius: var(--r-l); background: var(--bg-2); color: var(--white); text-decoration: none; }
.hs__art { position: absolute; inset: 0 -9%; }
.hs__art svg { width: 100%; height: 100%; }
.hs__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 11, 9, .86), rgba(7, 11, 9, 0) 56%); }
.hs__meta { position: absolute; z-index: 2; left: clamp(20px, 2.4vw, 36px); right: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.4vw, 34px); display: grid; gap: 14px; justify-items: start; }
.hs__title { max-width: 17ch; font: 600 clamp(24px, 3vw, 46px)/1 var(--font-d); letter-spacing: -.045em; }
.hs__card--cta { width: min(40vw, 520px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(24px, 3vw, 44px); background: var(--accent); color: var(--ink); --accent-text: var(--ink); }
.hs__card--cta::after { content: none; }
.hs__next { font: 600 clamp(36px, 4.6vw, 72px)/.94 var(--font-d); letter-spacing: -.05em; }
.hs__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; height: 2px; border-radius: 2px; background: rgba(10, 15, 12, .13); }
.hs__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   PROCESS — a line that fills as the weeks pass
   ========================================================================== */
.tline { position: relative; display: grid; gap: clamp(40px, 6vw, 96px); padding-block: 10px; }
.tline__rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.tline__fill { position: absolute; inset: 0; background: linear-gradient(var(--accent), var(--accent-2)); transform: scaleY(0); transform-origin: top; }
.tstep { position: relative; display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; }
.tstep > * { grid-row: 1; }
.tstep__week { grid-column: 1; justify-self: end; text-align: right; font: italic 400 clamp(44px, 6.4vw, 104px)/1 var(--font-s); color: rgba(255, 255, 255, .15); transition: color .7s; }
.tstep__dot { grid-column: 2; justify-self: center; position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255, 255, 255, .3); transition: background .5s, border-color .5s, box-shadow .5s; }
.tstep__card { grid-column: 3; display: grid; gap: 16px; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r-l); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .7s, background .7s; }
.tstep__card h3 { font: 600 clamp(26px, 2.7vw, 40px)/1 var(--font-d); letter-spacing: -.045em; }
.tstep__card p { color: var(--dim); }
.tstep:nth-child(odd) .tstep__week { grid-column: 3; justify-self: start; text-align: left; }
.tstep:nth-child(odd) .tstep__card { grid-column: 1; }
.tstep.is-on .tstep__week { color: var(--accent); }
.tstep.is-on .tstep__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 8px rgba(34, 224, 107, .16), 0 0 30px rgba(34, 224, 107, .7); }
.tstep.is-on .tstep__card { border-color: rgba(34, 224, 107, .42); background: #111d16; }

/* ==========================================================================
   IMPACT — the growth curve
   ========================================================================== */
.chart__cap { margin-bottom: 22px; font: 500 12.5px var(--font-m); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.chart__plot { position: relative; aspect-ratio: 1000 / 380; min-height: 230px; }
.chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__grid path { fill: none; stroke: rgba(255, 255, 255, .075); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.chart__pt { position: absolute; left: 0; top: 0; translate: -50% -9px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.chart__pt i { width: 18px; height: 18px; border-radius: 50%; background: var(--bg-2); border: 3px solid var(--accent); box-shadow: 0 0 0 6px rgba(34, 224, 107, .17); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.stats div { padding: clamp(20px, 2.2vw, 30px); border-radius: var(--r-l); background: var(--white); }
.stats dt { font: 600 clamp(34px, 4.1vw, 64px)/1 var(--font-d); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stats dd { margin-top: 14px; font-size: 15px; color: var(--muted); }
.stats div:first-child { background: var(--ink); color: var(--white); }
.stats div:first-child dt { color: var(--accent); }
.stats div:first-child dd { color: var(--dim); }

/* ==========================================================================
   TOOLKIT
   ========================================================================== */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.toolcard { padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r-l); background: var(--bg-2); border: 1px solid var(--line); }
.toolcard__h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; }
.toolcard__h h3 { font: 600 clamp(24px, 2.5vw, 36px)/1 var(--font-d); letter-spacing: -.045em; }
.toolcard__h span { font: italic 400 30px/1 var(--font-s); color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; transition: background .35s, color .35s, border-color .35s; }
.pill i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); font: 700 11px/1 var(--font-d); font-style: normal; transition: background .35s, color .35s; }
.pill:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pill:hover i { background: var(--ink); color: var(--accent); }

/* ==========================================================================
   ACADEMY
   ========================================================================== */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tab { display: grid; gap: 3px; padding: 14px 22px; border-radius: 20px; background: transparent; border: 1px solid var(--line-l); text-align: left; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); transition: background .35s, color .35s, border-color .35s; }
.tab small { font-size: 12.5px; font-weight: 400; color: var(--muted); transition: color .35s; }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tab.is-active small { color: var(--accent); }
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 14px; min-height: 290px; padding: 24px; border-radius: var(--r-l); background: var(--white); border: 1px solid transparent; transition: border-color .35s, translate .5s var(--ease), box-shadow .5s var(--ease); }
.ccard:hover { translate: 0 -6px; border-color: var(--accent-text); box-shadow: 0 30px 40px -28px rgba(10, 15, 12, .4); }
.ccard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ccard__lvl { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-l); font-size: 12.5px; font-weight: 500; }
.ccard h3 { font: 600 clamp(20px, 1.75vw, 25px)/1.06 var(--font-d); letter-spacing: -.038em; }
.ccard > p { font-size: 15px; color: var(--muted); }
.ccard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-l); font-size: 13.5px; color: var(--muted); }
.ccard__meta b { font-weight: 600; color: var(--ink); }

/* ==========================================================================
   PROBLEMS → FIXES — cards that turn over
   ========================================================================== */
.switch { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--white); }
.switch span { transition: opacity .35s; }
.switch span:last-child, .switch.is-on span:first-child { opacity: .45; }
.switch.is-on span:last-child { opacity: 1; }
.switch i, .toggle i { position: relative; flex: none; width: 44px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .17); transition: background .4s; }
.switch i::after, .toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: translate .5s var(--ease), background .4s; }
.switch.is-on i, .toggle input:checked + i { background: var(--accent); }
.switch.is-on i::after, .toggle input:checked + i::after { translate: 20px 0; background: var(--ink); }
.flips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flip { appearance: none; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; perspective: 1400px; aspect-ratio: 3 / 4; min-height: 370px; }
.flip__in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .95s var(--ease); }
.flip.is-flipped .flip__in { transform: rotateY(180deg); }
.flip__f, .flip__b { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-l); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip__f { background: var(--bg-2); border: 1px solid var(--line); color: var(--dim); }
.flip__b { background: var(--accent); color: rgba(10, 15, 12, .78); transform: rotateY(180deg); }
.flip__ico { width: 46px; height: 46px; margin-bottom: auto; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--white); }
.flip__b .flip__ico { background: var(--ink); color: var(--accent); }
.flip__ico svg { width: 14px; height: 14px; }
.flip b { font: 600 clamp(22px, 2.1vw, 30px)/1.04 var(--font-d); letter-spacing: -.042em; color: var(--white); }
.flip__b b { color: var(--ink); }
.flip small { font: 500 12px var(--font-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.plans { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 38px); border-radius: var(--r-l); background: var(--white); }
.plan h3 { font: 600 clamp(24px, 2.3vw, 33px)/1 var(--font-d); letter-spacing: -.045em; }
.plan__sub { margin: 12px 0 30px; color: var(--muted); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 28px; font-size: 15px; color: var(--muted); }
.plan__price b { font: 600 clamp(38px, 4.1vw, 62px)/1 var(--font-d); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--ink); }
.plan .ticks { flex: 1; margin-bottom: 34px; }
.plan--main { background: var(--bg); color: var(--white); box-shadow: 0 0 0 1px rgba(34, 224, 107, .55), 0 44px 80px -44px rgba(34, 224, 107, .6); }
.plan--main .plan__sub, .plan--main .plan__price { color: var(--dim); }
.plan--main .plan__price b { color: var(--white); }
.plan__flag { position: absolute; right: 22px; top: 22px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 600; }
.config { display: grid; gap: 14px; margin-bottom: 26px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.config__k { font-size: 14px; color: var(--dim); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.seg button { height: 40px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--white); transition: background .35s, color .35s; }
.seg button:hover { background: rgba(255, 255, 255, .08); }
.seg button.is-active { background: var(--accent); color: var(--ink); }
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14.5px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 3px; }
.toggle em { margin-left: auto; font-style: normal; color: var(--dim); }
.plans__note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   FAQ — accordion
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.faq__side { position: sticky; top: 120px; display: grid; gap: 40px; }
.faq__ask { display: grid; gap: 20px; justify-items: start; }
.faq__ask p { color: var(--dim); }
.acc { display: grid; gap: 10px; }
.acc__item { border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); transition: background .45s, border-color .45s; }
.acc__item.is-open { background: #111d16; border-color: rgba(34, 224, 107, .42); }
.acc__q { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; padding: 20px 20px 20px 26px; background: none; border: 0; cursor: pointer; text-align: left; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; color: var(--white); }
.acc__q i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .45s, color .45s, rotate .55s var(--ease); }
.acc__q i::before, .acc__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; }
.acc__q i::after { rotate: 90deg; }
.acc__item.is-open .acc__q i { background: var(--accent); color: var(--ink); rotate: 45deg; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a p { min-height: 0; overflow: hidden; max-width: 660px; padding: 0 26px; color: var(--dim); transition: padding .6s var(--ease); }
.acc__item.is-open .acc__a p { padding-bottom: 26px; }

/* ==========================================================================
   THE EDGE — green call-out
   ========================================================================== */
.edge__panel { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 80px); border-radius: var(--r-xl); background: var(--accent); color: var(--ink); --accent-text: var(--ink); }
.edge__rings { position: absolute; right: -9%; top: -22%; width: min(58vw, 760px); fill: none; stroke: rgba(10, 15, 12, .2); stroke-width: 1; animation: spin 44s linear infinite; }
.edge__orb { fill: var(--ink); stroke: none; }
.edge__panel .h2 { position: relative; max-width: 13ch; }
.edge__lead { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 26px 44px; margin: 34px 0 clamp(44px, 6vw, 96px); }
.edge__lead p { max-width: 450px; font-size: 18px; }
.edge__cols { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 30px; border-top: 1px solid rgba(10, 15, 12, .26); }
.edge__cols h3 { margin-bottom: 10px; font: 600 clamp(19px, 1.7vw, 23px)/1.1 var(--font-d); letter-spacing: -.038em; }
.edge__cols p { font-size: 15.5px; color: rgba(10, 15, 12, .76); }

/* ==========================================================================
   CONTACT + FOOTER
   ========================================================================== */
.foot { position: relative; overflow: clip; margin-top: calc(var(--r-xl) * -1); border-radius: var(--r-xl) var(--r-xl) 0 0; padding-top: clamp(90px, 10.5vw, 150px); background: var(--bg); color: var(--white); }
.aurora--foot i:nth-child(1) { right: auto; left: -14vw; top: -18vw; opacity: .22; }
.aurora--foot i:nth-child(2) { left: auto; right: -12vw; bottom: auto; top: 20vw; opacity: .4; }
.cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; padding-bottom: clamp(80px, 9vw, 130px); }
.cta__sub { max-width: 480px; margin: 28px 0; font-size: 18px; color: var(--dim); }
.form { display: grid; gap: 14px; padding: clamp(22px, 2.6vw, 36px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; color: var(--dim); }
.field select { width: 100%; padding: 15px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); outline: none; font-size: 15.5px; color: var(--white); }
.field select option { color: #0b0b0d; }
.field select:focus { border-color: var(--accent); }
.deliv__body small { font: 500 12px/1 var(--font-m, monospace); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 15px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); outline: none; resize: vertical; font-size: 15.5px; color: var(--white); transition: border-color .3s, background .3s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .36); }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: rgba(255, 255, 255, .08); }
.field.is-bad input, .field.is-bad textarea { border-color: #ff5b5b; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.form__msg { font-size: 14px; color: var(--dim); }
.foot__main, .foot__base { position: relative; background: linear-gradient(var(--line) 0 0) top / 100% 1px no-repeat content-box; }
.foot__main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-block: 0 50px; }
.foot__main > * { padding-top: 50px; }
.foot__k { font-size: 15px; color: var(--dim); }
.foot__mail { display: inline-block; margin: 12px 0 20px; padding-bottom: .08em; font: 600 clamp(28px, 4.3vw, 66px)/1 var(--font-d); letter-spacing: -.04em; text-decoration: none; background: linear-gradient(currentColor 0 0) 0 100% / 0 2px no-repeat; transition: background-size .7s var(--ease), color .35s; }
.foot__mail:hover { color: var(--accent); background-size: 100% 2px; }
.foot__meta { display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--dim); }
.foot__meta a { text-decoration: none; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot__h { margin-bottom: 16px; font: 500 12.5px var(--font-m); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.foot__cols a { display: block; width: fit-content; margin-bottom: 9px; color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .3s, translate .45s var(--ease); }
.foot__cols a:hover { color: var(--accent); translate: 4px 0; }
/* the wordmark is dim until the pointer lights it */
.wordmark { --x: 50%; --y: -60%; padding-block: .04em .1em; font: 700 clamp(80px, 23vw, 380px)/.82 var(--font-d); letter-spacing: -.045em; text-align: center; white-space: nowrap; user-select: none; color: transparent; background: radial-gradient(circle 24vw at var(--x) var(--y), var(--accent), rgba(34, 224, 107, 0) 72%), linear-gradient(rgba(255, 255, 255, .15), rgba(255, 255, 255, .05)); -webkit-background-clip: text; background-clip: text; }
.foot__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 0 28px; font-size: 14px; color: var(--dim); }
.foot__base > * { padding-top: 22px; }
.foot__base p { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot__base a { text-decoration: none; transition: color .3s; }
.foot__base a:hover { color: var(--accent); }
.foot--plain { padding-top: clamp(60px, 7vw, 100px); }
.foot--plain .foot__main { background: none; }
.foot--plain .foot__main > * { padding-top: 0; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.phero { position: relative; overflow: clip; padding-top: clamp(120px, 10vw, 150px); background: var(--bg); color: var(--white); }
.phero__in { position: relative; z-index: 2; padding-bottom: clamp(40px, 4.5vw, 70px); }
.phero__canvas { position: absolute; right: 0; top: 0; width: 52%; height: 100%; pointer-events: none; }
.phero__title { max-width: 16ch; font: 600 clamp(44px, 6.4vw, 104px)/.92 var(--font-d); letter-spacing: -.055em; }
.phero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(24px, 3vw, 40px); }
.phero__lead { max-width: 540px; font-size: clamp(17px, 1.4vw, 20px); color: var(--dim); }
.pstats { display: flex; gap: clamp(20px, 3vw, 44px); }
.pstats dt { font: 600 clamp(30px, 3.4vw, 50px)/1 var(--font-d); letter-spacing: -.05em; }
.pstats dd { margin-top: 8px; font-size: 14px; color: var(--dim); white-space: nowrap; }
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 20px 0 calc(20px + var(--r-xl)); border-top: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: flex; align-items: center; gap: 30px; padding-right: 30px; font: 600 clamp(20px, 2.5vw, 36px)/1 var(--font-d); letter-spacing: -.045em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; font-size: .6em; color: var(--accent); }
.marquee__track span:nth-child(even) { font: italic 400 clamp(23px, 2.9vw, 42px)/1 var(--font-s); letter-spacing: -.02em; color: var(--dim); }

.deliv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deliv__card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-l); background: var(--white); }
.deliv__media { aspect-ratio: 16 / 9; overflow: hidden; }
.deliv__media svg { width: 100%; height: 100%; transition: scale 1.3s var(--ease); }
.deliv__card:hover .deliv__media svg { scale: 1.07; }
.deliv__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.deliv__body h3 { font: 600 clamp(22px, 2vw, 28px)/1 var(--font-d); letter-spacing: -.042em; }
.deliv__body > p { margin-bottom: 8px; font-size: 15.5px; color: var(--muted); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio__item { padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r-l); background: var(--white); }
.trio__k { display: block; margin-bottom: 26px; font: italic 400 clamp(44px, 5vw, 76px)/1 var(--font-s); color: var(--accent-text); }
.trio__item h3 { margin-bottom: 12px; font: 600 clamp(22px, 2vw, 28px)/1.04 var(--font-d); letter-spacing: -.042em; }
.trio__item p { color: var(--muted); }
.sec--dark .trio__item { background: var(--bg-2); border: 1px solid var(--line); }
.sec--dark .trio__item p { color: var(--dim); }

.cmp { margin-top: clamp(60px, 7vw, 100px); }
.cmp__title { margin-bottom: 24px; font: 600 clamp(26px, 2.8vw, 40px)/1 var(--font-d); letter-spacing: -.045em; }
.cmp__table { overflow: hidden; border-radius: var(--r-l); background: var(--white); }
.cmp__row { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); border-bottom: 1px solid var(--line-l); }
.cmp__row:last-child { border-bottom: 0; }
.cmp__row > * { display: flex; align-items: center; padding: 17px 18px; font-size: 15.5px; }
.cmp__row > :first-child { padding-left: 26px; font-weight: 600; }
.cmp__row > :nth-child(3) { background: rgba(34, 224, 107, .13); }
.cmp__row--head > * { padding-block: 22px; font: 600 16px/1.1 var(--font-d); letter-spacing: -.03em; }
.cmp__row--head > :nth-child(3) { background: var(--ink); color: var(--white); }
.cmp svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.cmp .no { color: #b1b7ad; }

.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.info { display: grid; gap: 10px; margin-bottom: 30px; }
.info__row { display: grid; gap: 6px; padding: 20px 24px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s; }
.info__row:hover { border-color: rgba(34, 224, 107, .45); }
.info__row > span:first-child { font-size: 13px; color: var(--dim); }
.info__row a, .info__row > span:last-child { font: 600 clamp(19px, 1.9vw, 27px)/1.15 var(--font-d); letter-spacing: -.04em; text-decoration: none; overflow-wrap: anywhere; transition: color .3s; }
.info__row a:hover { color: var(--accent); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links a { padding: 0 13px; font-size: 14px; }
  .courses { grid-template-columns: repeat(2, 1fr); }
  .flips { grid-template-columns: repeat(2, 1fr); }
  .flip { aspect-ratio: auto; min-height: 320px; }
}

@media (max-width: 999px) {
  .nav__in { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .head { grid-template-columns: 1fr; align-items: start; }

  .hero { padding-top: 110px; }
  .hero__in { grid-template-columns: 1fr; gap: 0; }
  .hero__stage { order: -1; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / .82; max-height: 46vh; }
  .hero__title { margin-top: 20px; }
  .spin { width: 104px; height: 104px; }
  .spin > span { width: 46px; height: 46px; }
  .float--a { top: 4%; }

  .bento { grid-template-columns: 1fr 1fr; }
  .bento__a { grid-column: 1 / 3; grid-row: auto; min-height: 0; }
  .bento__b { grid-column: 1 / 3; }

  .scard__in { grid-template-columns: 1fr; min-height: 0; }
  .scard__art { min-height: 0; aspect-ratio: 16 / 9; order: -1; }
  .scard { top: calc(84px + var(--i) * 10px); }

  /* work: no pin, the gallery becomes a plain column */
  .work { padding-block: clamp(90px, 10.5vw, 150px) calc(clamp(90px, 10.5vw, 150px) + var(--r-xl)); }
  .hs__pin { height: auto; display: block; overflow: visible; }
  .hs__track { flex-direction: column; height: auto; }
  .hs__intro { width: auto; padding: 0 0 20px; }
  .hs__hint, .hs__bar { display: none !important; }
  .hs__card, .hs__card--cta { width: auto; aspect-ratio: 4 / 3; }
  .hs__card--cta { aspect-ratio: auto; gap: 40px; }
  .hs__art { inset: 0; }

  .tline__rail { left: 8px; }
  .tstep, .tstep:nth-child(odd) { grid-template-columns: 18px 1fr; column-gap: 22px; row-gap: 12px; }
  .tstep > * { grid-row: auto; }
  .tstep .tstep__dot { grid-column: 1; grid-row: 1; }
  .tstep .tstep__week { grid-column: 2; grid-row: 1; justify-self: start; text-align: left; }
  .tstep .tstep__card { grid-column: 2; grid-row: 2; }

  .chart__pt { font-size: 11.5px; gap: 7px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .edge__cols { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .foot__main { grid-template-columns: 1fr; gap: 10px; }

  .phero__foot { flex-direction: column; align-items: flex-start; }
  .phero__canvas { width: 100%; opacity: .35; }
  .deliv { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { height: 52px; padding-left: 22px; }
  .btn::before { right: 6px; }
  .btn-row .btn { flex: 1 1 auto; }

  .hero__title { font-size: clamp(40px, 12.4vw, 64px); }
  .float { padding: 11px 13px; border-radius: 16px; font-size: 11px; }
  .float b { font-size: 22px; }
  .float--c { padding: 8px 12px; font-size: 12px; }
  .logos__in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .logos__t { max-width: none; }
  .logos__rail { width: 100%; }
  .logos__track img { height: 44px; }

  .bento { grid-template-columns: 1fr; }
  .bento__a, .bento__b { grid-column: auto; }
  .bento__c, .bento__d { min-height: 200px; }
  .courses { grid-template-columns: 1fr; }
  .ccard { min-height: 0; }
  .tab { padding: 11px 16px; font-size: 14.5px; }
  .flips { grid-template-columns: 1fr; }
  .flip { min-height: 290px; }
  .stats div { padding: 18px; }
  .acc__q { padding: 16px 14px 16px 18px; }
  .acc__a p { padding-inline: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .foot__base { flex-direction: column; align-items: flex-start; gap: 0; }
  .foot__base > :last-child { padding-top: 10px; }

  .pstats { flex-wrap: wrap; }
  .deliv { grid-template-columns: 1fr; }
  .cmp__row { grid-template-columns: 1.2fr repeat(3, .8fr); }
  .cmp__row > * { padding: 12px 6px; font-size: 12.5px; }
  .cmp__row > :first-child { padding-left: 12px; }
  .cmp__row--head > * { font-size: 11.5px; }
  .cmp svg { width: 18px; height: 18px; padding: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora i, .spin > svg, .logos__track, .marquee__track, .edge__rings, .loader__mark, .status i, .hs__hint i { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* short laptop screens: keep the whole hero inside the first view */
@media (min-width: 1000px) and (max-height: 760px) {
  .hero { padding: 100px 0 36px; }
  .hero__title { margin: 18px 0 20px; font-size: clamp(44px, 5.3vw, 82px); }
  .hero__lead { margin-bottom: 26px; font-size: 17px; }
  .hero__stage { max-height: 70vh; }
}

.deliv__card.is-hidden { display: none !important; }
.deliv__body .chip { display: inline-block; }

/* form privacy note, text-only stats, legal pages */
.form__note { margin-top: 14px; font-size: 13px; color: var(--dim); }
.form__note a { text-decoration: underline; text-underline-offset: 3px; }
.stats--text dt { font-size: clamp(22px, 2.3vw, 34px); letter-spacing: -.04em; }
.stats--text dd { line-height: 1.45; }
.legal { max-width: 860px; margin-inline: auto; counter-reset: lg; }
.legal h2 { counter-increment: lg; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; margin: 40px 0 0; padding-top: 40px; border-top: 1px solid var(--line); font: 600 clamp(22px, 2vw, 28px)/1.15 var(--font-d); letter-spacing: -.04em; }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h2::before { content: counter(lg, decimal-leading-zero); font: 500 13px var(--font-m); letter-spacing: .08em; color: var(--accent); }
.legal > :not(h2) { margin: 16px 0 0 56px; }
.legal p, .legal li { max-width: 62ch; font-size: 16.5px; line-height: 1.7; color: var(--dim); }
.legal ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal ul li { position: relative; padding-left: 20px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.legal a:hover { color: var(--accent); }
@media (max-width: 640px) { .legal h2 { grid-template-columns: 38px 1fr; } .legal > :not(h2) { margin-left: 38px; } }
.phero--legal { padding-top: clamp(130px, 13vw, 180px); }
.phero--legal .phero__title { font-size: clamp(42px, 6vw, 88px); max-width: none; }
.phero--legal .phero__foot { margin-top: 24px; }

.phero--legal + .sec { padding-top: clamp(50px, 6vw, 80px); }
