/* ============================================================
   LZ WORTH — Global Design System
   Cinematic minimal. Ink + Paper + Gold. No neon.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Core neutrals */
  --ink: #0A0A0B;
  --charcoal: #111318;
  --surface: #171A20;
  --surface-2: #1E222A;
  --white: #F8F8F5;
  --paper: #F2F1EC;
  --paper-2: #E8E6DF;
  --muted: #969BA6;
  --muted-dark: #6B6F79;

  /* Brand */
  --gold: #F2B84B;
  --yellow: #FFD84D;

  /* Per-page accent (overridden by [data-theme]) */
  --accent: var(--gold);
  --accent-soft: rgba(242, 184, 75, 0.12);
  --accent-line: rgba(242, 184, 75, 0.35);

  /* Borders */
  --bd-dark: rgba(255, 255, 255, 0.10);
  --bd-dark-2: rgba(255, 255, 255, 0.18);
  --bd-light: rgba(10, 10, 11, 0.12);
  --bd-light-2: rgba(10, 10, 11, 0.22);

  /* Type */
  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --container: 1360px;
  --pad: clamp(20px, 5vw, 72px);
  --section: clamp(80px, 11vw, 168px);

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 620ms;

  --nav-h: 82px;
}

/* Service accent themes */
[data-theme="web"]      { --accent: #6FD3C7; --accent-soft: rgba(111,211,199,.12); --accent-line: rgba(111,211,199,.35); }
[data-theme="android"]  { --accent: #9BE58B; --accent-soft: rgba(155,229,139,.12); --accent-line: rgba(155,229,139,.35); }
[data-theme="webapp"]   { --accent: #8FB6FF; --accent-soft: rgba(143,182,255,.12); --accent-line: rgba(143,182,255,.35); }
[data-theme="saas"]     { --accent: #7FC9FF; --accent-soft: rgba(127,201,255,.12); --accent-line: rgba(127,201,255,.35); }
[data-theme="ai"]       { --accent: #C6A8FF; --accent-soft: rgba(198,168,255,.12); --accent-line: rgba(198,168,255,.35); }
[data-theme="design"]   { --accent: #FF9E7D; --accent-soft: rgba(255,158,125,.12); --accent-line: rgba(255,158,125,.35); }
[data-theme="ecom"]     { --accent: #E4B7FF; --accent-soft: rgba(228,183,255,.12); --accent-line: rgba(228,183,255,.35); }
[data-theme="social"]   { --accent: #FFB86B; --accent-soft: rgba(255,184,107,.12); --accent-line: rgba(255,184,107,.35); }
[data-theme="support"]  { --accent: #A8D8C4; --accent-soft: rgba(168,216,196,.12); --accent-line: rgba(168,216,196,.35); }

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g12 { grid-template-columns: repeat(12, 1fr); }
.measure { max-width: 680px; }
.center { text-align: center; margin-inline: auto; }

/* Surfaces */
.on-paper { background: var(--paper); color: var(--ink); }
.on-paper .muted { color: #5A5E66; }
.on-ink { background: var(--ink); color: var(--white); }
.on-charcoal { background: var(--charcoal); color: var(--white); }
.hairline { border-top: 1px solid var(--bd-dark); }
.on-paper .hairline { border-top-color: var(--bd-light); }

/* ---------- 4. Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-xl { font-size: clamp(46px, 8.2vw, 128px); font-weight: 700; }
.h1 { font-size: clamp(38px, 5.2vw, 76px); font-weight: 700; }
.h2 { font-size: clamp(30px, 4vw, 60px); }
.h3 { font-size: clamp(22px, 2.4vw, 36px); line-height: 1.14; }
.h4 { font-size: clamp(18px, 1.5vw, 23px); line-height: 1.25; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.4vw, 22px); line-height: 1.55; color: var(--muted); }
.on-paper .lead { color: #4E525A; }
.body { font-size: 17px; color: var(--muted); }
.small { font-size: 14.5px; color: var(--muted); }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55;
}
.eyebrow--plain::before { display: none; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.gold { color: var(--gold); }
.accent { color: var(--accent); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px;
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), opacity var(--t-base);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: #1A1200; }
.btn--primary:hover { background: var(--yellow); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { filter: brightness(1.1); }
.btn--ghost { border: 1px solid var(--bd-dark-2); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.32); }
.on-paper .btn--ghost { border-color: var(--bd-light-2); color: var(--ink); }
.on-paper .btn--ghost:hover { background: rgba(10,10,11,.05); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--charcoal); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--accent);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), gap var(--t-base) var(--ease);
}
.link-arrow:hover { border-bottom-color: currentColor; gap: 13px; }
.link-arrow::after { content: "→"; font-family: var(--font-mono); }

/* ---------- 6. Badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 12px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  border: 1px solid var(--bd-dark); color: var(--muted);
}
.on-paper .pill { border-color: var(--bd-light); color: #5A5E66; }
.pill--accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.pill--gold { background: rgba(242,184,75,.13); border-color: rgba(242,184,75,.35); color: var(--gold); }
.pill--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 7. Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--bd-dark);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease), background var(--t-base);
}
.card:hover { border-color: var(--bd-dark-2); }
.card--link:hover { transform: translateY(-4px); }
.on-paper .card { background: #fff; border-color: var(--bd-light); }
.on-paper .card:hover { border-color: var(--bd-light-2); }
.card--flat { background: transparent; }
.card--glass { background: rgba(255,255,255,.05); backdrop-filter: blur(22px); border-color: rgba(255,255,255,.14); }
.card--pad-sm { padding: 24px; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent-line);
  margin-bottom: 22px;
}
.card__icon svg { width: 20px; height: 20px; }

/* Metric */
.metric__value { font-family: var(--font-display); font-size: clamp(34px, 4vw, 58px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.metric__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- 8. Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--t-base) var(--ease), border-color var(--t-base), height var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  height: 68px;
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--bd-dark);
}
.nav__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; gap: 32px; }
.nav__logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.nav__logo svg { width: 34px; height: 34px; }
.nav__logo-text { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.nav__logo-text span { color: var(--gold); }
.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: rgba(248,248,245,.78);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__item.is-open .nav__link { color: var(--white); background: rgba(255,255,255,.06); }
.nav__link .chev { width: 9px; height: 9px; opacity: .5; transition: transform var(--t-base) var(--ease); }
.nav__item.is-open .chev { transform: rotate(180deg); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: max-content; max-width: min(1080px, 92vw);
  background: rgba(17,19,24,.92); backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid var(--bd-dark); border-radius: var(--r-lg);
  padding: 30px; box-shadow: 0 30px 80px rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px 38px; }
.mega__col-title {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-dark); margin-bottom: 14px;
}
.mega__link { display: block; padding: 7px 0; font-size: 14.5px; color: rgba(248,248,245,.8); transition: color var(--t-fast), transform var(--t-fast) var(--ease); }
.mega__link:hover { color: var(--gold); transform: translateX(3px); }
.mega__link small { display: block; font-size: 12.5px; color: var(--muted-dark); margin-top: 1px; }
.mega__foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--bd-dark); display: flex; justify-content: space-between; align-items: center; gap: 20px; }

/* Mobile nav */
.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--bd-dark-2); border-radius: 10px; place-items: center; }
.nav__burger i { display: block; width: 16px; height: 1.5px; background: var(--white); position: relative; transition: background var(--t-fast); }
.nav__burger i::before, .nav__burger i::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--white); transition: transform var(--t-base) var(--ease); }
.nav__burger i::before { top: -5px; } .nav__burger i::after { top: 5px; }
body.menu-open .nav__burger i { background: transparent; }
body.menu-open .nav__burger i::before { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__burger i::after { transform: translateY(-5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); padding: calc(var(--nav-h) + 20px) var(--pad) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer__group { border-bottom: 1px solid var(--bd-dark); padding: 4px 0; }
.drawer__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.drawer__head span { font-family: var(--font-mono); font-size: 18px; color: var(--muted); transition: transform var(--t-base) var(--ease); }
.drawer__group.is-open .drawer__head span { transform: rotate(45deg); }
.drawer__body { display: none; padding-bottom: 14px; }
.drawer__group.is-open .drawer__body { display: block; }
.drawer__body a { display: block; padding: 9px 0; color: var(--muted); font-size: 15px; }
.drawer__body a:hover { color: var(--gold); }

/* ---------- 9. Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(52px, 8vw, 116px)); padding-bottom: clamp(60px, 8vw, 120px); overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--bd-dark) 1px, transparent 1px), linear-gradient(90deg, var(--bd-dark) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  opacity: .65;
}
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  top: -22%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 62%);
  filter: blur(24px);
}
.hero > .container { position: relative; z-index: 1; }

/* ---------- 10. Section header ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(36px, 5vw, 68px); flex-wrap: wrap; }
.sec-head__left { max-width: 720px; }
.sec-head .h2 { margin-top: 18px; }
.sec-head p { margin-top: 18px; max-width: 560px; }

/* ---------- 11. Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--bd-dark); padding-block: 22px; }
.on-paper .marquee { border-color: var(--bd-light); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: mq 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee__item::after { content: "◆"; font-size: 8px; color: var(--gold); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- 12. Accordion ---------- */
.acc { border-top: 1px solid var(--bd-dark); }
.on-paper .acc { border-color: var(--bd-light); }
.acc__item { border-bottom: 1px solid var(--bd-dark); }
.on-paper .acc__item { border-color: var(--bd-light); }
.acc__head { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; letter-spacing: -0.02em; transition: color var(--t-fast); }
.acc__head:hover { color: var(--accent); }
.acc__sign { flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 17px; color: var(--muted); transition: transform var(--t-base) var(--ease), color var(--t-base); }
.acc__item.is-open .acc__sign { transform: rotate(45deg); color: var(--accent); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease); }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { padding-bottom: 28px; max-width: 780px; color: var(--muted); }
.on-paper .acc__body p { color: #5A5E66; }

/* ---------- 13. Forms ---------- */
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px;
  background: rgba(255,255,255,.035); border: 1px solid var(--bd-dark); border-radius: var(--r-sm);
  color: var(--white); font-size: 15.5px;
  transition: border-color var(--t-base), background var(--t-base);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dark); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.05); }
.on-paper .field input, .on-paper .field textarea, .on-paper .field select { background: #fff; border-color: var(--bd-light); color: var(--ink); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23969BA6' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }

/* Choice chips (wizard) */
.choice {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; border: 1px solid var(--bd-dark); border-radius: var(--r-md);
  background: rgba(255,255,255,.02); cursor: pointer; text-align: left;
  transition: border-color var(--t-base), background var(--t-base), transform var(--t-fast) var(--ease);
}
.choice:hover { border-color: var(--bd-dark-2); transform: translateY(-2px); }
.choice.is-selected { border-color: var(--gold); background: rgba(242,184,75,.08); }
.choice__box { flex-shrink: 0; width: 20px; height: 20px; border: 1px solid var(--bd-dark-2); border-radius: 6px; display: grid; place-items: center; margin-top: 2px; }
.choice.is-selected .choice__box { background: var(--gold); border-color: var(--gold); }
.choice.is-selected .choice__box::after { content: "✓"; font-size: 12px; color: var(--ink); font-weight: 700; }
.choice strong { display: block; font-size: 15.5px; font-weight: 600; }
.choice small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.45; }

/* ---------- 14. Tabs / filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  height: 38px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--bd-dark); color: var(--muted);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  transition: all var(--t-base) var(--ease);
}
.filter:hover { border-color: var(--bd-dark-2); color: var(--white); }
.filter.is-active { background: var(--white); border-color: var(--white); color: var(--ink); }
.on-paper .filter { border-color: var(--bd-light); color: #5A5E66; }
.on-paper .filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- 15. Product / work cards ---------- */
.thumb {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md);
  overflow: hidden; background: linear-gradient(135deg, var(--surface) 0%, var(--charcoal) 100%);
  border: 1px solid var(--bd-dark);
  display: grid; place-items: center;
}
.thumb--tall { aspect-ratio: 4 / 5; }
.thumb--square { aspect-ratio: 1; }
.thumb__mock { width: 78%; }
.thumb__label { position: absolute; top: 14px; left: 14px; }
.thumb__price { position: absolute; bottom: 14px; right: 14px; }
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-soft), transparent 60%);
  opacity: .8; pointer-events: none;
}

.tile { display: flex; flex-direction: column; gap: 16px; }
.tile__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.tile__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.tile__price { font-family: var(--font-mono); font-size: 13px; color: var(--gold); white-space: nowrap; }
.tile__desc { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.tile__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-dark); border: 1px solid var(--bd-dark); border-radius: var(--r-pill); padding: 3px 9px; }
.on-paper .tag { border-color: var(--bd-light); }

/* ---------- 16. Steps / process ---------- */
.step { display: grid; grid-template-columns: 88px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid var(--bd-dark); align-items: start; }
.on-paper .step { border-color: var(--bd-light); }
.step__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); padding-top: 6px; }

/* ---------- 17. Table ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--bd-dark); }
.table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.on-paper .table th, .on-paper .table td { border-color: var(--bd-light); }

/* ---------- 18. Footer ---------- */
.footer { background: var(--charcoal); border-top: 1px solid var(--bd-dark); padding-block: clamp(56px, 7vw, 96px) 40px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 48px 32px; }
.footer__brand p { margin-top: 20px; max-width: 320px; font-size: 14.5px; color: var(--muted); }
.footer__col h5 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-dark); font-weight: 500; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: 14.5px; color: rgba(248,248,245,.72); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--bd-dark); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted-dark); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid var(--bd-dark); border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: all var(--t-base); }
.footer__social a:hover { color: var(--gold); border-color: var(--accent-line); }
.footer__social svg { width: 16px; height: 16px; }

/* ---------- 19. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- 20. Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); mix-blend-mode: difference; transition: width var(--t-base) var(--ease), height var(--t-base) var(--ease), opacity var(--t-base); display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor.is-lg { width: 46px; height: 46px; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gold); z-index: 101; transition: width 90ms linear; }

/* ---------- 21. Dashboard shell ---------- */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.app__side { background: var(--charcoal); border-right: 1px solid var(--bd-dark); padding: 26px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.app__main { padding: 30px clamp(20px, 3.4vw, 44px) 72px; }
.app__nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; color: rgba(248,248,245,.72); transition: all var(--t-fast); }
.app__nav a:hover { background: rgba(255,255,255,.05); color: var(--white); }
.app__nav a.is-active { background: rgba(242,184,75,.12); color: var(--gold); }
.app__nav h6 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-dark); font-weight: 500; margin: 22px 12px 8px; }
.app__topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }

/* ---------- 22. Utilities ---------- */
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; } .mt-72 { margin-top: 72px; }
.mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.flex { display: flex; } .wrap { flex-wrap: wrap; } .col { flex-direction: column; }
.items-center { align-items: center; } .items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.text-center { text-align: center; }
.full { width: 100%; }
.rel { position: relative; }
.hide { display: none !important; }
.sticky-top { position: sticky; top: calc(var(--nav-h) + 24px); }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .nav__menu { display: none; }
  .nav__burger { display: grid; }
  .nav__actions .btn--ghost { display: none; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .app { grid-template-columns: 1fr; }
  .app__side { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--bd-dark); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn--auto { width: auto; }
  .nav__actions .btn { width: auto; }
  .cta-band .btns .btn { width: 100%; }
}

/* ============================================================
   24. MOTION LAYER — transitions, animated theme, micro-interactions
   ============================================================ */

/* ---------- 24.1 Page transition ---------- */
.pt {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  display: grid; place-items: center;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
}
.pt.is-out { animation: ptIn 520ms var(--ease-in-out) forwards; pointer-events: all; }
.pt.is-in { animation: ptOut 640ms var(--ease-in-out) forwards; }
@keyframes ptIn  { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ptOut { from { clip-path: inset(0 0 0 0); }    to { clip-path: inset(100% 0 0 0); } }
.pt__mark { width: 54px; opacity: 0; transform: scale(.9); }
.pt.is-out .pt__mark { animation: ptMark 520ms var(--ease) 120ms forwards; }
@keyframes ptMark { to { opacity: 1; transform: scale(1); } }

/* First-paint curtain */
body.is-loading { overflow: hidden; }

/* ---------- 24.2 Animated colour field (theme aurora) ---------- */
.aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  z-index: 0; pointer-events: none; overflow: hidden;
  mask-image: radial-gradient(ellipse 80% 62% at 50% 22%, #000 30%, transparent 76%);
}
.aurora i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(70px); opacity: .55; will-change: transform;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 6%;  top: -8%;  background: var(--accent); opacity: .16; animation: drift1 26s var(--ease-in-out) infinite; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: 4%; top: 6%;   background: var(--gold);   opacity: .12; animation: drift2 32s var(--ease-in-out) infinite; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 38%; top: 34%;  background: var(--accent); opacity: .10; animation: drift3 38s var(--ease-in-out) infinite; }
@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(8vw,6vh,0) scale(1.18); } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1.1); } 50% { transform: translate3d(-7vw,9vh,0) scale(.92); } }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0) scale(.95); } 50% { transform: translate3d(5vw,-7vh,0) scale(1.2); } }

/* Animated grid sweep */
.hero__grid-bg { animation: gridFade 1600ms var(--ease) both; }
@keyframes gridFade { from { opacity: 0; transform: scale(1.04); } to { opacity: .65; transform: none; } }
.hero__grid-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 35%, var(--accent-soft) 50%, transparent 65%);
  background-size: 260% 100%;
  animation: sweep 9s linear infinite;
}
@keyframes sweep { from { background-position: 160% 0; } to { background-position: -60% 0; } }

/* ---------- 24.3 Headline reveal ---------- */
.reveal-lines .rl { display: block; overflow: hidden; }
.reveal-lines .rl > span {
  display: block; transform: translateY(105%);
  transition: transform 1000ms var(--ease);
}
.reveal-lines.is-in .rl > span { transform: none; }
.reveal-lines .rl:nth-child(2) > span { transition-delay: 90ms; }
.reveal-lines .rl:nth-child(3) > span { transition-delay: 180ms; }
.reveal-lines .rl:nth-child(4) > span { transition-delay: 270ms; }

/* Gradient shimmer on accent words */
.shimmer {
  background: linear-gradient(96deg, var(--gold) 12%, #FFE9A8 32%, var(--gold) 52%, #E0A02F 72%, var(--gold) 92%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 260% 0; } }

/* ---------- 24.4 Buttons & links ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%);
  background-size: 220% 100%; background-position: 160% 0;
  transition: background-position 720ms var(--ease);
}
.btn:hover::after { background-position: -60% 0; }
.btn--primary:hover, .btn--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px var(--gold); }
.btn--ghost:hover { transform: translateY(-2px); }

/* ---------- 24.5 Cards ---------- */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 62%);
  opacity: 0; transition: opacity 420ms var(--ease);
}
.card:hover::before { opacity: 1; }
.card--link { transition: transform 460ms var(--ease), border-color 320ms var(--ease); }
.card--link:hover { transform: translateY(-6px); }

/* Top-edge accent line grow */
.card::after {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 620ms var(--ease);
}
.card:hover::after { width: 100%; }

/* Thumb zoom */
.thumb { overflow: hidden; }
.thumb__mock { transition: transform 780ms var(--ease); }
.tile:hover .thumb__mock { transform: scale(1.045); }
.thumb::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.10) 50%, transparent 58%);
  background-size: 240% 100%; background-position: 150% 0;
  transition: background-position 900ms var(--ease);
}
.tile:hover .thumb::before { background-position: -50% 0; }

/* ---------- 24.6 Icon & pill motion ---------- */
.card__icon { transition: transform 520ms var(--ease), background 420ms, border-color 420ms; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-4deg); }
.pill--dot::before { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.78); } }

/* ---------- 24.7 Nav ---------- */
.nav__link { position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 420ms var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.mega__link { position: relative; }
.nav__logo svg { transition: transform 620ms var(--ease); }
.nav__logo:hover svg { transform: rotate(-6deg) scale(1.06); }

/* ---------- 24.8 Section entry ---------- */
.section > .container { position: relative; z-index: 1; }
[data-reveal] { transition-duration: 900ms; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal].is-in { transform: none !important; }

/* Parallax targets */
[data-parallax] { will-change: transform; }

/* Number counters */
.metric__value { font-variant-numeric: tabular-nums; }

/* ---------- 24.9 Marquee (dual speed) ---------- */
.marquee--slow .marquee__track { animation-duration: 64s; }
.marquee--rev .marquee__track { animation-direction: reverse; }

/* ---------- 24.10 Divider line draw ---------- */
.rule { height: 1px; background: var(--bd-dark); transform: scaleX(0); transform-origin: left; transition: transform 1100ms var(--ease); }
.rule.is-in { transform: scaleX(1); }
.on-paper .rule { background: var(--bd-light); }

/* ---------- 24.11 Pricing visibility switch ---------- */
body.no-pricing .price-hide { display: none !important; }

/* ---------- 24.12 Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .aurora i, .hero__grid-bg::after, .shimmer, .pill--dot::before { animation: none !important; }
  .pt { display: none !important; }
  .reveal-lines .rl > span { transform: none !important; }
  .shimmer { color: var(--gold); -webkit-text-fill-color: var(--gold); }
}

/* Cursor uses left/top positioning with centre offset */
.cursor { transform: translate(-50%, -50%); }
.reveal-lines-simple { }

/* ---------- 24.13 Motion fixes ---------- */
[data-lines] { display: block; }
.hero-xl .shimmer, .h1 .shimmer { display: block; }
.btn::after { z-index: 0; mix-blend-mode: overlay; }
.btn > * { position: relative; z-index: 1; }
.pt { will-change: clip-path; }
.nav__logo svg { flex-shrink: 0; }

/* Prevent flash-then-jump on split headlines (JS-only; no-JS keeps text visible) */
.lz-js [data-lines]:not(.is-in) { opacity: 0; }
.lz-js [data-lines].is-in { opacity: 1; transition: opacity 200ms linear; }
