/* ==========================================================================
   StockBrick ($SBRIC) — Night Exchange
   Palette sampled from the supplied artwork. Yellow is the brand; lime is
   reserved for actions, so a visitor learns in one screen that lime means
   "this does something".
   ========================================================================== */

:root {
  /* surface — the navy in the mascot's own outline, not a neutral black */
  --void:        #060B16;
  --void-2:      #0A1120;
  --mortar:      #131C2E;
  --tile:        #0E1727;
  --tile-hi:     #16203A;

  /* brand */
  --brick:       #F7C808;
  --brick-hi:    #FFD84B;
  --brick-deep:  #F59200;
  --lime:        #CFF54E;
  --lime-deep:   #A9CE2A;

  /* type */
  --ink:         #EEF2F6;
  --ink-2:       #B9C2CF;
  --muted:       #7C879B;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body:    "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --r: 6px;

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

  /* staggered brickwork, used as a faint texture on the dark sections */
  --brickwork: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.024)' stroke-width='1'%3E%3Cpath d='M0 0.5h120M0 30.5h120'/%3E%3Cpath d='M0.5 0v30M60.5 0v30'/%3E%3Cpath d='M30.5 30v30M90.5 30v30'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
figure { padding: 0; }
ol { padding: 0; list-style: none; }
code { font-family: var(--mono); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
.call :focus-visible { outline-color: var(--void); }

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

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 400;
  padding: .7rem 1.1rem; border-radius: var(--r);
  background: var(--lime); color: var(--void); font-weight: 600;
  transition: top .18s var(--ease);
}
.skip:focus { top: 1rem; }

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

/* film grain — takes the flatness off every dark surface at once */
.grain {
  position: fixed; inset: 0; z-index: 350; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ typography -- */
.display {
  font-family: var(--display); font-weight: 800;
  letter-spacing: -.035em; line-height: .93; text-wrap: balance;
}
h1.display { font-size: clamp(2.7rem, 6.6vw, 5.1rem); }
.sec__h { font-size: clamp(2rem, 5.2vw, 3.5rem); margin-bottom: .75rem; }

.sec__sub {
  max-width: 56ch; color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec__sub--flush { margin-bottom: 0; }

/* word-by-word reveal, applied by JS to every [data-words] heading */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .09em; margin-bottom: -.09em; }
.w > span { display: inline-block; }
.js-anim [data-words] .w > span { transform: translateY(110%); }
.js-anim [data-words].is-in .w > span {
  transform: none;
  transition: transform .8s var(--ease-out);
  transition-delay: calc(var(--wi) * 38ms);
}

/* ---------------------------------------------------------------- boot --- */
/* Dismisses itself in pure CSS so a JS failure can never trap the page. */
.boot {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center; background: var(--void);
  animation: bootOut .45s var(--ease) 1.05s forwards;
}
.boot__stack { display: grid; grid-template-columns: repeat(3, 34px); gap: 3px; }
.boot__stack i {
  display: block; height: 34px; border-radius: 3px; background: var(--brick);
  transform: translateY(26px) scale(.7); opacity: 0;
  animation: brickIn .5s var(--ease) forwards;
  animation-delay: calc(var(--i) * .085s);
}
.boot__stack i:nth-child(3n) { background: var(--brick-deep); }
@keyframes brickIn { to { transform: none; opacity: 1; } }
@keyframes bootOut { to { opacity: 0; visibility: hidden; } }

/* ------------------------------------------------------------- progress -- */
.progress { position: fixed; inset: 0 0 auto; z-index: 90; height: 3px; background: var(--mortar); }
.progress span {
  display: block; height: 100%; width: 0;
  background:
    repeating-linear-gradient(90deg, var(--brick) 0 14px, transparent 14px 16px),
    linear-gradient(90deg, var(--brick-deep), var(--lime));
}

/* ------------------------------------------------------------------ nav -- */
.nav {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-stuck {
  background: rgba(6, 11, 22, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--mortar);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em;
}
.nav__brand img { width: 34px; height: 34px; transition: transform .4s var(--ease); }
/* "Trump vs Brick" is long enough to break onto two lines in a narrow nav */
.nav__brand span { white-space: nowrap; }
.nav__brand:hover img { transform: rotate(-8deg) scale(1.08); }

.nav__links { display: flex; gap: 1.75rem; margin-inline: auto; font-size: .95rem; color: var(--ink-2); }
.nav__links a { position: relative; padding-block: .35rem; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--brick); transition: right .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }

.nav__end { display: flex; align-items: center; gap: .75rem; }
.nav__burger {
  display: none; position: relative; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--mortar); border-radius: var(--r);
}
.nav__burger span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--ink); transition: transform .3s var(--ease);
}
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child  { bottom: 16px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* --------------------------------------------------------------- buttons -- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.6rem; border-radius: var(--r);
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .95rem; }

.btn--go { background: var(--lime); color: var(--void); box-shadow: 0 4px 0 var(--lime-deep); }
.btn--go:hover  { box-shadow: 0 2px 0 var(--lime-deep); }
.btn--go:active { box-shadow: 0 0 0 var(--lime-deep); }

.btn--dark { background: var(--void); color: var(--brick); box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.btn--dark:hover { box-shadow: 0 2px 0 rgba(0,0,0,.35); }

.btn--ghost { border: 1px solid rgba(6, 11, 22, .35); color: var(--void); }
.btn--ghost:hover { border-color: var(--void); background: rgba(6, 11, 22, .07); }

/* one light sweep across the face — the only decorative hover on the page */
.btn--go::after, .btn--dark::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%;
  width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transition: left .55s var(--ease);
}
.btn--dark::after { background: linear-gradient(90deg, transparent, rgba(247,200,8,.35), transparent); }
.btn--go:hover::after, .btn--dark:hover::after { left: 120%; }

.btn--line {
  border: 1px solid rgba(247, 200, 8, .45); color: var(--brick);
  background: rgba(247, 200, 8, .05);
}
.btn--line:hover { border-color: var(--brick); background: rgba(247, 200, 8, .12); }

.btn.is-off, .btn[aria-disabled="true"] {
  border: 1px dashed var(--mortar) !important;
  background: transparent !important; color: var(--muted) !important;
  box-shadow: none !important; transform: none !important; pointer-events: none;
}
.call .btn.is-off { border-color: rgba(6,11,22,.3) !important; color: rgba(6,11,22,.45) !important; }
.btn.is-off::after { display: none; }

/* --------------------------------------------------------- contract bar -- */
.addr {
  display: inline-flex; align-items: center; gap: .75rem; max-width: 100%;
  padding: .5rem .5rem .5rem 1rem;
  border: 1px solid var(--mortar); border-radius: var(--r);
  background: var(--void-2);
  transition: border-color .25s;
}
.addr:hover { border-color: rgba(247, 200, 8, .3); }
.addr--wide { display: flex; width: 100%; margin-top: 2rem; }
.addr__label {
  flex: none; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.addr__value {
  flex: 1 1 auto; min-width: 0; font-size: .88rem; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.addr__copy {
  flex: none; position: relative; display: grid; place-items: center;
  min-width: 74px; height: 36px; padding-inline: .75rem;
  border-radius: 4px; background: var(--mortar);
  font-size: .84rem; font-weight: 600;
  transition: background .2s, color .2s;
}
.addr__copy:hover:not(:disabled) { background: var(--brick); color: var(--void); }
.addr__copy:disabled { opacity: .45; cursor: not-allowed; }
.addr__copy > * { grid-area: 1 / 1; transition: opacity .18s, transform .18s var(--ease); }
.addr__copy svg {
  width: 17px; height: 17px; fill: none; stroke: var(--void);
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: scale(.5);
}
.addr__copy.is-done { background: var(--lime); color: var(--void); }
.addr__copy.is-done .addr__copy-text { opacity: 0; transform: scale(.7); }
.addr__copy.is-done svg { opacity: 1; transform: none; }
.addr__out {
  flex: none; font-size: .84rem; color: var(--brick);
  border-bottom: 1px solid rgba(247,200,8,.35); padding-bottom: 1px;
}

/* ----------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; padding-top: clamp(1.5rem, 4vw, 3rem); }
.hero__candles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  right: -10%; top: -12%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(247,200,8,.16), transparent 62%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: clamp(1rem, 3vw, 2.5rem) var(--pad) clamp(3rem, 6vw, 4.5rem);
}

.hero__chain {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem;
  padding: .4rem .9rem .4rem .7rem;
  border: 1px solid var(--mortar); border-radius: 100px;
  background: var(--void-2); font-size: .82rem; color: var(--ink-2);
}
.hero__chain .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(207, 245, 78, .6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(207, 245, 78, 0); }
  100% { box-shadow: 0 0 0 0  rgba(207, 245, 78, 0); }
}

h1.display .line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
h1.display .line > span { display: block; }

/* the mortar line under the headline, drawn on load */
.hero__rule {
  display: block; height: 4px; width: 0; max-width: 260px; margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--brick), var(--brick-deep));
  border-radius: 2px;
}
.hero.is-live .hero__rule { width: 60%; transition: width 1s var(--ease-out) .9s; }

.hero__lede {
  max-width: 44ch; margin-top: 1.4rem; color: var(--ink-2);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.5rem; }

.hero__stage { position: relative; display: grid; place-items: center; }

.halo {
  position: absolute; z-index: 0; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,200,8,.20), rgba(247,200,8,.05) 45%, transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: .85; }
  50%      { transform: scale(1.12); opacity: 1; }
}

.mascot {
  position: relative; z-index: 1; width: min(100%, 520px);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55));
  will-change: transform;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0)     rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-1.2deg); }
}
/* pointer parallax is applied to a wrapper so it never fights the idle bob */
.hero__stage.is-tracked { transition: transform .5s var(--ease); }

/* market tiles floated off his body */
.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .8rem .5rem .55rem;
  border: 1px solid rgba(247, 200, 8, .22); border-radius: 8px;
  background: linear-gradient(160deg, rgba(22, 32, 58, .96), rgba(10, 17, 32, .96));
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  animation: drift calc(var(--float, 2) * 3s) ease-in-out infinite;
}
.chip svg { width: 46px; height: 26px; }
.chip b {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.chip--a { top: 8%;  left: -4%;  --float: 1.4; }
.chip--b { top: 42%; right: -6%; --float: 2.1; }
.chip--c { bottom: 14%; left: 2%; --float: 1.7; }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -16px, 0); }
}

.candles rect { fill: var(--brick); }
.candles rect:nth-child(4n+3) { fill: var(--brick-deep); }
.candles line { stroke: var(--brick); stroke-width: 2; }
.bars rect { fill: var(--brick); }
.bars rect:nth-child(even) { fill: var(--brick-deep); }
.trace { fill: none; stroke: var(--brick); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }

/* scroll cue */
.cue {
  position: relative; z-index: 2;
  display: grid; place-items: start center;
  width: 26px; height: 42px; margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--mortar); border-radius: 14px;
}
.cue span {
  width: 4px; height: 8px; margin-top: 7px; border-radius: 2px; background: var(--brick);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(0);    opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* stat strip — mortar gutters, so the row reads as brickwork */
.strip {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--mortar);
  border-block: 1px solid var(--mortar);
}
.strip__cell {
  background: var(--void-2); padding: 1.35rem clamp(1rem, 2vw, 1.75rem);
  display: flex; flex-direction: column; gap: .3rem;
  transition: background .3s;
}
.strip__cell:hover { background: var(--tile); }
.strip__k { font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }
.strip__v {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.45rem); letter-spacing: -.02em; color: var(--brick);
}
.strip__v.mono { font-family: var(--mono); font-size: clamp(.95rem, 1.7vw, 1.22rem); font-weight: 500; }

/* ----------------------------------------------------------- ticker tape -- */
.tape { overflow: hidden; user-select: none; }
.tape__row { display: flex; width: max-content; }
.tape__set {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .8rem 1.5rem .8rem 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.5rem); letter-spacing: -.02em;
  white-space: nowrap;
  animation: run 42s linear infinite;
}
.tape__set i { flex: none; width: 16px; height: 9px; border-radius: 2px; }

/* the lit row is the page's first colour break: brand yellow, dark type */
.tape__row--lit { background: var(--brick); color: var(--void); }
.tape__row--lit .tape__set i { background: var(--void); }
.tape__row--back {
  background: var(--void-2);
  border-block: 1px solid var(--mortar);
  color: var(--muted);
}
.tape__row--back .tape__set {
  animation-direction: reverse;
  font-size: clamp(.85rem, 1.5vw, 1.05rem);
}
.tape__row--back .tape__set i { background: var(--brick-deep); }
.tape:hover .tape__set { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- sections -- */
.sec { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); scroll-margin-top: 76px; }
.sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--brickwork);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent);
}
.sec--alt { background: var(--void-2); border-block: 1px solid var(--mortar); }

/* ---------------------------------------------------------------- story -- */
.beat {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--mortar);
}
.beat--flip .beat__art { order: 2; }
.beat:last-child { border-bottom: 1px solid var(--mortar); }

.beat__art {
  position: relative; will-change: transform;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--mortar);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}
.beat__art img { width: 100%; transition: transform 1s var(--ease); }
.beat__art:hover img { transform: scale(1.045); }
.beat__art::after {
  /* settle the bright art into the dark page instead of letting it sit on top */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 11, 22, .18), transparent 32%, rgba(6, 11, 22, .42));
}

.beat__body h3 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.025em;
  font-size: clamp(1.4rem, 3vw, 2.15rem); margin-bottom: .7rem;
}
.beat__body p { color: var(--ink-2); max-width: 46ch; font-size: 1.08rem; }

/* ----------------------------------------------------------- pull quote -- */
.quote {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--void-2);
  border-block: 1px solid var(--mortar);
  text-align: center;
  overflow: hidden;
}
.quote::before {
  content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: 120%; height: 100%;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(247,200,8,.10), transparent 70%);
}
.quote__text {
  position: relative;
  font-size: clamp(1.9rem, 5.4vw, 3.9rem);
  max-width: 20ch; margin-inline: auto;
}

/* ----------------------------------------------------------- tokenomics -- */
.supply {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--mortar); margin-bottom: 2px;
}
.supply__figure { text-align: right; }
.supply__figure b {
  display: block; line-height: 1; font-weight: 700;
  font-size: clamp(1.6rem, 5.2vw, 3.4rem); color: var(--brick);
  text-shadow: 0 0 44px rgba(247, 200, 8, .35);
}
.supply__figure span { display: block; margin-top: .6rem; font-size: .92rem; color: var(--muted); }

.specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--mortar);
  border: 1px solid var(--mortar); border-radius: var(--r); overflow: hidden;
}
.spec {
  position: relative; background: var(--void);
  padding: 1.5rem clamp(1rem, 2vw, 1.6rem);
  display: flex; flex-direction: column; gap: .4rem;
  transition: background .3s, transform .3s var(--ease);
}
.spec::after {
  content: ""; position: absolute; inset: auto 0 0; height: 2px;
  background: var(--brick); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.spec:hover { background: var(--void-2); }
.spec:hover::after { transform: scaleX(1); }
.spec span { font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }
.spec b { font-size: 1.15rem; font-weight: 600; }
.spec b.mono { font-size: 1.02rem; font-weight: 500; color: var(--brick); }

.note {
  margin-top: 2rem; padding-left: 1.1rem;
  border-left: 3px solid var(--brick-deep);
  color: var(--muted); font-size: .95rem; max-width: 68ch;
}

/* ------------------------------------------------------------ how to buy -- */
/* The steps read at ~60ch. Cap the column so the rules stop where the text does,
   without centring it out of line with every other section. */
.sec--buy .sec__h, .sec--buy .sec__sub, .sec--buy .steps { max-width: 880px; }

.steps { display: grid; gap: 2px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--mortar);
}
.step:last-child { border-bottom: 1px solid var(--mortar); }
.step__n {
  display: grid; place-items: center;
  width: clamp(46px, 6vw, 64px); aspect-ratio: 1;
  border-radius: 5px;
  background: linear-gradient(160deg, var(--tile-hi), var(--tile));
  border: 1px solid rgba(247, 200, 8, .2);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 700; color: var(--brick);
  transition: background .3s, border-color .3s;
}
.step:hover .step__n { background: var(--brick); color: var(--void); border-color: var(--brick); }
.step__body h3 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: .55rem;
}
.step__body p { color: var(--ink-2); max-width: 60ch; }
.step__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.step__status { margin-top: .9rem; font-size: .88rem; color: var(--muted); min-height: 1.2em; }
.step__status.is-ok  { color: var(--lime); }
.step__status.is-err { color: var(--brick-deep); }

/* -------------------------------------------------------------- roadmap -- */
.stack { display: grid; gap: 2px; }
.blk {
  position: relative; padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--void);
  border: 1px solid var(--mortar); border-radius: var(--r);
  border-left: 3px solid var(--brick-deep);
  transition: border-color .3s, background .3s;
}
.blk:hover { background: var(--void-2); border-color: rgba(247, 200, 8, .28); border-left-color: var(--brick); }
.blk:nth-child(2) { margin-left: clamp(0px, 3vw, 46px); }
.blk:nth-child(3) { margin-left: clamp(0px, 6vw, 92px); }
.blk:nth-child(4) { margin-left: clamp(0px, 9vw, 138px); border-left-color: var(--lime); }
.blk header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: .5rem; flex-wrap: wrap; }
.blk__n { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.blk h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.blk p { color: var(--ink-2); max-width: 62ch; }

/* the payoff: the skyline the blocks add up to, full bleed under the roadmap */
.sec--roadmap { padding-bottom: 0; }
.skyline { margin-top: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.skyline img {
  width: 100%;
  /* a band, not a poster: keep the rooftops and crop the sky */
  max-height: min(52vh, 460px); object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%);
          mask-image: linear-gradient(180deg, transparent, #000 30%);
}
.js-anim .skyline img { opacity: 0; transform: translateY(44px); }
.js-anim .skyline.is-built img {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1.3s var(--ease);
}

/* ------------------------------------------------------------------ faq -- */
.faq { display: grid; gap: 2px; }
.qa { border-top: 1px solid var(--mortar); }
.qa:last-child { border-bottom: 1px solid var(--mortar); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(1.05rem, 2vw, 1.3rem); transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brick); }
.qa summary i { flex: none; position: relative; width: 18px; height: 18px; }
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 2px;
  background: var(--brick); transform: translateY(-50%);
  transition: transform .28s var(--ease);
}
.qa summary i::after { transform: translateY(-50%) rotate(90deg); }
.qa[open] summary i::after { transform: translateY(-50%) rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding-bottom: 1.5rem; color: var(--ink-2); max-width: 68ch; }
.qa[open] .qa__a { animation: openDown .32s var(--ease); }
@keyframes openDown { from { opacity: 0; transform: translateY(-8px); } }

/* ─────────────────────────────── closing call ─────────────────────────── */
.call { position: relative; background: var(--brick); color: var(--void); overflow: hidden; }
.call::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cg fill='none' stroke='rgba(6,11,22,0.075)' stroke-width='1'%3E%3Cpath d='M0 0.5h120M0 30.5h120'/%3E%3Cpath d='M0.5 0v30M60.5 0v30'/%3E%3Cpath d='M30.5 30v30M90.5 30v30'/%3E%3C/g%3E%3C/svg%3E");
}
.call__tape { background: var(--void); color: var(--brick); overflow: hidden; }
.call__set {
  display: flex; align-items: center; gap: 1.25rem; width: max-content;
  padding: .55rem 1.25rem .55rem 0;
  font-family: var(--mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  animation: run 30s linear infinite;
}
.call__set i { flex: none; width: 12px; height: 7px; border-radius: 2px; background: var(--brick-deep); }

.call__inner {
  position: relative;
  display: grid; grid-template-columns: 1.3fr auto; align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.call__h { font-size: clamp(2rem, 5.4vw, 3.8rem); }
.call__p { margin-top: .85rem; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: rgba(6, 11, 22, .72); max-width: 40ch; }
.call__act { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --------------------------------------------------------------- footer -- */
.foot {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--mortar); background: var(--void-2);
}
.foot__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--mortar);
}
.foot__links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .95rem; color: var(--ink-2); }
.foot__links a:hover { color: var(--brick); }
.foot__social { display: flex; gap: .5rem; }
.ico {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--mortar); border-radius: var(--r); color: var(--ink-2);
  transition: color .2s, border-color .2s, background-color .2s, transform .2s var(--ease);
}
.ico svg { width: 18px; height: 18px; fill: currentColor; }
.ico:hover { color: var(--brick); border-color: rgba(247,200,8,.4); background: rgba(247,200,8,.07); transform: translateY(-3px); }
.ico.is-off { opacity: .3; pointer-events: none; border-style: dashed; }

.foot__legal { margin-top: 2rem; color: var(--muted); font-size: .88rem; max-width: 82ch; line-height: 1.7; }
.foot__rule { margin-top: 1.25rem; padding-bottom: 2rem; color: var(--muted); font-size: .82rem; }

/* the wordmark as a foundation stone, cropped by the viewport edge */
.foot__mark {
  font-family: var(--display); font-weight: 800; letter-spacing: -.05em;
  font-size: clamp(3rem, 11.5vw, 11rem); line-height: .78;
  text-align: center; white-space: nowrap; user-select: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 200, 8, .16);
  margin-bottom: -.16em;
}

/* ------------------------------------------------------------- responsive -- */
@media (max-width: 980px) {
  .nav__links {
    position: fixed; inset: 62px 0 auto; z-index: 79;
    flex-direction: column; gap: 0; margin: 0;
    padding: .5rem var(--pad) 1.25rem;
    background: var(--void);
    border-bottom: 1px solid var(--mortar);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s, visibility .25s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: .95rem 0; border-bottom: 1px solid var(--mortar); font-size: 1.05rem; }
  .nav__links a::after { display: none; }
  .nav__burger { display: block; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { order: -1; }
  .mascot { width: min(74%, 340px); }
  .chip--a { top: 2%;  left: 0; }
  .chip--b { top: 38%; right: 0; }
  .chip--c { bottom: 8%; left: 4%; }
  .chip { transform: scale(.85); }
  .cue { display: none; }

  .strip { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .supply { grid-template-columns: 1fr; align-items: start; }
  .supply__figure { text-align: left; }

  .beat { grid-template-columns: 1fr; gap: 1.5rem; }
  .beat--flip .beat__art { order: 0; }
  .beat__body p { max-width: 62ch; }

  .blk:nth-child(n) { margin-left: 0; }
  .call__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__links { inset-block-start: 58px; }
  .chip--b { display: none; }
  .strip { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 1rem; }
  .step__n { width: 44px; }
  .hero__actions .btn, .call__act .btn { flex: 1 1 100%; }
  .addr { flex-wrap: wrap; padding-left: .75rem; }
  .addr__value { flex-basis: 100%; order: 3; font-size: .78rem; }
  .foot__top { flex-direction: column; align-items: flex-start; }
}

/* the longer name plus Buy plus the burger has to fit a 375px phone */
@media (max-width: 430px) {
  .nav { gap: .75rem; padding-inline: 1rem; }
  .nav__brand { gap: .45rem; font-size: .98rem; }
  .nav__brand img { width: 30px; height: 30px; }
  .nav__end .btn { padding: 0 .85rem; font-size: .88rem; }
}

/* --------------------------------------------------- motion, and its off -- */
.js-anim [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-anim [data-reveal].is-in { opacity: 1; transform: none; }

.js-anim h1.display .line > span { transform: translateY(105%); }
.js-anim .hero__chain,
.js-anim .hero__lede,
.js-anim .hero__actions,
.js-anim .hero .addr,
.js-anim .hero__stage,
.js-anim .cue { opacity: 0; }

.hero.is-live h1.display .line > span {
  transform: none;
  transition: transform .85s var(--ease-out);
  transition-delay: calc(.18s + var(--n) * .085s);
}
.hero.is-live .hero__chain,
.hero.is-live .hero__lede,
.hero.is-live .hero__actions,
.hero.is-live .addr,
.hero.is-live .hero__stage,
.hero.is-live .cue {
  opacity: 1; transition: opacity .7s var(--ease);
}
.hero.is-live .hero__chain   { transition-delay: .1s; }
.hero.is-live .hero__stage   { transition-delay: .3s; }
.hero.is-live .hero__lede    { transition-delay: .68s; }
.hero.is-live .hero__actions { transition-delay: .78s; }
.hero.is-live .addr          { transition-delay: .88s; }
.hero.is-live .cue           { transition-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .boot { display: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-anim h1.display .line > span { transform: none; }
  .js-anim [data-words] .w > span { transform: none; }
  .js-anim [data-reveal] { opacity: 1; transform: none; }
  .js-anim .skyline img { opacity: 1; transform: none; }
  .hero__candles { display: none; }
  .hero__rule { width: 60%; }
}
