/* =============================================================================
   LISAGA — "GEOLOGICAL LEDGER" (light)
   Art direction: an assay certificate for a mineral that doesn't exist.
   Ivory paper ground, struck gold, lithium-flame crimson as the only second
   voice. Banknote serif for the saga, technical mono for the facts.

   NOTE ON GOLD: bright gold on white is unreadable (≈1.6:1). So gold splits in
   two here — GOLD LEAF (bright, metallic) is only ever used for large display
   type, fills and the medallion, while BRONZE (dark) carries anything small
   enough to actually read. Never set body copy in --gold-leaf.
   ========================================================================== */

/* --------------------------------------------------------------- TOKENS -- */
:root {
  /* paper */
  --ivory:      #FCFAF5;
  --paper:      #FFFFFF;
  --parchment:  #F7F2E7;
  --sand:       #F0E9DA;
  --seam:       rgba(138, 95, 23, .22);
  --seam-soft:  rgba(138, 95, 23, .11);

  /* struck gold — bright end, for fills and large display only */
  --gold:       #C9992F;
  --gold-hi:    #F3D882;
  --gold-bright:#E9C662;
  --leaf: linear-gradient(135deg,
            #E3B84A 0%, #A5741A 20%, #F0CE73 40%,
            #8A5F17 60%, #D9AC3C 80%, #7A5314 100%);

  /* Button-only gold. The display --leaf sweeps from pale to deep bronze, so no
     single label colour survives every stop. This one stays in the light band,
     which lets ink-dark text clear 7:1 everywhere on it. */
  --leaf-btn: linear-gradient(135deg,
            #F3D882 0%, #E3B84A 34%, #F0CE73 56%, #D9AC3C 100%);

  /* bronze — the readable end, for text and hairlines */
  --bronze:     #8A5F17;
  --bronze-2:   #A5741A;
  --bronze-dim: rgba(138, 95, 23, .55);
  --bronze-deep:#6E4A11;

  /* lithium flame */
  --flame:      #B01739;
  --flame-hi:   #92122F;
  --flame-dim:  rgba(176, 23, 57, .09);

  /* verdicts — darkened for a light ground */
  --ok:         #1E7A44;
  --ok-dim:     rgba(30, 122, 68, .10);
  --warn:       #9A6212;
  --warn-dim:   rgba(154, 98, 18, .11);

  /* type — warm dark browns, never pure black */
  --ink:        #2A2118;
  --ink-2:      #4A3E2E;
  --muted:      #6B6153;
  --faint:      #7A7162;   /* 4.6:1 on --ivory — do not lighten, small labels use it */

  --display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --body:    'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono:    'IBM Plex Mono', 'SF Mono', Menlo, monospace;

  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --max: 1240px;
  --r:   3px;

  --shadow-sm: 0 1px 2px rgba(74, 62, 46, .05), 0 2px 8px -4px rgba(74, 62, 46, .08);
  --shadow-md: 0 2px 4px rgba(74, 62, 46, .05), 0 12px 28px -14px rgba(74, 62, 46, .18);
  --shadow-lg: 0 4px 10px rgba(74, 62, 46, .05), 0 30px 60px -30px rgba(74, 62, 46, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

::selection { background: var(--gold-bright); color: #2A1A05; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

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

.skip {
  position: absolute; top: -60px; left: var(--pad); z-index: 200;
  background: var(--ink); color: var(--ivory); padding: .6rem 1rem;
  font-size: .82rem; font-weight: 600; border-radius: var(--r);
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

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

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 860px; }

/* ----------------------------------------------------------- ATMOSPHERE -- */
/* On paper the grain multiplies rather than overlays, so it reads as tooth
   in the stock instead of glare on glass. */
.grain {
  position: fixed; inset: -50%; z-index: 9999; pointer-events: none;
  opacity: .028; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainshift 7s steps(6) infinite;
}
@keyframes grainshift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
}

.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(125% 95% at 50% 0%, transparent 52%, rgba(138,95,23,.055) 100%);
}

/* ------------------------------------------------------------- ELEMENTS -- */
.eyebrow {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 1.4rem;
}
.eyebrow--center { justify-content: center; text-align: center; }
.eyebrow__rule {
  height: 1px; width: clamp(20px, 5vw, 46px); flex: none;
  background: linear-gradient(90deg, transparent, var(--bronze-dim));
}
.eyebrow--center .eyebrow__rule:last-child {
  background: linear-gradient(90deg, var(--bronze-dim), transparent);
}

.gold-text {
  background: var(--leaf);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .64rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 2px;
  border: 1px solid rgba(107,97,83,.3); color: var(--muted);
  background: var(--parchment);
  white-space: nowrap;
}
.pill--live { border-color: rgba(30,122,68,.4); color: var(--ok); background: var(--ok-dim); }
.pill--live::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.4s var(--ease) infinite;
}
.pill--pending { border-color: rgba(154,98,18,.42); color: var(--warn); background: var(--warn-dim); }
.pill--done { border-color: rgba(30,122,68,.4); color: var(--ok); background: var(--ok-dim); }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--faint); display: inline-block;
  transition: background .3s;
}
.dot.is-live { background: var(--ok); animation: pulse 2.4s var(--ease) infinite; }
.dot.is-err  { background: var(--flame); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: .9rem; letter-spacing: .01em;
  padding: .95rem 1.7rem; border-radius: var(--r);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease), background .25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn--sm { padding: .58rem 1.05rem; font-size: .82rem; }

.btn--gold {
  background: var(--leaf-btn); background-size: 180% 180%; background-position: 0% 50%;
  color: #2A1A05;
  box-shadow: 0 1px 0 rgba(255,248,226,.7) inset,
              0 0 0 1px rgba(138,95,23,.30), var(--shadow-md);
  transition: background-position .55s var(--ease), transform .25s var(--ease-out), box-shadow .25s;
}
.btn--gold:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,248,226,.8) inset,
              0 0 0 1px rgba(138,95,23,.4), 0 16px 32px -14px rgba(138,95,23,.6);
}
.btn--gold:active { transform: translateY(0); }

.btn--ghost {
  border: 1px solid var(--seam); color: var(--ink-2); background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--bronze-dim); color: var(--bronze); background: var(--parchment); }

/* ------------------------------------------------------------------ NAV -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(252,250,245,.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--seam-soft);
  box-shadow: 0 1px 20px -8px rgba(74,62,46,.22);
}
.nav__inner {
  max-width: var(--max); margin-inline: auto; padding: .85rem var(--pad);
  display: flex; align-items: center; gap: 1.5rem;
}

.nav__brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.nav__mark {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--leaf);
  box-shadow: 0 0 0 1px rgba(138,95,23,.35) inset, 0 2px 8px -3px rgba(138,95,23,.5);
  position: relative;
}
.nav__mark::after {
  content: ''; position: absolute; inset: 5px; border-radius: 50%;
  border: 1px solid rgba(255,243,203,.5);
}
.nav__brandtext { display: flex; flex-direction: column; line-height: 1.1; }
.nav__name { font-family: var(--display); font-size: 1.02rem; font-weight: 700; letter-spacing: .01em; }
.nav__ticker {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .16em;
  color: var(--bronze); text-transform: uppercase;
}

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  font-size: .84rem; color: var(--muted); position: relative; padding: .2rem 0;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--bronze); transition: width .3s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.nav__links + .nav__right { margin-left: 0; }

.nav__price {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; padding: .45rem .75rem;
  border: 1px solid var(--seam-soft); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-sm);
  transition: border-color .25s;
}
.nav__price:hover { border-color: var(--seam); }
.nav__pricedot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.nav__pricedot.is-live { background: var(--ok); animation: pulse 2.4s infinite; }
.nav__pricedelta { font-size: .72rem; }
.up   { color: var(--ok); }
.down { color: var(--flame); }
.flat { color: var(--muted); }

.nav__burger { display: none; width: 34px; height: 34px; position: relative; }
.nav__burger span {
  position: absolute; left: 7px; right: 7px; height: 1.6px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav__links {
    position: fixed; inset: 62px 0 auto; flex-direction: column; gap: 0;
    background: rgba(252,250,245,.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--seam-soft);
    box-shadow: var(--shadow-md);
    padding: .5rem var(--pad) 1.4rem;
    transform: translateY(-120%); transition: transform .4s var(--ease-out);
    margin: 0;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: .85rem 0; border-bottom: 1px solid var(--seam-soft); font-size: .95rem; }
  .nav__burger { display: block; }
  .nav__price { display: none; }
}
@media (max-width: 520px) { .nav__name { font-size: .92rem; } }

/* ----------------------------------------------------------------- HERO -- */
.hero { position: relative; padding: clamp(7rem, 15vh, 10.5rem) 0 3.2rem; overflow: hidden; }

.hero__field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* mineral strata bands */
.strata {
  position: absolute; inset: -20% -10% auto; height: 140%;
  background:
    linear-gradient(178deg, transparent 0%, rgba(138,95,23,.05) 18%, transparent 19%),
    linear-gradient(176deg, transparent 0%, rgba(138,95,23,.04) 34%, transparent 35%),
    linear-gradient(179deg, transparent 0%, rgba(176,23,57,.04) 52%, transparent 53%),
    linear-gradient(177deg, transparent 0%, rgba(138,95,23,.035) 71%, transparent 72%),
    radial-gradient(70% 55% at 72% 18%, rgba(233,198,98,.20), transparent 62%),
    radial-gradient(50% 42% at 12% 78%, rgba(176,23,57,.045), transparent 65%);
}

/* engraved guilloché */
.guilloche {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    repeating-radial-gradient(circle at 78% 26%, transparent 0 22px, rgba(138,95,23,.06) 22px 23px),
    repeating-radial-gradient(circle at 10% 88%, transparent 0 30px, rgba(138,95,23,.04) 30px 31px);
  mask-image: radial-gradient(80% 70% at 60% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 20%, transparent 78%);
}

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(3.2rem, 11.5vw, 8.6rem);
  font-weight: 900; line-height: .87; letter-spacing: -.03em;
  margin: 0 0 1.5rem; text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title span:first-child { color: var(--ink); }
.hero__title span:last-child { margin-left: .06em; }

.hero__lede {
  font-size: clamp(1rem, 1.6vw, 1.14rem); color: var(--ink-2);
  max-width: 46ch; margin: 0 0 2.2rem; line-height: 1.68;
}
.hero__lede strong { color: var(--ink); font-weight: 600; display: block; margin-top: .7rem; }

.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.4rem; }

/* contract address */
.ca { max-width: 560px; }
.ca__label {
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .5rem;
}
.ca__verify { color: var(--flame); letter-spacing: .1em; font-weight: 600; }
.ca__box {
  display: flex; align-items: center; gap: .8rem; width: 100%;
  padding: .8rem .9rem; text-align: left;
  border: 1px solid var(--seam); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-sm);
  transition: border-color .25s, background .25s;
}
.ca__box:hover { border-color: var(--bronze-dim); background: var(--parchment); }
.ca__addr {
  font-size: clamp(.63rem, 1.55vw, .78rem); color: var(--bronze);
  overflow-wrap: anywhere; flex: 1; min-width: 0; line-height: 1.4; font-weight: 500;
}
.ca__copy {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); transition: color .2s;
}
.ca__box:hover .ca__copy { color: var(--bronze); }
@media (max-width: 460px) { .ca__copytext { display: none; } }

/* medallion */
.hero__coin { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.medallion {
  position: relative; width: min(100%, 400px); aspect-ratio: 1;
  filter: drop-shadow(0 30px 50px rgba(74,62,46,.28)) drop-shadow(0 0 60px rgba(233,198,98,.35));
  animation: float 7s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out);
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-14px) rotate(-1deg); }
}
.medallion__svg { width: 100%; height: 100%; }
.medallion__word {
  font-family: var(--display); font-size: 54px; font-weight: 900;
  letter-spacing: .04em;
}
.medallion__sub {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; opacity: .85;
}
.medallion__sheen {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg,
      transparent 30%, rgba(255,255,255,.42) 46%,
      rgba(255,255,255,.08) 52%, transparent 66%);
  background-size: 260% 260%;
  animation: sheen 6.5s var(--ease) infinite;
  mix-blend-mode: overlay;
}
@keyframes sheen {
  0%, 62% { background-position: 190% 0; }
  100%    { background-position: -60% 0; }
}
.medallion__caption {
  font-size: .66rem; letter-spacing: .1em; color: var(--muted);
  text-transform: uppercase; text-align: center;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__coin { order: -1; }
  .medallion { width: min(64%, 280px); }
  .hero { padding-top: 6rem; }
}

/* live strip */
.strip {
  position: relative; z-index: 2; margin-top: clamp(2.4rem, 6vw, 4rem);
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--seam); border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.strip__cell {
  padding: 1.05rem 1rem; display: flex; flex-direction: column; gap: .28rem;
  border-right: 1px solid var(--seam-soft); min-width: 0;
}
.strip__cell:last-child { border-right: 0; }
.strip__k {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--faint);
}
.strip__v { font-size: clamp(.92rem, 1.6vw, 1.12rem); color: var(--ink); font-weight: 600; }
.strip__d { font-size: .72rem; font-weight: 600; }
.strip__fresh { display: flex; align-items: center; gap: .4rem; font-size: .74rem !important; color: var(--muted); font-weight: 400 !important; }

@media (max-width: 940px) { .strip { grid-template-columns: repeat(3, 1fr); } .strip__cell:nth-child(3n) { border-right: 0; } .strip__cell:nth-child(-n+3) { border-bottom: 1px solid var(--seam-soft); } }
@media (max-width: 520px) { .strip { grid-template-columns: repeat(2, 1fr); } .strip__cell:nth-child(2n) { border-right: 0; } }

/* -------------------------------------------------------------- SECTION -- */
.section { position: relative; z-index: 2; padding: clamp(4.5rem, 11vw, 8rem) 0; }
.section + .section { border-top: 1px solid var(--seam-soft); }

.shead { max-width: 720px; margin-bottom: clamp(2.6rem, 6vw, 4rem); }
.shead--center { margin-inline: auto; text-align: center; }
.shead__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.5rem); line-height: 1.04;
  letter-spacing: -.02em; margin: 0 0 1.2rem; color: var(--ink);
}
.shead__lede { color: var(--ink-2); font-size: 1.02rem; line-height: 1.72; margin: 0; }
.shead__lede--center { margin-inline: auto; }
.shead__lede em { color: var(--ink); font-style: italic; }

/* ---------------------------------------------------------------- ASSAY -- */
.section--assay { background:
  radial-gradient(90% 60% at 50% 0%, rgba(233,198,98,.16), transparent 65%); }

.assay {
  border: 1px solid var(--seam);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.assay__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  padding: .95rem 1.35rem;
  border-bottom: 1px solid var(--seam);
  background:
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(138,95,23,.05) 3px 4px),
    var(--parchment);
}
.assay__title { font-size: .68rem; letter-spacing: .24em; color: var(--bronze); font-weight: 600; }
.assay__stamp { font-size: .66rem; letter-spacing: .08em; color: var(--muted); }

.assay__list { list-style: none; margin: 0; padding: 0; }
.assay__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) minmax(0, auto) 62px;
  align-items: center; gap: 1rem;
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid var(--seam-soft);
  transition: background .3s var(--ease);
}
.assay__row:last-child { border-bottom: 0; }
.assay__row:hover { background: rgba(233,198,98,.07); }

.assay__state {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 1px solid var(--faint); position: relative;
  transition: border-color .4s var(--ease), background .4s;
}
.assay__state::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 700;
  opacity: 0; transition: opacity .35s var(--ease);
}
.assay__state[data-state="pending"] {
  border-color: var(--faint);
  background: repeating-conic-gradient(from 0deg, var(--faint) 0 25%, transparent 0 50%);
  background-size: 6px 6px;
  animation: spin 3s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.assay__state[data-state="ok"] {
  border-color: var(--ok); background: var(--ok-dim); animation: none;
}
.assay__state[data-state="ok"]::after { content: '✓'; color: var(--ok); opacity: 1; }
.assay__state[data-state="info"] {
  border-color: var(--bronze-dim); background: rgba(233,198,98,.2); animation: none;
}
.assay__state[data-state="info"]::after { content: '·'; color: var(--bronze); opacity: 1; font-size: 16px; }
.assay__state[data-state="warn"] {
  border-color: var(--warn); background: var(--warn-dim); animation: none;
}
.assay__state[data-state="warn"]::after { content: '!'; color: var(--warn); opacity: 1; }
.assay__state[data-state="err"] {
  border-color: var(--flame); background: var(--flame-dim); animation: none;
}
.assay__state[data-state="err"]::after { content: '×'; color: var(--flame); opacity: 1; }

.assay__label { font-size: .93rem; font-weight: 600; color: var(--ink); min-width: 0; }
.assay__label em {
  display: block; font-style: normal; font-size: .76rem; color: var(--muted);
  font-weight: 400; margin-top: .12rem; line-height: 1.45;
}
.assay__value {
  font-size: .84rem; text-align: right; color: var(--ink-2);
  overflow-wrap: anywhere; transition: color .3s;
}
.assay__value.is-ok   { color: var(--ok); }
.assay__value.is-warn { color: var(--warn); }
.assay__value.is-err  { color: var(--flame); }
.assay__value b { font-weight: 700; }
.assay__value small { display: block; font-size: .68rem; color: var(--muted); font-weight: 400; }

.assay__link {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em;
  color: var(--bronze); text-align: right; transition: color .2s;
  border-bottom: 1px solid transparent; padding-bottom: 1px; font-weight: 500;
}
.assay__link:hover { color: var(--bronze-deep); border-bottom-color: var(--bronze-dim); }

.assay__foot {
  padding: 1.15rem 1.35rem;
  border-top: 1px solid var(--seam);
  background: var(--flame-dim);
}
.assay__foot p { margin: 0; font-size: .86rem; line-height: 1.65; color: var(--ink-2); }
.assay__foot strong { color: var(--ink); font-weight: 700; }

@media (max-width: 720px) {
  .assay__row { grid-template-columns: 18px minmax(0,1fr) auto; row-gap: .5rem; padding: 1rem; }
  .assay__value { grid-column: 2 / 4; text-align: left; }
  .assay__link { grid-column: 2 / 4; text-align: left; }
}

/* ---------------------------------------------------------------- CURVE -- */
.curve {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.curve__title {
  font-family: var(--display); font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 700; line-height: 1.05; margin: 0 0 1.1rem; letter-spacing: -.02em;
}
.curve__body { color: var(--ink-2); margin: 0 0 1.2rem; line-height: 1.72; }
.curve__note { font-size: .7rem; color: var(--muted); letter-spacing: .06em; }
.curve__note a { color: var(--bronze); border-bottom: 1px solid var(--bronze-dim); }
.curve__note a:hover { color: var(--bronze-deep); }

.curve__right {
  border: 1px solid var(--seam); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-md);
  padding: clamp(1.3rem, 3vw, 2rem);
}
.curve__meterhead {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .8rem;
}
.curve__pctlabel { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.curve__pct {
  font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 900; line-height: 1;
  background: var(--leaf); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.curve__meter {
  position: relative; height: 18px; border-radius: 2px; overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--seam-soft);
}
.curve__fill {
  height: 100%; width: 0;
  background: var(--leaf); background-size: 300% 100%;
  transition: width 1.6s var(--ease-out);
  animation: shimmer 4.5s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }
.curve__ticks {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(252,250,245,.85) calc(10% - 1px), rgba(252,250,245,.85) 10%);
}
.curve__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.4rem;
  margin: 1.5rem 0 0;
}
.curve__stats div { display: flex; flex-direction: column; gap: .2rem; }
.curve__stats dt {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--faint);
}
.curve__stats dd { margin: 0; font-size: 1rem; color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .curve { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- PILLARS -- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--seam-soft); border: 1px solid var(--seam-soft); }
.pillar {
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  background: var(--ivory);
  transition: background .4s var(--ease);
  position: relative;
}
.pillar:hover { background: var(--paper); }
.pillar__num {
  font-size: .68rem; letter-spacing: .2em; color: var(--bronze);
  display: block; margin-bottom: 1.4rem; font-weight: 600;
}
.pillar h3 {
  font-family: var(--display); font-size: 1.55rem; font-weight: 700;
  margin: 0 0 .9rem; line-height: 1.15; letter-spacing: -.01em;
}
.pillar p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.72; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- CAUSES -- */
.causes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cause {
  border: 1px solid var(--seam); border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--paper); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}
.cause:hover { border-color: var(--bronze-dim); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cause__pct {
  font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 900;
  line-height: 1; margin-bottom: .9rem;
  background: var(--leaf); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cause h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .7rem; letter-spacing: -.005em; }
.cause p { margin: 0 0 1.1rem; color: var(--ink-2); font-size: .89rem; line-height: 1.68; flex: 1; }
.cause__src {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-top: .85rem; border-top: 1px solid var(--seam-soft);
}
.cause--ledger { background: linear-gradient(170deg, rgba(176,23,57,.05), var(--paper) 60%); }
.cause--ledger:hover { border-color: rgba(176,23,57,.4); }
.cause__ledgertitle {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .9rem;
}
.cause__status { margin-bottom: .9rem; }
.cause__ledgerbody { font-size: .86rem; }
.cause__ledgerstats { margin: 0; padding-top: .9rem; border-top: 1px solid var(--seam-soft); display: grid; gap: .7rem; }
.cause__ledgerstats div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.cause__ledgerstats dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.cause__ledgerstats dd { margin: 0; font-size: .8rem; color: var(--ink-2); overflow-wrap: anywhere; text-align: right; font-weight: 500; }
.cause__ledgerstats dd a { color: var(--bronze); border-bottom: 1px solid var(--bronze-dim); }

.causes__disclaimer {
  margin: 1.6rem 0 0; padding: 1.1rem 1.3rem;
  border-left: 2px solid var(--flame);
  background: var(--flame-dim);
  font-size: .84rem; line-height: 1.68; color: var(--ink-2);
}
@media (max-width: 900px) { .causes { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- CHAPTERS -- */
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.chapter { display: grid; grid-template-columns: 96px 1fr; gap: clamp(1rem, 3vw, 2rem); }
.chapter__spine {
  display: flex; align-items: flex-start; justify-content: center;
  position: relative; padding-top: 1.4rem;
}
.chapter__spine::after {
  content: ''; position: absolute; top: 5.6rem; bottom: -1.2rem; width: 1px;
  background: linear-gradient(180deg, var(--seam), transparent);
}
.chapter:last-child .chapter__spine::after { display: none; }
.chapter__numeral {
  font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 900;
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--bronze-dim);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s;
}
.chapter.is-active .chapter__numeral {
  background: var(--leaf); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; -webkit-text-stroke: 0;
}

.chapter__card {
  border: 1px solid var(--seam-soft); border-radius: var(--r);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: var(--paper);
  transition: border-color .4s var(--ease), box-shadow .4s;
}
.chapter.is-active .chapter__card { border-color: var(--seam); box-shadow: var(--shadow-sm); }
.chapter__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap; }
.chapter__top h3 { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin: 0; letter-spacing: -.01em; }
.chapter__card > p { margin: 0 0 1.5rem; color: var(--ink-2); font-size: .92rem; line-height: 1.72; max-width: 62ch; }

.goals { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.goal {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: .8rem;
  padding: .62rem 0; border-top: 1px solid var(--seam-soft);
}
.goal__box {
  width: 13px; height: 13px; border: 1px solid var(--faint); border-radius: 2px;
  position: relative; transition: border-color .35s, background .35s;
}
.goal__box::after {
  content: '✓'; position: absolute; inset: -3px 0 0; text-align: center;
  font-size: 11px; color: var(--ok); opacity: 0; transition: opacity .35s;
}
.goal.is-done .goal__box { border-color: var(--ok); background: var(--ok-dim); }
.goal.is-done .goal__box::after { opacity: 1; }
.goal__label { font-size: .87rem; color: var(--ink-2); line-height: 1.45; }
.goal.is-done .goal__label { color: var(--ink); font-weight: 500; }
.goal__val { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.goal.is-done .goal__val { color: var(--ok); font-weight: 600; }
.goal.is-progress .goal__val { color: var(--bronze); font-weight: 600; }

@media (max-width: 700px) {
  .chapter { grid-template-columns: 1fr; gap: .6rem; }
  .chapter__spine { justify-content: flex-start; padding-top: 0; }
  .chapter__spine::after { display: none; }
}

/* ----------------------------------------------------------- TOKENOMICS -- */
.tok { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--seam-soft); border: 1px solid var(--seam-soft); }
.tok__item { background: var(--paper); padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .35rem; }
.tok__k { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.tok__v {
  font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 600; color: var(--bronze);
  line-height: 1.2;
}
.tok__n { font-size: .78rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 860px) { .tok { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tok { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- STEPS -- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.step {
  border: 1px solid var(--seam-soft); border-radius: var(--r);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  background: var(--paper); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}
.step:hover { border-color: var(--bronze-dim); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step__n { font-size: .68rem; letter-spacing: .2em; color: var(--bronze); margin-bottom: 1.1rem; font-weight: 600; }
.step h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .6rem; }
.step p { margin: 0 0 1rem; font-size: .86rem; color: var(--ink-2); line-height: 1.65; flex: 1; }
.step__link {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--bronze);
  border-bottom: 1px solid var(--bronze-dim); align-self: flex-start; padding-bottom: 1px;
  transition: border-color .2s; font-weight: 500;
}
.step__link:hover { border-color: var(--bronze); }
.step--warn { border-color: rgba(176,23,57,.3); background: linear-gradient(180deg, rgba(176,23,57,.05), var(--paper) 70%); }
.step--warn:hover { border-color: rgba(176,23,57,.55); }
.step--warn .step__n { color: var(--flame); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ CONVERTER -- */
.conv {
  border: 1px solid var(--seam); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-md);
  max-width: 760px; margin-inline: auto; overflow: hidden;
}
.conv__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.3rem; border-bottom: 1px solid var(--seam-soft);
  background: var(--parchment);
}
.conv__title { font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.conv__live { display: flex; align-items: center; gap: .4rem; font-size: .64rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.conv__body { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: end; padding: 1.4rem 1.3rem 1rem; }
.conv__field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.conv__field > span { font-family: var(--mono); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); }
.conv__input {
  display: flex; align-items: center; gap: .5rem;
  border: 1px solid var(--seam); border-radius: var(--r);
  background: var(--ivory); padding: .7rem .85rem; min-width: 0;
  transition: border-color .25s;
}
.conv__input:focus-within { border-color: var(--bronze-dim); }
.conv__input--out { background: rgba(233,198,98,.14); }
.conv__cur { color: var(--muted); font-size: .95rem; flex: none; }
.conv__cur--tick { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; color: var(--bronze); }
.conv__input input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  color: var(--ink); font-family: var(--mono); font-size: 1.05rem;
}
.conv__input input::-webkit-outer-spin-button,
.conv__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.conv__input input[type=number] { -moz-appearance: textfield; }
.conv__input output { flex: 1; min-width: 0; font-size: 1.05rem; color: var(--bronze); overflow-wrap: anywhere; font-weight: 600; }
.conv__arrow { color: var(--faint); padding-bottom: .85rem; font-size: 1.1rem; }
.conv__quick { display: flex; gap: .5rem; flex-wrap: wrap; padding: 0 1.3rem 1.1rem; }
.conv__quick button {
  font-family: var(--mono); font-size: .72rem; padding: .4rem .8rem;
  border: 1px solid var(--seam-soft); border-radius: var(--r); color: var(--muted);
  transition: all .22s var(--ease);
}
.conv__quick button:hover { border-color: var(--bronze-dim); color: var(--bronze); background: var(--parchment); }
.conv__note { margin: 0; padding: 0 1.3rem 1.3rem; font-size: .74rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 620px) {
  .conv__body { grid-template-columns: 1fr; }
  .conv__arrow { display: none; }
}

/* ---------------------------------------------------------------- CHART -- */
.tape {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--seam-soft); border: 1px solid var(--seam-soft);
  margin-bottom: 1.1rem;
}
.tape__cell { background: var(--paper); padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .25rem; }
.tape__k { font-family: var(--mono); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); }
.tape__v { font-size: 1.15rem; font-weight: 600; }
@media (max-width: 620px) { .tape { grid-template-columns: repeat(2, 1fr); } }

.chartbox {
  border: 1px solid var(--seam); border-radius: var(--r); overflow: hidden;
  background: var(--paper); position: relative;
  height: clamp(420px, 62vh, 640px);
  box-shadow: var(--shadow-sm);
}
.chartbox iframe { width: 100%; height: 100%; border: 0; }
.chartbox__note { margin: .8rem 0 0; font-size: .68rem; color: var(--muted); letter-spacing: .06em; }
.chartbox__note a { color: var(--bronze); border-bottom: 1px solid var(--bronze-dim); }

/* ------------------------------------------------------------------ FAQ -- */
.faq { border-top: 1px solid var(--seam-soft); }
.faq__item { border-bottom: 1px solid var(--seam-soft); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-size: clamp(1rem, 2vw, 1.14rem); font-weight: 600; color: var(--ink);
  transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--bronze); }
.faq__sign { width: 15px; height: 15px; flex: none; position: relative; }
.faq__sign::before, .faq__sign::after {
  content: ''; position: absolute; background: var(--bronze-dim);
  transition: transform .35s var(--ease-out), background .25s;
}
.faq__sign::before { top: 7px; left: 0; width: 15px; height: 1.6px; }
.faq__sign::after  { left: 7px; top: 0; width: 1.6px; height: 15px; }
.faq__item[open] .faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign::before,
.faq__item[open] .faq__sign::after { background: var(--bronze); }
.faq__a { overflow: hidden; animation: unfold .4s var(--ease-out); }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq__a p { margin: 0 0 1.4rem; color: var(--ink-2); font-size: .94rem; line-height: 1.75; max-width: 68ch; padding-right: 2rem; }
.faq__a a { color: var(--bronze); border-bottom: 1px solid var(--bronze-dim); }

/* ----------------------------------------------------------------- JOIN -- */
.section--join { background: radial-gradient(80% 70% at 50% 100%, rgba(233,198,98,.20), transparent 68%); }
.join { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.join__title {
  font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700; line-height: 1.08; margin: 0 0 1.1rem; letter-spacing: -.02em;
  text-wrap: balance;
}
.join__body { color: var(--ink-2); margin: 0; line-height: 1.72; max-width: 46ch; }
.join__actions { display: grid; gap: .7rem; }
.joinbtn {
  display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 1rem;
  padding: 1.05rem 1.3rem;
  border: 1px solid var(--seam-soft); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.joinbtn:hover { border-color: var(--bronze-dim); transform: translateX(4px); box-shadow: var(--shadow-md); }
.joinbtn__ico {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(233,198,98,.22); color: var(--bronze-deep); border: 1px solid var(--seam);
}
.joinbtn__txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.joinbtn__txt strong { font-weight: 700; font-size: .96rem; }
.joinbtn__txt em { font-style: normal; font-size: .76rem; color: var(--muted); }
.joinbtn__arrow { color: var(--faint); transition: color .25s, transform .25s; }
.joinbtn:hover .joinbtn__arrow { color: var(--bronze); transform: translate(2px, -2px); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- FOOTER -- */
.foot {
  position: relative; z-index: 2;
  border-top: 1px solid var(--seam);
  background: var(--parchment);
  padding: clamp(3rem, 7vw, 4.5rem) 0 2.5rem;
}
.foot__top {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: start;
  padding-bottom: 2.2rem; border-bottom: 1px solid var(--seam-soft);
}
.foot__brand { display: flex; align-items: center; gap: .9rem; }
.foot__name { font-family: var(--display); font-size: 1.25rem; font-weight: 700; margin: 0; }
.foot__tag { margin: .15rem 0 0; font-size: .8rem; color: var(--muted); font-style: italic; }
.foot__ca { grid-column: 1 / -1; order: 3; display: flex; flex-direction: column; gap: .4rem; }
.foot__calabel { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.foot__cabtn {
  font-size: .72rem; color: var(--bronze); text-align: left; overflow-wrap: anywhere;
  transition: color .2s; line-height: 1.5; font-weight: 500;
}
.foot__cabtn:hover { color: var(--bronze-deep); }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.foot__links a { font-size: .84rem; color: var(--muted); transition: color .22s; }
.foot__links a:hover { color: var(--bronze); }

.disclaimer { padding: 2rem 0; border-bottom: 1px solid var(--seam-soft); }
.disclaimer__h {
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--flame); margin: 0 0 1rem; font-weight: 600;
}
.disclaimer p { margin: 0 0 .9rem; font-size: .78rem; line-height: 1.75; color: var(--muted); max-width: 92ch; }
.disclaimer p:last-child { margin-bottom: 0; }

.foot__bottom {
  padding-top: 1.6rem; display: flex; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.foot__bottom p { margin: 0; font-size: .68rem; color: var(--faint); letter-spacing: .04em; }
.foot__built { color: var(--bronze) !important; }
@media (max-width: 720px) { .foot__top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- TOAST -- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 500;
  transform: translate(-50%, 130%);
  background: var(--ink); color: var(--ivory);
  padding: .7rem 1.3rem; border-radius: var(--r);
  font-size: .82rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 16px 40px -14px rgba(42,33,24,.5);
  transition: transform .45s var(--ease-out);
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ------------------------------------------------------------- REVEALS -- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  animation: rise .9s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

[data-io] { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
[data-io].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-io] { opacity: 1 !important; transform: none !important; }
  .medallion, .medallion__sheen, .grain, .curve__fill { animation: none !important; }
}
