:root {
  --bg: #2b1309;
  --bg-raise: #3a1a0c;
  --line: #55301a;
  --text: #fdf3e7;
  --text-dim: #cfae94;
  --fire: #ff8c2e;
  --fire-deep: #e2560a;
  --fire-glow: rgba(255, 140, 46, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 700px at 75% 0%, rgba(255, 140, 46, 0.14), transparent 70%),
    radial-gradient(1000px 800px at 0% 35%, rgba(226, 86, 10, 0.12), transparent 70%),
    linear-gradient(170deg, #401c0a 0%, #2b1309 45%, #241009 100%);
  background-color: #2b1309;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2 { font-family: "Instrument Serif", serif; font-weight: 400; }

/* nav */
.nav {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem clamp(1rem, 5vw, 3rem);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(43, 19, 9, 0.9);
  backdrop-filter: blur(8px); z-index: 10;
}
.brand {
  font-family: "Instrument Serif", serif; font-size: 1.5rem;
  color: var(--fire); text-decoration: none; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 0.45rem;
}
.brand-flame { width: 30px; height: 30px; object-fit: cover; }
.nav-links { display: flex; gap: 1.4rem; margin-right: auto; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.92rem; }
.nav-links a:hover { color: var(--text); }

/* buttons */
.btn {
  font: inherit; cursor: pointer; border-radius: 10px;
  padding: 0.6rem 1.2rem; border: 1px solid var(--line);
  transition: all 0.15s ease;
}
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--fire); color: var(--fire); }
.btn-fire {
  background: linear-gradient(180deg, var(--fire), var(--fire-deep));
  color: #2a1005; font-weight: 600; border: none; flex: 1;
  padding: 0.85rem 1.2rem;
}
.btn-fire:not(:disabled):hover { filter: brightness(1.1); box-shadow: 0 0 24px var(--fire-glow); }
.btn-fire:disabled { opacity: 0.45; cursor: not-allowed; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem;
  align-items: center; padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 3rem);
  max-width: 1100px; margin: 0 auto;
}
.kicker {
  color: var(--fire); font-size: 0.82rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1.05; margin-bottom: 1.2rem; }
.lede { color: var(--text-dim); max-width: 34rem; }
.hero-facts { display: flex; gap: 2.5rem; margin-top: 2rem; }
.hero-facts div { display: flex; flex-direction: column; }
.fact-num { font-family: "Instrument Serif", serif; font-size: 1.9rem; color: var(--text); }
.fact-label { color: var(--text-dim); font-size: 0.82rem; }
.hero-art { display: flex; justify-content: center; }
.pass-art {
  width: min(380px, 100%); border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 0 80px var(--fire-glow);
}

/* mint */
.mint { padding: 2rem clamp(1rem, 5vw, 3rem) 4rem; }
.mint-card {
  max-width: 560px; margin: 0 auto;
  background: linear-gradient(170deg, var(--bg-raise), rgba(43, 19, 9, 0.6));
  border: 1px solid var(--line); border-radius: 18px; padding: 2rem;
}
.mint-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.mint-head h2 { font-size: 2rem; }
.pill {
  font-size: 0.78rem; padding: 0.3rem 0.8rem; border-radius: 999px;
  background: var(--fire-glow); color: var(--fire); border: 1px solid var(--fire-deep);
}
.pill-dim { background: transparent; color: var(--text-dim); border-color: var(--line); }
.bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--fire-deep), var(--fire));
  transition: width 0.4s ease;
}
.supply-line { color: var(--text-dim); font-size: 0.88rem; margin-top: 0.5rem; }
.mint-row { display: flex; gap: 1rem; margin-top: 1.4rem; align-items: stretch; }
.qty {
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid var(--line); border-radius: 10px; padding: 0 0.5rem;
}
.qty span { min-width: 1.6rem; text-align: center; font-weight: 600; }
.qty-btn {
  font: inherit; font-size: 1.2rem; background: none; border: none;
  color: var(--text-dim); cursor: pointer; padding: 0.4rem 0.6rem;
}
.qty-btn:hover { color: var(--fire); }
.mint-note { color: var(--text-dim); font-size: 0.85rem; margin-top: 1.1rem; }
.mint-note a { color: var(--fire); }

/* tiers */
.tiers { max-width: 1100px; margin: 0 auto; padding: 3rem clamp(1rem, 5vw, 3rem); }
.tiers h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.tiers-lede { color: var(--text-dim); margin-bottom: 1.8rem; }
.tier-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
.tier-grid figure { margin: 0; }
.tier-grid img { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; }
.tier-grid figcaption {
  display: flex; justify-content: center; align-items: baseline;
  font-size: 0.88rem; font-weight: 500; margin-top: 0.45rem;
}
.tier-grid figcaption span { color: var(--text-dim); font-size: 0.78rem; }
@media (max-width: 760px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }

/* story */
.story { max-width: 1100px; margin: 0 auto; padding: 3rem clamp(1rem, 5vw, 3rem); }
.story h2, .faq h2, .pad h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; color: var(--text-dim); }

/* pad */
.pad { padding: 3rem clamp(1rem, 5vw, 3rem); }
.pad-inner {
  max-width: 1100px; margin: 0 auto; border: 1px solid var(--line);
  border-radius: 18px; padding: 2.5rem;
  background: radial-gradient(ellipse at 20% 0%, rgba(255, 140, 46, 0.12), transparent 60%);
}
.pad-inner p { color: var(--text-dim); max-width: 40rem; margin-bottom: 1.2rem; }

/* faq */
.faq { max-width: 720px; margin: 0 auto; padding: 3rem clamp(1rem, 5vw, 3rem) 5rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; color: var(--fire); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-dim); margin-top: 0.6rem; font-size: 0.95rem; }

/* footer */
.footer {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem clamp(1rem, 5vw, 3rem); border-top: 1px solid var(--line);
  color: var(--text-dim); font-size: 0.85rem;
}
.brand-dim { font-family: "Instrument Serif", serif; color: var(--text-dim); }
.footer-x { color: var(--fire); text-decoration: none; }
.footer-x:hover { text-decoration: underline; }
.footer-ca { font-variant-numeric: tabular-nums; word-break: break-all; }
.footer-ca a { color: var(--fire); text-decoration: none; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .pass-art { width: min(280px, 80%); }
  .story-cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
