/* =====================================================================
   INCorp8 — Neomorphic + Claymorphic design system
   Brand: Gold #FFD600 · Green #0B6623 · Lime #8BC34A (switchable palettes)
   ===================================================================== */

:root {
  --gold: #FFD600;
  --green: #0B6623;
  --lime: #8BC34A;
  --on-gold: #0A1A0E;
  --gold-deep: color-mix(in srgb, var(--gold) 88%, black);
  --green-deep: color-mix(in srgb, var(--green) 72%, black);
  --green-soft: color-mix(in srgb, var(--green) 62%, var(--lime));
  --green-ink-35: color-mix(in srgb, var(--green) 35%, black);
  --green-ink-20: color-mix(in srgb, var(--green) 20%, black);

  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --em-scale: 1;

  --container: 1180px;
  --r-sm: 14px; --r: 22px; --r-lg: 30px; --r-xl: 38px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* ---------- LIGHT ---------- */
  --bg: #EDF0EA;
  --bg-alt: #E5EAE2;
  --surface: #EDF0EA;
  --clay: #F5F7F2;
  --hl: rgba(255, 255, 255, .95);
  --sh: rgba(26, 46, 32, .16);
  --sh-soft: rgba(26, 46, 32, .07);
  --sh-color: color-mix(in srgb, var(--green) 24%, transparent);
  --text: #13201A;
  --text-2: #46554C;
  --text-3: #7B877F;
  --border: rgba(26, 46, 32, .08);
  --accent: var(--green);
  --accent-contrast: #FFFFFF;
  --nav-bg: rgba(237, 240, 234, .72);
  --photo-filter: none;
  --hero-overlay:
    linear-gradient(90deg, rgba(237, 240, 234, .97) 0%, rgba(237, 240, 234, .9) 40%, rgba(237, 240, 234, .45) 72%, rgba(237, 240, 234, .3) 100%),
    linear-gradient(180deg, rgba(237, 240, 234, .6), transparent 40%);
}

:root[data-theme="dark"] {
  --bg: #121614;
  --bg-alt: #0E1210;
  --surface: #121614;
  --clay: #191E1B;
  --hl: rgba(255, 255, 255, .055);
  --sh: rgba(0, 0, 0, .7);
  --sh-soft: rgba(0, 0, 0, .5);
  --sh-color: rgba(0, 0, 0, .6);
  --text: #F1F4F0;
  --text-2: #B4BDB6;
  --text-3: #7C867F;
  --border: rgba(255, 255, 255, .07);
  --accent: var(--gold);
  --accent-contrast: var(--on-gold);
  --nav-bg: rgba(18, 22, 20, .72);
  --photo-filter: saturate(.85) contrast(1.05);
  --hero-overlay:
    linear-gradient(90deg, rgba(18, 22, 20, .94) 0%, rgba(18, 22, 20, .82) 40%, rgba(18, 22, 20, .45) 72%, rgba(18, 22, 20, .32) 100%),
    linear-gradient(180deg, rgba(18, 22, 20, .6), transparent 45%);
}

:root[data-theme="gradient"] {
  --bg: #0A4A1C;
  --bg-alt: rgba(0, 0, 0, .16);
  --surface: rgba(255, 255, 255, .06);
  --clay: rgba(255, 255, 255, .1);
  --hl: rgba(255, 255, 255, .16);
  --sh: rgba(0, 0, 0, .4);
  --sh-soft: rgba(0, 0, 0, .28);
  --sh-color: rgba(0, 0, 0, .45);
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, .8);
  --text-3: rgba(255, 255, 255, .58);
  --border: rgba(255, 255, 255, .14);
  --accent: var(--gold);
  --accent-contrast: var(--on-gold);
  --nav-bg: rgba(5, 40, 16, .5);
  --photo-filter: saturate(.85);
  --hero-overlay:
    linear-gradient(90deg, color-mix(in srgb, var(--green-ink-35) 94%, transparent) 0%, color-mix(in srgb, var(--green-ink-35) 80%, transparent) 42%, color-mix(in srgb, var(--green) 45%, transparent) 75%, color-mix(in srgb, var(--green) 35%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--green-ink-35) 60%, transparent), transparent 45%);
}
:root[data-theme="gradient"] body {
  background:
    radial-gradient(1000px 700px at 90% -10%, color-mix(in srgb, var(--gold) 42%, transparent), transparent 60%),
    radial-gradient(900px 700px at -10% 100%, color-mix(in srgb, var(--lime) 55%, transparent), transparent 60%),
    linear-gradient(165deg, var(--green-ink-35) 0%, var(--green) 50%, var(--green-soft) 100%);
  background-attachment: fixed;
}

:root[data-theme="black"] {
  --bg: #000000;
  --bg-alt: #000000;
  --surface: #050505;
  --clay: #0B0B0B;
  --hl: rgba(255, 255, 255, .07);
  --sh: rgba(0, 0, 0, 1);
  --sh-soft: rgba(0, 0, 0, .8);
  --sh-color: transparent;
  --text: #FFFFFF;
  --text-2: #C9C9C9;
  --text-3: #8A8A8A;
  --border: rgba(255, 255, 255, .12);
  --accent: var(--gold);
  --accent-contrast: var(--on-gold);
  --nav-bg: rgba(0, 0, 0, .85);
  --photo-filter: grayscale(1) contrast(1.1);
  --hero-overlay: rgba(0, 0, 0, .76);
}
:root[data-theme="black"] body { background: #000; }

/* ---------- PALETTES ---------- */
:root[data-palette="heritage"] { --gold: #FFD600; --green: #0B6623; --lime: #8BC34A; --on-gold: #0A1A0E; }
:root[data-palette="midnight"] { --gold: #FFD600; --green: #0B2545; --lime: #D4B56A; --on-gold: #0B2545; }
:root[data-palette="midnight"][data-theme="light"] { --bg: #FAF9F5; --bg-elev: #FFFFFF; --bg-alt: #E8ECF1; --text: #0B2545; --text-2: #3A4A63; }
:root[data-palette="midnight"][data-theme="light"] .hero__title-accent { background: linear-gradient(100deg, #D4B56A, #FFD600 70%); -webkit-background-clip: text; background-clip: text; }
:root[data-palette="emerald"]  { --gold: #E9C46A; --green: #05614A; --lime: #2DD4A0; --on-gold: #0F1F19; }
:root[data-palette="navy"]     { --gold: #F5B942; --green: #0F2C59; --lime: #3B9EDB; --on-gold: #0B1730; }
:root[data-palette="sunset"]   { --gold: #FFB02E; --green: #8A2E12; --lime: #F2705B; --on-gold: #2A0E05; }
:root[data-palette="ocean"]    { --gold: #FFD166; --green: #0F4C5C; --lime: #2EC4B6; --on-gold: #062B33; }
:root[data-palette="plum"]     { --gold: #F4B6C2; --green: #4A1D4F; --lime: #C084FC; --on-gold: #2A0F2D; }
:root[data-palette="carbon"]   { --gold: #C6FF00; --green: #1F2937; --lime: #22D3EE; --on-gold: #0B1220; }
:root[data-palette="oasis"]    { --gold: #D4A017; --green: #4B5320; --lime: #A3B18A; --on-gold: #1B1D0C; }
:root[data-palette="cobalt"]   { --gold: #FFCC33; --green: #1F3A93; --lime: #7FB3FF; --on-gold: #0F1C4D; }
:root[data-palette="bordeaux"] { --gold: #F3E5AB; --green: #6B0F1A; --lime: #D98C8C; --on-gold: #2B0A0E; }
:root[data-palette="forest"]   { --gold: #D98E4B; --green: #1B4332; --lime: #74C69D; --on-gold: #12231B; }
:root[data-palette="slate"]    { --gold: #6EE7B7; --green: #334155; --lime: #38BDF8; --on-gold: #0F1B24; }
:root[data-palette="blackgold"]{ --gold: #D4AF37; --green: #161616; --lime: #8C7A3C; --on-gold: #111111; }
:root[data-palette="coral"]    { --gold: #FF8A5B; --green: #073B4C; --lime: #06D6A0; --on-gold: #1F1410; }
:root[data-palette="lavender"] { --gold: #FFD6A5; --green: #3D348B; --lime: #7678ED; --on-gold: #2A1F5A; }
:root[data-palette="ruby"]     { --gold: #F9C74F; --green: #9B111E; --lime: #F3722C; --on-gold: #3A0A0F; }
:root[data-palette="turquoise"]{ --gold: #F4D58D; --green: #0B7A75; --lime: #7DCFB6; --on-gold: #143E3B; }
:root[data-palette="bronze"]   { --gold: #CD7F32; --green: #2C2A29; --lime: #B08D57; --on-gold: #FFFFFF; }

/* ---------- FONT PAIRINGS ---------- */
:root[data-font="modern"]       { --font-body: 'Manrope', system-ui, sans-serif; --font-serif: 'Instrument Serif', Georgia, serif; --em-scale: 1; }
:root[data-font="editorial"]    { --font-body: 'Inter', system-ui, sans-serif; --font-serif: 'Playfair Display', Georgia, serif; --em-scale: .98; }
:root[data-font="contemporary"] { --font-body: 'Sora', system-ui, sans-serif; --font-serif: 'Fraunces', Georgia, serif; --em-scale: 1; }
:root[data-font="refined"]      { --font-body: 'Plus Jakarta Sans', system-ui, sans-serif; --font-serif: 'DM Serif Display', Georgia, serif; --em-scale: 1; }
:root[data-font="tech"]         { --font-body: 'Space Grotesk', system-ui, sans-serif; --font-serif: 'Instrument Serif', Georgia, serif; --em-scale: 1; }
:root[data-font="luxury"]       { --font-body: 'Outfit', system-ui, sans-serif; --font-serif: 'Cormorant Garamond', Georgia, serif; --em-scale: 1.18; }
:root[data-font="classic"]      { --font-body: 'DM Sans', system-ui, sans-serif; --font-serif: 'Libre Baskerville', Georgia, serif; --em-scale: .94; }
:root[data-font="friendly"]     { --font-body: 'Poppins', system-ui, sans-serif; --font-serif: 'Lora', Georgia, serif; --em-scale: 1; }

/* =====================================================================
   BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
::selection { background: var(--gold); color: var(--on-gold); }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: calc(1.06em * var(--em-scale)); }
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }

/* =====================================================================
   SURFACES — neomorphic (same colour as bg, dual shadow) + clay (soft inset)
   ===================================================================== */
.neu {
  background: var(--surface); border-radius: var(--r);
  box-shadow: -8px -8px 20px var(--hl), 10px 10px 24px var(--sh);
}
.neu-in {
  background: var(--surface); border-radius: var(--r-sm);
  box-shadow: inset 5px 5px 12px var(--sh), inset -5px -5px 12px var(--hl);
}
.clay {
  background: var(--clay); border-radius: var(--r-lg);
  box-shadow:
    inset 6px 6px 12px var(--hl),
    inset -8px -8px 18px var(--sh-soft),
    0 1px 0 var(--hl),
    18px 28px 50px -20px var(--sh-color),
    10px 14px 30px -14px var(--sh);
}
:root[data-theme="black"] .neu, :root[data-theme="black"] .clay { border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--hl); }
:root[data-theme="black"] .neu-in { border: 1px solid var(--border); box-shadow: none; }
:root[data-theme="gradient"] .neu, :root[data-theme="gradient"] .clay { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--border); }

/* =====================================================================
   BRAND
   ===================================================================== */
.brand { display: inline-flex; line-height: 1; }
.brand__mark { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 1.6rem; letter-spacing: -.045em; line-height: 1; }
.brand__in { background: linear-gradient(115deg, var(--green) 0%, var(--green) 38%, var(--gold) 52%, var(--gold-deep) 68%, var(--green-soft) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__corp { color: var(--green); }
.brand__eight { background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 45%, var(--green-soft) 75%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.12em; }
:root[data-theme="dark"] .brand__corp, :root[data-theme="gradient"] .brand__corp, :root[data-theme="black"] .brand__corp { color: var(--text); }
:root[data-theme="gradient"] .brand__in, :root[data-theme="black"] .brand__in { background: linear-gradient(115deg, #fff 0%, #fff 38%, var(--gold) 52%, var(--gold) 70%, var(--lime) 100%); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="black"] .brand__in, :root[data-theme="black"] .brand__eight { background: none; -webkit-background-clip: initial; background-clip: initial; }
:root[data-theme="black"] .brand__in { color: #fff; }
:root[data-theme="black"] .brand__eight { color: var(--gold); }

/* =====================================================================
   NAV — floating neomorphic bar
   ===================================================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; pointer-events: none; }
.nav__bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .55rem .7rem .55rem 1.2rem; border-radius: 999px;
  background: var(--nav-bg); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: -6px -6px 16px var(--hl), 8px 8px 20px var(--sh); border: 1px solid var(--hl);
  transition: box-shadow .4s, background .4s;
}
:root[data-theme="black"] .nav__bar { box-shadow: none; border-color: var(--border); }
.nav__links { display: flex; gap: .2rem; }
.nav__links a { padding: .55rem .95rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--text-2); transition: color .3s, box-shadow .3s, background .3s; }
.nav__links a:hover { color: var(--text); box-shadow: inset 3px 3px 7px var(--sh), inset -3px -3px 7px var(--hl); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__burger { display: none; }

.icon-btn {
  display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 1rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--text-2); font-size: .85rem; font-weight: 700;
  box-shadow: -4px -4px 10px var(--hl), 5px 5px 12px var(--sh);
  transition: box-shadow .3s, color .3s, transform .3s var(--ease);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--text); }
.icon-btn:active { box-shadow: inset 3px 3px 7px var(--sh), inset -3px -3px 7px var(--hl); transform: scale(.98); }
.icon-btn--square { width: 40px; padding: 0; justify-content: center; }
:root[data-theme="black"] .icon-btn { box-shadow: none; border: 1px solid var(--border); }

/* =====================================================================
   BUTTONS — clay
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-weight: 700; border-radius: 999px; border: 0;
  cursor: pointer; white-space: nowrap; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: .6rem 1.15rem; font-size: .86rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; padding: .95rem 1.4rem; }
.btn--primary {
  background: var(--accent); color: var(--accent-contrast);
  box-shadow: inset 3px 3px 6px rgba(255,255,255,.35), inset -4px -4px 8px rgba(0,0,0,.18), 10px 16px 30px -12px var(--accent), 4px 6px 14px -6px var(--sh);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: inset 3px 3px 6px rgba(255,255,255,.4), inset -4px -4px 8px rgba(0,0,0,.18), 14px 22px 36px -12px var(--accent), 4px 6px 14px -6px var(--sh); }
.btn--neu { background: var(--surface); color: var(--text); box-shadow: -6px -6px 14px var(--hl), 7px 7px 16px var(--sh); }
.btn--neu:hover { transform: translateY(-2px); }
.btn--neu:active { box-shadow: inset 4px 4px 8px var(--sh), inset -4px -4px 8px var(--hl); }
:root[data-theme="black"] .btn--primary { box-shadow: none; }
:root[data-theme="black"] .btn--neu { box-shadow: none; border: 1px solid var(--border); }
:root[data-theme="black"] .btn--primary::before { display: none; }
.btn:not(.btn--primary):not(.btn--neu) { padding: .6rem 1rem; }

/* =====================================================================
   PILLS / LINKS / KICKER
   ===================================================================== */
.pill { display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--surface); color: var(--text-2); box-shadow: inset 2px 2px 5px var(--sh), inset -2px -2px 5px var(--hl); }
.pill--gold { background: var(--gold); color: var(--on-gold); box-shadow: inset 2px 2px 4px rgba(255,255,255,.4), inset -2px -2px 4px rgba(0,0,0,.15); }
.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 0; }
:root[data-theme="light"] .link { color: var(--green); }
.link span { transition: transform .4s var(--ease); }
.link:hover span { transform: translateX(4px); }
.kicker { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; padding-left: 1.6rem; position: relative; }
.kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 1.1rem; height: 2px; background: var(--gold); border-radius: 2px; }
:root[data-theme="light"] .kicker { color: var(--green); }
.kicker--sm { margin-bottom: .3rem; font-size: .64rem; }
.stars { color: var(--gold-deep); letter-spacing: .08em; font-size: .85rem; }
:root:not([data-theme="light"]) .stars { color: var(--gold); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: 130px 0 60px; overflow: hidden; min-height: 100svh; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__photo { position: absolute; inset: -6% 0 0; background: url('assets/hero-dubai.jpg') center 38% / cover no-repeat; filter: var(--photo-filter); animation: kenburns 28s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { scale: 1; } to { scale: 1.08; } }
@media (max-width: 860px) { .hero__photo { background-image: url('assets/hero-dubai-mobile.jpg'); background-position: 62% center; } }
.hero__overlay { position: absolute; inset: 0; background: var(--hero-overlay); }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, var(--bg)); }
:root[data-theme="gradient"] .hero__fade { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--green-ink-35) 70%, transparent)); }
:root[data-theme="black"] .hero__photo { animation: none; }
@media (max-width: 1080px) {
  :root { --hero-overlay: linear-gradient(180deg, rgba(237,240,234,.94) 0%, rgba(237,240,234,.82) 55%, rgba(237,240,234,.55) 100%); }
  :root[data-theme="dark"] { --hero-overlay: linear-gradient(180deg, rgba(18,22,20,.9) 0%, rgba(18,22,20,.76) 55%, rgba(18,22,20,.5) 100%); }
  :root[data-theme="gradient"] { --hero-overlay: linear-gradient(180deg, color-mix(in srgb, var(--green-ink-35) 90%, transparent) 0%, color-mix(in srgb, var(--green-ink-35) 72%, transparent) 55%, color-mix(in srgb, var(--green) 45%, transparent) 100%); }
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; align-items: center; }
.hero__inner > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem .5rem .7rem; border-radius: 999px; background: var(--surface); box-shadow: -4px -4px 10px var(--hl), 5px 5px 12px var(--sh); font-size: .8rem; font-weight: 700; color: var(--text-2); margin-bottom: 1.6rem; }
:root[data-theme="black"] .eyebrow { box-shadow: none; border: 1px solid var(--border); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 70%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 1.4rem; max-width: min(100%, 15ch); }
.hero__title em { color: var(--accent); font-size: calc(1.1em * var(--em-scale)); }
:root[data-theme="light"] .hero__title em { color: var(--green); }
.hero__lead { font-size: 1.12rem; color: var(--text-2); max-width: min(100%, 50ch); margin-bottom: 2rem; line-height: 1.7; }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero__trust { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__trust li { display: flex; flex-direction: column; gap: .1rem; }
.hero__trust strong { font-size: 1.35rem; letter-spacing: -.03em; line-height: 1; }
.hero__trust small { font-size: .78rem; color: var(--text-3); font-weight: 600; }
.hero__trust .stars { font-size: .7rem; }
.hero__visual { position: relative; }

/* Estimator */
.estimator { padding: 1.8rem; }
.estimator__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.estimator__live { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); margin-bottom: .35rem; }
.estimator__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
.estimator h3 { font-size: 1.3rem; }
.estimator__field { margin-bottom: 1.2rem; }
.estimator__field > label, .estimator__row label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: .6rem; }
.estimator__row { display: flex; justify-content: space-between; align-items: baseline; }
.estimator__count { font-size: .85rem; color: var(--text-2); }
.estimator__count b { color: var(--text); font-size: 1rem; }
.estimator.no-visas .estimator__count, .estimator.no-visas .estimator__ticks { opacity: .4; }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: .62rem .4rem; border-radius: 10px; font-weight: 700; font-size: .88rem; color: var(--text-2); cursor: pointer; transition: color .3s; }
.seg button[aria-checked="true"] { color: var(--accent-contrast); }
.seg__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 10px; background: var(--accent); box-shadow: inset 2px 2px 4px rgba(255,255,255,.35), inset -3px -3px 6px rgba(0,0,0,.18), 4px 6px 12px -4px var(--sh); transition: transform .45s var(--ease); transform: translateX(calc(var(--i, 0) * 100%)); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--accent) var(--fill, 33%), transparent var(--fill, 33%)), var(--surface); box-shadow: inset 3px 3px 6px var(--sh), inset -3px -3px 6px var(--hl); outline: none; margin: .2rem 0 .3rem; }
input[type="range"]:disabled { opacity: .4; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--clay); box-shadow: -3px -3px 6px var(--hl), 4px 4px 8px var(--sh), inset 0 0 0 3px var(--accent); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--clay); border: 3px solid var(--accent); cursor: grab; }
.estimator__ticks { display: flex; justify-content: space-between; font-size: .66rem; color: var(--text-3); padding: 0 8px; }
.estimator__result { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; padding: 1.2rem; margin-bottom: 1rem; border-radius: var(--r); }
.estimator__price small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; color: var(--text-3); margin-bottom: .3rem; }
.estimator__price > div { font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.estimator__cur { font-size: .85rem; font-weight: 700; color: var(--text-3); vertical-align: .55em; }
.estimator__facts { display: grid; gap: .5rem; border-left: 1px solid var(--border); padding-left: 1rem; }
.estimator__facts small { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); }
.estimator__facts span { font-weight: 700; font-size: .9rem; }
.estimator__note { font-size: .72rem; color: var(--text-3); text-align: center; line-height: 1.5; margin-top: .8rem; }
.estimator__price > div.is-bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.04); } }

/* =====================================================================
   PARTNERS / MARQUEE
   ===================================================================== */
.partners { padding: 1rem 0 3rem; }
.partners__label { text-align: center; font-size: .74rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.4rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { padding: .7rem 1.4rem; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); background: var(--surface); box-shadow: -4px -4px 10px var(--hl), 5px 5px 12px var(--sh); white-space: nowrap; }
:root[data-theme="black"] .marquee__track span { box-shadow: none; border: 1px solid var(--border); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 30px 0 60px; }
.section__head { max-width: 640px; margin-bottom: 3.2rem; }
.section__head h2, .process__text h2, .contact__text h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -.035em; margin-bottom: 1rem; }
.section__head p, .process__text p, .contact__text p { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Tiles (why UAE) */
.tile { padding: 1.8rem; transition: transform .5s var(--ease); }
.tile:hover { transform: translateY(-5px); }
.tile__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: var(--accent); margin-bottom: 1.2rem; }
:root[data-theme="light"] .tile__icon { color: var(--green); }
.tile__icon svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.tile p { color: var(--text-2); font-size: .93rem; line-height: 1.6; }

/* Jurisdictions */
.jur { position: relative; padding: 2rem; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.jur:hover { transform: translateY(-5px); }
.jur--featured { outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: -2px; }
.jur__tag, .plan__tag { position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%); }
.jur__head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.jur h3 { font-size: 1.35rem; }
.jur__from { color: var(--text-2); font-size: .95rem; margin-bottom: 1.2rem; }
.jur__from strong { color: var(--text); font-size: 1.15rem; }
.list { display: grid; gap: .6rem; margin-bottom: 1.6rem; flex: 1; }
.list li { position: relative; padding-left: 1.6rem; font-size: .93rem; color: var(--text-2); line-height: 1.5; }
.list li::before { content: ''; position: absolute; left: 0; top: .3rem; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: inset 1px 1px 2px rgba(255,255,255,.5), inset -1px -1px 2px rgba(0,0,0,.15); }
.list li::after { content: ''; position: absolute; left: 5.5px; top: 6.5px; width: 4px; height: 7px; border: solid var(--on-gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Services */
.svc { display: block; padding: 1.6rem; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc:hover { transform: translateY(-5px); }
.svc:active { box-shadow: inset 5px 5px 12px var(--sh), inset -5px -5px 12px var(--hl); }
.svc__icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--clay); color: var(--accent); box-shadow: inset 3px 3px 6px var(--hl), inset -3px -3px 8px var(--sh-soft); margin-bottom: 1.1rem; }
:root[data-theme="light"] .svc__icon { color: var(--green); }
.svc__icon svg { width: 22px; height: 22px; }
.svc h3 { font-size: 1rem; margin-bottom: .4rem; }
.svc p { color: var(--text-2); font-size: .86rem; line-height: 1.55; }

/* Process */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; }
.process__text .btn { margin-top: 1.6rem; }
.steps { display: grid; gap: 1rem; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.4rem 1.5rem; }
.step__num { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--accent); }
:root[data-theme="light"] .step__num { color: var(--green); }
.step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.step p { color: var(--text-2); font-size: .9rem; line-height: 1.55; }

/* Pricing */
.pricing { align-items: stretch; }
.plan { position: relative; padding: 2rem; display: flex; flex-direction: column; }
.plan--featured { outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: -2px; }
.plan h3 { font-size: 1.3rem; }
.plan__for { color: var(--text-3); font-size: .86rem; margin: .2rem 0 1.2rem; }
.plan__price { margin-bottom: 1.4rem; }
.plan__price small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; color: var(--text-3); }
.plan__price span { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); padding: .6rem; }
.stat { padding: 1.4rem 1.6rem; text-align: center; }
.stat__num { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: .35rem; }
.stat__label { font-size: .82rem; color: var(--text-3); font-weight: 600; }

/* Testimonials */
.quote { padding: 1.8rem; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote strong { display: block; font-size: .92rem; }
.quote small { color: var(--text-3); font-size: .78rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: var(--on-gold); background: linear-gradient(135deg, var(--gold), var(--lime)); box-shadow: inset 2px 2px 4px rgba(255,255,255,.4), inset -2px -2px 4px rgba(0,0,0,.15); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
.faq .section__head { margin-bottom: 0; position: sticky; top: 110px; }
.faq__list { display: grid; gap: .9rem; }
.faq__item { padding: 0 1.4rem; overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 700; font-size: .98rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; position: relative; background: var(--clay); box-shadow: inset 2px 2px 4px var(--hl), inset -2px -2px 5px var(--sh-soft); transition: transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); border-radius: 2px; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p { color: var(--text-2); font-size: .93rem; line-height: 1.65; padding: 0 0 1.2rem; max-width: 60ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; }
.contact__details { display: grid; gap: .9rem; margin-top: 2rem; }
.detail { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: var(--r-sm); transition: transform .4s var(--ease); }
a.detail:hover { transform: translateX(4px); }
.detail small { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .15em; color: var(--text-3); }
.detail > span:last-child { font-weight: 700; }
.detail__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); box-shadow: inset 2px 2px 4px rgba(255,255,255,.4), inset -2px -2px 4px rgba(0,0,0,.15); }
.detail__icon svg { width: 18px; height: 18px; }
.form { padding: 1.8rem; display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; color: var(--text); width: 100%; padding: .85rem 1rem; border: 0; outline: none; resize: vertical; transition: box-shadow .3s; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field select option { color: #111; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 5px 5px 12px var(--sh), inset -5px -5px 12px var(--hl), 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.field input.is-invalid { box-shadow: inset 5px 5px 12px var(--sh), inset -5px -5px 12px var(--hl), 0 0 0 3px rgba(255, 90, 90, .45); }
.form__note { font-size: .72rem; color: var(--text-3); text-align: center; }
.form__success { display: none; align-items: center; gap: .6rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: color-mix(in srgb, var(--lime) 18%, transparent); font-weight: 600; font-size: .92rem; }
.form__success svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.form.is-sent .form__success { display: flex; animation: rise .6s var(--ease); }

/* Footer */
.footer { padding: 70px 0 30px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand p { color: var(--text-2); font-size: .9rem; line-height: 1.6; margin: 1rem 0 1.4rem; max-width: 34ch; }
.footer__social { display: flex; gap: .6rem; }
.footer__social svg { width: 16px; height: 16px; }
.footer h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.footer ul { display: grid; gap: .6rem; }
.footer ul a { font-size: .92rem; font-weight: 600; color: var(--text-2); transition: color .3s; }
.footer ul a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-3); }
.footer__legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__legal a { font-weight: 700; color: var(--text-2); }


/* =====================================================================
   HERO BACKGROUND ANIMATIONS (switchable)
   ===================================================================== */
.hero-anim { position: absolute; inset: 0; pointer-events: none; overflow: hidden; color: var(--accent); }
:root[data-theme="light"] .hero-anim { color: var(--green); }
.hero-anim svg { position: absolute; display: block; }
:root[data-hero="dune"] .hero__photo, :root[data-hero="dune"] .hero__overlay,
:root[data-hero="timeline"] .hero__photo, :root[data-hero="timeline"] .hero__overlay { opacity: 0; }
:root[data-hero="flight"] .hero__photo { opacity: .55; }
:root[data-hero="float"] .hero__photo { opacity: .7; }


/* 0 · Clay city (default) — soft 3D shapes in the brand palette */
:root[data-hero="clay"] .hero__photo, :root[data-hero="clay"] .hero__overlay { opacity: 0; }
:root[data-hero="clay"] .hero__bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 500px at 50% 110%, color-mix(in srgb, var(--lime) 16%, transparent), transparent 70%); }
:root[data-hero="clay"][data-theme="black"] .hero__bg::before { display: none; }
.anim-clay { position: absolute; inset: 0; --c1: color-mix(in srgb, var(--green) 42%, var(--clay)); --c2: color-mix(in srgb, var(--lime) 55%, var(--clay)); --c3: color-mix(in srgb, var(--gold) 70%, var(--clay)); --c4: color-mix(in srgb, var(--green) 22%, var(--clay)); }
:root[data-theme="dark"] .anim-clay, :root[data-theme="black"] .anim-clay { --c1: color-mix(in srgb, var(--green) 55%, #1a1f1c); --c2: color-mix(in srgb, var(--lime) 45%, #1a1f1c); --c3: color-mix(in srgb, var(--gold) 65%, #1a1f1c); --c4: color-mix(in srgb, var(--green) 28%, #1a1f1c); }
.anim-clay .lyr { position: absolute; inset: 0; transition: transform .6s var(--ease); will-change: transform; }
.anim-clay .lyr--near .cl { --o: .82; }
.anim-clay .cl {
  position: absolute; bottom: var(--b, 0); left: var(--x); width: var(--w); height: var(--h);
  background:
    radial-gradient(120% 90% at 28% 18%, rgba(255,255,255,.55), transparent 55%),
    linear-gradient(100deg, transparent 55%, rgba(0,0,0,.16)),
    var(--c, var(--c1));
  border-radius: var(--r, 18px);
  box-shadow: inset 4px 4px 10px rgba(255,255,255,.35), inset -6px -8px 14px rgba(0,0,0,.14), 14px 24px 40px -14px rgba(0,0,0,.35);
  opacity: 0; transform-origin: 50% 100%;
  animation: clayRise 1.4s var(--ease) forwards, clayBob var(--bt, 7s) ease-in-out infinite alternate;
  animation-delay: var(--dl, 0s), calc(var(--dl, 0s) + 1.4s);
}
:root[data-theme="dark"] .anim-clay .cl, :root[data-theme="black"] .anim-clay .cl { box-shadow: inset 3px 3px 8px rgba(255,255,255,.12), inset -6px -8px 14px rgba(0,0,0,.4), 14px 24px 40px -14px rgba(0,0,0,.7); }
:root[data-theme="black"] .anim-clay .cl { box-shadow: inset 3px 3px 8px rgba(255,255,255,.12), inset -6px -8px 14px rgba(0,0,0,.5); }
.anim-clay .cl--ring { background: none; box-shadow: none; }
.anim-clay .cl--ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(120% 90% at 28% 18%, rgba(255,255,255,.55), transparent 55%), var(--c, var(--c2)); box-shadow: inset 4px 4px 10px rgba(255,255,255,.35), inset -6px -8px 14px rgba(0,0,0,.14), 14px 24px 40px -14px rgba(0,0,0,.35); -webkit-mask: radial-gradient(circle, transparent var(--hole, 34%), #000 calc(var(--hole, 34%) + 1px)); mask: radial-gradient(circle, transparent var(--hole, 34%), #000 calc(var(--hole, 34%) + 1px)); }
.anim-clay .cl--wheel::before { animation: spin 40s linear infinite; }
.anim-clay .cl--sail { border-radius: 100% 0 12px 12px / 100% 0 12px 12px; }
.anim-clay .cl--spire { width: 6px; border-radius: 3px 3px 0 0; }
.anim-clay .cl--sphere { border-radius: 50%; bottom: auto; top: var(--y); animation: clayRise 1.4s var(--ease) forwards, clayFloat var(--bt, 9s) ease-in-out infinite alternate; }
.anim-clay .ground { position: absolute; left: -5%; right: -5%; bottom: -14px; height: 34px; border-radius: 50%; background: var(--surface); box-shadow: inset 6px 6px 14px var(--sh), inset -6px -6px 14px var(--hl); opacity: .9; }
:root[data-theme="black"] .anim-clay .ground { box-shadow: none; border: 1px solid var(--border); }
@keyframes clayRise { from { opacity: 0; transform: translateY(90px) scale(.7); } to { opacity: var(--o, .95); transform: translateY(0) scale(1); } }
@keyframes clayBob { from { translate: 0 0; } to { translate: 0 -10px; } }
@keyframes clayFloat { from { translate: 0 0; rotate: -4deg; } to { translate: 0 -26px; rotate: 6deg; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .anim-clay .cl { --sc: .6; } .anim-clay .lyr--far, .anim-clay .cl--sphere { display: none; } }

/* 1 · Skyline line-draw */
.anim-skyline { left: 50%; bottom: 0; width: max(100%, 1200px); height: clamp(220px, 32vw, 460px); transform: translateX(-50%); }
.anim-skyline path, .anim-skyline circle, .anim-skyline rect { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.anim-skyline .sk-base * { opacity: .38; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .18s); }
.anim-skyline .sk-pulse * { opacity: 0; stroke-width: 2.2; stroke-dasharray: .05 .95; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px currentColor); animation: travel 7s linear infinite; animation-delay: calc(3.4s + var(--i, 0) * .4s); }
.anim-skyline .sk-ground { opacity: .25; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes travel { 0% { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: .95; } 92% { opacity: .95; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* 2 · Formation timeline */
.anim-timeline { left: 0; right: 0; bottom: 0; width: 100%; height: 38%; }
.anim-timeline .tl-route { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; opacity: .35; vector-effect: non-scaling-stroke; }
.anim-timeline .tl-node { fill: var(--clay); stroke: currentColor; stroke-width: 2; opacity: .55; transition: opacity .4s; animation: nodeOn 10s infinite; animation-delay: calc(var(--i, 0) * 2.5s); }
.anim-timeline .tl-tick { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tickOn 10s infinite; animation-delay: calc(var(--i, 0) * 2.5s); }
.anim-timeline .tl-label { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; fill: var(--text-3); }
.anim-timeline .tl-dot { fill: var(--gold); filter: drop-shadow(0 0 8px var(--gold)); }
.anim-timeline .tl-halo { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 0; animation: halo 10s infinite; animation-delay: calc(var(--i, 0) * 2.5s); }
@keyframes nodeOn { 0%, 8% { opacity: .55; } 12%, 60% { opacity: 1; } 100% { opacity: 1; } }
@keyframes tickOn { 0%, 10% { stroke-dashoffset: 1; } 20%, 100% { stroke-dashoffset: 0; } }
@keyframes halo { 10% { opacity: .6; r: 14; } 30% { opacity: 0; r: 34; } 100% { opacity: 0; } }

/* 3 · Dune drift */
:root[data-hero="dune"] .hero__bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 14%, var(--bg)) 0%, var(--bg) 70%); }
:root[data-hero="dune"][data-theme="black"] .hero__bg::before { background: #000; }
.anim-dune { left: 0; right: 0; bottom: 0; width: 100%; height: 48%; }
.du-sun { position: absolute; left: 47%; top: 14%; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--gold) 70%, white), var(--gold) 60%, var(--gold-deep)); opacity: 0; filter: blur(.5px); box-shadow: 0 0 60px 20px color-mix(in srgb, var(--gold) 45%, transparent), inset -8px -10px 20px rgba(0,0,0,.12); animation: sunrise 4s var(--ease) forwards; }
:root[data-theme="black"] .du-sun { box-shadow: none; background: var(--gold); }
.anim-dune .du-wave { fill: currentColor; animation: drift linear infinite alternate; }
.anim-dune .du-1 { opacity: .10; animation-duration: 26s; }
.anim-dune .du-2 { opacity: .16; animation-duration: 20s; animation-delay: -6s; }
.anim-dune .du-3 { opacity: .24; animation-duration: 15s; animation-delay: -10s; }
@keyframes sunrise { from { transform: translateY(140px) scale(.8); opacity: 0; } to { transform: translateY(0) scale(1); opacity: .9; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-120px); } }

/* 4 · Floating icons */
.anim-float { position: absolute; inset: 0; }
.anim-float .fl { position: absolute; bottom: -12%; color: currentColor; opacity: 0; animation: floatUp linear infinite; animation-duration: var(--t, 22s); animation-delay: var(--dl, 0s); filter: blur(var(--bl, 0)); }
.anim-float .fl svg { width: var(--s, 56px); height: var(--s, 56px); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes floatUp { 0% { transform: translateY(0) rotate(-6deg); opacity: 0; } 10% { opacity: var(--o, .5); } 90% { opacity: var(--o, .5); } 100% { transform: translateY(-115vh) rotate(8deg); opacity: 0; } }

/* 5 · Flight paths */
.anim-flight { left: 0; top: 0; width: 100%; height: 100%; }
.anim-flight .fp-arc { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .35; vector-effect: non-scaling-stroke; animation: draw 2.6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .3s); }
.anim-flight .fp-dot { fill: var(--gold); filter: drop-shadow(0 0 6px var(--gold)); }
.anim-flight .fp-city { fill: currentColor; opacity: .6; }
.anim-flight .fp-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: var(--text-3); }
.anim-flight .fp-hub { fill: var(--gold); }
.anim-flight .fp-ring { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: 0; animation: ring 3s ease-out infinite; animation-delay: calc(var(--i, 0) * 1s); }
@keyframes ring { 0% { r: 8; opacity: .6; } 100% { r: 48; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-anim { display: none; } }
@media (max-width: 860px) { .anim-timeline { height: 30%; bottom: 4%; } .anim-timeline .tl-label { font-size: 15px; } .anim-flight { display: none; } }

/* =====================================================================
   CUSTOMISE POPUP
   ===================================================================== */
.customise { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.customise[hidden] { display: none; }
.customise__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .3s; }
.customise__panel { outline: none; position: relative; width: min(680px, 100%); max-height: min(86vh, 760px); overflow: auto; padding: 1.6rem; animation: rise .45s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.customise__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.2rem; }
.customise__head h3 { font-size: 1.35rem; }
.tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px; margin-bottom: 1.3rem; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: .65rem; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--text-2); cursor: pointer; transition: color .3s; }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs button:focus { outline: none; }
.tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tabs__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 4); border-radius: 10px; background: var(--clay); box-shadow: -3px -3px 8px var(--hl), 4px 4px 10px var(--sh); transition: transform .45s var(--ease); transform: translateX(calc(var(--i, 0) * 100%)); }
.opts { display: grid; gap: .8rem; }
.opts--theme { grid-template-columns: repeat(4, 1fr); }
.opts--colours { grid-template-columns: repeat(3, 1fr); }
.opts--fonts, .opts--motion { grid-template-columns: repeat(2, 1fr); }
.opts__intro { font-size: .85rem; color: var(--text-2); margin-bottom: .9rem; }
.opt__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--clay); color: var(--accent); box-shadow: inset 3px 3px 6px var(--hl), inset -3px -3px 8px var(--sh-soft); }
.opt__ico svg { width: 20px; height: 20px; }
:root[data-theme="light"] .opt__ico { color: var(--green); }
.opt { display: flex; align-items: center; gap: .75rem; padding: .75rem; border: 0; cursor: pointer; text-align: left; font-size: .86rem; font-weight: 700; color: var(--text); transition: box-shadow .3s, transform .3s var(--ease); border-radius: var(--r-sm); }
.opt small { display: block; font-size: .7rem; font-weight: 500; color: var(--text-3); }
.opt:hover { transform: translateY(-2px); }
.opt[aria-checked="true"] { box-shadow: inset 4px 4px 9px var(--sh), inset -4px -4px 9px var(--hl), 0 0 0 2px var(--accent); }
.opts--theme .opt { flex-direction: column; align-items: stretch; gap: .6rem; }
.opt__preview { display: block; height: 54px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--border); }
.opt__preview--light { background: #EDF0EA; }
.opt__preview--dark { background: #121614; }
.opt__preview--gradient { background: linear-gradient(135deg, #03230C, #0B6623 55%, #8BC34A); }
.opt__preview--black { background: #000; }
.opt__dots { display: flex; flex: none; }
.opt__dots i { width: 18px; height: 18px; border-radius: 50%; margin-left: -6px; border: 2px solid var(--clay); box-shadow: inset 1px 1px 2px rgba(255,255,255,.4); }
.opt__dots i:first-child { margin-left: 0; }
.opt__aa { flex: none; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--clay); box-shadow: inset 3px 3px 6px var(--hl), inset -3px -3px 8px var(--sh-soft); font-size: 1.05rem; font-weight: 700; font-family: var(--f-body); }
.opt__aa i { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.15em; margin-left: 1px; }
.opt--font > span:last-child { font-family: var(--f-body); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customise__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.customise__hint { font-size: .74rem; color: var(--text-3); }
body.modal-open { overflow: hidden; }


/* =====================================================================
   INNER PAGES
   ===================================================================== */
.page-hero { padding: 150px 0 70px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.035em; margin-bottom: 1rem; max-width: 16ch; }
.page-hero__lead { font-size: 1.12rem; color: var(--text-2); max-width: 56ch; line-height: 1.7; margin-bottom: 1.8rem; }
.page-hero__icon { width: 160px; height: 160px; border-radius: 40px; display: grid; place-items: center; color: var(--accent); }
:root[data-theme="light"] .page-hero__icon { color: var(--green); }
.page-hero__icon svg { width: 64px; height: 64px; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: var(--text-3); margin-bottom: 1.6rem; flex-wrap: wrap; }
.crumbs a { font-weight: 600; color: var(--text-2); }
.crumbs a:hover { color: var(--text); }
.crumbs b { color: var(--text); font-weight: 700; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 3rem; align-items: start; }
.page-grid--legal { grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.prose p { color: var(--text-2); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.1rem; max-width: 66ch; }
.prose ul { display: grid; gap: .5rem; margin: 0 0 1.1rem 1.2rem; list-style: disc; color: var(--text-2); }
.prose a { color: var(--accent); font-weight: 700; }
:root[data-theme="light"] .prose a { color: var(--green); }
.aside { padding: 1.6rem; position: sticky; top: 110px; display: grid; gap: 1rem; }
.aside__row { display: grid; gap: .2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.aside__row small { font-size: .66rem; text-transform: uppercase; letter-spacing: .15em; color: var(--text-3); }
.aside__row strong { font-size: 1.3rem; letter-spacing: -.02em; }
.aside__row span { font-size: .9rem; color: var(--text-2); line-height: 1.5; }
.aside .btn { margin-top: .2rem; }
.legal__updated { font-size: .8rem; color: var(--text-3); margin-top: -1rem; }
.legal__toc { padding: 1.3rem 1.4rem; }
.legal__toc small { font-size: .66rem; text-transform: uppercase; letter-spacing: .15em; color: var(--text-3); }
.legal__toc ol { display: grid; gap: .45rem; counter-reset: toc; }
.legal__toc li { counter-increment: toc; font-size: .88rem; }
.legal__toc li::before { content: counter(toc) '. '; color: var(--text-3); font-variant-numeric: tabular-nums; }
.legal__toc a { font-weight: 600; color: var(--text-2); }
.legal__toc a:hover { color: var(--text); }
.legal section { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.legal section:last-child { border-bottom: 0; }
.legal h2 { font-size: 1.25rem; margin-bottom: .6rem; }
.legal p, .legal li { font-size: .97rem; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.4rem; }
.cta h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -.03em; margin-bottom: .4rem; }
.cta p { color: var(--text-2); }
.more { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; margin-top: 2rem; }
.more > span { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.more__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.more__links a { padding: .5rem .9rem; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--text-2); background: var(--surface); box-shadow: -3px -3px 8px var(--hl), 4px 4px 10px var(--sh); transition: color .3s, box-shadow .3s; }
.more__links a:hover { color: var(--text); box-shadow: inset 3px 3px 7px var(--sh), inset -3px -3px 7px var(--hl); }
:root[data-theme="black"] .more__links a { box-shadow: none; border: 1px solid var(--border); }
@media (max-width: 1080px) {
  .page-grid, .page-grid--legal { grid-template-columns: 1fr; }
  .aside { position: static; }
  .page-hero__icon { display: none; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) { .page-hero { padding: 120px 0 50px; } .cta { padding: 1.6rem; } .cta .btn { width: 100%; } }


/* =====================================================================
   NAV DROPDOWNS
   ===================================================================== */
.nav__item { position: relative; }
.nav__drop { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .95rem; border-radius: 999px; border: 0; background: none; font-size: .9rem; font-weight: 600; color: var(--text-2); cursor: pointer; transition: color .3s, box-shadow .3s; }
.nav__drop svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.nav__drop:hover, .nav__drop[aria-expanded="true"] { color: var(--text); box-shadow: inset 3px 3px 7px var(--sh), inset -3px -3px 7px var(--hl); }
.nav__drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 14px); left: 0; display: none; gap: 1.6rem; padding: 1.3rem 1.4rem; min-width: 560px; border-radius: var(--r); z-index: 5; animation: rise .35s var(--ease); }
.menu--sm { min-width: 220px; }
.menu__col { display: grid; gap: .2rem; align-content: start; }
.menu__col small { font-size: .64rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); padding: 0 .6rem .4rem; }
.menu__col a { padding: .45rem .6rem; border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: color .2s, background .2s; }
.menu__col a:hover { color: var(--text); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.menu__all { color: var(--accent) !important; margin-top: .3rem; }
:root[data-theme="light"] .menu__all { color: var(--green) !important; }
.nav__item.is-open .menu { display: flex; }
.menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; }
.section__head--row .btn { flex: none; padding: .75rem 1.3rem; font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* =====================================================================
   PACE — bar race + outcomes
   ===================================================================== */
.pace { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: center; margin-bottom: 2rem; }
.pace__text h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -.035em; margin-bottom: 1rem; }
.pace__text p { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }
.pace__text .btn { margin-top: 1.6rem; }
.legend { display: flex; gap: 1.4rem; margin-top: 1.4rem; font-size: .8rem; font-weight: 700; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: .5rem; }
.legend i { width: 22px; height: 8px; border-radius: 4px; }
.legend__us { background: var(--accent); }
:root[data-theme="light"] .legend__us { background: var(--green); }
.legend__mkt { background: var(--text-3); opacity: .5; }
.pace__bars { padding: 2rem; display: grid; gap: 1.3rem; }
.race__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .55rem; }
.race__head h3 { font-size: .95rem; }
.race__head span { font-size: .8rem; color: var(--text-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.race__head b { color: var(--text); font-size: 1.1rem; }
.race__track { display: grid; gap: 5px; }
.race__track i { display: block; height: 12px; border-radius: 6px; width: 0; transition: width 1.4s var(--ease); }
.race__us { background: var(--accent); box-shadow: inset 1px 1px 2px rgba(255,255,255,.4), inset -1px -1px 2px rgba(0,0,0,.15); transition-delay: .1s !important; }
:root[data-theme="light"] .race__us { background: var(--green); }
.race__mkt { background: var(--text-3); opacity: .35; transition-delay: .3s !important; }
.is-visible .race__us { width: calc(var(--us) / var(--max) * 100%); }
.is-visible .race__mkt { width: calc(var(--mkt) / var(--max) * 100%); }
.race__note { font-size: .72rem; color: var(--text-3); line-height: 1.5; }
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.outcome { padding: 1.5rem 1.6rem; }
.outcome__num { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); margin-bottom: .5rem; }
:root[data-theme="light"] .outcome__num { color: var(--green); }
.outcome p { font-size: .86rem; color: var(--text-2); line-height: 1.5; }

/* =====================================================================
   WHY NOW — market moment
   ===================================================================== */
.moment { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; }
.moment__card { padding: 1.7rem; display: flex; flex-direction: column; gap: .5rem; }
.moment__num { font-family: var(--font-serif); font-style: italic; font-size: calc(2.6rem * var(--em-scale)); line-height: 1; color: var(--accent); letter-spacing: -.02em; margin-bottom: .4rem; }
:root[data-theme="light"] .moment__num { color: var(--green); }
.moment__card h3 { font-size: 1rem; }
.moment__card p { font-size: .88rem; color: var(--text-2); line-height: 1.55; }
.moment__card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; }
.moment__card--wide h3 { font-size: 1.3rem; }
.ticks { display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: .92rem; color: var(--text-2); line-height: 1.55; }
.ticks li b { color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .32rem; width: 16px; height: 16px; border-radius: 5px; background: var(--gold); box-shadow: inset 1px 1px 2px rgba(255,255,255,.5), inset -1px -1px 2px rgba(0,0,0,.15); }
.ticks li::after { content: ''; position: absolute; left: 5.5px; top: 6.5px; width: 4px; height: 7px; border: solid var(--on-gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* =====================================================================
   NETWORK — chip groups
   ===================================================================== */
.net { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.net__group { padding: 1.5rem; border-radius: var(--r-lg); background: var(--clay); box-shadow: inset 6px 6px 12px var(--hl), inset -8px -8px 18px var(--sh-soft), 0 1px 0 var(--hl), 18px 28px 50px -20px var(--sh-color), 10px 14px 30px -14px var(--sh); }
:root[data-theme="black"] .net__group { border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--hl); }
:root[data-theme="gradient"] .net__group { backdrop-filter: blur(18px); border: 1px solid var(--border); }
.net__label { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.net__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); }
:root[data-theme="light"] .net__icon { color: var(--green); }
.net__icon svg { width: 20px; height: 20px; }
.net__label h3 { font-size: 1.05rem; }
.net__label small { font-size: .76rem; color: var(--text-3); font-weight: 600; }
.net__chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.net__chips span { padding: .42rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--text-2); background: var(--surface); box-shadow: -3px -3px 7px var(--hl), 3px 3px 8px var(--sh); }
:root[data-theme="black"] .net__chips span { box-shadow: none; border: 1px solid var(--border); }

/* =====================================================================
   AFTER THE LICENCE — 30/60/90 road
   ===================================================================== */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; position: relative; }
.road::before { content: ''; position: absolute; left: 8%; right: 8%; top: 1.2rem; height: 2px; background: repeating-linear-gradient(90deg, var(--text-3) 0 8px, transparent 8px 16px); opacity: .35; }
.road__col { padding: 2rem 1.8rem 1.8rem; position: relative; }
.road__badge { position: absolute; top: -.85rem; left: 1.8rem; }
.road__col h3 { font-size: 1.25rem; margin-bottom: 1rem; }

/* =====================================================================
   NEWSLETTER BRIEF
   ===================================================================== */
.brief { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; padding: 2.6rem; }
.brief h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -.03em; margin-bottom: .6rem; }
.brief p { color: var(--text-2); }
.brief__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; align-items: start; }
.brief__form .field--inline input { padding: .95rem 1.1rem; }
.brief__form .btn { padding: .95rem 1.3rem; }
.brief__form .form__note, .brief__form .brief__ok { grid-column: 1 / -1; text-align: left; }
.brief__ok { display: none; font-size: .9rem; font-weight: 700; color: var(--accent); }
:root[data-theme="light"] .brief__ok { color: var(--green); }
.brief__form.is-sent .brief__ok { display: block; }
.brief__form.is-sent .form__note, .brief__form.is-sent .field--inline, .brief__form.is-sent .btn { display: none; }
.footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 2.4rem; }
.footer__contact li span { font-size: .92rem; font-weight: 600; color: var(--text-2); }

/* =====================================================================
   WHATSAPP FLOATING BUTTON
   ===================================================================== */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: .8rem; padding: .55rem 1.1rem .55rem .55rem; border-radius: 999px; transform: translateY(120px); transition: transform .6s var(--ease), box-shadow .3s; }
.wa.is-shown { transform: none; }
.wa:hover { transform: translateY(-2px); }
.wa__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #0A1A0E; box-shadow: inset 2px 2px 4px rgba(255,255,255,.45), inset -2px -2px 4px rgba(0,0,0,.18); position: relative; }
.wa__icon::after { content: ''; position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid var(--clay); animation: pulse 2s infinite; }
.wa__icon svg { width: 24px; height: 24px; }
.wa__text { display: grid; line-height: 1.2; }
.wa__text b { font-size: .86rem; }
.wa__text small { font-size: .7rem; color: var(--text-3); font-weight: 600; }
body.modal-open .wa { display: none; }

/* =====================================================================
   SERVICES HUB — industries, stack
   ===================================================================== */
.stack { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; }
.stack__text h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -.035em; margin-bottom: 1rem; }
.stack__text p { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }
.stack__layers { display: grid; gap: .9rem; perspective: 1200px; }
.layer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: center; padding: 1.3rem 1.5rem; transform: rotateX(4deg); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.layer:hover { transform: rotateX(0) translateY(-3px); }
.layer:nth-child(1) { margin-inline: 0; } .layer:nth-child(2) { margin-inline: .6rem; } .layer:nth-child(3) { margin-inline: 1.2rem; } .layer:nth-child(4) { margin-inline: 1.8rem; }
.layer__no { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--accent); }
:root[data-theme="light"] .layer__no { color: var(--green); }
.layer h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.layer p { font-size: .86rem; color: var(--text-2); line-height: 1.5; }
.layer__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.layer__tags a, .layer__tags span { font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text-2); }
.layer__tags a:hover { color: var(--text); }
.ind { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.ind__card { padding: 1.5rem; display: grid; gap: .5rem; transition: transform .5s var(--ease); }
.ind__card:hover { transform: translateY(-4px); }
.ind__card h3 { font-size: 1rem; }
.ind__card p { font-size: .85rem; color: var(--text-2); line-height: 1.5; }
.ind__card small { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

/* =====================================================================
   PROCESS PAGE — timeline + parallel tracks
   ===================================================================== */
.tl { position: relative; display: grid; gap: 1.4rem; padding-left: 4.2rem; }
.tl::before { content: ''; position: absolute; left: 1.55rem; top: 1rem; bottom: 1rem; width: 4px; border-radius: 2px; background: var(--surface); box-shadow: inset 1px 1px 3px var(--sh), inset -1px -1px 3px var(--hl); }
.tl__progress { position: absolute; left: 1.55rem; top: 1rem; width: 4px; border-radius: 2px; background: var(--accent); height: var(--p, 0%); transition: height .2s linear; }
:root[data-theme="light"] .tl__progress { background: var(--green); }
.phase { position: relative; padding: 1.6rem 1.8rem; display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 1.5rem; }
.phase::before { content: ''; position: absolute; left: -3.3rem; top: 1.7rem; width: 22px; height: 22px; border-radius: 50%; background: var(--clay); box-shadow: -3px -3px 6px var(--hl), 4px 4px 8px var(--sh), inset 0 0 0 4px var(--gold); }
.phase__when { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
:root[data-theme="light"] .phase__when { color: var(--green); }
.phase h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.phase__lead { color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.phase__out { display: grid; gap: .6rem; }
.phase__out small { font-size: .66rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); }
.phase--ongoing::before { background: var(--gold); box-shadow: inset 2px 2px 4px rgba(255,255,255,.4), inset -2px -2px 4px rgba(0,0,0,.15), 0 0 0 6px color-mix(in srgb, var(--gold) 25%, transparent); }
.lanes { padding: 1.8rem; display: grid; gap: .7rem; overflow: hidden; }
.lanes__head { display: grid; grid-template-columns: 150px repeat(14, 1fr); gap: 2px; margin-bottom: .3rem; }
.lanes__head span { font-size: .64rem; font-weight: 800; color: var(--text-3); text-align: center; font-variant-numeric: tabular-nums; }
.lanes__head span:first-child { text-align: left; letter-spacing: .15em; text-transform: uppercase; }
.lane { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 2px; align-items: center; }
.lane__name { font-size: .82rem; font-weight: 700; padding-right: .8rem; }
.lane__name small { display: block; font-size: .68rem; font-weight: 600; color: var(--text-3); }
.lane__grid { position: relative; height: 34px; border-radius: 10px; background: var(--surface); box-shadow: inset 3px 3px 7px var(--sh), inset -3px -3px 7px var(--hl); background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / 14 - 1px), var(--border) calc(100% / 14 - 1px) calc(100% / 14)); }
.lane__bar { position: absolute; top: 6px; bottom: 6px; left: calc((var(--s) - 1) / 14 * 100%); width: 0; border-radius: 8px; background: var(--accent); color: var(--accent-contrast); font-size: .68rem; font-weight: 800; display: flex; align-items: center; padding: 0 .6rem; white-space: nowrap; overflow: hidden; box-shadow: inset 2px 2px 4px rgba(255,255,255,.3), inset -2px -2px 4px rgba(0,0,0,.15); transition: width 1.2s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
:root[data-theme="light"] .lane__bar { background: var(--green); color: #fff; }
.lane__bar--gold { background: var(--gold) !important; color: var(--on-gold) !important; }
.is-visible .lane__bar { width: calc((var(--e) - var(--s) + 1) / 14 * 100%); }
.lanes__note { font-size: .74rem; color: var(--text-3); margin-top: .6rem; line-height: 1.5; }

/* =====================================================================
   ABOUT PAGE — principles, team, founder note
   ===================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.pillar { padding: 2rem; }
.pillar__word { font-family: var(--font-serif); font-style: italic; font-size: calc(2rem * var(--em-scale)); color: var(--accent); line-height: 1; margin-bottom: .8rem; }
:root[data-theme="light"] .pillar__word { color: var(--green); }
.pillar p { color: var(--text-2); line-height: 1.65; font-size: .95rem; }
.principles { display: grid; gap: 1rem; counter-reset: pr; }
.principle { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; padding: 1.4rem 1.6rem; align-items: start; counter-increment: pr; }
.principle::before { content: '0' counter(pr); font-family: var(--font-serif); font-style: italic; font-size: 1.8rem; color: var(--accent); line-height: 1; width: 2.4rem; }
:root[data-theme="light"] .principle::before { color: var(--green); }
.principle h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.principle p { color: var(--text-2); font-size: .92rem; line-height: 1.6; }
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; padding: 2.4rem; align-items: start; }
.note__avatar { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; color: var(--on-gold); background: linear-gradient(135deg, var(--gold), var(--lime)); box-shadow: inset 3px 3px 6px rgba(255,255,255,.4), inset -3px -3px 6px rgba(0,0,0,.15); }
.note blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: calc(1.35rem * var(--em-scale)); line-height: 1.5; margin-bottom: 1rem; }
.note figcaption strong { display: block; }
.note figcaption small { color: var(--text-3); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; }
.member { padding: 1.6rem; display: grid; gap: .8rem; text-align: center; justify-items: center; }
.member .avatar { width: 72px; height: 72px; font-size: 1.1rem; border-radius: 22px; }
.member h3 { font-size: 1rem; }
.member small { display: block; font-size: .76rem; color: var(--text-3); font-weight: 600; margin-top: .15rem; }
.member p { font-size: .84rem; color: var(--text-2); line-height: 1.5; }
.member__langs { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: center; }
.member__langs span { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text-2); }
.milestones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.milestone { padding: 1.3rem; }
.milestone b { display: block; font-size: 1.4rem; letter-spacing: -.03em; color: var(--accent); margin-bottom: .3rem; }
:root[data-theme="light"] .milestone b { color: var(--green); }
.milestone p { font-size: .84rem; color: var(--text-2); line-height: 1.5; }

/* =====================================================================
   PACKAGES PAGE — toggle, compare table, add-ons
   ===================================================================== */
.toggle { display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; padding: 5px; margin-bottom: 2.4rem; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; padding: .6rem 1.3rem; border-radius: 10px; font-weight: 700; font-size: .88rem; color: var(--text-2); cursor: pointer; transition: color .3s; }
.toggle button[aria-checked="true"] { color: var(--accent-contrast); }
.toggle .seg__pill { width: calc((100% - 10px) / 2); }
.plan__price span[data-fz] { display: inline-block; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.compare th, .compare td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare thead th { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); border-bottom: 2px solid var(--border); }
.compare thead th:not(:first-child), .compare td:not(:first-child) { text-align: center; }
.compare tbody th { font-weight: 600; color: var(--text-2); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.compare .yes { background: var(--gold); color: var(--on-gold); }
.compare .no { background: var(--surface); color: var(--text-3); box-shadow: inset 2px 2px 4px var(--sh), inset -2px -2px 4px var(--hl); }
.compare .yes svg, .compare .no svg { width: 12px; height: 12px; }
.compare .featured { background: color-mix(in srgb, var(--gold) 10%, transparent); }
.compare__wrap { padding: .6rem 1rem 1rem; overflow-x: auto; }
.compare__group th { padding-top: 1.4rem; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); border-bottom: 0; }
:root[data-theme="light"] .compare__group th { color: var(--green); }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; }
.addon h3 { font-size: .95rem; margin-bottom: .1rem; }
.addon small { font-size: .76rem; color: var(--text-3); }
.addon b { flex: none; font-size: .9rem; white-space: nowrap; }

.compare__toggle summary { display: none; }
@media (max-width: 640px) { .compare__toggle summary { display: flex; } }

/* =====================================================================
   FAQ PAGE — categories + search
   ===================================================================== */
.faqbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.faqbar input { width: 100%; padding: .95rem 1.1rem 0.95rem 2.8rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 1rem center; }
.cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.cats button { padding: .5rem .95rem; border-radius: 999px; border: 0; background: var(--surface); color: var(--text-2); font-size: .82rem; font-weight: 700; cursor: pointer; box-shadow: -3px -3px 8px var(--hl), 4px 4px 10px var(--sh); transition: box-shadow .3s, color .3s, background .3s; }
.cats button[aria-pressed="true"] { background: var(--accent); color: var(--accent-contrast); box-shadow: inset 2px 2px 4px rgba(255,255,255,.3), inset -3px -3px 6px rgba(0,0,0,.18); }
:root[data-theme="black"] .cats button { box-shadow: none; border: 1px solid var(--border); }
.faqgroups { display: grid; gap: 2.6rem; }
.faqgroup h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.faqgroup[hidden], .faq__item[hidden] { display: none; }
.faq__empty { display: none; padding: 2rem; text-align: center; color: var(--text-2); }
.faq__empty.is-shown { display: block; }
.faq__item mark { background: color-mix(in srgb, var(--gold) 45%, transparent); color: inherit; border-radius: 3px; padding: 0 .1em; }

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.hours { padding: 1.5rem; display: grid; gap: .6rem; }
.hours h3 { font-size: 1rem; margin-bottom: .3rem; }
.hours__row { display: flex; justify-content: space-between; font-size: .9rem; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.hours__row:last-child { border-bottom: 0; }
.hours__row span:first-child { color: var(--text-2); font-weight: 600; }
.hours__row b { font-variant-numeric: tabular-nums; }
.hours__row.is-now b { color: var(--accent); }
:root[data-theme="light"] .hours__row.is-now b { color: var(--green); }
.map { border-radius: var(--r-lg); overflow: hidden; height: 320px; margin-top: 1.4rem; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: var(--photo-filter); }
:root[data-theme="dark"] .map iframe, :root[data-theme="black"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); }
.forms { display: grid; gap: 1.2rem; }
.form__tabs { display: grid; grid-template-columns: 1fr 1fr; position: relative; padding: 5px; }
.form__tabs button { position: relative; z-index: 1; border: 0; background: none; padding: .65rem; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--text-2); cursor: pointer; transition: color .3s; }
.form__tabs button[aria-selected="true"] { color: var(--text); }
.form__tabs .tabs__pill { width: calc((100% - 10px) / 2); }
.form[hidden] { display: none; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.slots button { padding: .6rem .3rem; border: 0; border-radius: 10px; font-size: .82rem; font-weight: 700; color: var(--text-2); background: var(--surface); cursor: pointer; box-shadow: -3px -3px 7px var(--hl), 3px 3px 8px var(--sh); transition: all .3s; }
.slots button[aria-pressed="true"] { background: var(--accent); color: var(--accent-contrast); box-shadow: inset 2px 2px 4px rgba(255,255,255,.3), inset -3px -3px 6px rgba(0,0,0,.18); }
:root[data-theme="black"] .slots button { box-shadow: none; border: 1px solid var(--border); }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.reason { padding: 1.1rem 1.2rem; }
.reason b { display: block; font-size: .9rem; margin-bottom: .2rem; }
.reason small { font-size: .78rem; color: var(--text-3); line-height: 1.4; }

/* =====================================================================
   RESPONSIVE — new modules
   ===================================================================== */
@media (max-width: 1080px) {
  .pace, .stack, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .outcomes, .moment, .ind, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moment__card--wide { grid-template-columns: 1fr; }
  .net { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brief { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__item { width: 100%; }
  .nav__drop { width: 100%; justify-content: space-between; }
  .menu { position: static; min-width: 0; display: none; flex-direction: column; gap: .6rem; padding: .6rem .4rem 1rem; box-shadow: none; background: none; animation: none; }
  .menu__col a { white-space: normal; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .road { grid-template-columns: 1fr; }
  .road::before { display: none; }
  .lanes__head { grid-template-columns: 90px repeat(14, 1fr); }
  .lane { grid-template-columns: 90px minmax(0, 1fr); }
  .lane__name { font-size: .74rem; }
  .lane__bar { font-size: 0; padding: 0; }
  .wa__text { display: none; }
  .wa { padding: .45rem; }
  .note { grid-template-columns: 1fr; }
  .faqbar { grid-template-columns: 1fr; }
  .tl { padding-left: 3rem; }
  .tl::before, .tl__progress { left: 1.1rem; }
  .phase::before { left: -2.5rem; }
}
@media (max-width: 640px) {
  .outcomes, .moment, .ind, .team, .addons, .milestones, .reasons { grid-template-columns: 1fr; }
  .pace__bars { padding: 1.4rem; }
  .brief { padding: 1.6rem; }
  .brief__form { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(2, 1fr); }
  .layer:nth-child(n) { margin-inline: 0; }
  .lanes { padding: 1rem; }
}

/* =====================================================================
   MOBILE APP LAYOUT (≤640px) — tab bar, swipe rails, compact spacing
   ===================================================================== */
.tabbar { display: none; }
@media (max-width: 640px) {
  :root { --r: 18px; --r-lg: 22px; }
  html { scroll-padding-top: 84px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }

  /* Bottom tab bar */
  .tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 22px; background: var(--nav-bg); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: -6px -6px 16px var(--hl), 8px 8px 20px var(--sh); border: 1px solid var(--hl); }
  :root[data-theme="black"] .tabbar { box-shadow: none; border-color: var(--border); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 7px 2px 5px; border-radius: 16px; font-size: .62rem; font-weight: 700; color: var(--text-3); letter-spacing: .02em; transition: color .3s, box-shadow .3s; }
  .tabbar svg { width: 21px; height: 21px; }
  .tabbar a[aria-current="page"] { color: var(--accent); box-shadow: inset 3px 3px 7px var(--sh), inset -3px -3px 7px var(--hl); }
  :root[data-theme="light"] .tabbar a[aria-current="page"] { color: var(--green); }
  .tabbar__chat svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--lime); color: #0A1A0E; margin-top: -6px; box-shadow: inset 2px 2px 4px rgba(255,255,255,.45), inset -2px -2px 4px rgba(0,0,0,.18); }
  .wa { display: none; }
  .nav { padding: 10px 0; }
  .nav__bar { padding: .45rem .55rem .45rem 1rem; }
  .nav__links { max-height: calc(100svh - 120px); overflow: auto; }

  /* Hero: one screen, no dead space */
  .hero { min-height: auto; padding: 92px 0 36px; align-items: start; }
  .hero__inner { gap: 1.4rem; }
  .eyebrow { margin-bottom: 1rem; font-size: .72rem; padding: .4rem .8rem .4rem .6rem; }
  .hero__title { font-size: 2.15rem; margin-bottom: .9rem; max-width: none; }
  .hero__lead { font-size: .98rem; line-height: 1.55; margin-bottom: 1.2rem; }
  .hero__cta { gap: .6rem; margin-bottom: 1.2rem; }
  .hero__cta .btn { width: 100%; padding: .85rem 1.2rem; font-size: .95rem; }
  .hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; padding: .8rem .9rem; border-radius: var(--r); background: var(--surface); box-shadow: inset 4px 4px 10px var(--sh), inset -4px -4px 10px var(--hl); }
  .hero__trust strong { font-size: 1.1rem; }
  .hero__trust small { font-size: .66rem; }
  .estimator { padding: 1.1rem; }
  .estimator h3 { font-size: 1.05rem; }
  .estimator__head { margin-bottom: .9rem; }
  .estimator__field { margin-bottom: .9rem; }
  .estimator__ticks { display: none; }
  .estimator__result { padding: .9rem 1rem; gap: .8rem; margin-bottom: .8rem; grid-template-columns: 1fr; }
  .estimator__price > div { font-size: 1.8rem; }
  .estimator__facts { grid-template-columns: repeat(3, 1fr); border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: .7rem; }
  .estimator__note { display: none; }
  .partners { padding: .4rem 0 1.6rem; }
  .partners__label { font-size: .62rem; margin-bottom: .8rem; }
  .marquee__track span { padding: .5rem 1rem; font-size: .7rem; }

  /* Sections: tighter rhythm */
  .section { padding: 52px 0; }
  .section--tight { padding: 12px 0 32px; }
  .section__head { margin-bottom: 1.4rem; }
  .section__head h2, .process__text h2, .contact__text h2, .pace__text h2, .stack__text h2 { font-size: 1.7rem; margin-bottom: .6rem; }
  .section__head p, .process__text p, .contact__text p, .pace__text p, .stack__text p { font-size: .92rem; line-height: 1.55; }
  .kicker { margin-bottom: .6rem; font-size: .66rem; }
  .section__head--row .btn { padding: .6rem 1rem; font-size: .82rem; }
  .process, .faq, .contact, .pace, .stack, .contact-grid { gap: 1.4rem; }
  .process__text .btn, .pace__text .btn, .stack__text .btn { margin-top: .9rem; width: 100%; }

  /* Swipe rails: card lists become horizontal, snapping carousels */
  .rail { display: flex !important; grid-template-columns: none !important; gap: .8rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; margin-inline: -1.25rem; padding: 1rem 1.25rem 1.6rem; scroll-padding-inline: 1.25rem; margin-block: -1rem -1.6rem; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 min(80%, 320px); scroll-snap-align: start; min-width: 0; margin: 0 !important; }
  .rail > .reveal { opacity: 1; transform: none; transition: none; }
  .rail > .moment__card--wide { flex-basis: 88%; }
  .rail.road::before { display: none; }
  .rail .tile, .rail .jur, .rail .svc, .rail .quote, .rail .plan, .rail .moment__card, .rail .road__col, .rail .ind__card, .rail .member, .rail .pillar, .rail .milestone, .rail .outcome, .rail .net__group, .rail .addon, .rail .step { height: auto; }
  .rail .tile, .rail .jur, .rail .plan, .rail .quote, .rail .road__col { padding: 1.3rem; }
  .rail .svc { padding: 1.2rem; }
  .rail .step { flex-direction: column; gap: .8rem; padding: 1.2rem; }
  .rail .step__num { width: 42px; height: 42px; }
  .rail .list { gap: .45rem; margin-bottom: 1rem; }
  .rail .list li, .rail .ticks li { font-size: .86rem; }
  .rail .addon { flex-direction: column; align-items: flex-start; gap: .4rem; flex-basis: 64%; }
  .rail .milestone { flex-basis: 52%; }
  .rail .outcome { flex-basis: 58%; }
  .rail .member { flex-basis: 72%; }
  .rail .net__group { flex-basis: 86%; }
  .rail .moment__card { flex-basis: 66%; }
  .rail .ind__card { flex-basis: 70%; }
  .rail .pillar { flex-basis: 80%; }
  .rail__dots { display: flex; justify-content: center; gap: 6px; margin: 1.1rem 0 .2rem; }
  .rail__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); opacity: .35; transition: all .3s var(--ease); }
  .rail__dots i.is-on { opacity: 1; width: 18px; border-radius: 3px; background: var(--accent); }
  :root[data-theme="light"] .rail__dots i.is-on { background: var(--green); }

  /* Compact modules */
  .tile__icon { width: 44px; height: 44px; margin-bottom: .8rem; border-radius: 14px; }
  .tile h3, .jur h3, .plan h3 { font-size: 1.05rem; }
  .tile p, .svc p, .quote blockquote, .moment__card p, .outcome p { font-size: .86rem; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: .4rem; }
  .stat { padding: .9rem .6rem; }
  .stat__num { font-size: 1.55rem; }
  .stat__label { font-size: .72rem; }
  .pace__bars { padding: 1.1rem; gap: .9rem; }
  .race__head h3 { font-size: .86rem; }
  .race__track i { height: 9px; }
  .pace { margin-bottom: 1rem; }
  .legend { margin-top: .8rem; font-size: .72rem; }
  .faq__list--home .faq__item:nth-child(n+5) { display: none; }
  .faq__item { padding: 0 1rem; }
  .faq__item summary { padding: .9rem 0; font-size: .9rem; }
  .faq__item p { font-size: .88rem; }
  .contact__details { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1rem; }
  .detail { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .75rem; }
  .detail > span:last-child { font-size: .74rem; line-height: 1.3; word-break: break-word; }
  .detail small { font-size: .58rem; }
  .detail__icon { width: 32px; height: 32px; border-radius: 10px; }
  .detail__icon svg { width: 15px; height: 15px; }
  a.detail:hover { transform: none; }
  .form { padding: 1.1rem; gap: .8rem; }
  .field input, .field select, .field textarea { padding: .75rem .9rem; font-size: .92rem; }
  .btn--lg { padding: .85rem 1.3rem; font-size: .95rem; }

  /* Newsletter + footer as compact panels */
  .brief { padding: 1.3rem; gap: 1rem; }
  .brief h2 { font-size: 1.25rem; }
  .brief p { font-size: .88rem; }
  .brief__form .btn { width: 100%; }
  .footer { padding: 40px 0 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; margin-bottom: 1.6rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { margin: .6rem 0 .9rem; font-size: .84rem; }
  .footer h4 { font-size: .64rem; margin-bottom: .6rem; }
  .footer ul { gap: .4rem; }
  .footer ul a, .footer__contact li span { font-size: .84rem; }
  .footer__bottom { font-size: .72rem; gap: .6rem; padding-top: 1rem; }

  /* Inner pages */
  .page-hero { padding: 92px 0 32px; }
  .page-hero h1 { font-size: 2rem; max-width: none; margin-bottom: .7rem; }
  .page-hero__lead { font-size: .96rem; line-height: 1.55; margin-bottom: 1.1rem; }
  .page-hero .hero__cta { margin-bottom: 0; }
  .crumbs { margin-bottom: 1rem; font-size: .72rem; }
  .page-grid { gap: 1.4rem; }
  .prose p { font-size: .95rem; line-height: 1.6; }
  .aside { padding: 1.2rem; gap: .8rem; }
  .aside__row { padding-bottom: .7rem; }
  .aside__row strong { font-size: 1.1rem; }
  .cta { padding: 1.3rem; gap: 1rem; }
  .cta h2 { font-size: 1.35rem; }
  .cta p { font-size: .9rem; }
  .more { margin-top: 1.2rem; }
  .lanes { padding: .9rem; }
  .lanes__scroll { overflow-x: auto; margin-inline: -.9rem; padding-inline: .9rem; scrollbar-width: none; }
  .lanes__scroll::-webkit-scrollbar { display: none; }
  .lanes__head, .lane { min-width: 560px; grid-template-columns: 110px minmax(0, 1fr); }
  .lanes__head { grid-template-columns: 110px repeat(14, 1fr); }
  .lane__bar { font-size: .62rem; padding: 0 .4rem; }
  .lanes__note { font-size: .7rem; }
  .tl { gap: .9rem; padding-left: 2.4rem; }
  .tl::before, .tl__progress { left: .8rem; }
  .phase { padding: 1.1rem 1.2rem; gap: .8rem; }
  .phase::before { left: -2rem; width: 18px; height: 18px; top: 1.3rem; }
  .phase h3 { font-size: 1.1rem; }
  .phase__lead, .phase__out .ticks li { font-size: .86rem; }
  .stack__layers { gap: .6rem; }
  .layer { padding: 1rem 1.1rem; gap: .8rem; transform: none; }
  .layer p { font-size: .82rem; }
  .principles { gap: .7rem; }
  .principle { padding: 1rem 1.1rem; gap: .9rem; }
  .principle::before { font-size: 1.4rem; width: 1.8rem; }
  .principle p { font-size: .86rem; }
  .note { padding: 1.3rem; gap: 1rem; }
  .note__avatar { width: 64px; height: 64px; border-radius: 20px; font-size: 1.1rem; }
  .note blockquote { font-size: calc(1.08rem * var(--em-scale)); }
  .toggle { width: 100%; margin-bottom: 1.4rem; }
  .compare { font-size: .78rem; }
  .compare th, .compare td { padding: .6rem .6rem; }
  .compare__wrap { padding: .2rem .4rem .6rem; }
  .faqbar { gap: .7rem; margin-bottom: 1.2rem; }
  .cats { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; padding-bottom: .4rem; }
  .cats::-webkit-scrollbar { display: none; }
  .cats button { flex: none; }
  .faqgroups { gap: 1.6rem; }
  .faqgroup h2 { font-size: 1.1rem; margin-bottom: .7rem; }
  .contact-grid > .reveal:first-child { order: 2; }
  .forms { order: 1; }
  .hours { padding: 1.1rem; }
  .hours__row { font-size: .84rem; padding: .4rem 0; }
  .map { height: 220px; margin-top: 1rem; }
  .reasons { gap: .6rem; margin-top: 1rem; }
  .reason { padding: .9rem 1rem; }
  .slots { grid-template-columns: repeat(4, 1fr); }
  .slots button { font-size: .76rem; padding: .55rem .2rem; }
  .customise__panel { max-height: calc(100svh - 24px); }
  .opts--theme { grid-template-columns: repeat(2, 1fr); }

  /* Folded secondary sections (tap the heading to expand) */
  .section.is-foldable .section__head { position: relative; padding-right: 3rem; margin-bottom: 0; cursor: pointer; }
  .section.is-foldable .section__head::after { content: ''; position: absolute; right: .4rem; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--clay); box-shadow: -3px -3px 7px var(--hl), 4px 4px 9px var(--sh); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; transition: transform .4s var(--ease); }
  .section.is-foldable.is-open .section__head { margin-bottom: 1.4rem; }
  .section.is-foldable.is-open .section__head::after { transform: rotate(180deg); }
  .section.is-foldable .section__head p { display: none; }
  .section.is-foldable:not(.is-open) .container > :not(.section__head) { display: none !important; }
  .section.is-foldable { padding: 34px 0; }
  .section.is-foldable .section__head h2 { font-size: 1.35rem; margin-bottom: 0; }
  .section.is-foldable .kicker { margin-bottom: .3rem; }

  /* Footer columns collapse into accordions */
  .footer__grid > div:not(.footer__brand) h4 { position: relative; cursor: pointer; margin-bottom: 0; padding: .6rem 0; border-bottom: 1px solid var(--border); }
  .footer__grid > div:not(.footer__brand) h4::after { content: '+'; position: absolute; right: 0; top: .45rem; font-size: 1rem; color: var(--text-3); }
  .footer__grid > div:not(.footer__brand).is-open h4::after { content: '–'; }
  .footer__grid > div:not(.footer__brand) ul { display: none; padding: .7rem 0 .3rem; }
  .footer__grid > div:not(.footer__brand).is-open ul { display: grid; }
  .footer__grid { grid-template-columns: 1fr; gap: 0; }
  .footer__brand { margin-bottom: .8rem; }

  /* Packages: comparison table folded by default */
  .compare__toggle summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; font-weight: 700; font-size: .92rem; }
  .compare__toggle summary::-webkit-details-marker { display: none; }
  .compare__toggle summary::after { content: 'Show'; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
  .compare__toggle[open] summary::after { content: 'Hide'; }
  .compare__toggle .compare__wrap { padding-top: 0; }
  .contact__details { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   MOTION / RESPONSIVE
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { max-width: 540px; width: 100%; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process, .faq, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq .section__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .opts--colours { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; padding: .6rem; border-radius: var(--r); background: var(--nav-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: -6px -6px 16px var(--hl), 8px 8px 20px var(--sh); }
  .nav__links.is-open { display: flex; }
  .nav__bar { position: relative; }
  .nav__burger { display: inline-flex; }
  .nav__actions .btn { display: none; }
  #customiseBtn span { display: none; }
  #customiseBtn { width: 40px; padding: 0; justify-content: center; }
  .hero { padding-top: 110px; }
  .grid--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .opts--theme { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--4 { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .hero__trust { gap: 1.4rem; }
  .estimator { padding: 1.3rem; }
  .estimator__result { grid-template-columns: 1fr; }
  .estimator__facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: .8rem; grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .form, .customise__panel { padding: 1.2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .opts--colours, .opts--fonts, .opts--motion { grid-template-columns: 1fr; }
  .stat__num { font-size: 1.7rem; }
}
