:root {
  --paper: #f1eadc;
  --paper-deep: #e5dbc9;
  --ink: #111622;
  --ink-soft: #343a48;
  --navy: #151b2b;
  --navy-2: #20273a;
  --rust: #d66338;
  --rust-hot: #ed7448;
  --sage: #8fa68a;
  --cyan: #84c8cd;
  --gold: #d5a94d;
  --line: rgba(17, 22, 34, .18);
  --line-dark: rgba(241, 234, 220, .18);
  --display: "Italiana", "Bodoni 72", Didot, serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --radius: 2px;
  --shadow: 0 22px 70px rgba(24, 27, 38, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background:
    radial-gradient(1000px 700px at 96% 8%, rgba(214, 99, 56, .14), transparent 58%),
    radial-gradient(900px 800px at 4% 42%, rgba(132, 200, 205, .12), transparent 56%),
    var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--mono);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(17, 22, 34, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 22, 34, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 70%);
}
::selection { color: var(--paper); background: var(--rust); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}
.orbit {
  position: fixed;
  width: min(62vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(17, 22, 34, .09);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 12%;
  border: 1px dashed rgba(17, 22, 34, .09);
}
.orbit::after { inset: 31%; border-style: solid; }
.orbit-a {
  right: -27vw;
  top: -30vw;
  animation: orbit 90s linear infinite;
}
.orbit-b {
  left: -38vw;
  top: 105vh;
  width: min(70vw, 980px);
  animation: orbit 120s linear infinite reverse;
}
@keyframes orbit { to { transform: rotate(360deg); } }

.topbar {
  height: 72px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .15em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.brand-mark::before { width: 1px; height: 38px; }
.brand-mark::after { width: 38px; height: 1px; }
.brand-mark i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--rust);
  border-radius: 50%;
  background: var(--paper);
  z-index: 1;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  font-size: 10px;
  letter-spacing: .18em;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--rust);
  transition: right .25s ease;
}
.nav a:hover::after { right: 0; }
.pill, .primary-btn, .outline-btn, .text-btn, .cta {
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
}
.pill {
  border: 1px solid var(--ink);
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: .15em;
  border-radius: 100px;
  transition: color .2s, background .2s;
}
.pill:hover, .pill.connected { background: var(--ink); color: var(--paper); }

.section {
  width: min(1380px, calc(100% - 60px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 110px 0;
}
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 5vw;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 80px;
}
.hero-copy, .hero-art { min-width: 0; }
.eyebrow {
  margin: 0 0 20px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow span {
  background: var(--rust);
  color: var(--paper);
  padding: 4px 7px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(70px, 9.4vw, 158px);
  line-height: .79;
  letter-spacing: -.045em;
  margin-left: -.04em;
}
h1 em, h2 em {
  font-weight: 400;
  color: var(--rust);
}
.lede {
  max-width: 570px;
  margin: 34px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 35px;
}
.cta, .primary-btn {
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 17px 21px;
  font-size: 11px;
  letter-spacing: .14em;
  transition: transform .2s, background .2s;
}
.cta span { font-size: 19px; line-height: 1; color: var(--rust-hot); }
.cta:hover, .primary-btn:hover:not(:disabled) { background: var(--navy-2); transform: translateY(-2px); }
.text-btn {
  font-size: 10px;
  letter-spacing: .15em;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 6px;
}
.text-btn:hover { color: var(--rust); border-color: var(--rust); }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 650px;
}
.hero-facts div { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
}
.hero-facts span { font-size: 9px; letter-spacing: .16em; color: var(--ink-soft); }
.hero-art { position: relative; }
.art-frame {
  padding: 11px;
  border: 1px solid var(--line);
  background: rgba(241, 234, 220, .32);
  transform: rotate(1.2deg);
  box-shadow: var(--shadow);
  position: relative;
}
.art-frame img { width: 100%; }
.art-frame::after {
  content: "";
  position: absolute;
  inset: -22px 22px 22px -22px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  z-index: -1;
}
.frame-note {
  position: absolute;
  font-size: 9px;
  letter-spacing: .15em;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 7px 9px;
}
.note-a { left: -26px; top: 74px; }
.note-b { right: -18px; bottom: 72px; }
.coordinate {
  position: absolute;
  right: 0;
  bottom: -48px;
  font-size: 9px;
  letter-spacing: .13em;
  color: var(--ink-soft);
  text-align: right;
}

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(241, 234, 220, .58);
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  padding: 12px 0;
  animation: marquee 28s linear infinite;
  font-size: 10px;
  letter-spacing: .17em;
}
.ticker b { color: var(--rust); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

.mint-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr);
  gap: 24px;
  align-items: start;
}
.panel {
  background: rgba(250, 246, 237, .66);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(17, 22, 34, .05);
}
.mint-main { padding: clamp(24px, 4vw, 54px); }
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.panel-head h2, .panel-head h3 { margin-bottom: 0; }
h2 {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 79px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}
h3 {
  font-family: var(--display);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.1;
}
.status-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: .16em;
  border: 1px solid var(--line);
  padding: 8px 10px;
  white-space: nowrap;
}
.status-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.status-chip.live i { background: #4b9b68; box-shadow: 0 0 0 5px rgba(75, 155, 104, .12); }
.status-chip.closed i { background: var(--rust); }
.supply-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}
.supply-number {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--display);
}
.supply-number span { font-size: clamp(45px, 5vw, 76px); line-height: .8; }
.supply-number small { font: 11px var(--mono); color: var(--ink-soft); }
.supply-meta { font-size: 9px; letter-spacing: .16em; color: var(--ink-soft); }
.supply-meta b { color: var(--ink); margin-left: 7px; font-weight: 400; }
.progress {
  height: 4px;
  background: rgba(17, 22, 34, .1);
  margin-top: 18px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--rust);
  transition: width .6s cubic-bezier(.2, .7, .2, 1);
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-top: 24px;
}
.countdown div {
  padding: 16px 10px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.countdown div:last-child { border-right: 0; }
.countdown strong {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}
.countdown span { font-size: 8px; letter-spacing: .16em; color: var(--ink-soft); }
.eligibility {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.eligibility p { margin: 0; font-size: 12px; color: var(--ink-soft); }
.eligibility-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  flex: none;
  margin-top: 5px;
}
.eligibility.free .eligibility-dot { background: #4b9b68; border-color: #4b9b68; }
.eligibility.paid .eligibility-dot { background: var(--gold); border-color: var(--gold); }
.eligibility.error .eligibility-dot { background: var(--rust); border-color: var(--rust); }
.mint-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
}
.quantity button {
  width: 44px;
  height: 45px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}
.quantity button:hover { color: var(--rust); }
.quantity input {
  width: 55px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  height: 45px;
  background: transparent;
  text-align: center;
  outline: 0;
  appearance: textfield;
}
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.cost { text-align: right; }
.cost span { display: block; font-size: 8px; letter-spacing: .16em; color: var(--ink-soft); }
.cost strong {
  display: block;
  margin-top: 3px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
}
.wide { width: 100%; justify-content: center; }
.primary-btn { padding: 18px 22px; min-height: 55px; }
.primary-btn:disabled, .outline-btn:disabled {
  cursor: not-allowed;
  opacity: .42;
  transform: none;
}
.outline-btn {
  border: 1px solid var(--ink);
  padding: 16px 20px;
  font-size: 10px;
  letter-spacing: .14em;
  transition: background .2s, color .2s;
}
.outline-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.tx-feedback {
  display: none;
  margin-top: 12px;
  padding: 11px 13px;
  font-size: 11px;
  line-height: 1.55;
  border: 1px solid var(--line);
  word-break: break-word;
}
.tx-feedback.show { display: block; }
.tx-feedback.ok { border-color: rgba(75, 155, 104, .55); background: rgba(75, 155, 104, .07); }
.tx-feedback.err { border-color: rgba(214, 99, 56, .55); background: rgba(214, 99, 56, .07); }
.tx-feedback a { color: var(--rust); }
.micro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.micro-stats span { display: block; font-size: 8px; letter-spacing: .14em; color: var(--ink-soft); }
.micro-stats strong { display: block; margin-top: 5px; font-family: var(--display); font-size: 20px; font-weight: 400; }
.side-stack { display: grid; gap: 24px; }
.access-card, .x-card { padding: 30px; }
.access-card h3 { margin: 8px 0 23px; font-size: 34px; }
.access-row {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.access-index { font-family: var(--display); font-size: 23px; color: var(--rust); }
.access-row b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.access-row p { margin: 5px 0 0; font-size: 11px; line-height: 1.6; color: var(--ink-soft); }
.fine-print { margin: 17px 0 0; font-size: 9px; line-height: 1.65; color: var(--ink-soft); }
.compact h3 { font-size: 31px; }
.tiny-label { font-size: 8px; letter-spacing: .14em; border: 1px solid var(--line); padding: 6px 7px; }
.x-intro { margin: 18px 0 13px; font-size: 11px; line-height: 1.65; color: var(--ink-soft); }
textarea, .field input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .25);
  color: var(--ink);
  outline: 0;
}
textarea {
  min-height: 122px;
  padding: 12px;
  resize: vertical;
  font-size: 10px;
  line-height: 1.65;
}
textarea:focus, .field input:focus { border-color: var(--ink); }
.copy-btn { margin: 9px 0 17px; font-size: 8px; }
.field { display: block; margin-bottom: 14px; }
.field span {
  display: block;
  margin-bottom: 6px;
  font-size: 8px;
  letter-spacing: .14em;
  color: var(--ink-soft);
}
.field input { height: 44px; padding: 0 11px; font-size: 10px; }
.turnstile-box { min-height: 0; margin: 8px 0; }
.turnstile-box:not(:empty) { min-height: 65px; }

.section-heading {
  max-width: 880px;
  margin-bottom: 48px;
}
.section-heading h2 { margin-bottom: 20px; }
.section-heading > p:last-child {
  max-width: 620px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.narrow { max-width: 650px; }
.strata-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.stratum {
  grid-column: span 3;
  position: relative;
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
  min-height: 360px;
  isolation: isolate;
}
.stratum:nth-child(1) { grid-column: span 6; }
.stratum:nth-child(2), .stratum:nth-child(3) { grid-column: span 3; }
.stratum:nth-child(4), .stratum:nth-child(5), .stratum:nth-child(6), .stratum:nth-child(7) { grid-column: span 3; }
.stratum img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  z-index: -2;
  opacity: .82;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .3s;
}
.stratum::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 13, 21, .94), rgba(10, 13, 21, .05) 65%);
}
.stratum:hover img { transform: scale(1.045); opacity: 1; }
.stratum-body {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
}
.stratum-top {
  position: absolute;
  top: 17px;
  left: 17px;
  right: 17px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: .14em;
  color: rgba(241, 234, 220, .7);
}
.stratum h3 { margin-bottom: 6px; font-size: 30px; }
.stratum p { margin: 0; font-size: 9px; line-height: 1.6; color: rgba(241, 234, 220, .65); }
.stratum-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: 13px;
  border-top: 1px solid var(--line-dark);
  font-size: 9px;
}
.stratum-meta b { font-weight: 400; color: var(--paper); }

.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 7vw;
  align-items: center;
}
.story-visual {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
}
.story-visual::before {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: 66%;
  height: 66%;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  z-index: -1;
}
.story-visual img { filter: saturate(.8); }
.story-visual span {
  display: block;
  margin-top: 10px;
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--ink-soft);
}
.story-copy h2 { margin-bottom: 30px; }
.story-copy > p {
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 650px;
}
.story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 35px;
}
.story-metrics div { background: var(--paper); padding: 16px 13px; }
.story-metrics b { display: block; font-family: var(--display); font-size: 23px; font-weight: 400; }
.story-metrics span { font-size: 7px; letter-spacing: .12em; color: var(--ink-soft); }

.token-section { padding-top: 140px; }
.token-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 7vw;
  align-items: center;
}
.token-ring {
  width: min(38vw, 480px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.token-ring::before, .token-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--line);
}
.token-ring::before { inset: 11%; }
.token-ring::after { inset: 24%; border-style: solid; }
.token-ring-inner {
  width: 43%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(17, 22, 34, .22);
}
.token-ring-inner strong { font-family: var(--display); font-size: 60px; line-height: 1; font-weight: 400; }
.token-ring-inner span { margin-top: 8px; font-size: 8px; letter-spacing: .16em; }
.allocation-bar {
  height: 14px;
  display: flex;
  margin-bottom: 24px;
  background: rgba(17, 22, 34, .08);
}
.allocation-bar i:nth-child(1) { background: var(--rust); }
.allocation-bar i:nth-child(2) { background: var(--gold); }
.allocation-bar i:nth-child(3) { background: var(--cyan); }
.allocation-bar i:nth-child(4) { background: var(--navy); }
.allocation-row {
  display: grid;
  grid-template-columns: 10px 120px 1fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 10px;
}
.allocation-row s { width: 8px; height: 8px; text-decoration: none; }
.tier-a { background: var(--rust); }
.tier-b { background: var(--gold); }
.tier-c { background: var(--cyan); }
.tier-d { background: var(--navy); }
.allocation-row b { font-weight: 400; }
.allocation-row span { color: var(--ink-soft); }
.allocation-row em { font-style: normal; color: var(--ink-soft); }

.reveal-section {
  background: var(--navy);
  color: var(--paper);
  width: 100%;
  max-width: none;
  padding-left: max(30px, calc((100vw - 1380px) / 2));
  padding-right: max(30px, calc((100vw - 1380px) / 2));
}
.reveal-section::before {
  content: "";
  position: absolute;
  right: 7vw;
  top: 6vw;
  width: 30vw;
  height: 30vw;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}
.reveal-section .eyebrow, .reveal-section .section-heading > p:last-child { color: rgba(241, 234, 220, .62); }
.reveal-section h2 em { color: var(--rust-hot); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.timeline-step {
  padding: 25px 22px 35px;
  border-right: 1px solid var(--line-dark);
  min-height: 220px;
}
.timeline-step:last-child { border-right: 0; }
.timeline-step > span { font-size: 8px; letter-spacing: .16em; color: var(--rust-hot); }
.timeline-step h3 { margin: 42px 0 12px; font-size: 28px; }
.timeline-step p { margin: 0; font-size: 10px; line-height: 1.7; color: rgba(241, 234, 220, .6); }
.timeline-step code { color: var(--paper); }
.claim-panel {
  margin-top: 24px;
  padding: 30px;
  background: rgba(241, 234, 220, .05);
  border-color: var(--line-dark);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.claim-panel .eyebrow { color: rgba(241, 234, 220, .55); }
.claim-panel p { margin: 6px 0 0; font-size: 10px; color: rgba(241, 234, 220, .56); }
.big-amount { font-family: var(--display); font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.claim-actions { display: flex; gap: 10px; flex: none; }
.claim-panel .outline-btn { border-color: var(--paper); color: var(--paper); }
.claim-panel .outline-btn:hover:not(:disabled) { background: var(--paper); color: var(--navy); }
.claim-panel .primary-btn { background: var(--rust); color: #fff; }

.referral-section {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 8vw;
  align-items: center;
}
.referral-copy h2 { margin-bottom: 24px; }
.referral-copy > p:last-child { max-width: 650px; color: var(--ink-soft); line-height: 1.8; }
.referral-box { padding: 34px; }
.referral-box > span { display: block; font-size: 8px; letter-spacing: .16em; color: var(--ink-soft); margin-bottom: 8px; }
.ref-input { display: flex; border-bottom: 1px solid var(--ink); padding-bottom: 8px; gap: 10px; }
.ref-input input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-size: 10px; }
.ref-input button { flex: none; }
.ref-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 30px;
}
.ref-stats div { background: var(--paper); padding: 18px; }
.ref-stats strong { display: block; font-family: var(--display); font-size: 35px; font-weight: 400; }
.ref-stats span { font-size: 8px; letter-spacing: .13em; color: var(--ink-soft); }

.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rust); font-family: var(--mono); font-size: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -4px 30px 22px 0; font-size: 11px; line-height: 1.8; color: var(--ink-soft); }

footer {
  width: min(1380px, calc(100% - 60px));
  margin: 0 auto;
  padding: 70px 0 34px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.footer-brand {
  font-family: var(--display);
  font-size: clamp(58px, 12vw, 175px);
  line-height: .9;
  letter-spacing: -.035em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}
.footer-brand sup { font-family: var(--mono); font-size: 10px; vertical-align: top; letter-spacing: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 30px 0;
}
.footer-grid p { max-width: 560px; margin: 0; font-size: 10px; line-height: 1.7; color: var(--ink-soft); }
.footer-grid div { display: flex; gap: 25px; align-items: flex-start; flex-wrap: wrap; }
.footer-grid a { font-size: 9px; letter-spacing: .12em; text-decoration: none; }
.footer-grid a:hover { color: var(--rust); }
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 11px 15px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal-on-load, .reveal-up {
  opacity: 0;
  transform: translateY(22px);
}
body.ready .reveal-on-load, body.ready .reveal-up.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
body.ready .reveal-on-load:nth-child(2) { transition-delay: .1s; }
body.ready .delay-1 { transition-delay: .08s; }
body.ready .delay-2 { transition-delay: .16s; }
body.ready .delay-3 { transition-delay: .24s; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .topbar { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 70px; }
  .hero-art { width: min(760px, 100%); margin: 0 auto; }
  .mint-layout { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr 1fr; }
  .strata-grid .stratum { grid-column: span 4; }
  .stratum:nth-child(1) { grid-column: span 8; }
  .story-grid, .token-grid, .referral-section, .faq-section { grid-template-columns: 1fr; }
  .story-visual { width: min(620px, 100%); }
  .token-ring { width: min(520px, 80vw); }
  .referral-box { max-width: 720px; }
  .faq-section .section-heading { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 13px; }
  .section { width: min(100% - 28px, 1380px); padding: 75px 0; }
  .topbar { height: 62px; }
  .brand { font-size: 12px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-mark::before { height: 31px; }
  .brand-mark::after { width: 31px; }
  .pill { padding: 8px 11px; font-size: 8px; }
  .hero { padding-top: 45px; }
  h1 { font-size: clamp(48px, 16vw, 78px); line-height: .84; }
  .lede { font-size: 12px; }
  .hero-actions { display: grid; gap: 18px; align-items: stretch; }
  .hero-actions .cta { width: 100%; }
  .hero-actions .text-btn { justify-self: start; }
  .hero-facts { gap: 25px; margin-top: 35px; }
  .hero-facts strong { font-size: 24px; }
  .hero-facts span { font-size: 7px; }
  .note-a { left: -8px; top: 36px; }
  .note-b { right: -5px; bottom: 35px; }
  .coordinate { display: none; }
  .mint-main, .access-card, .x-card, .referral-box { padding: 20px; }
  .panel-head { align-items: flex-start; }
  .status-chip { font-size: 7px; padding: 6px; }
  .supply-row { display: block; }
  .supply-meta { margin-top: 10px; }
  .countdown strong { font-size: 25px; }
  .countdown div { padding: 13px 4px; }
  .mint-controls { align-items: stretch; }
  .cost strong { font-size: 18px; }
  .micro-stats { grid-template-columns: 1fr; }
  .micro-stats div { display: flex; justify-content: space-between; align-items: center; }
  .micro-stats strong { margin-top: 0; }
  .side-stack { grid-template-columns: 1fr; }
  .strata-grid { display: block; }
  .stratum { min-height: 330px; margin-bottom: 14px; }
  .stratum:nth-child(1) { min-height: 390px; }
  .section-heading { margin-bottom: 32px; }
  h2 { font-size: 46px; }
  .story-metrics { grid-template-columns: 1fr; }
  .story-metrics div { display: flex; justify-content: space-between; align-items: baseline; }
  .token-grid { gap: 40px; }
  .token-ring-inner strong { font-size: 44px; }
  .allocation-row { grid-template-columns: 8px 85px 1fr; }
  .allocation-row em { display: none; }
  .reveal-section { width: 100%; padding-left: 14px; padding-right: 14px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline-step { min-height: 200px; border-bottom: 1px solid var(--line-dark); }
  .timeline-step:nth-child(2) { border-right: 0; }
  .timeline-step:nth-child(n+3) { border-bottom: 0; }
  .timeline-step h3 { margin-top: 30px; }
  .claim-panel { display: block; }
  .claim-actions { margin-top: 22px; }
  .claim-actions button { flex: 1; }
  .footer-brand { font-size: 21vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid div { gap: 15px; }
  .footer-meta { display: block; }
  .footer-meta span { display: block; margin-bottom: 8px; word-break: break-all; }
}

@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-on-load, .reveal-up { opacity: 1; transform: none; }
}
