/* ==========================================================================
   Official Moustache Coin — The Gold Standard of Moustaches
   ========================================================================== */

:root {
  --black: #080808;
  --black-2: #151515;
  --gold: #F5BF32;
  --gold-bright: #FFD85A;
  --gold-deep: #B98212;
  --ivory: #FFF9E9;
  --white: #FFFFFF;
  --gray: #A5A5A5;
  --ink: #0d0b07;

  --line: rgba(245, 191, 50, 0.22);
  --line-soft: rgba(245, 191, 50, 0.1);

  --font-display: "Arial Black", "Segoe UI Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --gutter: clamp(16px, 4.2vw, 96px);
  --wrap: 1840px;
  --section-y: clamp(88px, 11vw, 200px);
  --header-h: clamp(64px, 5.4vw, 88px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.2rem);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--gold); color: var(--black);
  padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gold { color: var(--gold); }
.gold-deep { color: var(--gold-deep); }

/* ---------- Typography ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.68rem + 0.18vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(20px, 2vw, 32px);
}
.label::before {
  content: "";
  width: clamp(28px, 3vw, 56px);
  height: 1px;
  background: currentColor;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 1.2rem + 4.6vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: clamp(15px, 1vw, 20px);
  --btn-pad-x: clamp(24px, 1.8vw, 36px);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: clamp(0.84rem, 0.8rem + 0.18vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, #e6a91f);
  color: var(--black);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 30px -12px rgba(245, 191, 50, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 18px 40px -14px rgba(245, 191, 50, 0.75);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-secondary:hover {
  background: rgba(245, 191, 50, 0.1);
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-dark {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.6);
}
.btn-dark:hover { color: var(--gold-bright); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7); }

.btn-sm { --btn-pad-y: 12px; --btn-pad-x: 20px; min-height: 42px; font-size: 0.8rem; }
.btn-lg { --btn-pad-y: clamp(18px, 1.3vw, 24px); --btn-pad-x: clamp(30px, 2.4vw, 48px); font-size: clamp(0.92rem, 0.86rem + 0.25vw, 1.1rem); }

.btn-row { display: flex; flex-wrap: wrap; gap: clamp(12px, 1vw, 18px); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 191, 50, 0.18);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.86);
  border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.82rem, 0.74rem + 0.3vw, 1.05rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  min-width: 0;
}
.brand img {
  width: clamp(34px, 2.4vw, 44px);
  height: auto;
  border-radius: 50%;
  flex: none;
}
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 44px);
}
.nav a:not(.btn) {
  position: relative;
  font-size: clamp(0.8rem, 0.76rem + 0.15vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 0;
  transition: color 0.25s ease;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:not(.btn):hover { color: var(--gold); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  --mx: 0;
  --my: 0;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(16px, 3vh, 40px));
  padding-bottom: clamp(48px, 7vh, 96px);
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 72% 40%, #1b1407 0%, var(--black) 58%),
    var(--black);
}

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero-light {
  position: absolute;
  width: min(1400px, 95vw);
  aspect-ratio: 1;
  left: 50%;
  top: 46%;
  margin-left: calc(min(1400px, 95vw) / -2 + 18vw);
  margin-top: calc(min(1400px, 95vw) / -2);
  background: radial-gradient(closest-side, rgba(245, 191, 50, 0.26), rgba(245, 191, 50, 0.07) 48%, transparent 72%);
  transform: translate3d(calc(var(--mx) * 50px), calc(var(--my) * 40px), 0);
  transition: transform 0.9s var(--ease);
  will-change: transform;
}

.hero-curve {
  position: absolute;
  width: max(1500px, 120vw);
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.1;
  opacity: 0.12;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(var(--gutter) - 1px), var(--line-soft) var(--gutter), transparent calc(var(--gutter) + 1px)),
    linear-gradient(270deg, transparent calc(var(--gutter) - 1px), var(--line-soft) var(--gutter), transparent calc(var(--gutter) + 1px));
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(24px, 3vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(0.74rem, 0.68rem + 0.28vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(18px, 2.4vh, 36px);
}
.eyebrow::before {
  content: "";
  width: clamp(32px, 3.4vw, 72px);
  height: 1px;
  background: currentColor;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6.5vw, 10.5rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: clamp(22px, 3.4vh, 44px);
}
.hero-title .line { display: block; }
.hero-title .gold {
  background: linear-gradient(180deg, var(--gold-bright) 10%, var(--gold) 55%, var(--gold-deep) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 0.9rem + 0.55vw, 1.6rem);
  line-height: 1.45;
  color: rgba(255, 249, 233, 0.82);
  max-width: 34ch;
  margin-bottom: clamp(26px, 4vh, 48px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(22px, 3.4vh, 40px);
  font-size: clamp(0.74rem, 0.7rem + 0.15vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}
.hero-meta i { color: var(--gold); font-style: normal; }
.hero-meta .status-pill { margin-left: 6px; }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-halo {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 92%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 clamp(18px, 2.2vw, 40px) rgba(245, 191, 50, 0.025), inset 0 0 120px rgba(245, 191, 50, 0.08);
}
.hero-halo::after {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px dashed rgba(245, 191, 50, 0.14);
}

.mascot {
  position: relative;
  z-index: 1;
  height: min(82vh, 62vw, 1180px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}
@supports (height: 1svh) {
  .mascot { height: min(82svh, 62vw, 1180px); }
}

.hero-plinth {
  position: absolute;
  bottom: 1%;
  left: 50%;
  width: 62%;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent);
  animation: shadow 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-16px) rotate(0.6deg); }
}
@keyframes shadow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(0.86); opacity: 0.7; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3vh, 32px);
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  80%, 100% { transform: translateY(14px); opacity: 0; }
}

/* Entrance */
.js .reveal-load {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms + 120ms);
}
.js .hero-art.reveal-load { transform: translateY(40px) scale(0.97); }
.js.is-loaded .reveal-load { opacity: 1; transform: none; }

/* ==========================================================================
   Scroll reveals
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Brand statement (ivory)
   ========================================================================== */
.statement {
  background: var(--ivory);
  color: var(--ink);
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright), var(--gold), var(--gold-deep));
}

.statement-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 0.9rem + 7.6vw, 12.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.statement-text > span { display: block; }
.statement-text > span:nth-child(2) { padding-left: 0.7em; }
.statement-text > span:nth-child(3) { padding-left: 1.4em; }
.statement-text mark {
  background: none;
  color: var(--gold-deep);
  position: relative;
  white-space: nowrap;
}
.statement-text mark::after {
  content: "";
  position: absolute;
  left: 0.02em; right: 0.12em;
  bottom: 0.02em;
  height: 0.11em;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.4s;
  z-index: -1;
}
.statement-text .is-in mark::after,
html:not(.js) .statement-text mark::after { transform: scaleX(1); }
.statement-text mark { isolation: isolate; z-index: 0; }

.statement-sub {
  margin-top: clamp(32px, 4vw, 64px);
  margin-left: auto;
  width: fit-content;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 0.9rem + 1vw, 2rem);
  color: #4a3f28;
  border-top: 1px solid rgba(13, 11, 7, 0.2);
  padding-top: 18px;
}

/* ==========================================================================
   About
   ========================================================================== */
.section-dark { background: var(--black); }

.about {
  padding-block: var(--section-y);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 140px);
  align-items: end;
}

.about-body { padding-bottom: 0.4em; }

.lead {
  font-size: clamp(1.2rem, 0.95rem + 0.95vw, 2rem);
  line-height: 1.4;
  color: var(--ivory);
  max-width: 30ch;
  margin-bottom: clamp(28px, 3vw, 48px);
}

.about-list {
  border-top: 1px solid var(--line);
  margin-bottom: clamp(32px, 3.6vw, 60px);
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(14px, 1.2vw, 22px) 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.3rem);
  color: rgba(255, 255, 255, 0.78);
}
.about-list li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}
.about-list li:last-child::before { background: var(--gold); }
.about-list strong { color: var(--gold); font-weight: 800; letter-spacing: 0.02em; }

.pull {
  position: relative;
  padding-left: clamp(20px, 2vw, 32px);
  border-left: 2px solid var(--gold);
}
.pull p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 0.95rem + 1.1vw, 2.2rem);
  line-height: 1.25;
  color: var(--gold-bright);
}

/* ==========================================================================
   Showcase
   ========================================================================== */
.showcase {
  background: var(--black-2);
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}

.showcase-head { text-align: center; }
.showcase-head .label { justify-content: center; }
.showcase-head .label::after {
  content: "";
  width: clamp(28px, 3vw, 56px);
  height: 1px;
  background: currentColor;
}

.showcase-stage {
  position: relative;
  width: min(100%, 1100px);
  margin: clamp(48px, 6vw, 110px) auto 0;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}

.showcase-glow {
  position: absolute;
  inset: -10% 5%;
  background: radial-gradient(closest-side, rgba(245, 191, 50, 0.3), rgba(245, 191, 50, 0.06) 55%, transparent 75%);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.75; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.03); }
}

.showcase-ring {
  position: absolute;
  height: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.showcase-ring::before,
.showcase-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.showcase-ring::before { inset: -7%; border: 1px dashed rgba(245, 191, 50, 0.12); }
.showcase-ring::after {
  width: 10px; height: 10px;
  top: -5px; left: 50%; margin-left: -5px;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.showcase-logo {
  position: relative;
  height: 76%;
  width: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  /* the source has a black square ground; a circular clip keeps only the coin */
  clip-path: circle(49.4% at 50% 50%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
  transition: transform 1.2s var(--ease);
}
.showcase-stage:hover .showcase-logo { transform: rotate(-4deg) scale(1.02); }

.note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.7rem, 0.64rem + 0.25vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  white-space: nowrap;
}
.note b { color: var(--gold); font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 1.3em; }
.note::after {
  content: "";
  height: 1px;
  width: clamp(36px, 7vw, 140px);
  background: linear-gradient(90deg, var(--gold), transparent);
}
.note-1 { top: 14%; left: 0; }
.note-2 { bottom: 18%; left: 2%; }
.note-3 { top: 40%; right: 0; flex-direction: row-reverse; }
.note-3::after { background: linear-gradient(270deg, var(--gold), transparent); }

.showcase-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px clamp(16px, 2.2vw, 40px);
  margin-top: clamp(48px, 5vw, 96px);
  padding-top: clamp(24px, 2.4vw, 40px);
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1rem, 0.7rem + 1.3vw, 2.3rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(255, 249, 233, 0.9);
}
.showcase-strip i { font-style: normal; color: var(--gold); font-size: 0.6em; }

/* ==========================================================================
   How to buy (ivory)
   ========================================================================== */
.section-ivory { background: var(--ivory); color: var(--ink); }
.section-ivory .label { color: var(--gold-deep); }

.buy { padding-block: var(--section-y); }

.buy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 6vw, 140px);
  align-items: start;
}
.buy-head { position: sticky; top: calc(var(--header-h) + 40px); }
.buy-head .h2 { margin-bottom: clamp(28px, 3vw, 48px); }
.buy-head .btn { margin-bottom: 20px; }

.fine {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #6b5f45;
  max-width: 40ch;
}

.steps { border-top: 2px solid var(--ink); }
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 64px);
  align-items: baseline;
  padding: clamp(28px, 3.2vw, 56px) 0;
  border-bottom: 1px solid rgba(13, 11, 7, 0.18);
  position: relative;
}
.step::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.step:hover::after { transform: scaleX(1); }

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 1.6rem + 5vw, 8rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-deep);
  min-width: 1.6em;
  transition: color 0.4s ease;
}
.step:hover .step-num { color: var(--gold); }

.step h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.step p { color: #4a4232; font-size: clamp(1rem, 0.92rem + 0.3vw, 1.25rem); }

/* ==========================================================================
   Contract
   ========================================================================== */
.contract {
  padding-block: var(--section-y);
  background:
    radial-gradient(70% 90% at 85% 50%, rgba(245, 191, 50, 0.08), transparent 70%),
    var(--black);
}

.contract-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 110px);
  align-items: center;
}

.ca-box {
  position: relative;
  padding: clamp(24px, 3vw, 56px);
  background: linear-gradient(160deg, #1a1608, #0d0c08 60%);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}
.ca-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), transparent 35%, transparent 65%, var(--gold-deep));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.ca-top {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ca-chain {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
}

.ca-value {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 0.7rem + 0.9vw, 1.9rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--gold);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
}

.copy-btn { min-width: 128px; }
.copy-btn.is-copied {
  background: var(--ivory);
  color: var(--black);
}

.ca-note {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.92rem;
  color: var(--gray);
}
.ca-note strong { color: var(--ivory); }
.ca-note a { color: var(--gold); text-underline-offset: 3px; }

/* ==========================================================================
   Chart
   ========================================================================== */
.chart {
  padding-block: var(--section-y);
  background: var(--black-2);
  border-top: 1px solid var(--line-soft);
}

.chart-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 72px);
}
.chart-side p {
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 46ch;
}

.chart-frame {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(245, 191, 50, 0.03);
}
.chart-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray);
  min-width: 0;
}
.chart-bar > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; }
.dots i:first-child { background: var(--gold); }

.chart-embed {
  position: relative;
  height: clamp(440px, 62vh, 820px);
}
.chart-embed iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}
.chart-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  color: var(--gray);
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 64px 100%;
}
.chart-fallback img { border-radius: 50%; opacity: 0.85; }
.chart-fallback p { max-width: 36ch; font-size: 0.95rem; }

/* ==========================================================================
   Community (gold)
   ========================================================================== */
.community {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(110px, 14vw, 260px);
  background:
    radial-gradient(80% 120% at 50% 0%, var(--gold-bright), transparent 60%),
    linear-gradient(180deg, var(--gold) 0%, #e9ae22 100%);
  color: var(--ink);
  text-align: center;
}
.community .label { color: var(--ink); justify-content: center; }
.community .label::after {
  content: "";
  width: clamp(28px, 3vw, 56px);
  height: 1px;
  background: currentColor;
}

.community-stache {
  position: absolute;
  z-index: -1;
  width: max(1100px, 115vw);
  max-width: none;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  opacity: 0.1;
}

.community-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 1rem + 11vw, 17rem);
  line-height: 0.84;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 2.6vw, 44px);
}
.community-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 2.2rem);
  margin-bottom: clamp(32px, 3.4vw, 56px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  padding-top: clamp(56px, 6vw, 110px);
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: clamp(36px, 4vw, 64px);
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { border-radius: 50%; }
.footer-name {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.footer-meta { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); }
.footer-meta i { color: var(--gold); font-style: normal; }
.footer-statement {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.9rem);
  color: var(--ivory);
}
.footer-nav { display: flex; gap: clamp(8px, 1.4vw, 24px); }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.footer-nav a:hover { color: var(--black); background: var(--gold); border-color: var(--gold); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px 48px;
  padding-top: 28px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #7a7a7a;
}
.footer-legal p:first-child { max-width: 90ch; }
.footer-legal p:last-child { white-space: nowrap; }

/* ==========================================================================
   Large screens
   ========================================================================== */
@media (min-width: 2200px) {
  :root { --wrap: 2240px; }
  .hero-title { font-size: clamp(9rem, 6.2vw, 12.5rem); }
}

/* ==========================================================================
   ≤ 1280
   ========================================================================== */
@media (max-width: 1280px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .note-1 { left: -1%; }
}

/* ==========================================================================
   ≤ 1024 — tablet landscape
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(3rem, 7.4vw, 6rem); }
  .mascot { height: min(72vh, 64vw, 760px); }
  @supports (height: 1svh) { .mascot { height: min(72svh, 64vw, 760px); } }

  .about-grid,
  .buy-grid,
  .contract-card,
  .chart-head { grid-template-columns: minmax(0, 1fr); }
  .about-grid { align-items: start; }
  .buy-head { position: static; }
  .lead { max-width: 40ch; }
}

/* ==========================================================================
   ≤ 900 — nav collapses, hero stacks
   ========================================================================== */
@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 2; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background:
      radial-gradient(90% 60% at 100% 0%, rgba(245, 191, 50, 0.14), transparent 70%),
      var(--black);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.45s var(--ease), visibility 0s linear 0.45s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.35s ease, transform 0.45s var(--ease), visibility 0s;
  }
  .nav a:not(.btn) {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 9vw, 3.4rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--ivory);
    padding: 6px 0;
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; min-height: 52px; font-size: 0.95rem; padding: 16px 28px; }
  .brand { position: relative; z-index: 2; }

  .hero { align-items: flex-start; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 6vw, 48px);
  }
  .hero-title { font-size: clamp(2.4rem, 12.2vw, 7rem); }
  .hero-sub { max-width: 40ch; }
  .hero-art { margin-top: 8px; }
  .mascot { height: auto; width: min(76vw, 460px); }
  @supports (height: 1svh) { .mascot { height: auto; } }
  .hero-halo { width: min(108%, 560px); }
  .hero-light { margin-left: calc(min(1400px, 95vw) / -2); top: 70%; }
  .scroll-cue { display: none; }

  .statement-text > span:nth-child(2) { padding-left: 0.4em; }
  .statement-text > span:nth-child(3) { padding-left: 0; }

  .showcase-stage { aspect-ratio: 1 / 1.05; }
  .showcase-logo { height: auto; width: 74%; }
  .showcase-ring { height: auto; width: 88%; }
  .note-1 { top: 2%; left: 0; }
  .note-2 { bottom: 2%; left: 0; }
  .note-3 { top: auto; bottom: 2%; right: 0; }
  .note-3::after, .note-2::after { display: none; }
  .note-1::after { width: 40px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .footer-statement { text-align: left; }
  .footer-legal { flex-direction: column; }
}

/* ==========================================================================
   ≤ 600 — phones
   ========================================================================== */
@media (max-width: 600px) {
  .brand span { font-size: 0.78rem; }

  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }

  .ca-box { grid-template-columns: minmax(0, 1fr); }
  .copy-btn { width: 100%; }

  .chart-embed { height: clamp(420px, 70vh, 600px); }
  .chart-bar .status-pill { display: none; }

  .step { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step-num { min-width: 0; }

  .note { font-size: 0.64rem; letter-spacing: 0.14em; }
  .showcase-strip { gap: 6px 14px; }

  .buy-head .btn,
  .community .btn { width: 100%; }
}

@media (max-width: 360px) {
  .brand span { display: none; }
  .hero-meta { letter-spacing: 0.14em; }
}

/* Short desktop viewports */
@media (min-width: 901px) and (max-height: 760px) {
  .hero-title { font-size: clamp(3rem, min(6.5vw, 11vh), 10.5rem); }
  .mascot { height: min(80vh, 60vw); }
}

/* ==========================================================================
   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: 0ms !important;
  }
  .js .reveal,
  .js .reveal-load { opacity: 1; transform: none; }
  .hero-light { transform: none; }
}
