/* ==========================================================================
   Sprite Studio — website design system
   Premium dark studio look: ink base, amber accent, hairline geometry,
   layered soft depth, restrained motion. Built for the static site only.
   Contract & usage: see DESIGN-SYSTEM.md
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #0D0D12;
  --bg-soft: #121218;
  --panel: #16161E;
  --panel-2: #1B1B25;
  --panel-3: #20202C;

  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .15);

  --text: #F1ECE2;
  --text-soft: #D6D2C8;
  --text-muted: #A9A9BE;
  --text-faint: #83839B;
  --text-dim: #7E7E96;
  --eyebrow: #BFA98E;

  --amber: #F5A623;
  --amber-bright: #FFC24D;
  --amber-deep: #C07D06;
  --on-amber: #171104;

  --sage: #9DBA84;
  --sky: #8FC9E4;
  --rose: #E0858D;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --sh-1: 0 1px 2px rgba(0, 0, 0, .45);
  --sh-2: 0 10px 30px -14px rgba(0, 0, 0, .65);
  --sh-3: 0 28px 80px -32px rgba(0, 0, 0, .85);

  --maxw: 1180px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(1000px 560px at 82% -6%, rgba(245, 166, 35, .07), transparent 60%),
    radial-gradient(900px 640px at 2% 10%, rgba(143, 201, 228, .04), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(245, 166, 35, .35); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; margin: 0; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-muted); }
.center-text { text-align: center; }

.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;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-72px);
  background: var(--amber);
  color: var(--on-amber);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  transition: transform .15s ease-out;
}
.skip-link:focus-visible { transform: none; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  padding: 13px 20px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease-out, background .15s ease-out, border-color .15s ease-out, color .15s ease-out, box-shadow .15s ease-out;
}
.btn svg { flex: none; }
.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--amber);
  color: var(--on-amber);
  border-color: rgba(0, 0, 0, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), var(--sh-1);
}
.btn-primary:hover { background: var(--amber-bright); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .075); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0) scale(.98); }

.btn-quiet {
  background: transparent;
  color: var(--amber);
  padding: 13px 6px;
}
.btn-quiet:hover { color: var(--amber-bright); }
.btn-quiet svg { transition: transform .15s ease-out; }
.btn-quiet:hover svg { transform: translateX(3px); }

.btn-sm { padding: 10px 15px; font-size: 14px; min-height: 40px; border-radius: 10px; }
.btn-lg { padding: 15px 24px; font-size: 16.5px; border-radius: 14px; }
.btn.copied { border-color: rgba(157, 186, 132, .5); color: var(--sage); }

/* ---------- pills & tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5.5px 11px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  background: rgba(255, 255, 255, .03);
  white-space: nowrap;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 9px rgba(157, 186, 132, .8); flex: none; }
.pill-live { border-color: rgba(157, 186, 132, .4); color: var(--sage); }
.pill-amber { border-color: rgba(245, 166, 35, .45); color: var(--amber-bright); }
.pill-xs { font-size: 10px; padding: 4px 9px; gap: 6px; }

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  background: rgba(255, 255, 255, .025);
  white-space: nowrap;
}
.tag-shipped { border-color: rgba(157, 186, 132, .38); color: var(--sage); }
.tag-next { border-color: rgba(245, 166, 35, .42); color: var(--amber-bright); }
.tag-planned { border-color: var(--line-strong); color: var(--text-faint); }
.tag-live { border-color: rgba(143, 201, 228, .4); color: var(--sky); }

.tagrow { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
}

.announce {
  max-height: 64px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(245, 166, 35, .13), rgba(245, 166, 35, .035) 55%, transparent);
  border-bottom: 1px solid var(--line);
  transition: max-height .25s ease-out, opacity .2s ease-out, border-color .2s ease-out;
}
body.scrolled .announce { max-height: 0; opacity: 0; border-color: transparent; }
.announce-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  min-height: 40px;
}
.announce-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.announce-text b { color: var(--text); font-weight: 700; }
.announce-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.announce-link:hover { color: var(--amber-bright); }
.announce-x {
  flex: none;
  width: 44px;
  height: 44px;
  margin: -7px 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--text-faint);
  cursor: pointer;
}
.announce-x:hover { color: var(--text); }

.nav {
  border-bottom: 1px solid transparent;
  transition: background .2s ease-out, border-color .2s ease-out;
}
body.scrolled .nav,
.nav.open {
  background: rgba(13, 13, 18, .85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
}
.brand-word b { color: var(--amber); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-muted);
  padding: 9px 12px;
  border-radius: 9px;
  transition: color .15s ease-out, background .15s ease-out;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .045); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  place-items: center;
}
.nav-burger span {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: background .15s ease-out, transform .15s ease-out;
}
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .18s ease-out, top .18s ease-out;
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 56px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.foot-brand .brand { margin: 0; }
.foot-brand p { color: var(--text-muted); font-size: 14.5px; max-width: 320px; margin: 16px 0 0; }
.foot-brand b { color: var(--text); }
.foot-col h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 13px;
}
.foot-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14.5px;
  padding: 5px 0;
  transition: color .15s ease-out;
}
.foot-col a:hover { color: var(--amber-bright); }

.foot-base {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13px;
}
.foot-base p { margin: 0; }
.foot-age { text-align: right; max-width: 520px; }
.age-badge {
  display: inline-block;
  border: 1px solid rgba(245, 166, 35, .45);
  color: var(--amber);
  border-radius: 6px;
  padding: 1px 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  margin-right: 7px;
}

/* ---------- sections ---------- */
.section { padding: 88px 0; position: relative; }
.section-sm { padding: 56px 0; }
.section-flush { padding-top: 0; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 42px); margin: 14px 0; }
.section-head p { color: var(--text-muted); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- heroes ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 78% 65% at 50% 0%, #000 25%, transparent 74%);
  mask-image: radial-gradient(ellipse 78% 65% at 50% 0%, #000 25%, transparent 74%);
  pointer-events: none;
}

.hero { padding: 72px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 66px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 22px 0 20px;
}
.hero h1 .hl { color: var(--amber); }
.hero .lede { font-size: 19px; color: var(--text-muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }

.page-hero { padding: 80px 0 52px; }
.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 14px 0 16px;
}
.page-hero .lead { font-size: 19px; color: var(--text-muted); max-width: 660px; }
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.crumbs a { color: var(--text-faint); }
.crumbs a:hover { color: var(--amber-bright); }
.crumbs span[aria-hidden] { opacity: .5; }

.hero-visual { position: relative; }
.hero-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(245, 166, 35, .15), transparent 66%);
  filter: blur(6px);
  pointer-events: none;
}

/* ---------- browser-frame screenshots ---------- */
.frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--sh-2);
  overflow: hidden;
  margin: 0;
}
.hero-visual .frame { position: relative; z-index: 2; box-shadow: var(--sh-3); }
.frame.float {
  position: absolute;
  z-index: 1;
  right: -26px;
  bottom: -40px;
  width: 60%;
  transform: rotate(-2deg);
  box-shadow: var(--sh-3);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  background: var(--panel-3);
}
.frame-bar .dots i:nth-child(1) { background: #B85C56; }
.frame-bar .dots i:nth-child(2) { background: #B89A4E; }
.frame-bar .dots i:nth-child(3) { background: #6E9660; }
.frame-bar .url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 11px;
  text-align: center;
}
.frame img { width: 100%; }

/* ---------- tech strip & marquee ---------- */
.tech-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 16px 0;
}
.tech-inner {
  display: flex;
  align-items: center;
  gap: 20px 32px;
  flex-wrap: wrap;
}
.tech-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tech-items { display: flex; gap: 14px 30px; flex-wrap: wrap; align-items: center; }
.tech-item { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-faint); }

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
}
.marquee span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(245, 166, 35, .55); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-2-1 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: var(--sh-1);
  padding: 26px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.card .k {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.card-lift { transition: transform .2s ease-out, border-color .2s ease-out, box-shadow .2s ease-out; }
.card-lift:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--sh-2); }

/* vertical rhythm for stacked card content (p before an action/list) */
.card p + .btn,
.card p + .btn-ghost,
.card p + .cta-actions,
.card p + .tagrow,
.card p + .checklist,
.card p + .field-stack,
.card .checklist + .btn,
.card .checklist + .cta-actions,
.card .tagrow + .btn { margin-top: 18px; }

.icon-tile {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(245, 166, 35, .1);
  border: 1px solid rgba(245, 166, 35, .22);
  color: var(--amber);
  margin-bottom: 16px;
}
.icon-tile svg { width: 20px; height: 20px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  gap: 11px;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.55;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 6px;
  background: rgba(245, 166, 35, .12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A623' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
  border: 1px solid rgba(245, 166, 35, .25);
}

/* ---------- pipeline ---------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 14px;
}
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--sh-1);
  padding: 20px;
}
.step-n {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--amber);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ---------- feature rows ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}
.feature.reversed .feature-media { order: -1; }
.feature-body h3 { font-size: clamp(24px, 3vw, 34px); margin: 12px 0 14px; }
.feature-body > p { color: var(--text-muted); font-size: 16.5px; margin-bottom: 18px; }
.feature-body .checklist { margin-bottom: 4px; }
.feature-body .tagrow { margin-top: 20px; }
.feature-media { min-width: 0; }

/* ---------- stats ---------- */
.stat-band { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stat {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--sh-1);
  padding: 22px 20px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.stat-lab { display: block; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; margin-top: 9px; }

/* ---------- timeline & roadmap ---------- */
.timeline { display: grid; gap: 12px; }
.t-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: baseline;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--sh-1);
  padding: 20px 22px;
}
.t-meta { display: grid; gap: 3px; }
.t-ver { font-family: var(--font-mono); font-size: 13px; color: var(--amber); }
.t-date { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.t-body h3 { font-size: 17.5px; margin-bottom: 5px; }
.t-body p { color: var(--text-muted); font-size: 14.5px; }
.t-item > .tag { align-self: center; }

.horizon h3 { font-size: 20px; margin-bottom: 6px; }
.horizon .k { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.horizon .k.now { color: var(--sage); }
.horizon .k.next { color: var(--amber); }
.horizon .k.later { color: var(--sky); }
.horizon > p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 16px; }

/* ---------- gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shot {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--sh-1);
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
  transition: transform .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out;
}
.shot:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--sh-2); }
.shot:active { transform: translateY(-1px) scale(.995); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.shot-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--panel-2);
}
.shot-cap b { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--text); }
.shot-cap span { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 4vw;
  background: rgba(8, 8, 12, .92);
  overscroll-behavior: contain;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--sh-3);
}
.lightbox .close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
}
.lightbox .close:hover { background: var(--panel-3); }
.lightbox .cap {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 0 24px;
}

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background:
    radial-gradient(620px 300px at 88% 0%, rgba(245, 166, 35, .14), transparent 68%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--sh-2);
  padding: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 14px; }
.cta-band > div > p { color: var(--text-muted); font-size: 16.5px; margin-bottom: 24px; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-facts { margin: 0; display: grid; gap: 0; }
.cta-facts .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.cta-facts .row:last-child { border-bottom: 0; }
.cta-facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cta-facts dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 840px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--amber);
  font-size: 20px;
  line-height: 1;
  transition: transform .18s ease-out;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 20px 20px; color: var(--text-muted); font-size: 15px; }
.faq-body p { margin: 0; }
.faq-body a { color: var(--amber); }
.faq-body a:hover { color: var(--amber-bright); }

/* ---------- forms ---------- */
.field-stack { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-soft); }
.input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .15s ease-out;
}
.input::placeholder { color: var(--text-dim); }
.input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 166, 35, .18); }
textarea.input { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-faint); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 480px; }
.inline-form .input { flex: 1; min-width: 220px; }

/* ---------- legal / doc ---------- */
.doc-layout { max-width: 800px; }
.doc-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.doc h2 { font-size: 23px; margin: 42px 0 12px; letter-spacing: -.01em; }
.doc h3 { font-size: 17.5px; margin: 28px 0 8px; }
.doc p { color: var(--text-soft); font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; }
.doc ul, .doc ol { color: var(--text-soft); font-size: 15.5px; line-height: 1.75; padding-left: 22px; display: grid; gap: 8px; margin: 0 0 16px; }
.doc a { color: var(--amber); }
.doc a:hover { color: var(--amber-bright); }
.doc strong { color: var(--text); }
.doc-note {
  border-left: 3px solid var(--amber);
  background: rgba(245, 166, 35, .06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 14px 18px;
  margin: 22px 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.7;
}
.doc-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.doc-table th, .doc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-soft); }
.doc-table th { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); font-weight: 500; }

/* ---------- vision band (home) ---------- */
.vision {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background:
    radial-gradient(560px 280px at 12% 0%, rgba(143, 201, 228, .09), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--sh-2);
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 44px;
  align-items: center;
}
.vision h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 12px 0 14px; }
.vision p { color: var(--text-muted); font-size: 16.5px; margin-bottom: 22px; }
.vision-road { display: grid; gap: 12px; }
.vr-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(13, 13, 18, .5);
  padding: 16px 18px;
}
.vr-item .vr-step {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  padding-top: 3px;
  letter-spacing: .1em;
}
.vr-item h3 { font-size: 16px; margin-bottom: 3px; }
.vr-item p { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.vr-item.done { border-color: rgba(157, 186, 132, .35); }
.vr-item.done h3 { color: var(--sage); }
.vr-item.next h3 { color: var(--amber); }

/* ---------- swatches (press) ---------- */
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.swatch { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.swatch-chip { height: 68px; }
.swatch-meta { padding: 10px 12px; border-top: 1px solid var(--line); }
.swatch-meta b { display: block; font-size: 13px; }
.swatch-meta span { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease-out, transform .55s cubic-bezier(.16, .84, .36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* no-JS fallback: never leave content hidden behind .reveal */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .frame.float { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature.reversed .feature-media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .grid-2-1, .vision, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band, .vision { padding: 36px 28px; }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 22px;
    background: rgba(13, 13, 18, .97);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav.open { border-bottom-color: var(--line); }
  .nav-link { padding: 12px 10px; font-size: 16.5px; }
  .nav-link.active::after { left: 10px; right: auto; width: 26px; }
  .nav-burger { display: grid; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
  .hero { padding: 48px 0 64px; }
  .page-hero { padding: 56px 0 40px; }
  .announce { display: none; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-num { font-size: 34px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .t-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .t-item > .tag { justify-self: start; }
  .foot-age { text-align: left; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cta-band, .vision { padding: 28px 22px; border-radius: var(--r-lg); }
  .cta-band h2 { font-size: 26px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-layout { padding: 0 20px; }
}
@media (max-width: 460px) {
  .wrap { padding: 0 18px; }
  .grid-4, .stat-band { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 36px; }
  .hero-actions .btn { width: 100%; }
  .swatches { grid-template-columns: minmax(0, 1fr); }
}
