/* =====================================================================
   DOGH THE POG — $DOUG
   A scrapbook / meme-museum / Solana community site.
   ---------------------------------------------------------------------
   01 Tokens
   02 Reset & base
   03 Utilities & textures
   04 Buttons, chips, badges, stickers
   05 Header / navigation
   06 Hero
   07 Contract bar
   08 Origin story + timeline
   09 Gallery grid
   10 Polaroid board
   11 Caption marquee
   12 Career cards
   13 Lamby
   14 Kindness
   15 Family album
   16 Chart
   17 How to buy
   18 Value chips
   19 Final CTA
   20 Footer
   21 Toast
   22 Motion preferences & responsive polish
   ===================================================================== */

/* ---------------------------------------------------------------- 01 */
:root {
  /* Paper palette */
  --cream:        #FDF6E9;
  --cream-2:      #F7EDD9;
  --cream-3:      #EFE1C6;
  --mint:         #D2F0E3;
  --mint-2:       #A9E0C8;
  --mint-deep:    #2C7A62;
  --peach:        #FFDCC6;
  --peach-2:      #FFC7A4;
  --sky:          #D6ECF8;
  --lavender:     #E7DEF7;

  /* Ink & metal */
  --ink:          #23182F;
  --ink-2:        #443655;
  --ink-3:        #6A5C7A;
  --purple:       #45215F;
  --purple-2:     #5F2E85;
  --purple-3:     #7C40AC;
  --gold:         #A9762A;
  --gold-2:       #D2A44E;
  --gold-3:       #F0D79A;

  /* Solana */
  --sol-green:    #14F195;
  --sol-cyan:     #00D1FF;
  --sol-violet:   #9945FF;
  --sol-ink:      #120C1C;

  /* Chapter accents */
  --ch1: #B5822A;
  --ch2: #D2405E;
  --ch3: #7C40AC;
  --ch4: #2C8FA8;
  --ch5: #2C7A62;

  /* Layout */
  --shell:        1200px;
  --shell-wide:   1440px;
  --gutter:       clamp(1rem, 4vw, 2.5rem);
  --radius:       18px;
  --radius-lg:    26px;
  --header-h:     72px;

  /* Type */
  --font-display: "Anton", "Oswald", "Haettenschweiler", "Arial Narrow", sans-serif;
  --font-cond:    "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand:    "Caveat", "Segoe Script", "Bradley Hand", cursive;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(35,24,47,.08), 0 4px 10px rgba(35,24,47,.06);
  --sh-2: 0 2px 4px rgba(35,24,47,.08), 0 10px 26px rgba(35,24,47,.10);
  --sh-3: 0 4px 8px rgba(35,24,47,.10), 0 20px 44px rgba(35,24,47,.16);
  --sh-photo: 0 1px 1px rgba(35,24,47,.14), 0 10px 22px rgba(35,24,47,.18), 0 24px 48px rgba(35,24,47,.10);

  /* Textures */
  --grain: 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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--purple-2); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--purple-3); }

code { font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--purple-3);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--stage :focus-visible,
.section--chart :focus-visible,
.final :focus-visible,
.site-footer :focus-visible,
.marquee :focus-visible { outline-color: var(--sol-green); }

[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: .5rem; left: .5rem; z-index: 200;
  transform: translateY(-160%);
  background: var(--purple); color: var(--cream);
  padding: .7rem 1.1rem; border-radius: 12px;
  font-weight: 700; text-decoration: none;
  box-shadow: var(--sh-3);
}
.skip-link:focus-visible { transform: none; color: var(--cream); }

.anchor { display: block; position: relative; top: calc(var(--header-h) * -1); }

/* ---------------------------------------------------------------- 03 */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .012em;
  text-transform: uppercase;
  line-height: .96;
}

.eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--gold);
  margin: 0 0 .7rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow--light { color: var(--gold-3); }

.section {
  position: relative;
  padding: clamp(3.6rem, 7vw, 6.5rem) 0;
  isolation: isolate;
  overflow: hidden;
}
.section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  opacity: .05; pointer-events: none;
}

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__title { font-size: clamp(2.05rem, 1.3rem + 3.3vw, 3.9rem); margin-bottom: .5rem; color: var(--purple); }
.section__lede { font-size: clamp(1.02rem, .98rem + .28vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.section__head--light .section__title { color: var(--cream); }
.section__head--light .section__lede { color: #E4D8F2; }

.ink-underline {
  background-image: linear-gradient(transparent 62%, rgba(20,241,149,.55) 62%, rgba(153,69,255,.45) 100%);
  background-repeat: no-repeat;
  padding-inline: .06em;
}

/* Decorative low-opacity Solana marks behind sections */
.sol-ghost {
  position: absolute; z-index: -1; pointer-events: none;
  color: var(--purple-3); opacity: .06;
  width: clamp(180px, 26vw, 420px); aspect-ratio: 397.7 / 311.7;
}
.sol-ghost .ico { width: 100%; height: 100%; }
.sol-ghost--tl { top: -3%;  left: -5%;  transform: rotate(-12deg); }
.sol-ghost--tr { top: 4%;   right: -6%; transform: rotate(9deg); }
.sol-ghost--bl { bottom: -4%; left: -6%; transform: rotate(7deg); }
.sol-ghost--br { bottom: -5%; right: -5%; transform: rotate(-8deg); }
.section--stage .sol-ghost, .section--chart .sol-ghost { color: var(--sol-green); opacity: .09; }

/* Tape strips */
.tape {
  position: absolute; z-index: 3;
  width: 108px; height: 30px;
  background:
    linear-gradient(115deg, rgba(255,255,255,.5), rgba(255,255,255,.18)),
    rgba(245, 232, 205, .82);
  border-left: 1px dashed rgba(35,24,47,.10);
  border-right: 1px dashed rgba(35,24,47,.10);
  box-shadow: 0 2px 6px rgba(35,24,47,.14);
  backdrop-filter: blur(1px);
}
.tape--tl { top: -14px; left: 4%;  transform: rotate(-6deg); }
.tape--tr { top: -14px; right: 4%; transform: rotate(5deg); }
.tape--br { bottom: -12px; right: 8%; transform: rotate(-4deg); }

/* Icons */
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--sol { width: 1.05em; height: .82em; }
.ico--xl  { width: 2.6rem; height: 2.6rem; }

/* Scroll reveal (only when JS is present) */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .65s cubic-bezier(.22,.7,.3,1), transform .65s cubic-bezier(.22,.7,.3,1);
}

/* ---------------------------------------------------------------- 04 */
.btn {
  --btn-bg: var(--purple);
  --btn-fg: var(--cream);
  --btn-bd: rgba(210,164,78,.9);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .72rem 1.25rem;
  font-family: var(--font-cond);
  font-weight: 600; font-size: .95rem;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bd);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); filter: brightness(1.06); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: linear-gradient(135deg, #7C40AC 0%, #45215F 62%, #2E1442 100%);
  --btn-fg: #FFF6E4;
  box-shadow: 0 2px 0 rgba(46,20,66,.5), var(--sh-2);
}
.btn--ghost {
  --btn-bg: rgba(255,255,255,.6);
  --btn-fg: var(--purple);
  --btn-bd: rgba(69,33,95,.28);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: rgba(253,246,233,.55);
}
.btn--copy {
  --btn-bg: linear-gradient(135deg, var(--sol-violet), var(--sol-cyan) 55%, var(--sol-green));
  --btn-fg: #11122A;
  --btn-bd: rgba(17,18,42,.22);
  font-weight: 700;
}
.btn--sm  { padding: .48rem .9rem;  font-size: .82rem; }
.btn--lg  { padding: .88rem 1.6rem; font-size: 1.02rem; }
.btn--xl  { padding: 1.05rem 2.3rem; font-size: clamp(1.05rem, 1rem + .45vw, 1.3rem); }
.btn--block { display: flex; width: 100%; }

.btn.is-done { --btn-bg: linear-gradient(135deg, #14F195, #0FBF78); --btn-fg: #08301F; }
.btn .ico--done { display: none; }
.btn.is-done .ico--copy { display: none; }
.btn.is-done .ico--done { display: block; }

/* Solana badge */
.sol-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .34rem .72rem;
  font-family: var(--font-cond); font-size: .76rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--purple);
  background: linear-gradient(140deg, rgba(20,241,149,.16), rgba(153,69,255,.14));
  border: 1.5px solid rgba(69,33,95,.18);
  border-radius: 999px;
  white-space: nowrap;
}
.sol-badge--dark { color: var(--cream); border-color: rgba(253,246,233,.26); }

/* Mini chips (hero) */
.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0 1.2rem; }
.minichip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .85rem;
  background: rgba(255,255,255,.72);
  border: 1.5px solid rgba(69,33,95,.16);
  border-radius: 999px;
  font-family: var(--font-cond); font-weight: 500;
  font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-2);
  box-shadow: var(--sh-1);
}
.minichip .ico { color: var(--gold); }

/* Die-cut stickers */
.sticker {
  --sticker-bg: var(--gold-3);
  --sticker-fg: #4A2C05;
  position: absolute; z-index: 6;
  display: inline-block;
  max-width: min(46vw, 220px);
  padding: .55rem .95rem;
  font-family: var(--font-cond);
  font-weight: 700; font-size: clamp(.66rem, .6rem + .22vw, .8rem);
  letter-spacing: .11em; text-transform: uppercase; text-align: center;
  line-height: 1.25;
  color: var(--sticker-fg);
  background: var(--sticker-bg);
  border-radius: 48% 52% 46% 54% / 56% 44% 56% 44%;
  box-shadow: 0 0 0 5px #FFFBF2, 0 0 0 6.5px rgba(35,24,47,.10), 0 8px 18px rgba(35,24,47,.22);
  transform: rotate(var(--st-rot, -7deg));
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease;
  pointer-events: auto;
}
.sticker:hover { transform: rotate(calc(var(--st-rot, -7deg) * -.35)) scale(1.07); box-shadow: 0 0 0 5px #FFFBF2, 0 0 0 6.5px rgba(35,24,47,.12), 0 14px 26px rgba(35,24,47,.26); }
.sticker--mint   { --sticker-bg: var(--mint-2);  --sticker-fg: #14453A; }
.sticker--peach  { --sticker-bg: var(--peach-2); --sticker-fg: #5A2A12; }
.sticker--purple { --sticker-bg: var(--purple-3);--sticker-fg: #FFF4DE; }
.sticker--cream  { --sticker-bg: #FFF3DA;        --sticker-fg: #5B3E12; }
.sticker--gold   { --sticker-bg: var(--gold-2);  --sticker-fg: #35200A; }
.sticker--sol    {
  --sticker-fg: #0B1226;
  --sticker-bg: linear-gradient(135deg, var(--sol-green), var(--sol-cyan) 52%, var(--sol-violet));
}
.sticker--corner { top: clamp(10px, 2vw, 26px); }
.sticker--tl { left: clamp(6px, 2vw, 26px);  --st-rot: -8deg; }
.sticker--tr { right: clamp(6px, 2vw, 26px); --st-rot: 7deg; }

/* ---------------------------------------------------------------- 05 */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(253,246,233,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(69,33,95,.10);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 22px rgba(35,24,47,.12); background: rgba(253,246,233,.95); }

.nav {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
  width: min(100% - (var(--gutter) * 2), var(--shell-wide));
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand__badge {
  display: block; width: 44px; height: 44px; flex: none;
  border-radius: 50%; overflow: hidden;
  border: 2.5px solid var(--gold-2);
  box-shadow: var(--sh-1);
  background: var(--mint);
}
.brand__badge img { width: 100%; height: 100%; object-fit: cover; }
.brand__badge--lg { width: 72px; height: 72px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: 1.16rem; letter-spacing: .01em; text-transform: uppercase; color: var(--purple); }
.brand__ticker { font-family: var(--font-cond); font-weight: 600; font-size: .74rem; letter-spacing: .18em; color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1.4rem); }
.nav__links > a:not(.btn) {
  font-family: var(--font-cond); font-weight: 500;
  font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
  padding: .35rem .15rem; position: relative;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--sol-green), var(--sol-violet));
  border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__links > a:not(.btn):hover, .nav__links > a.is-active { color: var(--purple); }
.nav__links > a:not(.btn):hover::after, .nav__links > a.is-active::after { transform: scaleX(1); }

.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: rgba(255,255,255,.7);
  border: 2px solid rgba(69,33,95,.18); border-radius: 14px;
  color: var(--purple); cursor: pointer;
}
.nav__toggle .ico { width: 24px; height: 24px; }
.nav__toggle .ico--shut { display: none; }
.nav__toggle[aria-expanded="true"] .ico--open { display: none; }
.nav__toggle[aria-expanded="true"] .ico--shut { display: block; }

@media (max-width: 1060px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem var(--gutter) 1.6rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(69,33,95,.12);
    box-shadow: 0 18px 36px rgba(35,24,47,.16);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav__links > a:not(.btn) { padding: .85rem .2rem; border-bottom: 1px dashed rgba(69,33,95,.14); font-size: 1.02rem; }
  .nav__sol { align-self: flex-start; margin-top: .9rem; }
  .nav__cta { margin-top: .9rem; }
}

/* ---------------------------------------------------------------- 06 */
.hero {
  position: relative;
  padding: clamp(1.6rem, 3.4vw, 3rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  isolation: isolate; overflow: hidden;
}
.hero__wash {
  position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -2;
  background:
    radial-gradient(60% 55% at 18% 8%,  rgba(210,240,227,.9), transparent 62%),
    radial-gradient(55% 50% at 86% 12%, rgba(255,220,198,.85), transparent 60%),
    radial-gradient(70% 60% at 50% 96%, rgba(231,222,247,.9), transparent 65%),
    linear-gradient(180deg, #FFFCF4 0%, var(--cream) 55%, var(--cream-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .06;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-3);
  border: 10px solid #FFFDF7;
  box-shadow: var(--sh-photo);
  aspect-ratio: 3 / 1;
  max-height: 62vh;
}
.hero__art {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
  will-change: transform;
  transform: scale(1.06) translate3d(0, var(--par, 0px), 0);
}
.hero__sticker { top: auto; bottom: clamp(10px, 2.4vw, 26px); left: clamp(10px, 2.4vw, 28px); --st-rot: -7deg; }

.hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(1.6rem, 3.4vw, 3.6rem);
  align-items: end;
  margin-top: clamp(1.8rem, 3.6vw, 2.8rem);
}
.hero__title {
  display: grid;
  font-size: clamp(2.3rem, 1.05rem + 4.4vw, 4.5rem);
  color: var(--purple);
  margin: 0 0 .7rem;
  line-height: .92;
}
.hero__line { display: block; width: fit-content; max-width: 100%; }
.hero__line--mark {
  position: relative;
  padding-bottom: .1em;
}
.hero__line--mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .01em;
  height: .13em; border-radius: 999px;
  background: linear-gradient(90deg, var(--sol-green), var(--sol-cyan) 46%, var(--sol-violet));
  opacity: .85;
}
.hero__kicker {
  margin: 0;
  font-family: var(--font-cond); font-weight: 600;
  font-size: clamp(.82rem, .76rem + .3vw, 1rem);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.hero__side { padding-bottom: .2rem; }
.hero__lede { font-size: clamp(1.04rem, .98rem + .42vw, 1.24rem); color: var(--ink-2); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

@media (max-width: 940px) {
  .hero__copy { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .hero__side { max-width: 56ch; }
}

.safety {
  display: inline-flex; align-items: flex-start; gap: .55rem;
  padding: .6rem .95rem;
  background: rgba(255,255,255,.72);
  border: 1.5px dashed rgba(169,118,42,.5);
  border-radius: 14px;
  font-size: .9rem; font-weight: 500; color: #6B4A12;
}
.safety .ico { color: var(--gold); margin-top: .15em; }

@media (max-width: 860px) {
  .hero__frame { aspect-ratio: 4 / 3; max-height: none; border-width: 8px; }
  .hero__art { object-position: 50% 40%; }
}
@media (max-width: 520px) {
  .hero__frame { aspect-ratio: 1 / 1; }
}

/* ---------------------------------------------------------------- 07 */
.ca-section { position: relative; padding-bottom: clamp(2.2rem, 4vw, 3.4rem); background: var(--cream-2); }
.ca-section::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 26px;
  transform: translateY(-100%);
  background: var(--cream-2);
  clip-path: polygon(0 100%,0 46%,2% 72%,4% 30%,7% 63%,10% 22%,13% 58%,16% 34%,19% 70%,22% 28%,26% 60%,29% 26%,32% 66%,36% 36%,39% 72%,43% 24%,46% 58%,50% 30%,53% 68%,57% 26%,60% 62%,64% 34%,67% 70%,71% 24%,74% 60%,78% 30%,81% 66%,85% 28%,88% 58%,92% 34%,95% 68%,98% 30%,100% 52%,100% 100%);
}
.ca-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "head copy" "value copy" "note note";
  gap: .5rem 1.4rem;
  align-items: center;
  margin-top: -1.2rem;
  padding: clamp(1.2rem, 2.6vw, 1.9rem) clamp(1.2rem, 3vw, 2.2rem);
  background: linear-gradient(140deg, #FFFDF6, #FBF2DF);
  border: 2.5px solid rgba(69,33,95,.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-3);
}
.ca-bar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 2.5px;
  background: linear-gradient(120deg, rgba(20,241,149,.55), rgba(0,209,255,.4) 45%, rgba(153,69,255,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ca-bar__head { grid-area: head; display: flex; align-items: center; gap: .55rem; }
.ca-bar__sol { width: 1.5rem; height: 1.2rem; }
.ca-bar__label {
  margin: 0;
  font-family: var(--font-cond); font-weight: 700;
  font-size: clamp(.82rem, .78rem + .2vw, .95rem);
  letter-spacing: .16em; text-transform: uppercase; color: var(--purple);
}
.ca-bar__value { grid-area: value; margin: 0; min-width: 0; }
.ca-code {
  display: block;
  font-size: clamp(.82rem, .74rem + .5vw, 1.05rem);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  background: rgba(255,255,255,.8);
  border: 1.5px dashed rgba(69,33,95,.24);
  border-radius: 12px;
  padding: .55rem .8rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  direction: ltr;
}
.ca-code--dark {
  color: #F2E9FA; background: rgba(255,255,255,.07);
  border-color: rgba(253,246,233,.28);
}
.ca-bar .btn--copy { grid-area: copy; }
.ca-bar__note {
  grid-area: note; margin: .35rem 0 0;
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .86rem; color: var(--ink-3);
}
.ca-bar__note .ico { color: var(--mint-deep); margin-top: .18em; }

@media (max-width: 700px) {
  .ca-bar { grid-template-columns: 1fr; grid-template-areas: "head" "value" "copy" "note"; }
  .ca-bar .btn--copy { justify-self: stretch; }
}

/* ---------------------------------------------------------------- 08 */
.section--mint {
  background:
    radial-gradient(70% 60% at 12% 0%, rgba(255,255,255,.85), transparent 60%),
    linear-gradient(170deg, var(--mint) 0%, #E4F5EC 46%, var(--cream) 100%);
}

.timeline { position: relative; }
.timeline__list { position: relative; padding-left: clamp(2.2rem, 4vw, 3.2rem); }
.timeline__list::before {
  content: ""; position: absolute; top: .8rem; bottom: .8rem;
  left: clamp(.85rem, 1.6vw, 1.25rem); width: 3px;
  background: repeating-linear-gradient(180deg, rgba(69,33,95,.32) 0 8px, transparent 8px 16px);
  border-radius: 3px;
}
.timeline__item { position: relative; padding-bottom: .9rem; }
.timeline__dot {
  position: absolute; left: calc(clamp(2.2rem, 4vw, 3.2rem) * -1); top: .55rem;
  display: grid; place-items: center;
  width: clamp(2rem, 3.4vw, 2.5rem); height: clamp(2rem, 3.4vw, 2.5rem);
  transform: translateX(calc(clamp(.85rem, 1.6vw, 1.25rem) - 50% + 1.5px));
  background: #FFFDF6; color: var(--purple-2);
  border: 2.5px solid var(--purple-2); border-radius: 50%;
  box-shadow: 0 4px 12px rgba(35,24,47,.14);
  z-index: 2;
}
.timeline__dot .ico { width: 1.05rem; height: 1.05rem; }
.timeline__dot--gold { color: var(--gold); border-color: var(--gold-2); background: linear-gradient(140deg, #FFF7E4, #F6E3B8); }

.timeline__heading { margin: 0; }
.timeline__btn {
  display: flex; align-items: center; gap: 1rem; width: 100%;
  padding: .9rem 1.1rem;
  text-align: left; cursor: pointer;
  background: rgba(255,255,255,.68);
  border: 2px solid rgba(69,33,95,.14);
  border-radius: 16px;
  box-shadow: var(--sh-1);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.timeline__btn:hover { background: #FFFDF7; border-color: rgba(124,64,172,.4); transform: translateX(3px); }
.timeline__btn[aria-expanded="true"] { background: #FFFDF7; border-color: var(--purple-3); }
.timeline__year {
  font-family: var(--font-cond); font-weight: 700;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); flex: none;
  min-width: min(9.5rem, 34vw);
}
.timeline__name {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.02rem, .94rem + .5vw, 1.45rem);
  color: var(--purple); line-height: 1.05; flex: 1 1 auto;
}
.timeline__chev {
  flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--purple-2); border-bottom: 2.5px solid var(--purple-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .28s ease;
}
.timeline__btn[aria-expanded="true"] .timeline__chev { transform: rotate(-135deg) translate(-3px, -3px); }

.timeline__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .38s cubic-bezier(.3,.8,.4,1); }
.timeline__inner {
  overflow: hidden; min-height: 0;
  display: flex; gap: clamp(1rem, 2.4vw, 1.8rem);
  align-items: flex-start;
}
.js .timeline__heading:has(> .timeline__btn[aria-expanded="false"]) + .timeline__panel { grid-template-rows: 0fr; }
.js .timeline__heading:has(> .timeline__btn[aria-expanded="false"]) + .timeline__panel .timeline__inner {
  visibility: hidden; transition: visibility 0s .38s;
}
.timeline__inner > p { padding: 1.1rem .4rem .4rem .2rem; color: var(--ink-2); flex: 1 1 auto; }
.timeline__media {
  flex: none; width: clamp(120px, 22vw, 260px); margin: 1rem .2rem .4rem 0;
  background: #FFFDF7; padding: 8px 8px 4px; border-radius: 8px;
  box-shadow: var(--sh-2); transform: rotate(-1.6deg);
}
.timeline__media img { width: 100%; border-radius: 4px; aspect-ratio: 1/1; object-fit: cover; }
.timeline__media figcaption {
  font-family: var(--font-hand); font-size: 1.02rem;
  color: var(--ink-3); text-align: center; padding: .3rem .2rem .1rem;
}

@media (max-width: 720px) {
  .timeline__btn { flex-wrap: wrap; gap: .2rem .8rem; padding: .8rem .9rem; }
  .timeline__year { min-width: 0; width: 100%; }
  .timeline__inner { flex-direction: column-reverse; }
  .timeline__media { width: min(220px, 62%); align-self: center; }
  .timeline__inner > p { padding: .6rem .2rem .3rem; }
}

/* ---------------------------------------------------------------- 09 */
.section--cream {
  background:
    radial-gradient(50% 40% at 88% 4%, rgba(255,220,198,.55), transparent 62%),
    linear-gradient(180deg, var(--cream) 0%, #FFFBF1 48%, var(--cream-2) 100%);
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.2vw, 1.8rem);
}
.gcard--wide    { grid-column: span 7; }
.gcard--tall    { grid-column: span 5; }
.gcard--feature { grid-column: span 12; }

.gcard__fig { position: relative; margin: 0; height: 100%; }
.gcard__fig {
  display: flex; flex-direction: column;
  background: #FFFDF7;
  border: 1.5px solid rgba(69,33,95,.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sh-2);
  transition: transform .3s cubic-bezier(.22,.7,.3,1), box-shadow .3s ease;
}
.gcard__fig:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.gcard__media { overflow: hidden; background: var(--cream-3); }
.gcard__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .55s cubic-bezier(.22,.7,.3,1);
}
.gcard--wide .gcard__media img    { aspect-ratio: 4 / 3; }
.gcard--feature .gcard__media img { aspect-ratio: 21 / 9; object-position: 50% 42%; }
.gcard__fig:hover .gcard__media img { transform: scale(1.055); }

.chapter-tag {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  padding: .35rem .75rem;
  font-family: var(--font-cond); font-weight: 700;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: #FFF8EA;
  background: var(--ch1);
  border: 2px solid rgba(255,253,247,.9);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(35,24,47,.28);
}
.chapter-tag--01 { background: var(--ch1); }
.chapter-tag--02 { background: var(--ch2); }
.chapter-tag--03 { background: var(--ch3); }
.chapter-tag--04 { background: var(--ch4); }
.chapter-tag--05 { background: var(--ch5); }

.gcard__body { padding: 1.05rem 1.15rem 1.3rem; }
.gcard__title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem);
  color: var(--purple); margin-bottom: .35rem;
}
.gcard__desc { font-size: .95rem; color: var(--ink-2); margin: 0; }

@media (max-width: 860px) {
  .gcard--wide, .gcard--tall { grid-column: span 6; }
  .gcard--wide .gcard__media img { aspect-ratio: 1 / 1; }
  .gcard--feature .gcard__media img { aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  .gcard--wide, .gcard--tall, .gcard--feature { grid-column: span 12; }
  .gcard--feature .gcard__media img { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------- 10 */
.section--board {
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(231,222,247,.75), transparent 62%),
    radial-gradient(55% 45% at 84% 82%, rgba(210,240,227,.7), transparent 60%),
    linear-gradient(160deg, #FBF0DC 0%, #F6E7CF 100%);
}
.section--board::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(69,33,95,.16) 1px, transparent 1.4px);
  background-size: 14px 14px; opacity: .5;
}

.board {
  display: flex; justify-content: center; align-items: flex-start;
  padding: clamp(1.6rem, 3vw, 2.6rem) 0 clamp(3.2rem, 5vw, 4.4rem);
}
.polaroid {
  position: relative; margin: 0;
  flex: 0 0 clamp(180px, 20vw, 258px);
  padding: 12px 12px 0;
  background: linear-gradient(175deg, #FFFEFA, #F8F0E1);
  border-radius: 4px;
  box-shadow: var(--sh-photo);
  transform: rotate(var(--rot, 0deg));
  transition: transform .34s cubic-bezier(.22,.7,.3,1), box-shadow .34s ease;
  cursor: pointer;
}
.polaroid + .polaroid { margin-left: clamp(-58px, -3.4vw, -26px); }
.polaroid:nth-child(odd)  { margin-top: clamp(10px, 1.6vw, 24px); }
.polaroid:nth-child(even) { margin-top: 0; }
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--cream-3); }
.polaroid__cap {
  font-family: var(--font-hand);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem);
  color: #3E2F4E; text-align: center;
  padding: .5rem .3rem .75rem;
}
.polaroid:hover, .polaroid:focus-visible, .polaroid.is-lifted {
  transform: rotate(0deg) translateY(-14px) scale(1.05);
  box-shadow: 0 2px 3px rgba(35,24,47,.16), 0 26px 48px rgba(35,24,47,.3);
  z-index: 20;
}
.polaroid:focus-visible { outline-offset: 6px; }

.note {
  position: absolute; bottom: -22px; right: -14px; z-index: 8;
  max-width: 150px;
  padding: .38rem .6rem;
  font-family: var(--font-hand); font-size: 1rem; line-height: 1.15;
  color: #4A3A22;
  background: #FFF6CF;
  border: 1px solid rgba(169,118,42,.28);
  box-shadow: 0 4px 10px rgba(35,24,47,.18);
  transform: rotate(5deg);
}
.polaroid:nth-child(even) .note { right: auto; left: -14px; transform: rotate(-6deg); background: #E9F7EF; }

/* pins & tape */
.pin { position: absolute; z-index: 9; }
.pin--tape {
  top: -13px; left: 50%; width: 76px; height: 26px;
  transform: translateX(-50%) rotate(-4deg);
  background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,.2)), rgba(244,229,199,.85);
  border-left: 1px dashed rgba(35,24,47,.12); border-right: 1px dashed rgba(35,24,47,.12);
  box-shadow: 0 2px 5px rgba(35,24,47,.16);
}
.pin--push {
  top: -9px; left: 50%; width: 20px; height: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FF9CAE, #D2405E 62%, #98213A);
  box-shadow: 0 3px 7px rgba(35,24,47,.35), inset 0 -2px 3px rgba(0,0,0,.25);
}
.pin--clip {
  top: -16px; left: 26%; width: 16px; height: 42px;
  border: 3px solid #A8AEB8; border-radius: 9px;
  background: transparent;
  box-shadow: 0 2px 5px rgba(35,24,47,.28);
  transform: rotate(9deg);
}

@media (max-width: 900px) {
  .board {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: min(70%, 300px);
    gap: clamp(1rem, 4vw, 1.6rem);
    justify-content: start;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding: 2.2rem var(--gutter) 3.4rem;
    margin-inline: calc(var(--gutter) * -1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .polaroid { flex: none; scroll-snap-align: center; }
  .polaroid + .polaroid { margin-left: 0; }
  .polaroid:nth-child(odd) { margin-top: 0; }
  .note { position: static; display: block; max-width: none; margin: 0 0 .7rem; text-align: center; transform: rotate(-1.5deg); }
  .polaroid:nth-child(even) .note { transform: rotate(1.5deg); }
}

/* ---------------------------------------------------------------- 11 */
.marquee {
  position: relative; overflow: hidden;
  padding: clamp(.85rem, 1.8vw, 1.3rem) 0;
  background: linear-gradient(100deg, #2E1442 0%, #45215F 34%, #6C2FA0 68%, #2E1442 100%);
  border-block: 3px solid rgba(210,164,78,.5);
}
.marquee::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,241,149,.18), rgba(0,209,255,.12) 45%, rgba(153,69,255,.2));
  mix-blend-mode: screen; pointer-events: none;
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee__row {
  margin: 0; white-space: nowrap;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1rem, .85rem + .9vw, 1.7rem);
  letter-spacing: .05em;
  color: #FFF6E4;
}
.marquee__row b { color: var(--sol-green); padding-inline: .5em; font-weight: 400; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------------------------------------------------------------- 12 */
.section--stage {
  color: #F3EAFB;
  background:
    radial-gradient(50% 42% at 18% 0%, rgba(153,69,255,.42), transparent 62%),
    radial-gradient(46% 40% at 84% 8%, rgba(0,209,255,.22), transparent 60%),
    radial-gradient(60% 50% at 50% 108%, rgba(20,241,149,.16), transparent 62%),
    linear-gradient(165deg, #2B1240 0%, #3B1B57 48%, #221033 100%);
}
.section--stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.22) 1px, transparent 1.3px);
  background-size: 22px 22px; opacity: .18;
}

.cards {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 258px), 1fr));
}
.acard {
  padding: 1.5rem 1.4rem;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: transform .28s cubic-bezier(.22,.7,.3,1), background-color .28s ease, border-color .28s ease;
}
.acard:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); border-color: rgba(20,241,149,.45); }
.acard__ico {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: .9rem;
  border-radius: 16px;
  color: #1A0F26;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}
.acard__ico .ico { width: 1.65rem; height: 1.65rem; }
.acard__ico--cyan   { background: linear-gradient(140deg, #7FE9FF, #00D1FF); }
.acard__ico--violet { background: linear-gradient(140deg, #C89CFF, #9945FF); color: #FFF6E4; }
.acard__ico--gold   { background: linear-gradient(140deg, #F6DFA6, #D2A44E); }
.acard__ico--peach  { background: linear-gradient(140deg, #FFD9C2, #FF9E6B); }
.acard__ico--green  { background: linear-gradient(140deg, #9BF7D2, #14F195); }
.acard__ico--lav    { background: linear-gradient(140deg, #EFE7FF, #C6B2EC); }
.acard__title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.24rem; color: #FFF6E4; }
.acard p { color: #DCCFEC; font-size: .95rem; margin: 0; }

/* ---------------------------------------------------------------- 13 */
.section--wool {
  background:
    radial-gradient(46% 44% at 82% 12%, rgba(231,222,247,.9), transparent 62%),
    linear-gradient(170deg, #FFFBF0 0%, #F6EFFB 55%, #FBF3E4 100%);
}
.section--wool::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.9) 6px, transparent 7px),
    radial-gradient(circle at 50% 50%, rgba(199,183,229,.35) 5px, transparent 6px);
  background-size: 34px 34px, 34px 34px;
  background-position: 0 0, 17px 17px;
}

.lamby { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.lamby__copy .section__title { color: var(--purple-2); }
.wool-list { display: grid; gap: .55rem; margin-top: 1.4rem; }
.wool-list li {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .95rem;
  background: rgba(255,255,255,.78);
  border: 1.5px solid rgba(124,64,172,.16);
  border-radius: 999px;
  font-family: var(--font-cond); font-weight: 500;
  letter-spacing: .04em; color: var(--ink-2);
  width: fit-content; max-width: 100%;
  box-shadow: var(--sh-1);
}
.wool-list .ico { color: var(--purple-3); }

.lamby__photo {
  position: relative; margin: 0;
  padding: 14px 14px 0;
  background: #FFFDF7;
  border-radius: 6px;
  box-shadow: var(--sh-photo);
  transform: rotate(2deg);
}
.lamby__photo img { width: 100%; border-radius: 3px; }
.lamby__photo figcaption {
  font-family: var(--font-hand); font-size: 1.25rem;
  text-align: center; color: var(--ink-3); padding: .55rem .3rem .8rem;
}
.sheep-sticker {
  position: absolute; right: -18px; bottom: 34px;
  display: grid; place-items: center;
  width: 66px; height: 66px;
  color: #4B3A6B;
  background: radial-gradient(circle at 36% 30%, #FFFFFF, #EDE6FA);
  border-radius: 50%;
  box-shadow: 0 0 0 5px #FFFBF2, 0 0 0 6.5px rgba(35,24,47,.1), 0 10px 20px rgba(35,24,47,.2);
  transform: rotate(-10deg);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.sheep-sticker .ico { width: 2rem; height: 2rem; }
.lamby__photo:hover .sheep-sticker { transform: rotate(6deg) scale(1.08); }

@media (max-width: 820px) {
  .lamby { grid-template-columns: 1fr; }
  .lamby__photo { max-width: 420px; margin-inline: auto; }
}

/* ---------------------------------------------------------------- 14 */
.section--kind {
  background:
    radial-gradient(48% 44% at 10% 6%, rgba(214,236,248,.95), transparent 62%),
    radial-gradient(46% 42% at 92% 84%, rgba(255,220,198,.8), transparent 62%),
    linear-gradient(170deg, #F2FBF7 0%, #FFFBF2 52%, #FFF3E9 100%);
}
.kind { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.kind__photo {
  margin: 0; padding: 14px 14px 0;
  background: #FFFDF7; border-radius: 6px;
  box-shadow: var(--sh-photo); transform: rotate(-2deg);
}
.kind__photo img { width: 100%; border-radius: 3px; }
.kind__photo figcaption {
  font-family: var(--font-hand); font-size: 1.25rem;
  text-align: center; color: var(--ink-3); padding: .55rem .3rem .8rem;
}
.kind__copy .section__title { color: var(--mint-deep); }

.kind__strip { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0 1.4rem; }
.kind__strip img {
  width: clamp(120px, 20vw, 180px); aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 10px; border: 5px solid #FFFDF7;
  box-shadow: var(--sh-2);
  transform: rotate(-1.5deg);
  transition: transform .3s ease;
}
.kind__strip img:nth-child(2) { transform: rotate(2deg); }
.kind__strip img:hover { transform: rotate(0) scale(1.04); }
.kind__strip figcaption {
  flex: 1 1 100%;
  font-family: var(--font-hand); font-size: 1.15rem; color: var(--ink-3);
}

.disclosure {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .85rem 1.05rem;
  background: rgba(255,255,255,.72);
  border: 1.5px dashed rgba(44,122,98,.45);
  border-radius: 14px;
  font-size: .88rem; color: #2F4A42;
}
.disclosure .ico { color: var(--mint-deep); margin-top: .2em; }

@media (max-width: 860px) {
  .kind { grid-template-columns: 1fr; }
  .kind__photo { max-width: 440px; margin-inline: auto; }
}

/* ---------------------------------------------------------------- 15 */
.section--album {
  background:
    radial-gradient(52% 44% at 86% 6%, rgba(246,231,207,.9), transparent 62%),
    linear-gradient(175deg, var(--cream) 0%, #FBF2DF 60%, #F5E8CE 100%);
}
.album {
  display: grid; gap: clamp(1rem, 2.2vw, 1.7rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
}
.album__card {
  position: relative;
  padding: 1.9rem 1.35rem 1.5rem;
  background: #FFFDF7;
  border: 1.5px solid rgba(169,118,42,.24);
  border-radius: 6px;
  box-shadow: var(--sh-2);
  transform: rotate(var(--card-rot, -1deg));
  transition: transform .3s cubic-bezier(.22,.7,.3,1), box-shadow .3s ease;
}
.album__card:nth-child(2) { --card-rot: 1.4deg; }
.album__card:nth-child(3) { --card-rot: -1.6deg; }
.album__card:nth-child(4) { --card-rot: 1deg; }
.album__card:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--sh-3); }
.album__tape {
  position: absolute; top: -12px; left: 50%; width: 84px; height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,.2)), rgba(210,240,227,.75);
  box-shadow: 0 2px 5px rgba(35,24,47,.14);
}
.album__ico {
  display: grid; place-items: center; width: 46px; height: 46px;
  margin-bottom: .8rem; border-radius: 14px;
  color: #FFF6E4; background: linear-gradient(140deg, var(--purple-3), var(--purple));
}
.album__card--dory  .album__ico { background: linear-gradient(140deg, #FFC7A4, #E07A44); }
.album__card--penny .album__ico { background: linear-gradient(140deg, #F7B7C6, #C4506E); }
.album__card--millie .album__ico{ background: linear-gradient(140deg, #A9E0C8, #2C7A62); }
.album__ico .ico { width: 1.4rem; height: 1.4rem; }
.album__name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; color: var(--purple); margin-bottom: .12rem; }
.album__role {
  font-family: var(--font-cond); font-weight: 600; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem;
}
.album__card p:last-child { font-size: .93rem; color: var(--ink-2); margin: 0; }

.album__strip {
  position: relative; margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.7rem, 1.6vw, 1.2rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2.4vw, 1.8rem) 1.4rem;
  background: rgba(255,255,255,.5);
  border: 1.5px dashed rgba(169,118,42,.4);
  border-radius: var(--radius);
}
.album__strip img {
  width: clamp(104px, 15vw, 186px); aspect-ratio: 3 / 4; object-fit: cover;
  border: 5px solid #FFFDF7; border-radius: 4px;
  box-shadow: var(--sh-2);
  transform: rotate(var(--r, -2deg));
  transition: transform .3s cubic-bezier(.22,.7,.3,1), box-shadow .3s ease;
}
.album__strip img:nth-child(3) { --r: 2.4deg; }
.album__strip img:nth-child(4) { --r: -1.2deg; }
.album__strip img:nth-child(5) { --r: 2deg; }
.album__strip img:nth-child(6) { --r: -2.6deg; }
.album__strip img:hover { transform: rotate(0) translateY(-6px) scale(1.03); box-shadow: var(--sh-3); }
.album__strip figcaption {
  flex: 1 1 100%; text-align: center;
  font-family: var(--font-hand); font-size: 1.2rem; color: var(--ink-3); margin-top: .4rem;
}
.album__tape--long { width: 130px; top: -13px; }

.album__closing {
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  max-width: 22ch; text-align: center;
  font-size: clamp(1.4rem, 1rem + 2vw, 2.5rem);
  color: var(--purple);
}

/* ---------------------------------------------------------------- 16 */
.section--chart {
  color: #EDE4F7;
  background:
    radial-gradient(45% 40% at 12% 4%, rgba(20,241,149,.18), transparent 62%),
    radial-gradient(50% 44% at 88% 96%, rgba(153,69,255,.3), transparent 62%),
    linear-gradient(170deg, #150C22 0%, #201135 52%, #120A1E 100%);
}
.chart-shell {
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.chart-shell__bar {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  padding: .85rem 1.15rem;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.chart-shell__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sol-green); box-shadow: 0 0 0 4px rgba(20,241,149,.2);
}
.chart-shell__name {
  font-family: var(--font-cond); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; font-size: .88rem; color: #FFF6E4;
}
.chart-shell__out {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-cond); font-size: .84rem;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--sol-green); text-decoration: none;
}
.chart-shell__out:hover { color: #7FFFCB; text-decoration: underline; }

.chart-shell__frame { position: relative; min-height: clamp(360px, 56vh, 620px); background: #0E0818; }
.chart-shell__frame iframe { width: 100%; height: clamp(360px, 56vh, 620px); border: 0; }
.chart-state {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 2rem 1.5rem; text-align: center;
  color: #D8CBEA;
}
.chart-state[hidden] { display: none; }
.chart-state .ico--xl { color: rgba(20,241,149,.7); }
.chart-state__msg { max-width: 42ch; font-size: 1.02rem; margin: 0; }
.spinner {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.16);
  border-top-color: var(--sol-green);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- 17 */
.section--buy {
  background:
    radial-gradient(50% 44% at 88% 8%, rgba(210,240,227,.85), transparent 62%),
    linear-gradient(175deg, #FFFBF1 0%, #F1F9F4 55%, var(--cream) 100%);
}
.steps {
  display: grid; gap: clamp(1rem, 2.2vw, 1.7rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.7rem 1.4rem 1.5rem;
  background: #FFFDF7;
  border: 2px solid rgba(69,33,95,.12);
  border-radius: var(--radius);
  box-shadow: var(--sh-2);
  transition: transform .28s cubic-bezier(.22,.7,.3,1), border-color .28s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(20,241,149,.6); }
.step__num {
  position: absolute; top: .8rem; right: 1rem;
  font-size: 2.6rem; line-height: 1;
  color: rgba(69,33,95,.1);
}
.step__ico {
  display: grid; place-items: center; width: 50px; height: 50px;
  margin-bottom: .9rem; border-radius: 15px;
  color: #10231C;
  background: linear-gradient(140deg, rgba(20,241,149,.9), rgba(0,209,255,.75));
  box-shadow: 0 8px 16px rgba(20,241,149,.28);
}
.step__ico .ico { width: 1.55rem; height: 1.55rem; }
.step__title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; color: var(--purple); }
.step p { font-size: .95rem; color: var(--ink-2); margin: 0; }

.buy-cta { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.buy-cta__note { margin: 1rem auto 0; max-width: 48ch; font-size: .88rem; color: var(--ink-3); }

/* ---------------------------------------------------------------- 18 */
.section--values {
  background:
    radial-gradient(50% 40% at 10% 4%, rgba(231,222,247,.8), transparent 60%),
    linear-gradient(175deg, var(--cream) 0%, #FFFBF1 100%);
}
.chips { display: flex; flex-wrap: wrap; gap: clamp(.6rem, 1.4vw, 1rem); }
.vchip {
  --c: var(--purple);
  --c-bg: #FFFDF7;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.4rem;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(.95rem, .88rem + .4vw, 1.28rem);
  letter-spacing: .04em;
  color: var(--c);
  background: var(--c-bg);
  border: 3px solid var(--c);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--c), 0 8px 18px rgba(35,24,47,.14);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
  cursor: default;
}
.vchip .ico { width: 1.25rem; height: 1.25rem; }
.vchip:hover, .vchip:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 6px 0 var(--c), 0 16px 28px rgba(35,24,47,.2);
}
.vchip--1 { --c: #A9762A; --c-bg: #FFF7E6; }
.vchip--2 { --c: #C7562E; --c-bg: #FFF0E6; }
.vchip--3 { --c: #B33A63; --c-bg: #FFEDF2; }
.vchip--4 { --c: #2C7A62; --c-bg: #EAF9F2; }
.vchip--5 { --c: #2C6FA8; --c-bg: #E9F3FB; }
.vchip--6 { --c: #6B3FA0; --c-bg: #F2ECFB; }
.vchip--7 { --c: #8A5A12; --c-bg: #FBF3E0; }
.vchip--8 { --c: #4A2570; --c-bg: linear-gradient(120deg, rgba(20,241,149,.22), rgba(0,209,255,.16) 48%, rgba(153,69,255,.24)); }

/* ---------------------------------------------------------------- 19 */
.final {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3.6rem, 7vw, 6.5rem) 0;
  color: #F5ECFB;
  background:
    radial-gradient(50% 44% at 84% 8%, rgba(153,69,255,.42), transparent 62%),
    radial-gradient(46% 40% at 8% 92%, rgba(20,241,149,.2), transparent 60%),
    linear-gradient(165deg, #2E1442 0%, #4A2570 46%, #1E0F2E 100%);
}
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .08;
}
.final__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }
.final__photo {
  position: relative; margin: 0;
  padding: 14px 14px 0;
  background: #FFFDF7; border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0,0,0,.3), 0 26px 60px rgba(0,0,0,.42);
  transform: rotate(-2.5deg);
}
.final__photo img { width: 100%; border-radius: 3px; }
.final__photo figcaption {
  font-family: var(--font-hand); font-size: 1.3rem;
  text-align: center; color: #5A4A66; padding: .55rem .3rem .8rem;
}
.final__title { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.1rem); color: #FFF6E4; }
.final__lede { font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem); color: #E3D6F1; max-width: 52ch; }
.final__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.5rem; }
.final .btn--primary {
  --btn-bg: linear-gradient(135deg, #F6DFA6 0%, #D2A44E 60%, #A9762A 100%);
  --btn-fg: #2A1640;
  --btn-bd: rgba(255,246,228,.75);
}
.final__ca {
  display: grid; gap: .45rem;
  padding: .95rem 1.1rem;
  background: rgba(0,0,0,.22);
  border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 16px;
  max-width: 40rem;
}
.final__ca-label {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-cond); font-weight: 600;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3);
}
.final__url { margin-top: .9rem; font-size: .84rem; color: #C9B8DC; word-break: break-all; }
.final__url a { color: var(--sol-green); }

@media (max-width: 900px) {
  .final__grid { grid-template-columns: 1fr; }
  .final__photo { max-width: 430px; margin-inline: auto; }
}

/* ---------------------------------------------------------------- 20 */
.site-footer {
  position: relative;
  padding: clamp(2.8rem, 5vw, 4.2rem) 0 2rem;
  color: #E6DAF2;
  background: linear-gradient(175deg, #1B0F2A 0%, #150B22 100%);
  border-top: 3px solid rgba(210,164,78,.4);
}
.foot__top {
  display: grid; gap: clamp(1.6rem, 3.4vw, 2.8rem);
  grid-template-columns: 1.25fr .8fr .9fr 1.1fr;
  padding-bottom: 2rem;
  border-bottom: 1px dashed rgba(255,255,255,.16);
}
.foot__brand { display: flex; gap: 1rem; align-items: flex-start; }
.foot__name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; color: #FFF6E4; margin: 0 0 .05rem; }
.foot__ticker { font-family: var(--font-cond); font-weight: 600; letter-spacing: .18em; color: var(--gold-3); margin: 0 0 .7rem; font-size: .86rem; }
.foot__h {
  font-family: var(--font-cond); font-weight: 600;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-3); margin: 0 0 .8rem;
}
.foot__nav ul, .foot__social ul { display: grid; gap: .45rem; }
.foot__nav a, .foot__social a {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #DCCFEC; text-decoration: none; font-size: .94rem;
}
.foot__nav a:hover, .foot__social a:hover { color: var(--sol-green); text-decoration: underline; }
.foot__buy { display: grid; gap: .6rem; align-content: start; }
.foot__buy .btn--sm { justify-self: start; }

.foot__disclaimer {
  margin: 1.6rem 0 1rem;
  font-size: .86rem; color: #B7A8C9; max-width: 82ch;
}
.foot__legal {
  display: flex; flex-wrap: wrap; gap: .3rem 1.2rem;
  font-size: .78rem; color: #8E7EA3; margin: 0;
}

@media (max-width: 980px) { .foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- 21 */
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 150;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: .55rem;
  padding: .8rem 1.3rem;
  background: linear-gradient(135deg, #14F195, #00D1FF);
  color: #0B2A1E;
  font-family: var(--font-cond); font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; font-size: .9rem;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.34,1.4,.64,1), opacity .32s ease;
  max-width: calc(100vw - 2rem); text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast.is-error { background: linear-gradient(135deg, #FFC7A4, #E07A44); color: #3A1A08; }

/* ---------------------------------------------------------------- 22 */
@media (max-width: 1060px) {
  .sticker--corner { font-size: .62rem; padding: .45rem .7rem; max-width: 40vw; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .sticker--corner { display: none; }
  .hero__sticker { display: inline-block; }
  .section__head { margin-bottom: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; transform: none; }
  .marquee { overflow-x: auto; }
  .hero__art { transform: scale(1); }
  .polaroid:hover, .polaroid:focus-visible, .polaroid.is-lifted { transform: rotate(0deg); }
  .btn:hover, .sticker:hover, .vchip:hover, .gcard__fig:hover, .acard:hover, .step:hover { transform: none; }
}

@media print {
  .site-header, .marquee, .toast, .sticker, .sol-ghost, .chart-shell__frame { display: none !important; }
  body { background: #fff; color: #000; }
}
