/* ==========================================================================
   CRYPTO SUMMER
   Crypto winter is over.
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Buttons, icons, contract chip
   5.  Navigation
   6.  Hero
   7.  Story
   8.  Why / cards
   9.  Summer Map
   10. Token
   11. How to buy
   12. Gallery + lightbox
   13. Community
   14. FAQ
   15. Footer
   16. Motion, reveal & reduced-motion
   17. Responsive
   ========================================================================== */

/* ── 1. Design tokens ───────────────────────────────────────────────────── */
:root {
  /* brand */
  --gold:    #FFB52E;
  --yellow:  #FFD95A;
  --green:   #65B82E;
  --lime:    #A6E85A;
  --pink:    #F49AB9;
  --navy:    #233A57;
  --cream:   #FFF8E8;
  --orange:  #F47A32;

  /* derived surfaces */
  --ink:        #1E2F44;
  --ink-soft:   #4A5C72;
  --sand:       #FFF3D9;
  --sand-deep:  #FFE9BE;
  --navy-deep:  #16283D;
  --line:       rgba(35, 58, 87, .14);
  --line-dark:  rgba(255, 248, 232, .16);

  /* type */
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* rhythm */
  --wrap: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --sec-y: clamp(3.75rem, 7vw, 6.5rem);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-xl: 42px;
  --r-pill: 999px;

  /* elevation */
  --sh-sm: 0 2px 10px rgba(64, 42, 8, .08);
  --sh-md: 0 14px 34px -14px rgba(64, 42, 8, .30);
  --sh-lg: 0 30px 70px -26px rgba(64, 42, 8, .42);
  --glow:  0 0 34px rgba(255, 181, 46, .40);

  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ── 2. Reset & base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 8.4vw, 6.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h3 { font-size: clamp(1.18rem, 1.7vw, 1.4rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

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

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

.skip {
  position: absolute;
  left: 50%;
  top: -100px;
  z-index: 200;
  transform: translateX(-50%);
  padding: .8rem 1.4rem;
  background: var(--navy);
  color: var(--cream);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; }

/* ── 3. Layout primitives ───────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 800px; }

.section {
  position: relative;
  padding-block: var(--sec-y);
}

.sechead { max-width: 46ch; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.sechead h2 { margin-bottom: .4em; }
.sechead__note {
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 52ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .9rem;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #A66A12;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

/* ── 4. Buttons, icons, contract chip ───────────────────────────────────── */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #43290A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.5rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), filter .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); filter: saturate(1.08); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--sm { padding: .5rem 1rem; font-size: .84rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--yellow), var(--gold) 55%, var(--orange));
  color: #40260A;
  box-shadow: var(--sh-md), var(--glow);
}
.btn--ghost {
  background: rgba(255, 248, 232, .10);
  color: var(--cream);
  border: 1.5px solid rgba(255, 248, 232, .45);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255, 248, 232, .2); }

.btn--buy {
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: #17330B;
}

.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: .55;
  filter: grayscale(.35);
  box-shadow: none;
}

.iconbtn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  color: inherit;
  text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.iconbtn svg { width: 19px; height: 19px; }
.iconbtn:hover { transform: translateY(-2px); background: rgba(255, 181, 46, .22); }

/* contract chip */
.ca {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  max-width: 100%;
  padding: .4rem .4rem .4rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 248, 232, .14);
  border: 1px solid rgba(255, 248, 232, .3);
  backdrop-filter: blur(10px);
  color: var(--cream);
  position: relative;
}
.ca__label {
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  opacity: .78;
}
.ca__value {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, monospace;
  font-size: .84rem;
  letter-spacing: .01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.ca__copy {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex: none;
  padding: .48rem .85rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: #40260A;
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.ca__copy:hover { transform: translateY(-1px); background: var(--yellow); }
.ca__ico { width: 15px; height: 15px; }
.ca__copy.is-done { background: var(--lime); }

.ca__toast {
  position: absolute;
  right: .5rem;
  bottom: calc(100% + .5rem);
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.ca__toast.is-on { opacity: 1; transform: translateY(0); }

.ca[data-state="pending"] .ca__value { opacity: .8; font-style: italic; }
.ca[data-state="pending"] .ca__copy { opacity: .5; pointer-events: none; }

/* light variant, used on cream backgrounds */
.ca--foot {
  background: rgba(255, 248, 232, .08);
  border-color: var(--line-dark);
}

/* ── 5. Navigation ──────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--cream);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 2vw, 1.6rem);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: .75rem var(--pad);
}
.nav.is-stuck {
  background: rgba(24, 40, 60, .82);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex: none;
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  box-shadow: 0 0 0 2px rgba(255, 217, 90, .55), var(--sh-sm);
}
.brand__text {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand__text span { color: var(--yellow); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.6vw, 1.5rem);
  margin-inline: auto;
}
.nav__links a {
  padding: .45rem .2rem;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  opacity: .92;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex: none;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2.2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── 6. Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(5rem, 10vh, 7rem);
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}

.hero__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

/* the scene continues to the left as a colour field sampled from the photo */
.hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #8B5E33   0%,
    #B4712F  12%,
    #DE9438  22%,
    #FBCE68  33%,
    #EFA94C  43%,
    #C8853A  55%,
    #A2702C  68%,
    #7C5C24  80%,
    #55461D  92%,
    #37331A 100%);
}

.hero__photo {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(66%, 1300px);
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%);
          mask-image: linear-gradient(to right, transparent 0, #000 32%);
}

/* warm readability scrim over the text side */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(38, 22, 8, .86)  0%,
      rgba(52, 32, 12, .60) 30%,
      rgba(66, 44, 18, .22) 52%,
      rgba(66, 44, 18, 0)   70%),
    linear-gradient(to bottom,
      rgba(34, 22, 8, .40) 0%,
      rgba(34, 22, 8, 0)  26%,
      rgba(34, 22, 8, 0)  70%,
      rgba(34, 22, 8, .38) 100%);
}

.hero__sun {
  position: absolute;
  right: 16%;
  top: 26%;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 246, 214, .55) 0%,
    rgba(255, 205, 96, .28) 38%,
    rgba(255, 181, 46, 0)  70%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.hero__eyebrow {
  color: var(--yellow);
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.hero__title {
  max-width: 12ch;
  margin-bottom: .18em;
  text-shadow: 0 6px 34px rgba(40, 24, 4, .55);
}
.hero__lede {
  max-width: 20ch;
  margin-bottom: .8rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  font-weight: 600;
  color: var(--yellow);
  text-shadow: 0 3px 18px rgba(40, 24, 4, .5);
}
.hero__sub {
  max-width: 40ch;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: rgba(255, 248, 232, .93);
  text-shadow: 0 2px 14px rgba(28, 18, 4, .55);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.7rem;
}

.scrollcue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 248, 232, .85);
  text-shadow: 0 2px 12px rgba(28, 18, 4, .6);
}
.scrollcue svg { width: 20px; height: 20px; }

/* drifting flower/candle sparks */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.petal {
  position: absolute;
  bottom: -6%;
  width: var(--s, 9px);
  height: var(--s, 9px);
  border-radius: 50% 50% 50% 12%;
  background: var(--c, var(--pink));
  opacity: 0;
  filter: blur(.2px);
}

/* ── 7. Story ───────────────────────────────────────────────────────────── */
.story {
  background:
    radial-gradient(120% 90% at 88% 0%, var(--sand) 0%, transparent 60%),
    var(--cream);
}
.story__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.story__copy p { color: var(--ink-soft); max-width: 54ch; }
.pull {
  margin-top: 1.6rem !important;
  padding-left: 1.15rem;
  border-left: 4px solid var(--green);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 600;
  line-height: 1.32;
  color: var(--ink) !important;
}

.story__art { margin: 0; }
.story__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 1;
}
.story__frame img { width: 100%; height: 100%; object-fit: cover; }
/* the cold season, receding on the left edge */
.story__winter {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(120, 165, 205, .78) 0%,
    rgba(150, 190, 225, .42) 16%,
    rgba(180, 210, 235, .10) 30%,
    transparent 44%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.story__art figcaption {
  margin-top: .9rem;
  font-size: .88rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ── 8. Why / cards ─────────────────────────────────────────────────────── */
.why { background: linear-gradient(to bottom, var(--cream), var(--sand)); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #fff, var(--cream) 70%);
  border: 1px solid rgba(255, 181, 46, .3);
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.card__ico {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 1.15rem;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--yellow), var(--gold));
  color: #fff;
  box-shadow: var(--glow);
}
.card__ico svg { width: 34px; height: 34px; }
.card:nth-child(2) .card__ico { background: linear-gradient(140deg, var(--lime), var(--green)); }
.card:nth-child(3) .card__ico { background: linear-gradient(140deg, var(--pink), var(--orange)); }
.card p { color: var(--ink-soft); margin: 0; }

/* ── 9. Summer Map ──────────────────────────────────────────────────────── */
.map { background: var(--sand); overflow: hidden; }
.map__wrap { position: relative; }
.map__path {
  position: absolute;
  inset-inline: 2%;
  top: 46%;
  width: 96%;
  height: 190px;
  transform: translateY(-50%);
  opacity: .9;
  pointer-events: none;
}
.map__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stop;
}
.map__stop {
  position: relative;
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 181, 46, .34);
  backdrop-filter: blur(6px);
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.map__stop:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.map__stop:nth-child(odd)  { margin-top: 0; }
.map__stop:nth-child(even) { margin-top: clamp(1.5rem, 4vw, 3.2rem); }

.map__dot {
  position: absolute;
  top: -13px;
  left: clamp(1.4rem, 2.2vw, 1.9rem);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--yellow), var(--gold));
  border: 3px solid var(--sand);
  box-shadow: var(--glow);
}
.map__stop:nth-child(2) .map__dot { background: linear-gradient(140deg, var(--lime), var(--green)); }
.map__stop:nth-child(3) .map__dot { background: linear-gradient(140deg, var(--gold), var(--orange)); }
.map__stop:nth-child(4) .map__dot { background: linear-gradient(140deg, var(--pink), var(--orange)); }

.map__season {
  counter-increment: stop;
  margin: .35rem 0 .3rem;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #A66A12;
}
.map__season::before { content: "0" counter(stop) " — "; opacity: .6; }
.map__stop h3 { margin-bottom: .5rem; }
.map__stop p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ── 10. Token ──────────────────────────────────────────────────────────── */
.token {
  background:
    radial-gradient(90% 70% at 12% 12%, rgba(255, 181, 46, .22) 0%, transparent 58%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
}
.token .eyebrow { color: var(--yellow); }
.token__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.token__art { margin: 0; }
.token__art img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg), 0 0 60px -20px rgba(255, 181, 46, .6);
}
.token__intro { color: rgba(255, 248, 232, .82); max-width: 52ch; }
.token__intro em { color: var(--yellow); font-style: normal; font-weight: 600; }

.facts {
  margin: 1.8rem 0 1.4rem;
  padding: .4rem clamp(1rem, 2vw, 1.6rem);
  border-radius: var(--r-lg);
  background: rgba(255, 248, 232, .06);
  border: 1px solid var(--line-dark);
}
.facts > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.facts > div:last-child { border-bottom: 0; }
.facts dt {
  flex: none;
  min-width: 11rem;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 248, 232, .62);
}
.facts dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.facts dd.is-mono {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, monospace;
  font-size: .85rem;
  font-weight: 400;
}
.facts dd.is-pending {
  font-family: var(--body);
  font-weight: 500;
  font-size: .88rem;
  padding: .18rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(255, 217, 90, .14);
  border: 1px dashed rgba(255, 217, 90, .5);
  color: var(--yellow);
}
.facts a { color: var(--lime); }
.token__foot { font-size: .9rem; color: rgba(255, 248, 232, .68); }

/* ── 11. How to buy ─────────────────────────────────────────────────────── */
.buy { background: linear-gradient(to bottom, var(--sand), var(--cream)); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  padding-top: 2.6rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid rgba(35, 58, 87, .1);
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.step__n {
  position: absolute;
  top: -18px;
  left: clamp(1.5rem, 2.4vw, 2rem);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--yellow), var(--gold));
  color: #43290A;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: var(--glow);
}
.step h3 { margin-bottom: .45rem; }
.step p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.safety {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  max-width: 74ch;
  margin: 0;
  padding: 1.15rem 1.4rem;
  border-radius: var(--r-md);
  background: rgba(255, 181, 46, .14);
  border: 1px solid rgba(255, 181, 46, .45);
  font-size: .95rem;
}
.safety svg { flex: none; width: 24px; height: 24px; color: #A66A12; margin-top: .1rem; }

/* ── 12. Gallery + lightbox ─────────────────────────────────────────────── */
.gallery { background: var(--cream); }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.7rem, 1.5vw, 1.1rem);
}
.tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand-deep);
  cursor: pointer;
  aspect-ratio: 1;
  box-shadow: var(--sh-sm);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.tile--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.tile:hover img { transform: scale(1.05); }

.tile__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem .95rem .85rem;
  background: linear-gradient(to top, rgba(20, 16, 8, .86), rgba(20, 16, 8, 0));
  color: var(--cream);
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.28;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.tile:hover .tile__cap,
.tile:focus-visible .tile__cap { opacity: 1; transform: translateY(0); }

.gallery__note {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
  color: var(--ink-soft);
  font-size: .95rem;
}

.lb {
  width: min(94vw, 1080px);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}
.lb::backdrop { background: rgba(16, 20, 26, .88); backdrop-filter: blur(6px); }
.lb__figure { margin: 0; }
.lb__figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--r-md);
  background: #1b1710;
}
.lb__figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: .9rem;
  font-family: var(--display);
  font-weight: 600;
}
.lb__close, .lb__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 248, 232, .28);
  border-radius: var(--r-pill);
  background: rgba(20, 24, 30, .6);
  color: var(--cream);
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lb__close:hover, .lb__nav:hover { background: rgba(255, 181, 46, .3); transform: scale(1.06); }
.lb__close svg, .lb__nav svg { width: 22px; height: 22px; }
.lb__close { top: -58px; right: 0; }
.lb__nav--prev { left: -58px; top: 50%; transform: translateY(-50%); }
.lb__nav--next { right: -58px; top: 50%; transform: translateY(-50%); }
.lb__nav--prev:hover, .lb__nav--next:hover { transform: translateY(-50%) scale(1.06); }

/* ── 13. Community ──────────────────────────────────────────────────────── */
.community {
  position: relative;
  color: var(--cream);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.community__art { position: absolute; inset: 0; z-index: -1; }
.community__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.community__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 30, 42, .62), rgba(20, 30, 42, .74)),
    radial-gradient(70% 80% at 50% 100%, rgba(255, 181, 46, .28), transparent 70%);
}
.community__inner { max-width: 40rem; }
.community h2 { text-shadow: 0 6px 30px rgba(20, 12, 2, .6); }
.community p { color: rgba(255, 248, 232, .92); font-size: 1.1rem; margin-bottom: 2rem; }
.community__cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ── 14. FAQ ────────────────────────────────────────────────────────────── */
.faq { background: linear-gradient(to bottom, var(--cream), var(--sand)); }
.acc { display: grid; gap: .7rem; }
.acc__item {
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid rgba(35, 58, 87, .12);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.acc__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease);
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2.4px solid var(--gold);
  border-bottom: 2.4px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease);
}
.acc__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.acc__item summary:hover { color: #A66A12; }
.acc__body { padding: 0 1.3rem 1.15rem; }
.acc__body p { margin: 0; color: var(--ink-soft); }

/* ── 15. Footer ─────────────────────────────────────────────────────────── */
.foot {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
}
.foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line-dark);
}
.foot__brand { display: flex; align-items: center; gap: .85rem; }
.foot__brand img {
  width: 52px;
  height: 52px;
  border-radius: var(--r-pill);
  box-shadow: 0 0 0 2px rgba(255, 217, 90, .5);
}
.foot__name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.foot__tag { margin: 0; font-size: .92rem; color: var(--yellow); }
.foot__links { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.foot__links a { font-size: .95rem; text-decoration: none; opacity: .86; }
.foot__links a:hover { opacity: 1; color: var(--yellow); }
.foot__social { display: flex; gap: .4rem; }

.foot .ca { margin-block: 1.8rem; }
.foot__disc {
  max-width: 78ch;
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(255, 248, 232, .58);
}
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.2rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: .84rem;
  color: rgba(255, 248, 232, .6);
}
.foot__legal p { margin: 0; }
.foot__legal nav { display: flex; gap: 1.2rem; }
.foot__legal a { text-decoration: none; }
.foot__legal a:hover { color: var(--yellow); }

/* ── 16. Motion, reveal & reduced motion ────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* stagger children inside a group */
.js .cards .reveal:nth-child(2),
.js .steps .reveal:nth-child(2),
.js .map__track .reveal:nth-child(2) { transition-delay: .09s; }
.js .cards .reveal:nth-child(3),
.js .steps .reveal:nth-child(3),
.js .map__track .reveal:nth-child(3) { transition-delay: .18s; }
.js .steps .reveal:nth-child(4),
.js .map__track .reveal:nth-child(4) { transition-delay: .27s; }

@media (prefers-reduced-motion: no-preference) {
  /* sunrise sweep on first paint */
  .hero__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
      rgba(255, 240, 200, 0) 30%,
      rgba(255, 240, 200, .55) 50%,
      rgba(255, 240, 200, 0) 70%);
    transform: translateX(-120%);
    animation: sweep 2.1s .15s var(--ease) forwards;
    pointer-events: none;
    mix-blend-mode: screen;
  }
  @keyframes sweep { to { transform: translateX(120%); } }

  .hero__sun  { animation: breathe 7s ease-in-out infinite; }
  @keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1.15; } }

  .scrollcue svg { animation: bob 2.2s ease-in-out infinite; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

  .petal { animation: rise var(--d, 15s) linear var(--delay, 0s) infinite; }
  @keyframes rise {
    0%   { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(.85); }
    12%  { opacity: .85; }
    80%  { opacity: .6; }
    100% { opacity: 0; transform: translate(var(--x, 40px), -105vh) rotate(320deg) scale(1.1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .petals { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ── 17. Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .facts dt { min-width: 9rem; }
  .lb__close { top: -52px; }
  .lb__nav--prev { left: 6px; }
  .lb__nav--next { right: 6px; }
}

@media (max-width: 1023px) {
  .nav__links {
    position: fixed;
    inset: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 5.2rem var(--pad) 1.6rem;
    background: rgba(22, 40, 61, .97);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .8);
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform .38s var(--ease), visibility .38s;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__links a {
    padding: .95rem .2rem;
    font-size: 1.1rem;
    font-family: var(--display);
    font-weight: 600;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__links a::after { display: none; }
  .burger { display: block; }
  .nav__actions .iconbtn { display: none; }

  .story__grid,
  .token__grid { grid-template-columns: 1fr; }
  .story__art { order: -1; max-width: 30rem; margin-inline: auto; }
  .token__art { max-width: 22rem; margin-inline: auto; }

  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .map__track { grid-template-columns: 1fr 1fr; }
  .map__path { display: none; }
  .map__stop:nth-child(even) { margin-top: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --sec-y: clamp(3.5rem, 11vw, 5rem); }

  /* mascot moves below the headline instead of shrinking into a corner */
  .hero {
    min-height: auto;
    display: block;
    padding-block: 6.5rem 0;
    text-align: left;
  }
  .hero__art { position: relative; inset: auto; height: auto; z-index: 0; }
  .hero__art::before { display: none; }
  .hero__photo {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 13 / 10;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
    object-position: center;
  }
  .hero__scrim {
    background: linear-gradient(to bottom, rgba(18, 26, 34, .30) 0%, rgba(18, 26, 34, 0) 42%);
  }
  .hero__sun { opacity: .55; }
  .hero__inner {
    position: relative;
    z-index: 2;
    padding-bottom: 1.5rem;
    margin-bottom: -14%;
  }
  .hero__title { max-width: none; }
  .hero__sub { max-width: none; }
  .hero__cta .btn { flex: 1 1 12rem; }
  .scrollcue { display: none; }

  .cards, .steps, .map__track { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }

  .facts > div { flex-direction: column; gap: .2rem; padding: .8rem 0; }
  .facts dt { min-width: 0; }

  .foot__top { flex-direction: column; align-items: flex-start; }
  .foot__legal { flex-direction: column; align-items: flex-start; }

  .lb__close { top: -50px; right: 0; }
  .lb__nav { width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  .ca { padding-left: .75rem; }
  .ca__label { display: none; }
  .brand__text { font-size: .95rem; }
}

@media (min-width: 1440px) {
  :root { --wrap: 1300px; }
  .hero__inner { max-width: 1300px; }
}
