/* Game of Inspiration
   Palette sampled from the logo ring: red #903018, blue #306078,
   gold #c09030, green #306048 — brightened for screen. */

:root {
  --ink:        #0a0a0d;
  --ink-2:      #101015;
  --ink-3:      #16161d;
  --paper:      #f2ece0;
  --text:       #ded8cc;
  --text-dim:   #9a9386;

  --red:        #b5462a;
  --blue:       #3d7d9c;
  --gold:       #d4a03c;
  --green:      #3f7d5e;
  --gold-soft:  #e6c67f;

  --measure:    38rem;
  --gutter:     clamp(1.25rem, 5vw, 5rem);
  --section:    clamp(5rem, 12vh, 9rem);

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--ui);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.1; }

a { color: var(--gold-soft); }

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

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

.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--ink);
  padding: 0.75rem 1.25rem; z-index: 100; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem var(--gutter);
  background: linear-gradient(to bottom, rgba(10,10,13,.85), transparent);
  backdrop-filter: blur(6px);
  transition: background .4s ease;
}
.nav > .btn { margin: 0; padding: .6rem 1.2rem; font-size: .66rem; white-space: nowrap; }
.nav--solid, .nav.is-stuck {
  background: rgba(10,10,13,.94);
  border-bottom: 1px solid rgba(212,160,60,.16);
}
.nav__logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-size: 1.4rem; letter-spacing: .18em;
  color: var(--paper); text-decoration: none;
}
.nav__logo img { width: 34px; height: 34px; }
.nav nav { display: flex; gap: clamp(.9rem, 3vw, 2rem); }
.nav nav a {
  color: var(--text-dim); text-decoration: none;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap; transition: color .25s;
}
.nav nav a:hover { color: var(--gold); }
/* Logo + five links + beta button need ~55rem on one line; hide the links
   below 62rem so they never wrap. The beta button always stays.
   Must follow `.nav nav { display: flex }`: equal specificity, order wins. */
@media (max-width: 62rem) { .nav nav { display: none; } }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: 6rem var(--gutter) 4rem;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .38; filter: saturate(.7);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 0%, rgba(10,10,13,.55) 55%, var(--ink) 88%),
    linear-gradient(to bottom, rgba(10,10,13,.7), transparent 30%, var(--ink));
}
.hero__inner { position: relative; text-align: center; }

.ring { display: grid; place-items: center; margin-bottom: clamp(1.5rem, 4vh, 3rem); }
.ring img {
  width: clamp(190px, 34vw, 400px); height: auto;
  animation: spin 90s linear infinite;
  filter: drop-shadow(0 0 60px rgba(212,160,60,.28));
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero h1 { margin: 0; display: grid; gap: .6rem; }
.hero__welcome {
  font-size: clamp(1.5rem, 4.5vw, 3.4rem);
  color: var(--paper); letter-spacing: .01em;
}
.hero__mark {
  font-family: var(--ui); font-weight: 600;
  font-size: clamp(.7rem, 1.6vw, .9rem);
  letter-spacing: .55em; text-indent: .55em;
  color: var(--gold);
}
.hero__subtitle {
  max-width: 36rem; margin: 1.4rem auto 0;
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.4;
  color: var(--paper);
}
.hero__tagline {
  margin: 1.2rem 0 0; color: var(--text-dim);
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
}
.hero__inner .btn { margin-top: 1.4rem; }

.hero__cue {
  position: absolute; bottom: 2rem; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 1px solid rgba(212,160,60,.45);
  border-radius: 14px; display: grid; place-items: start center; padding-top: 8px;
}
.hero__cue span {
  width: 3px; height: 8px; border-radius: 2px; background: var(--gold);
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(12px); opacity: 0; }
}

/* ------------------------------------------------------------ manifesto */

.manifesto {
  max-width: 46rem; margin-inline: auto;
  padding: var(--section) var(--gutter);
  text-align: center;
}
.manifesto p {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  line-height: 1.45; color: var(--paper);
  margin: 0 0 1.6rem;
}

/* --------------------------------------------------------------- slides */

.slides {
  max-width: 64rem; margin-inline: auto;
  padding: var(--section) var(--gutter); text-align: center;
}
.slides h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--paper);
  margin: 0 0 clamp(2rem, 5vh, 3rem);
}
.slides__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 6px; background: var(--ink-3);
  border: 1px solid rgba(212,160,60,.22);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9);
}
.slides__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.slides__note { margin: 2rem auto 0; max-width: 34rem; color: var(--text-dim); }
/* Phones: bleed the deck edge to edge, like the old site did — at 16:9 inside
   the gutters the slide text is too small to read. */
@media (max-width: 40rem) {
  .slides__frame {
    margin-inline: calc(-1 * var(--gutter));
    border-radius: 0; border-inline: 0;
  }
}

/* ---------------------------------------------------------------- about */

.about {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  max-width: 74rem; margin-inline: auto;
  padding: 0 var(--gutter) var(--section);
}
@media (min-width: 62rem) { .about { grid-template-columns: repeat(3, 1fr); } }

.about__item {
  --tone: var(--gold-soft);
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--tone) 45%, transparent);
}
.about__item--2 { --tone: #d98a6a; }
.about__item--3 { --tone: #8fc4d8; }
.about__item h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--tone); margin: 0 0 1rem;
}
.about__item p { max-width: var(--measure); margin: 0; }

/* --------------------------------------------------------------- badges */

.badges {
  padding: var(--section) var(--gutter);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(61,125,156,.10), transparent 60%),
    var(--ink-2);
  border-block: 1px solid rgba(212,160,60,.12);
}
.badges__head { max-width: 40rem; margin: 0 auto clamp(3rem, 7vh, 5rem); text-align: center; }
.badges__head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--paper); margin: 0 0 1rem;
}
.badges__head p { color: var(--text-dim); margin: 0; }

.badges__grid {
  display: grid; gap: clamp(1rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: 74rem; margin-inline: auto;
}
/* All seven on one row from laptop width up (auto-fit dropped Scientist to
   a second row around 1100-1250px). */
@media (min-width: 60rem) {
  .badges__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.4rem, 1.2vw, 1.25rem); }
  .badge__name { font-size: clamp(.62rem, .9vw, .78rem); letter-spacing: .14em; }
}

.badge {
  --glow: var(--gold);
  display: grid; justify-items: center; gap: .55rem;
  background: none; border: 0; padding: 1rem .5rem; cursor: pointer;
  color: inherit; font: inherit;
  border-radius: 10px;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), background .3s;
}
[data-badge="anarchist"] { --glow: var(--red); }
[data-badge="engineer"]  { --glow: var(--gold); }
[data-badge="joker"]     { --glow: #c9663a; }
[data-badge="monk"]      { --glow: var(--green); }
[data-badge="mystique"]  { --glow: #8a72b8; }
[data-badge="samurai"]   { --glow: var(--gold-soft); }
[data-badge="scientist"] { --glow: var(--blue); }

.badge:hover, .badge:focus-visible { transform: translateY(-8px); }
.badge[aria-expanded="true"] { background: rgba(255,255,255,.035); }

.badge__disc {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  transition: filter .45s, transform .45s;
}
.badge__disc img { width: 100%; }
.badge:hover .badge__disc,
.badge[aria-expanded="true"] .badge__disc {
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--glow) 60%, transparent));
}
.badge[aria-expanded="true"] .badge__disc { transform: scale(1.04); }

.badge__name {
  font-family: var(--ui); font-weight: 600; font-size: .78rem;
  letter-spacing: .17em; text-transform: uppercase; color: var(--paper);
}
.badge__rep {
  font-family: var(--display); font-style: italic;
  font-size: 1rem; color: var(--glow);
}

.badge__panel {
  grid-column: 1 / -1;
  max-width: 44rem; margin: .5rem auto 1.5rem; padding: 1.75rem 1.5rem;
  background: var(--ink-3);
  border: 1px solid color-mix(in srgb, var(--glow, var(--gold)) 30%, transparent);
  border-radius: 4px; text-align: center;
  animation: panel .45s cubic-bezier(.2,.7,.2,1);
}
@keyframes panel { from { opacity: 0; transform: translateY(-10px); } }
.badge__panel h3 { font-size: 1.6rem; color: var(--paper); margin: 0 0 .75rem; }
.badge__panel h3 em { color: var(--gold-soft); font-size: .85em; }
.badge__panel p { margin: 0 auto 1.25rem; max-width: 34rem; }
.traits {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  list-style: none; margin: 0; padding: 0;
}
.traits li {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 100px;
  border: 1px solid rgba(212,160,60,.3); color: var(--text-dim);
}

/* --------------------------------------------------------------- videos */

.videos { padding: var(--section) var(--gutter); max-width: 74rem; margin-inline: auto; }
.videos h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--paper);
  text-align: center; margin: 0 0 clamp(2.5rem, 6vh, 4rem);
}
.videos__grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.video { margin: 0; }
.video__frame {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  border-radius: 4px; cursor: pointer; background: var(--ink-3);
  border: 1px solid rgba(255,255,255,.07);
}
.video__frame img, .video__frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0;
}
.video__frame img { transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.video__frame:hover img { transform: scale(1.06); opacity: .75; }
.video__play {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(10,10,13,.72); border: 1px solid var(--gold);
  transition: background .3s, scale .3s;
}
.video__play::after {
  content: ""; position: absolute; inset: 50% auto auto 54%; translate: -50% -50%;
  border-left: 17px solid var(--gold);
  border-block: 11px solid transparent;
}
.video__frame:hover .video__play { background: var(--gold); scale: 1.08; }
.video__frame:hover .video__play::after { border-left-color: var(--ink); }
.video figcaption { display: grid; gap: .3rem; padding: 1rem .2rem 0; }
.video figcaption strong { font-weight: 600; color: var(--paper); font-size: .95rem; }
.video figcaption span { color: var(--text-dim); font-size: .85rem; }

/* --------------------------------------------------------- launch / donate */

.launch, .donate {
  max-width: 46rem; margin-inline: auto;
  padding: var(--section) var(--gutter); text-align: center;
}
.launch h2, .donate h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--paper); margin: 0 0 1.5rem;
}
.donate p { color: var(--text-dim); margin: 0 0 1.2rem; }

.launch {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212,160,60,.09), transparent 65%);
  border-block: 1px solid rgba(212,160,60,.12);
  max-width: none;
}
.launch h2 { max-width: 24rem; margin-inline: auto; }

.btn {
  display: inline-block; margin-top: 1.5rem;
  padding: .95rem 2.4rem; border-radius: 100px;
  font-weight: 600; font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s;
}
button.btn { font: inherit; font-weight: 600; font-size: .8rem; cursor: pointer; border: 0; background: none; }
.btn--gold {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 12px 40px -12px rgba(212,160,60,.65);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 46px -12px rgba(212,160,60,.8); }
.btn--outline { border: 1px solid var(--gold); color: var(--gold-soft); background: transparent; }
button.btn--outline { border: 1px solid var(--gold); }
button.btn--gold { background: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }

.social { margin-top: clamp(3rem, 8vh, 4.5rem); }
.social h3 {
  font-family: var(--ui); font-weight: 600; font-size: .75rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 1rem;
}
.social a {
  display: inline-block; margin: 0 .6rem;
  font-size: .85rem; letter-spacing: .1em; text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .3s;
}
.social a:hover { border-bottom-color: var(--gold); }

/* ---------------------------------------------------------------- prose */

.doc { background: var(--ink); }
.prose {
  max-width: 46rem; margin-inline: auto;
  padding: 8rem var(--gutter) 4rem;
}
.prose h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--paper);
  margin: 0 0 2.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212,160,60,.22);
}
.prose h2 {
  font-size: 1.75rem; color: var(--gold-soft);
  margin: 3rem 0 1rem;
}
.prose h3 { font-size: 1.3rem; color: var(--paper); margin: 2rem 0 .75rem; }
.prose p { margin: 0 0 1.15rem; }
.prose ul { margin: 0 0 1.5rem; padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- footer */

.foot {
  display: grid; justify-items: center; gap: 1rem;
  padding: clamp(3rem, 8vh, 5rem) var(--gutter) 2.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
  background: var(--ink-2); text-align: center;
}
.foot img { width: 42px; opacity: .55; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.foot nav a {
  color: var(--text-dim); text-decoration: none;
  font-size: .8rem; letter-spacing: .08em;
  transition: color .25s;
}
.foot nav a:hover { color: var(--gold); }
.foot p { margin: 0; font-size: .78rem; color: #6d675d; }
.foot__co a { color: #6d675d; text-decoration: none; }
.foot__co a:hover { color: var(--gold); }

/* ------------------------------------------------------------- reveals */

/* Reveals fail OPEN. Content is visible unless JS has confirmed it will
   animate it in (html.anim), so no-JS — or an IntersectionObserver that
   never fires — shows the page rather than a column of nothing. */
.anim .reveal { opacity: 0; transform: translateY(28px); }
.anim .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ring img { animation: none; }
  .hero__cue span { animation: none; }
  .badge__panel { animation: none; }
  .hero__video { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================================ v2 additions */

/* ---------------------------------------------------------- mini game */

.play {
  padding: var(--section) var(--gutter);
  max-width: 60rem; margin-inline: auto; text-align: center;
}
.play__head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--paper); margin: 0 0 .8rem; }
.play__head p { color: var(--text-dim); margin: 0 0 2rem; }

.play__tabs {
  display: inline-flex; gap: .25rem; padding: .3rem; margin-bottom: 1.75rem;
  border: 1px solid rgba(212,160,60,.28); border-radius: 100px;
}
.play__tabs button {
  font: inherit; font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; cursor: pointer;
  padding: .6rem 1.2rem; border-radius: 100px; border: 0;
  background: none; color: var(--text-dim); transition: background .3s, color .3s;
}
.play__tabs button[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.play__tabs button:not([aria-selected="true"]):hover { color: var(--gold-soft); }

.play__stage {
  position: relative; min-height: 22rem;
  display: grid; place-items: center;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,160,60,.10), transparent 65%),
    var(--ink-3);
  border: 1px solid rgba(212,160,60,.2); border-radius: 12px;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.9);
  overflow: hidden;
}
.step { width: 100%; display: grid; justify-items: center; gap: 1.1rem; animation: step .5s cubic-bezier(.2,.7,.2,1); }
@keyframes step { from { opacity: 0; transform: translateY(14px); } }
.step .btn { margin-top: .25rem; }
.step__lead { color: var(--text-dim); margin: 0; }
.step__word {
  font-size: .72rem; font-weight: 600; letter-spacing: .4em; text-indent: .4em;
  text-transform: uppercase; color: var(--gold);
}
.step__q {
  font-family: var(--display); font-weight: 300; color: var(--paper);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.25;
  max-width: 34rem; margin: 0;
}
.step__hint { color: var(--text-dim); font-size: .9rem; margin: 0; }
.step__skip {
  background: none; border: 0; color: var(--text-dim); cursor: pointer;
  font: inherit; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px;
}
.step__skip:hover { color: var(--gold-soft); }

/* hourglass button + countdown ring */
.glass {
  --p: 1; position: relative; width: 132px; height: 132px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--gold);
}
.glass svg.ring-t { position: absolute; inset: 0; transform: rotate(-90deg); }
.glass .ring-t circle { fill: none; stroke-width: 3; }
.glass .ring-t .track { stroke: rgba(212,160,60,.15); }
.glass .ring-t .bar {
  stroke: var(--gold); stroke-linecap: round;
  stroke-dasharray: 390; stroke-dashoffset: calc(390 * (1 - var(--p)));
}
.glass__icon { width: 44px; height: 44px; transition: transform .8s cubic-bezier(.6,0,.3,1); }
.glass:not(:disabled):hover .glass__icon { transform: rotate(180deg); }
.glass.is-running .glass__icon { animation: flip 3s ease-in-out infinite; }
@keyframes flip { 0%, 70% { transform: none; } 85%, 100% { transform: rotate(180deg); } }
.glass__num {
  position: absolute; bottom: 22px; font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; color: var(--paper); font-variant-numeric: tabular-nums;
}
.glass:disabled { cursor: default; }

/* slot reel */
.reel {
  height: 3.4rem; width: min(20rem, 100%); overflow: hidden; position: relative;
  border-block: 1px solid rgba(212,160,60,.35);
  mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
}
.reel__strip { display: grid; position: relative; }
.reel__strip span {
  height: 3.4rem; display: grid; place-items: center;
  font-family: var(--display); font-size: 2rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-soft);
}
.reel--q { height: 2.6rem; width: min(22rem, 100%); border-color: rgba(212,160,60,.2); }
.reel--q .reel__strip span {
  height: 2.6rem; font-family: var(--ui); font-size: .95rem; font-weight: 600;
  letter-spacing: .4em; text-indent: .4em; color: var(--gold);
}
.step__status {
  margin: 0; font-family: var(--display); font-style: italic; font-size: 1.15rem;
  color: var(--text-dim); animation: breathe 1.6s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .45; } }
.step__q--reveal { animation: step .6s cubic-bezier(.2,.7,.2,1); }
[hidden] { display: none !important; }
.reel.is-done .reel__strip span:last-child { color: var(--paper); text-shadow: 0 0 24px rgba(212,160,60,.6); }

.timer-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.timer-row .glass { width: 104px; height: 104px; }
.timer-row .glass__icon { width: 34px; height: 34px; }
.timer-row .glass__num { bottom: 16px; }

/* badge coins */
.coins {
  display: flex; gap: .55rem; width: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .75rem .25rem 1rem; justify-content: safe center;
  scrollbar-width: thin; scrollbar-color: rgba(212,160,60,.4) transparent;
}
.coin {
  --glow: var(--gold);
  flex: 0 0 auto; width: 90px; scroll-snap-align: center;
  display: grid; justify-items: center; gap: .35rem;
  background: none; border: 0; padding: .25rem; cursor: pointer; color: inherit; font: inherit;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.coin img { width: 84px; height: 84px; border-radius: 50%; transition: filter .35s; }
.coin span { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.coin:hover, .coin:focus-visible { transform: translateY(-6px); }
.coin:hover img, .coin:focus-visible img { filter: drop-shadow(0 0 18px color-mix(in srgb, var(--glow) 70%, transparent)); }
.coin:hover span { color: var(--paper); }

/* result */
.result { --glow: var(--gold); }
.result__coin {
  width: 140px; height: 140px; border-radius: 50%;
  filter: drop-shadow(0 0 34px color-mix(in srgb, var(--glow) 60%, transparent));
  animation: land .8s cubic-bezier(.2,1.4,.4,1);
}
@keyframes land { from { transform: scale(.4) rotateY(180deg); opacity: 0; } }
.result__lead { font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0; }
.result h3 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--paper); margin: 0; }
.result h3 em { color: var(--glow); font-size: .6em; display: block; margin-top: .3rem; }
.result__summary { max-width: 32rem; margin: 0; color: var(--text); }
.result__body {
  max-width: 34rem; margin: .25rem 0 0; padding-top: 1.1rem;
  border-top: 1px solid rgba(212,160,60,.18);
  font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--paper);
}
.result__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.result__ctas .btn { margin-top: .5rem; padding-inline: 1.6rem; font-size: .7rem; }
.result__note { min-height: 1.2em; font-size: .8rem; color: var(--gold-soft); margin: 0; }

/* ------------------------------------------------------ getgoi bridge */

.bridge { padding: var(--section) var(--gutter) 0; max-width: 80rem; margin-inline: auto; }
.bridge__eyebrow {
  text-align: center; margin: 0 0 2rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .35em; text-transform: uppercase; color: var(--gold);
}
.bridge__grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 56rem) { .bridge__grid { grid-template-columns: 1fr 1fr; } }
.bridge__block {
  --tone: 212,160,60;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(26rem, 60vh, 34rem);
  display: flex; align-items: flex-end;
  border-radius: 12px; border: 1px solid rgba(var(--tone), .28);
  background: url("assets/media/board-photo.webp") center / cover;
}
.bridge__block--social { --tone: 61,125,156; background-position: 70% 40%; }
.bridge__block::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 20%, rgba(10,10,13,.82) 55%, rgba(10,10,13,.35)),
    radial-gradient(ellipse at 20% 100%, rgba(var(--tone), .35), transparent 65%);
  transition: opacity .5s;
}
.bridge__inner { padding: clamp(1.75rem, 4vw, 3rem); }
.bridge__block h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--paper); margin: 0 0 1rem;
}
.bridge__block--social h2 { color: #bfe0ee; }
.bridge__block p { margin: 0; max-width: 32rem; color: var(--text); }
.bridge__block .btn { font-size: .7rem; padding-inline: 1.6rem; }
.bridge__block--social .btn { background: var(--blue); color: var(--paper); box-shadow: 0 12px 40px -12px rgba(61,125,156,.7); }

/* ------------------------------------------------------- testimonials */

.quotes { padding: var(--section) var(--gutter); max-width: 74rem; margin-inline: auto; }
.quotes__head { text-align: center; max-width: 36rem; margin: 0 auto clamp(2.5rem, 6vh, 3.5rem); }
.quotes__head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--paper); margin: 0 0 .8rem; }
.quotes__head p { color: var(--text-dim); margin: 0; }
.quotes__grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 56rem) { .quotes__grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  margin: 0; padding: 2rem 1.75rem 1.6rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.06); border-radius: 10px;
  position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: .2rem; left: 1.2rem;
  font-family: var(--display); font-size: 4.5rem; line-height: 1; color: rgba(212,160,60,.35);
}
.quote blockquote {
  margin: 1rem 0 0; font-family: var(--display); font-size: 1.3rem; line-height: 1.45; color: var(--paper);
}
.quote figcaption { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.quotes__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.quotes__actions:empty { display: none; }
.quotes__share { font-size: .85rem; letter-spacing: .06em; text-underline-offset: 4px; margin-top: 1.5rem; }

/* ---------------------------------------------------------------- faq */

.faq { padding: 0 var(--gutter) var(--section); max-width: 50rem; margin-inline: auto; }
.faq h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--paper); text-align: center; margin: 0 0 clamp(2rem, 5vh, 3rem); }
.faq__item { border-bottom: 1px solid rgba(212,160,60,.16); }
.faq__item:first-child { border-top: 1px solid rgba(212,160,60,.16); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  padding: 1.25rem .25rem; color: var(--paper); font-weight: 500; transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  margin-top: -4px; transform: rotate(45deg); transition: transform .3s, margin .3s;
}
.faq__item[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.faq__item summary:hover { color: var(--gold-soft); }
.faq__a { padding: 0 .25rem 1.4rem; color: var(--text); }
.faq__a p { margin: 0 0 .8rem; }
.faq__a ul { margin: 0 0 .8rem; padding-left: 1.2rem; }
.faq__a li { margin-bottom: .4rem; }
.faq__a strong { color: var(--gold-soft); font-weight: 600; }
.faq__item[open] .faq__a { animation: panel .35s ease; }

@media (prefers-reduced-motion: reduce) {
  .step, .result__coin, .glass.is-running .glass__icon { animation: none; }
}
