/* ==========================================================================
   Falcon Peak Ventures — falconpeakventures.com
   Light theme by default; dark theme when the device prefers it.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  /* Brand constants (same in both themes) */
  --gold: #C9973A;
  --gold-light: #E8C47A;
  --gold-dark: #A07828;
  --brown: #4A2F1E;
  --brown-muted: #7A6250;
  --beige: #EFE6D6;
  --beige-line: #DCCDB4;
  --ink: #0A0A0A;
  --ink-2: #111110;
  --ink-3: #191816;
  --cream: #F5F0E8;
  --whatsapp: #25D366;

  /* Light theme */
  --bg: #FBF8F2;
  --bg-alt: #F4EDE2;
  --surface: #FFFFFF;
  --surface-2: #F7F1E7;
  --line: #E6DCCB;
  --line-strong: #D6C6AC;
  --text: #1A1410;
  --text-soft: #3D342C;
  --muted: #6F665C;
  --accent: #9C6F1E;
  --accent-soft: rgba(160, 120, 40, 0.1);
  --shine: #E8C47A;
  --header-bg: rgba(251, 248, 242, 0.8);
  --core-bg: #FFFFFF;
  --chip-bg: rgba(255, 255, 255, 0.9);
  --about-bg: linear-gradient(160deg, #FFFFFF 0%, #F4EDE2 100%);
  --footer-bg: #F1E9DC;
  --grid-line: rgba(26, 20, 16, 0.05);
  --glow-gold: rgba(201, 151, 58, 0.22);
  --glow-brown: rgba(160, 120, 40, 0.12);
  --cursor-glow: rgba(201, 151, 58, 0.12);
  --cursor-blend: multiply;
  --shadow-card: 0 24px 60px -28px rgba(74, 47, 30, 0.28);
  --shadow-float: 0 18px 44px -18px rgba(74, 47, 30, 0.35);
  --shadow-core: 0 30px 80px -24px rgba(160, 120, 40, 0.45);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius-lg: 28px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0A0A;
    --bg-alt: #111110;
    --surface: #141312;
    --surface-2: #1B1A17;
    --line: #2B2721;
    --line-strong: #3A342B;
    --text: #F5F0E8;
    --text-soft: #D9D2C6;
    --muted: #A39E95;
    --accent: #E8C47A;
    --accent-soft: rgba(201, 151, 58, 0.1);
    --shine: #FFF3D1;
    --header-bg: rgba(10, 10, 10, 0.74);
    --core-bg: #121110;
    --chip-bg: rgba(25, 24, 22, 0.92);
    --about-bg: linear-gradient(160deg, #1B1A17 0%, #0A0A0A 100%);
    --footer-bg: #0E0E0D;
    --grid-line: rgba(245, 240, 232, 0.035);
    --glow-gold: rgba(201, 151, 58, 0.16);
    --glow-brown: rgba(74, 47, 30, 0.45);
    --cursor-glow: rgba(201, 151, 58, 0.09);
    --cursor-blend: screen;
    --shadow-card: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
    --shadow-float: 0 20px 44px -16px rgba(0, 0, 0, 0.75);
    --shadow-core: 0 30px 90px -20px rgba(201, 151, 58, 0.4);

    color-scheme: dark;
  }
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
html.menu-open, html.menu-open body { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }
section[id], main [id] { scroll-margin-top: calc(var(--header-h) - 8px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--wa { color: var(--whatsapp); }

.container { width: 100%; max-width: calc(1280px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 600;
  transform: translateY(-160%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ── Type helpers ───────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 4.6vw, 58px); line-height: 1.07; letter-spacing: -0.01em; color: var(--text);
}
.section-title em, .cta-band em { font-style: italic; font-weight: 300; color: var(--accent); }
.section-lead { font-size: clamp(16px, 1.3vw, 18.5px); color: var(--muted); line-height: 1.7; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  --btn-pad-y: 15px; --btn-pad-x: 26px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; white-space: nowrap;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  will-change: transform;
}
.btn .icon { font-size: 18px; transition: translate 0.35s var(--ease-out); }
.btn:hover .icon { translate: 4px 0; }
.btn--sm { --btn-pad-y: 11px; --btn-pad-x: 20px; font-size: 13.5px; }
.btn--lg { --btn-pad-y: 17px; --btn-pad-x: 30px; font-size: 15px; }

.btn--primary { background: var(--gold); color: #1A1208; box-shadow: 0 12px 30px -14px rgba(201, 151, 58, 0.8); }
.btn--primary:hover { background: var(--gold-light); box-shadow: 0 16px 36px -14px rgba(201, 151, 58, 0.95); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  translate: -120% 0; transition: translate 0.8s var(--ease-out);
}
.btn--primary:hover::after { translate: 120% 0; }
.btn--outline { border-color: rgba(201, 151, 58, 0.7); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--accent-soft); border-color: var(--gold); }
.btn--dark { background: var(--brown); color: var(--cream); }
.btn--dark:hover { background: #5C3B26; }
.btn--ink { background: var(--ink); color: var(--gold-light); }
.btn--ink:hover { background: #1F1D1A; }

.text-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 22px; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.text-link .icon { font-size: 16px; transition: translate 0.35s var(--ease-out); }
.text-link:hover .icon { translate: 2px -2px; }

/* ── Pill ───────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(201, 151, 58, 0.42); background: var(--accent-soft);
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent);
}
.pill__dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.pill__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gold);
  animation: ping 2.4s var(--ease-out) infinite;
}
.pill--sm { padding: 7px 14px; font-size: 11px; }
.pill--light { border-color: rgba(74, 47, 30, 0.35); background: rgba(74, 47, 30, 0.07); color: var(--brown); }
.pill--light .pill__dot, .pill--light .pill__dot::after { background: var(--brown); border-color: var(--brown); }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

/* ── Preloader ──────────────────────────────────────────────────────────── */
.preloader { display: none; }
html.js .preloader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--bg);
  transition: clip-path 0.9s var(--ease-out), visibility 0s linear 0.9s;
  clip-path: inset(0 0 0 0);
}
html.is-loaded .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader img { width: 92px; height: auto; animation: preloader-in 0.9s var(--ease-out) both; }
.preloader__line { width: 140px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.preloader__line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform-origin: left; animation: preloader-line 1.1s var(--ease-out) 0.2s both;
}
.preloader__word {
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted);
  animation: fade-in 0.8s ease 0.35s both;
}
@keyframes preloader-in { from { opacity: 0; transform: translateY(14px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes preloader-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ── Cursor glow (fine pointers only, see main.ts) ──────────────────────── */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 55; pointer-events: none;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, var(--cursor-glow) 0%, transparent 62%);
  mix-blend-mode: var(--cursor-blend);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0) translate(-50%, -50%);
  opacity: 0; transition: opacity 0.6s ease;
}
html.has-cursor .cursor-glow { opacity: 1; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: transform 0.5s var(--ease-out), background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
html.menu-open .site-header { transform: none; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.js .site-header { animation: header-in 0.9s var(--ease-out) both; animation-play-state: paused; }
html.is-loaded .site-header { animation-play-state: running; }
@keyframes header-in { from { opacity: 0; translate: 0 -16px; } to { opacity: 1; translate: 0 0; } }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transform-origin: left; transform: scaleX(var(--progress, 0));
}

.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 60px; height: auto; transition: transform 0.6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.05); }
.brand__text { display: grid; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.brand__sub { font-size: 10.5px; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; color: var(--accent); }

.nav { position: relative; }
.nav__list { display: flex; gap: clamp(22px, 3vw, 44px); }
.nav__link { position: relative; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); transition: color 0.3s ease; padding: 6px 0; }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__indicator {
  position: absolute; bottom: -4px; left: 0; height: 2px; border-radius: 2px; background: var(--gold);
  width: var(--ind-w, 0px); transform: translateX(var(--ind-x, 0px)); opacity: var(--ind-o, 0);
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out), opacity 0.3s ease;
}
.header__ctas { display: flex; gap: 10px; }

.menu-toggle {
  display: none; position: relative; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface);
  align-items: center; justify-content: center;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--text);
  transition: transform 0.45s var(--ease-out), opacity 0.3s ease, top 0.45s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; right: 18px; }
.menu-toggle span:nth-child(3) { top: 28px; }
html.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
html.menu-open .menu-toggle span:nth-child(2) { opacity: 0; transform: translateX(8px); }
html.menu-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ── Mobile menu ────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; visibility: hidden;
  transition: visibility 0s linear 0.8s;
}
html.menu-open .mobile-menu { visibility: visible; transition: none; }
.mobile-menu__bg {
  position: absolute; inset: 0; background: var(--bg);
  clip-path: circle(0px at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2));
  transition: clip-path 0.8s var(--ease-out);
}
.mobile-menu__bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 90% 0%, var(--glow-gold), transparent 70%), radial-gradient(50% 40% at 0% 100%, var(--glow-brown), transparent 70%);
}
html.menu-open .mobile-menu__bg { clip-path: circle(160% at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2)); }
.mobile-menu__inner {
  position: relative; height: 100%; overflow-y: auto;
  padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 36px;
}
.mobile-menu__links { display: grid; gap: 6px; counter-reset: none; }
.mobile-menu__links li, .mobile-menu__ventures, .mobile-menu__contact {
  opacity: 0; translate: 0 26px;
  transition: opacity 0.5s ease, translate 0.7s var(--ease-out);
}
html.menu-open .mobile-menu__links li, html.menu-open .mobile-menu__ventures, html.menu-open .mobile-menu__contact {
  opacity: 1; translate: 0 0; transition-delay: calc(0.22s + var(--i) * 0.07s);
}
.mobile-menu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0;
  font-family: var(--font-display); font-size: clamp(40px, 11vw, 56px); font-weight: 400; line-height: 1.05; color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu__links a span { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); }
.mobile-menu__links a:hover { color: var(--accent); }
.mobile-menu__ventures { display: grid; gap: 12px; }
.mobile-menu__ventures .btn { width: 100%; }
.mobile-menu__contact { display: grid; gap: 12px; font-size: 14.5px; color: var(--text-soft); }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: 10px; }
.mobile-menu__contact .icon { font-size: 18px; color: var(--accent); }
.mobile-menu__contact .icon--wa { color: var(--whatsapp); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 110px;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(to right, var(--grid-line) 0 1px, transparent 1px 116px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
}
html.js .hero__grid { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-out) 0.2s; }
html.is-loaded .hero__grid { clip-path: inset(0 0 0 0); }
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--gold { width: 760px; height: 760px; right: -180px; top: -220px; background: var(--glow-gold); animation: glow-drift 16s ease-in-out infinite alternate; }
.hero__glow--brown { width: 620px; height: 620px; left: -260px; bottom: -280px; background: var(--glow-brown); animation: glow-drift 20s ease-in-out infinite alternate-reverse; }
@keyframes glow-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
.hero__copy { display: grid; gap: 30px; justify-items: start; }

.hero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(48px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.02em; color: var(--text);
}
.hero__title .line { display: block; }
.hero__title .mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.08em 0.1em 0; margin-right: -0.08em; }
.hero__title .word { display: inline-block; }
html.js .hero__title .word { transform: translateY(112%); transition: transform 1.15s var(--ease-out); transition-delay: calc(0.12s + var(--d) * 0.09s); }
html.is-loaded .hero__title .word { transform: translateY(0); }
.hero__title .line--accent .word {
  font-style: italic; color: var(--accent);
  background: linear-gradient(105deg, var(--accent) 0%, var(--accent) 42%, var(--shine) 50%, var(--accent) 58%, var(--accent) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
html.is-loaded .hero__title .line--accent .word { animation: shimmer 2.6s ease-in-out 1.3s 1 both; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.hero__sub { max-width: 590px; font-size: clamp(16px, 1.32vw, 18.5px); color: var(--muted); line-height: 1.75; }
.hero__sub strong { color: var(--text); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { font-size: 16px; color: var(--gold); }

html.js .hero__pill, html.js .hero__sub, html.js .hero__ctas, html.js .hero__trust {
  opacity: 0; translate: 0 24px; transition: opacity 0.9s ease, translate 1s var(--ease-out);
}
html.js .hero__pill { transition-delay: 0.05s; }
html.js .hero__sub { transition-delay: 0.55s; }
html.js .hero__ctas { transition-delay: 0.7s; }
html.js .hero__trust { transition-delay: 0.85s; }
html.is-loaded .hero__pill, html.is-loaded .hero__sub, html.is-loaded .hero__ctas, html.is-loaded .hero__trust { opacity: 1; translate: 0 0; }

/* Emblem */
.emblem { position: relative; width: min(100%, 560px); aspect-ratio: 56 / 60; justify-self: end; }
html.js .emblem { opacity: 0; scale: 0.94; transition: opacity 1.2s ease 0.35s, scale 1.4s var(--ease-out) 0.35s; }
html.is-loaded .emblem { opacity: 1; scale: 1; }
.emblem__layer {
  position: absolute; inset: 0;
  transform: translate3d(calc(var(--mx, 0) * var(--depth) * 16px), calc(var(--my, 0) * var(--depth) * 16px), 0);
  transition: transform 0.9s var(--ease-out);
}
.emblem__glow {
  position: absolute; left: 50%; top: 50%; width: 68%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.34) 0%, rgba(201, 151, 58, 0) 68%);
  transform: translate(-50%, -50%); animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
.orbit { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(201, 151, 58, 0.34); }
.orbit--1 { width: 57%; animation: spin 26s linear infinite reverse; }
.orbit--2 { width: 78%; border-style: dashed; border-color: rgba(201, 151, 58, 0.32); animation: spin 42s linear infinite; }
.orbit--3 { width: 100%; border-color: rgba(201, 151, 58, 0.14); animation: spin 64s linear infinite reverse; }
@keyframes spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit__dot { position: absolute; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px 2px rgba(201, 151, 58, 0.6); }
.orbit__dot--a { width: 12px; height: 12px; top: 14.6%; right: 14.6%; transform: translate(50%, -50%); }
.orbit__dot--b { width: 8px; height: 8px; bottom: 25%; left: 6.7%; transform: translate(-50%, 50%); background: var(--gold-light); }
.orbit__dot--c { width: 10px; height: 10px; bottom: -5px; left: 50%; transform: translateX(-50%); }
.emblem__core {
  position: absolute; left: 50%; top: 50%; width: 45%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--core-bg); border: 1px solid rgba(201, 151, 58, 0.45);
  box-shadow: 0 0 0 12px rgba(201, 151, 58, 0.05), var(--shadow-core);
  transform: translate(-50%, -50%); animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.03); } }
.emblem__core img { width: 76%; height: auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Chips are sized in em and scale with the emblem's width (container units),
   so they never cover the core at any viewport size. */
.emblem { container-type: inline-size; }
.emblem__layer--chip { inset: auto; font-size: clamp(10px, 2.45cqi, 13.5px); }
.chip-pos--courier { top: 6%; right: -4%; }
.chip-pos--store { bottom: 18%; left: -8%; }
.chip-pos--payout { bottom: 6%; right: -2%; }
.chip {
  display: flex; align-items: center; gap: 0.9em;
  padding: 0.9em 1.5em 0.9em 0.9em; border-radius: 1.35em;
  background: var(--chip-bg); border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: chip-float 6.5s ease-in-out infinite var(--float-delay, 0s);
}
html.js .chip { opacity: 0; scale: 0.88; transition: opacity 0.7s ease, scale 0.9s var(--ease-out); }
html.is-loaded .chip { opacity: 1; scale: 1; }
html.is-loaded .chip-pos--courier .chip { transition-delay: 0.95s; }
html.is-loaded .chip-pos--store .chip { transition-delay: 1.1s; }
html.is-loaded .chip-pos--payout .chip { transition-delay: 1.25s; }
@keyframes chip-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.chip__icon { display: grid; place-items: center; width: 2.95em; height: 2.95em; border-radius: 0.9em; background: var(--accent-soft); color: var(--gold); font-size: 1em; flex-shrink: 0; }
.chip__icon .icon { font-size: 1.45em; }
.chip__text { display: grid; gap: 0.15em; font-size: 1em; line-height: 1.3; color: var(--text); white-space: nowrap; }
.chip__text small { font-size: 0.78em; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.chip--light { background: var(--beige); border-color: var(--beige-line); }
.chip--light .chip__icon { background: var(--brown); color: var(--gold-light); }
.chip--light .chip__text { color: var(--brown); }
.chip--light .chip__text small { color: var(--brown-muted); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 50%;
  background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite;
}
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(220%); } }
html.js .scroll-cue { opacity: 0; transition: opacity 1s ease 1.4s; }
html.is-loaded .scroll-cue { opacity: 1; }

/* ── Stats ──────────────────────────────────────────────────────────────── */
.stats { background: var(--bg-alt); border-block: 1px solid var(--line); }
.stats__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; gap: 6px; padding: 52px 0 52px clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 4.4vw, 58px); line-height: 1; color: var(--accent); font-variant-numeric: lining-nums tabular-nums;
}
.stat__label { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ── Marquee ────────────────────────────────────────────────────────────── */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--text-soft); white-space: nowrap; }
.marquee i { width: 9px; height: 9px; margin: 0 clamp(24px, 3vw, 44px); background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding-block: clamp(84px, 11vw, 136px); position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 6vw, 68px); }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .section-lead { max-width: 640px; }
.section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: end; gap: 48px; }
.section-head--split > div { display: grid; gap: 18px; }

/* ── Ventures ───────────────────────────────────────────────────────────── */
.ventures__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; perspective: 1400px; }
.venture {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(28px, 4vw, 48px); border-radius: 32px; border: 1px solid var(--line);
  color: var(--text);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.6s ease;
  box-shadow: var(--shadow-card);
}
.venture:hover { box-shadow: 0 40px 90px -36px rgba(201, 151, 58, 0.45); }
/* FPV Courier keeps its dark identity in both themes */
.venture--courier {
  --text: #F5F0E8; --muted: #A39E95; --accent: #E8C47A; --line: #2B2721; --accent-soft: rgba(201, 151, 58, 0.12);
  background: radial-gradient(120% 90% at 100% 0%, rgba(201, 151, 58, 0.16) 0%, transparent 55%), var(--ink-2);
  border-color: rgba(201, 151, 58, 0.28);
}
/* FPV Store keeps its beige identity in both themes */
.venture--store {
  --text: #4A2F1E; --muted: rgba(74, 47, 30, 0.78); --accent: #7A6250; --line: #DCCDB4; --accent-soft: rgba(74, 47, 30, 0.08);
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%), var(--beige);
  border-color: var(--beige-line);
}
.venture__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 50%), rgba(201, 151, 58, 0.18), transparent 60%);
  transition: opacity 0.5s ease;
}
.venture:hover .venture__spot { opacity: 1; }
.venture__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.venture__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; font-size: 28px; transition: transform 0.6s var(--ease-out); }
.venture:hover .venture__icon { transform: translateY(-4px) rotate(-6deg); }
.venture--courier .venture__icon { background: var(--gold); color: var(--ink); }
.venture--store .venture__icon { background: var(--brown); color: var(--gold-light); }
.venture__head { display: grid; gap: 10px; }
.venture__head h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.5vw, 32px); line-height: 1.15; }
.venture__head p:not(.eyebrow) { color: var(--muted); }

.track-demo { display: grid; gap: 20px; padding: 20px 24px; border-radius: 18px; background: var(--ink-3); border: 1px solid var(--line); }
.track-demo__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.track-demo__head span { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.track-demo__head b { font-size: 14px; font-weight: 500; }
.track-demo__steps { position: relative; display: flex; justify-content: space-between; }
.track-demo__bar { position: absolute; left: 7px; right: 7px; top: 6px; height: 2px; border-radius: 2px; background: var(--line); }
.track-demo__bar i { position: absolute; inset: 0 auto 0 0; width: var(--track, 0%); border-radius: inherit; background: var(--gold); transition: width 0.9s var(--ease-out); }
.track-step { position: relative; display: grid; justify-items: center; gap: 10px; font-size: 13px; color: var(--muted); transition: color 0.4s ease; }
.track-step:first-of-type { justify-items: start; }
.track-step:last-of-type { justify-items: end; }
.track-step i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.track-step.is-done, .track-step.is-current { color: var(--text); }
.track-step.is-done i { background: var(--gold); }
.track-step.is-current i { background: var(--gold); box-shadow: 0 0 0 5px rgba(201, 151, 58, 0.25); animation: step-pulse 1.6s ease-out infinite; }
@keyframes step-pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 151, 58, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(201, 151, 58, 0); } }

.collections { display: grid; gap: 14px; padding: 20px 24px; border-radius: 18px; background: rgba(245, 240, 232, 0.72); border: 1px solid var(--beige-line); }
.collections__label { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brown-muted); }
.collections__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.collections__chips a {
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: var(--cream); color: var(--brown); border: 1px solid var(--beige-line);
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease-out);
}
.collections__chips a:hover { transform: translateY(-2px); border-color: var(--brown); }
.collections__chips a.is-active { background: var(--brown); color: var(--cream); border-color: var(--brown); }

.features { display: grid; gap: 14px; }
.features li { display: flex; align-items: flex-start; gap: 14px; color: var(--text); opacity: 0.92; }
.features .icon { width: 24px; height: 24px; padding: 5px; margin-top: 1px; border-radius: 50%; stroke-width: 2.4; background: var(--accent-soft); color: var(--accent); }
.venture--courier .features .icon { background: rgba(201, 151, 58, 0.16); color: var(--gold-light); }

.venture__actions { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.venture__domain { display: inline-flex; align-items: center; gap: 6px; margin-top: -12px; font-size: 13px; color: var(--muted); transition: color 0.3s ease; width: fit-content; }
.venture__domain:hover { color: var(--accent); }
.venture__domain .icon { font-size: 14px; }

/* ── Why FPV ────────────────────────────────────────────────────────────── */
.why { background: var(--bg-alt); border-top: 1px solid var(--line); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value {
  display: grid; align-content: start; gap: 18px;
  padding: 32px 30px 36px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), border-color 0.5s ease, box-shadow 0.5s var(--ease-out);
}
.value:hover { transform: translateY(-8px); border-color: rgba(201, 151, 58, 0.55); box-shadow: var(--shadow-card); }
.value__top { display: flex; justify-content: space-between; align-items: flex-start; }
.value__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 26px;
  background: var(--accent-soft); color: var(--gold); border: 1px solid rgba(201, 151, 58, 0.28);
  transition: background-color 0.5s ease, color 0.5s ease, transform 0.6s var(--ease-out);
}
.value:hover .value__icon { background: var(--gold); color: var(--ink); transform: rotate(-8deg) scale(1.05); }
.value__index { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--accent); opacity: 0.5; transition: opacity 0.4s ease; }
.value:hover .value__index { opacity: 1; }
.value h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.value p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ── About ──────────────────────────────────────────────────────────────── */
.about__inner { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.about__visual {
  position: relative; aspect-ratio: 1; border-radius: 32px; overflow: hidden;
  background: var(--about-bg); border: 1px solid var(--line);
}
.about__glow { position: absolute; left: 50%; top: 46%; width: 66%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 151, 58, 0.3), transparent 68%); transform: translate(-50%, -50%); }
.about__ring { position: absolute; left: 50%; top: 46%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(201, 151, 58, 0.22); }
.about__ring--outer { width: 84%; border-style: dashed; transform: translate(-50%, -50%) rotate(calc(var(--scroll-deg, 0) * 1deg)); }
.about__ring--inner { width: 62%; border-color: rgba(201, 151, 58, 0.32); transform: translate(-50%, -50%) rotate(calc(var(--scroll-deg, 0) * -1.4deg)); }
.about__ring--outer::after, .about__ring--inner::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); top: -5px; left: calc(50% - 5px); box-shadow: 0 0 16px rgba(201, 151, 58, 0.7); }
.about__logo { position: absolute; left: 50%; top: 46%; width: 54%; height: auto; transform: translate(-50%, -50%); animation: float-center 7s ease-in-out infinite; }
@keyframes float-center { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.about__badge {
  position: absolute; top: 28px; right: 28px; width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--gold); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5;
}
.about__badge::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(201, 151, 58, 0.6); animation: spin-plain 18s linear infinite; }
@keyframes spin-plain { to { transform: rotate(360deg); } }
.about__quote {
  position: absolute; left: 28px; bottom: 28px; display: grid; gap: 8px;
  padding: 22px 28px; border-radius: 20px;
  background: var(--chip-bg); border: 1px solid var(--line); box-shadow: var(--shadow-float);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.about__quote blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; color: var(--text); }
.about__quote figcaption { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.about__story { display: grid; gap: 22px; }
.about__story > p { color: var(--muted); }
.about__story .about__lead { font-size: clamp(16.5px, 1.35vw, 19px); color: var(--text-soft); line-height: 1.75; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 10px; }
.pillar { display: grid; gap: 10px; padding-top: 18px; position: relative; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 2px; background: var(--gold); transition: width 0.6s var(--ease-out); }
.pillar:hover::before { width: 100%; }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; }
.pillar p { font-size: 14.5px; color: var(--muted); }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band { padding-bottom: clamp(84px, 11vw, 136px); }
.cta-band__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5.5vw, 72px); border-radius: 32px;
  background: linear-gradient(120deg, #A07828 0%, #C9973A 45%, #E8C47A 100%);
  background-size: 180% 180%; animation: gradient-shift 12s ease-in-out infinite alternate;
  box-shadow: 0 40px 90px -40px rgba(160, 120, 40, 0.8);
}
@keyframes gradient-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.cta-band__ring { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(10, 10, 10, 0.14); }
.cta-band__ring--a { width: 520px; height: 520px; right: -120px; top: -230px; animation: spin-plain 50s linear infinite; border-style: dashed; }
.cta-band__ring--b { width: 340px; height: 340px; right: -30px; top: -140px; }
.cta-band__copy { display: grid; gap: 12px; max-width: 640px; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; color: var(--ink); }
.cta-band p { font-size: clamp(16px, 1.3vw, 18px); color: rgba(10, 10, 10, 0.74); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact { border-top: 1px solid var(--line); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact__intro { display: grid; gap: 20px; }
.contact__intro > p:not(.eyebrow) { color: var(--muted); }
.contact__hours { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.contact__hours .icon { font-size: 18px; color: var(--gold); }
.contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-card {
  position: relative; display: flex; align-items: flex-start; gap: 16px;
  padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(201, 151, 58, 0.6); box-shadow: var(--shadow-card); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; font-size: 22px; background: var(--accent-soft); color: var(--gold); border: 1px solid rgba(201, 151, 58, 0.28); }
.contact-card__icon--wa { background: rgba(37, 211, 102, 0.1); color: var(--whatsapp); border-color: rgba(37, 211, 102, 0.3); }
.contact-card:hover .contact-card__icon--wa { animation: wa-pop 0.6s var(--ease-out); }
@keyframes wa-pop { 40% { transform: scale(1.15) rotate(-8deg); } }
.contact-card__text { display: grid; gap: 3px; min-width: 0; }
.contact-card__text small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-card__text b { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.2; color: var(--text); }
.contact-card__text b.contact-card__email { font-size: clamp(17px, 1.45vw, 20px); word-break: break-all; }
.contact-card__text span { font-size: 13.5px; color: var(--muted); }
.contact-card__go { position: absolute; top: 20px; right: 20px; font-size: 16px; color: var(--muted); transition: color 0.3s ease, translate 0.4s var(--ease-out); }
.contact-card:hover .contact-card__go { color: var(--accent); translate: 3px -3px; }
.contact__ventures {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 18px 24px; border-radius: 16px; border: 1px dashed var(--line-strong);
}
.contact__ventures span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.contact__ventures a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); transition: color 0.3s ease; }
.contact__ventures a:hover { color: var(--accent); }
.contact__ventures .icon { font-size: 16px; color: var(--gold); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--footer-bg); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 92px) 0 32px; }
.footer__watermark {
  position: absolute; z-index: -1; left: 50%; bottom: -0.22em;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(110px, 19vw, 290px); line-height: 1; letter-spacing: 0.02em;
  white-space: nowrap; color: var(--text); opacity: 0.04; pointer-events: none;
  transform: translate(-50%, calc(var(--footer-shift, 0) * 1px));
}
.footer__top { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); }
.footer__brand { display: grid; gap: 20px; align-content: start; }
.footer__logo { width: 150px; height: auto; }
.footer__brand p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--accent); font-size: 18px;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out), background-color 0.3s ease;
}
.footer__social a:hover { border-color: var(--gold); transform: translateY(-3px); background: var(--accent-soft); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr); gap: 32px; }
.footer__col { display: grid; gap: 13px; align-content: start; }
.footer__col h4 { font-size: 12px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.footer__col a, .footer__col span { position: relative; width: fit-content; font-size: 14px; color: var(--text-soft); transition: color 0.3s ease; }
.footer__col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
.footer__col a:hover { color: var(--accent); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__col--contact a, .footer__col--contact span { display: inline-flex; align-items: center; gap: 10px; word-break: break-all; }
.footer__col--contact .icon { font-size: 16px; color: var(--gold); }
.footer__bottom {
  margin-top: clamp(48px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px;
  font-size: 13.5px; color: var(--muted);
}
.footer__legal { display: inline-flex; gap: 12px; }
.footer__legal a:hover { color: var(--accent); }

.dev-credit {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 16px 10px 20px; border-radius: 16px;
  background: linear-gradient(90deg, #0B1626 0%, #0B2A33 100%);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.28);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
}
.dev-credit:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.7); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, 0.45); }
.dev-credit__label { font-size: 10.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: #9FB3C8; }
.dev-credit__rule { width: 1px; height: 30px; background: rgba(34, 211, 238, 0.3); }
.dev-credit img { height: 34px; width: auto; }
.dev-credit__name { font-size: 14px; font-weight: 600; line-height: 1.12; color: #EFEAD8; }
.dev-credit__go { font-size: 15px; color: #22D3EE; transition: translate 0.4s var(--ease-out); }
.dev-credit:hover .dev-credit__go { translate: 2px -2px; }

/* ── Back to top ────────────────────────────────────────────────────────── */
.to-top {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 80;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--gold); color: var(--ink); font-size: 20px;
  box-shadow: 0 14px 30px -12px rgba(201, 151, 58, 0.9);
  opacity: 0; translate: 0 16px; pointer-events: none;
  transition: opacity 0.4s ease, translate 0.5s var(--ease-out), background-color 0.3s ease;
}
.to-top.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: var(--gold-light); }
.to-top .icon { stroke-width: 2.2; }

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
html.js [data-reveal] {
  opacity: 0; translate: 0 44px;
  transition: opacity 1s ease, translate 1.1s var(--ease-out), scale 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.11s);
}
html.js [data-reveal="left"] { translate: -60px 0; }
html.js [data-reveal="scale"] { translate: 0 30px; scale: 0.95; }
html.js [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; }
/* Cards that also tilt/lift on hover keep those transitions alongside the reveal. */
html.js .venture[data-reveal], html.js .value[data-reveal], html.js .contact-card[data-reveal] {
  transition: opacity 1s ease, translate 1.1s var(--ease-out), transform 0.6s var(--ease-out), border-color 0.5s ease, box-shadow 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.11s), calc(var(--i, 0) * 0.11s), 0s, 0s, 0s;
}

/* ── Legal pages & 404 ──────────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -320px; border-radius: 50%; background: var(--glow-gold); filter: blur(90px); z-index: -1; }
.page-hero .container { display: grid; gap: 16px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; }
.page-hero p { color: var(--muted); max-width: 640px; }
.prose { max-width: 780px; padding-block: clamp(48px, 7vw, 88px); display: grid; gap: 18px; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 32px); margin-top: 22px; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .note { padding: 18px 22px; border-radius: 14px; background: var(--accent-soft); border: 1px solid rgba(201, 151, 58, 0.3); color: var(--text-soft); }

/* 404 — "4 [emblem] 4" over drifting mountain ridges */
.nf {
  --ridge-back: #E8DDCB; --ridge-mid: #DCCCB1; --ridge-front: #CFBB99;
  --sky: linear-gradient(180deg, #FBF8F2 0%, #F6EEE1 55%, #EFE3CF 100%);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 48px) 0 clamp(200px, 27vw, 330px);
  background: var(--sky);
}
@media (prefers-color-scheme: dark) {
  .nf {
    --ridge-back: #24211B; --ridge-mid: #1A1814; --ridge-front: #111010;
    --sky: linear-gradient(180deg, #0A0A0A 0%, #100F0D 60%, #17140F 100%);
  }
}
.nf__sky { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.nf__stars {
  position: absolute; inset: 0 0 35% 0; opacity: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, var(--gold-light) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 64%, var(--cream) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 14%, var(--cream) 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 42%, var(--gold-light) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 77% 18%, var(--cream) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 56%, var(--cream) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 48%, var(--cream) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 8%, var(--gold-light) 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@media (prefers-color-scheme: dark) { .nf__stars { opacity: 1; } }
@keyframes twinkle { from { filter: brightness(0.6); } to { filter: brightness(1.4); } }
.nf__sun {
  position: absolute; left: 50%; top: 38%; width: min(760px, 120vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-gold) 0%, transparent 62%);
  transform: translate(-50%, -50%); animation: pulse-plain 7s ease-in-out infinite;
}
@keyframes pulse-plain { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }
.nf__falcon { position: absolute; top: 20%; left: 0; width: 56px; animation: glide 22s linear infinite; opacity: 0.85; }
.nf__falcon img { width: 100%; height: auto; }
@keyframes glide {
  0% { transform: translate(-12vw, 0) rotate(-4deg); }
  25% { transform: translate(22vw, -18px) rotate(2deg); }
  50% { transform: translate(50vw, 6px) rotate(-3deg); }
  75% { transform: translate(80vw, -14px) rotate(3deg); }
  100% { transform: translate(112vw, 0) rotate(-4deg); }
}

.nf__inner { display: grid; justify-items: center; gap: 22px; max-width: 760px; position: relative; z-index: 1; }
.nf__code {
  display: flex; align-items: center; justify-content: center; gap: 0.06em;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(120px, 24vw, 250px); line-height: 0.9;
}
.nf__digit {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 18px 30px rgba(201, 151, 58, 0.25));
}
.nf__zero { position: relative; display: inline-block; width: 0.82em; aspect-ratio: 1; margin-inline: 0.04em; }
.nf__core {
  position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--core-bg); border: 1px solid rgba(201, 151, 58, 0.45);
  box-shadow: 0 0 0 10px rgba(201, 151, 58, 0.05), var(--shadow-core);
  transform: translate(-50%, -50%); animation: breathe 5s ease-in-out infinite;
}
.nf__core img { width: 74%; height: auto; animation: float 6s ease-in-out infinite; }
.nf h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; }
.nf__text { max-width: 540px; color: var(--muted); font-size: clamp(15.5px, 1.3vw, 18px); }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 8px; font-size: 14px; }
.nf__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-soft); border-bottom: 1px solid transparent; transition: color 0.3s ease, border-color 0.3s ease; }
.nf__links a:hover { color: var(--accent); border-bottom-color: currentColor; }
.nf__links .icon { font-size: 16px; }

/* Entrance */
html.js .nf__inner > * { opacity: 0; translate: 0 26px; transition: opacity 0.9s ease, translate 1s var(--ease-out); }
html.is-loaded .nf__inner > * { opacity: 1; translate: 0 0; }
html.is-loaded .nf__inner > :nth-child(2) { transition-delay: 0.1s; }
html.is-loaded .nf__inner > :nth-child(3) { transition-delay: 0.25s; }
html.is-loaded .nf__inner > :nth-child(4) { transition-delay: 0.35s; }
html.is-loaded .nf__inner > :nth-child(5) { transition-delay: 0.45s; }
html.is-loaded .nf__inner > :nth-child(6) { transition-delay: 0.55s; }

.nf__ridges { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(170px, 24vw, 300px); z-index: -1; pointer-events: none; }
.nf__ridge { position: absolute; bottom: 0; left: -10%; width: 120%; height: 100%; }
.nf__ridge--back { fill: var(--ridge-back); animation: drift 38s ease-in-out infinite alternate; }
.nf__ridge--mid { fill: var(--ridge-mid); height: 80%; animation: drift 28s ease-in-out infinite alternate-reverse; }
.nf__ridge--front { fill: var(--ridge-front); height: 55%; animation: drift 20s ease-in-out infinite alternate; }
.nf__snow { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-6%); } }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__col--contact { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 40px; }
  .footer__col--contact h4 { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  .nav, .header__ctas { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand__mark { width: 52px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-bottom: 120px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .emblem { justify-self: center; width: min(100%, 470px); margin-top: 8px; }
  .ventures__grid { grid-template-columns: minmax(0, 1fr); }
  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; }
  .about__inner { grid-template-columns: minmax(0, 1fr); }
  .about__visual { width: min(100%, 560px); justify-self: center; }
  .cta-band__card { flex-direction: column; align-items: flex-start; }
  .contact__inner { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat { padding-block: 36px; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 104px; }
  .hero__copy { gap: 24px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .hero__trust { flex-direction: column; gap: 10px; }
  .pill { letter-spacing: 0.18em; font-size: 11px; }
  .chip-pos--courier { top: 3%; right: 0; }
  .chip-pos--store { bottom: 14%; left: 0; }
  .chip-pos--payout { bottom: 0; right: 0; }
  .venture { border-radius: 24px; gap: 24px; }
  .venture__actions { flex-direction: column; align-items: stretch; }
  .venture__actions .btn { width: 100%; }
  .venture__actions .text-link { align-self: center; }
  .venture__domain { align-self: center; margin-top: -8px; }
  .track-demo, .collections { padding: 16px; }
  .track-step { font-size: 12px; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about__badge { width: 92px; height: 92px; top: 18px; right: 18px; font-size: 9.5px; }
  .about__quote { left: 16px; bottom: 16px; padding: 16px 20px; }
  .cta-band__card { border-radius: 24px; }
  .cta-band__actions { width: 100%; flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__ventures { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__col--contact { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer { padding-bottom: 96px; } /* room for the back-to-top button */
  .hide-sm { display: none; }
  .dev-credit { gap: 12px; padding-left: 16px; }
  .dev-credit__rule { display: none; }
  .stat__label { letter-spacing: 0.16em; font-size: 11px; }
  .scroll-cue { display: none; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 17px; }
  .brand__sub { letter-spacing: 0.32em; }
  .dev-credit__label { font-size: 9.5px; letter-spacing: 0.18em; }
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  html.js .preloader { display: none; }
  .cursor-glow { display: none; }
}
