@font-face {
  font-family: "Dela Gothic One";
  src: url("../assets/fonts/dela-gothic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("../assets/fonts/unbounded.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/sora.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Antonio";
  src: url("../assets/fonts/antonio.woff2") format("woff2-variations");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #07080b;
  --ink-2: #0e1016;
  --panel: rgba(14, 16, 22, 0.78);
  --line: rgba(232, 221, 208, 0.12);
  --text: #f3efe6;
  --muted: #9a9388;
  --gold: #d4b06a;
  --gold-2: #8f7040;
  --cobalt: #8eb4ff;
  --cream: #f3efe6;
  --display: "Unbounded", "Trebuchet MS", sans-serif;
  --stamp: "Dela Gothic One", "Arial Black", sans-serif;
  --label: "Antonio", "Arial Narrow", sans-serif;
  --sans: "Sora", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.skip, #skip-intro {
  position: fixed;
  z-index: 80;
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  background: var(--gold);
  color: #111;
  border: 0;
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
}
.skip { top: 12px; left: -999px; }
.skip:focus { left: 12px; }
#skip-intro { top: auto; bottom: 18px; right: 18px; }
#skip-intro[hidden],
html:not(.is-intro) #skip-intro { display: none; }

.scene {
  opacity: 0.42;
  transform: scale(1.06);
  filter: saturate(0.4) brightness(0.55);
  transition: opacity 1s ease, transform 1.2s ease, filter 1s ease;
}
html.is-intro .scene { opacity: 0.42; }
html.is-intro.is-blooming .scene,
html.is-ready .scene,
html:not(.is-intro) .scene {
  opacity: 1;
  transform: scale(1);
  filter: none;
}
.stamp {
  opacity: 0;
  transform: scale(1.18);
  filter: blur(8px);
  transition: opacity 0.3s ease, transform 0.55s cubic-bezier(0.15, 0.9, 0.2, 1), filter 0.4s ease;
}
html.is-ready .stamp,
html:not(.is-intro) .stamp {
  opacity: 1;
  transform: scale(1);
  filter: none;
}
html.is-intro.is-blooming .stamp {
  opacity: 1;
  transform: scale(1.02);
  filter: blur(0);
}

.bar {
  position: absolute;
  z-index: 20;
  left: 0; right: 0; top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 22px;
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand .logo { color: var(--gold); display: grid; place-items: center; flex: none; }
.brand b {
  font-family: var(--stamp);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1;
}
.brand span {
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
}
.nav a { text-decoration: none; color: #e8e4da; }
.nav a:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 16px;
  padding: 11px 18px;
  border: 0;
  cursor: pointer;
  background: var(--gold);
  color: #111;
  box-shadow: 0 2px 0 var(--gold-2);
}
.btn:hover { background: #e4c484; }
.btn.ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: none;
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: rgba(243, 239, 230, 0.06); border-color: var(--gold); color: var(--gold); }
.btn.soon, .btn[aria-disabled="true"],
a.soon, a[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
}
.btn.soon, .btn[aria-disabled="true"] {
  background: #2a2c32;
  color: #8a8680;
  box-shadow: none;
  border: 1px solid transparent;
}
a.soon, a[aria-disabled="true"] {
  color: #6e7380 !important;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  container-type: inline-size;
  container-name: hero;
  overflow: clip;
  background: var(--ink);
}
.scene {
  position: absolute;
  inset: 0;
  background: var(--ink);
}
.scene .lattice {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #07080bcc 0 72px, transparent 24%, transparent 58%, #07080cf2 100%),
    radial-gradient(ellipse at 50% 44%, transparent 22%, #07080bd9 100%);
  pointer-events: none;
}
.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding: 88px 24px 36px;
}
.hero-art {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 42vh;
  padding: 8px 0 4px;
}
.stamp {
  position: relative;
  text-align: center;
  width: min(920px, 96%);
  margin: 0;
  display: grid;
  place-items: center;
}
.hex-frame {
  position: absolute;
  width: min(520px, 92%);
  height: auto;
  color: var(--gold);
  opacity: 0.7;
  pointer-events: none;
  filter: drop-shadow(0 0 28px rgba(212, 176, 106, 0.28));
}
.stamp h1 {
  position: relative;
  font-family: var(--stamp);
  font-weight: 400;
  font-size: clamp(4.2rem, 20cqi, 9.4rem);
  letter-spacing: 0.02em;
  line-height: 0.86;
  margin: 0;
  color: var(--gold);
  text-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(212, 176, 106, 0.28);
  text-transform: uppercase;
}
.stamp p {
  position: relative;
  margin: 14px 0 0;
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 2.2cqi, 0.95rem);
  color: var(--cream);
  opacity: 0.88;
}
.hero-copy { max-width: 740px; margin: 0 auto; text-align: center; width: 100%; }
.kicker {
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold);
  margin: 0 0 8px;
}
.tag {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 5.6cqi, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 16px;
}
.actions, .ca-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  text-align: left;
  background: #0c0e14;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
}
.ca span {
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.ca code { overflow-wrap: anywhere; word-break: break-all; }
.ca em {
  font-style: normal;
  color: var(--cobalt);
  font-weight: 600;
  font-family: var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  background: #12141c;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 16px;
  padding: 10px 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 24px;
  container-type: inline-size;
  scroll-margin-top: 16px;
}
.section h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 8cqi, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 8px;
}
.sec-kicker {
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold);
  margin: 0 0 6px;
}
.sec-lead { color: var(--muted); max-width: 58ch; margin: 0 0 22px; }
.rule { border: 0; height: 1px; background: var(--line); margin: 0; }

.brief {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.brief p { margin: 0 0 12px; color: #d8d4cc; }
.brief p:last-child { margin-bottom: 0; }
.brief b { color: var(--gold); font-weight: 650; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px 16px 18px;
  min-width: 0;
  overflow: clip;
  container-type: inline-size;
  box-shadow: inset 0 0 0 1px rgba(212, 176, 106, 0.05);
}
.stat .label {
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
}
.stat .value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 9.4cqi, 1.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
  white-space: nowrap;
  max-width: 100%;
}
.ca-line {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.ca-line code {
  font-family: var(--mono);
  font-size: 0.92em;
  overflow-wrap: anywhere;
  word-break: break-all;
  color: var(--text);
}
.ca-line a { color: var(--gold); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}
.steps li {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px;
  min-width: 0;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--label);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.steps h3 {
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 16px;
  margin: 0 0 6px;
}
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq article { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq h3 {
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 16px;
  margin: 0 0 5px;
}
.faq p { margin: 0; color: var(--muted); }
.faq code { font-family: var(--mono); font-size: 0.86em; overflow-wrap: anywhere; word-break: break-all; }

.footer {
  padding: 32px 24px 44px;
  max-width: 1040px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 1fr 1.1fr 1.5fr; gap: 24px; }
.footer h3 {
  font-family: var(--label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold);
  margin: 0 0 8px;
}
.footer p, .footer li { font-size: 14px; color: var(--muted); }
.footer a { color: var(--gold); }
.footer ul { margin: 0; padding-left: 18px; }
.colophon {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: #6e7380;
}

.reveal.is-waiting { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid, .brief { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .bar { padding-right: 16px; }
  .hero-stage { padding: 70px 16px 24px; }
  .section, .footer { padding-left: 16px; padding-right: 16px; }
  .stamp h1 { font-size: clamp(3.2rem, 22cqi, 5.6rem); }
}
@media (max-width: 560px) {
  .stats, .steps, .footer-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
}

@media (max-height: 430px) and (max-width: 900px) {
  .hero-stage { padding: 48px 16px 10px; min-height: 100svh; justify-content: flex-end; }
  .hero-art { min-height: 0; flex: 0 0 auto; padding: 0; }
  .stamp h1 { font-size: clamp(2.4rem, 16cqi, 4rem); }
  .hex-frame, .hero-copy .kicker, .brand span, .stamp p { display: none; }
  .tag { font-size: clamp(1.05rem, 4.2cqi, 1.45rem); margin-bottom: 8px; }
  .ca { padding: 7px 10px; font-size: 12px; }
  .btn { padding: 8px 14px; font-size: 14px; }
  .actions, .ca-row { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene, .stamp, .reveal, .toast, .btn {
    animation: none !important;
    transition: none !important;
  }
  html.is-intro .scene,
  html.is-intro.is-blooming .scene,
  html.is-ready .scene,
  html:not(.is-intro) .scene {
    opacity: 1;
    transform: none;
    filter: none;
  }
  html.is-intro .stamp,
  .stamp { opacity: 1; transform: none; filter: none; }
  #skip-intro { display: none !important; }
  .reveal.is-waiting { opacity: 1; transform: none; }
}
