/* ============================================================
   SunglassCat — $BAGEL on Solana
   Editorial scrapbook design system
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --ivory:      #FFF8ED;
  --ivory-deep: #F6EBD8;
  --ink:        #171717;
  --ink-soft:   #3E3A34;
  --ink-mute:   #6B6459;

  --red:        #E83B46;
  --lavender:   #A970FF;
  --sol-purple: #9945FF;
  --sol-green:  #14F195;
  --turquoise:  #35D9D0;
  --coral:      #FF7565;
  --gold:       #D8AF55;

  --paper:      #FFFCF6;
  --champagne:  #FBF1DC;

  --sol-gradient: linear-gradient(100deg, var(--sol-purple) 0%, #7B5BFF 48%, var(--sol-green) 100%);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hand:    "Caveat", "Segoe Script", cursive;

  /* Space & shape */
  --shell:     1180px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --border: 2.5px solid var(--ink);
  --shadow-paper: 0 2px 0 rgba(23,23,23,.14), 0 14px 28px -14px rgba(23,23,23,.42);
  --shadow-lift:  0 4px 0 rgba(23,23,23,.16), 0 26px 46px -18px rgba(23,23,23,.46);
  --shadow-hard:  4px 5px 0 var(--ink);

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

  /* Paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

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

/* Global paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: .05;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 9999;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.028em;
  margin: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10000;
  background: var(--ink);
  color: var(--ivory);
  padding: .75rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

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

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

/* ---------- Layout ---------- */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }

/* ---------- Solana mark ---------- */
.sol-mark {
  width: 1.05em;
  height: .82em;
  flex: none;
  display: inline-block;
  vertical-align: -.06em;
}
.sol-mark.sm { width: .85em; height: .66em; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.5rem;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translate(-2px, -2px); box-shadow: 6px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px);  box-shadow: 1px 1px 0 var(--ink); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.06rem; }
.btn-xl { padding: 1.15rem 2.4rem; font-size: 1.18rem; }

.btn-buy {
  --btn-bg: var(--ink);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-buy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sol-gradient);
  opacity: 0;
  transition: opacity .22s var(--ease);
}
.btn-buy:hover::before { opacity: 1; }
.btn-buy:hover { color: var(--ink); }

.btn-ghost { --btn-bg: var(--paper); }
.btn-ghost:hover { --btn-bg: var(--sol-green); }

/* Icons sitting inside buttons */
.btn-ico, .btn-chart svg { width: 1.1em; height: 1.1em; flex: none; }

/* Chart button on the dark token lockup */
.btn-chart {
  --btn-bg: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
  box-shadow: 4px 5px 0 var(--turquoise);
}
.btn-chart:hover {
  --btn-bg: var(--ivory);
  color: var(--ink);
  box-shadow: 6px 7px 0 var(--turquoise);
}

/* Shimmer for gradient badges */
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 45%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
  transform: rotate(18deg);
  animation: sweep 4.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%, 62%  { left: -60%; }
  100%     { left: 130%; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .68s var(--ease), transform .68s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 248, 237, .82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 2.5px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--ink);
  box-shadow: 0 10px 26px -20px rgba(23,23,23,.7);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex: none;
}
.brand-badge {
  display: block; /* span would stay inline outside the flex nav and ignore sizing */
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  overflow: hidden;
  flex: none;
  background: var(--paper);
  box-shadow: 2px 3px 0 var(--ink);
}
.brand-badge img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: -.035em;
}
.brand-sub {
  font-family: var(--font-hand);
  font-size: .95rem;
  color: var(--ink-mute);
}

.nav-links { margin-left: auto; }
.nav-links ul { display: flex; align-items: center; gap: .3rem; }
.nav-links a {
  display: block;
  padding: .5rem .8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav-links a:hover { background: var(--champagne); color: var(--ink); }
.nav-links a.is-active { background: var(--ink); color: var(--ivory); }

.nav-actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .85rem;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .86rem;
  letter-spacing: .01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
  box-shadow: 2px 3px 0 var(--ink);
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(80% 60% at 12% 0%, rgba(169,112,255,.16), transparent 62%),
    radial-gradient(70% 55% at 92% 12%, rgba(53,217,208,.18), transparent 60%),
    radial-gradient(60% 50% at 60% 100%, rgba(255,117,101,.12), transparent 65%);
}

.hero-banner-wrap { padding-top: clamp(1.5rem, 3vw, 2.6rem); }

.hero-banner {
  position: relative;
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-lift);
  transform: rotate(-.5deg);
}
.hero-banner img { width: 100%; }

/* Tape strips */
.tape {
  position: absolute;
  width: 108px;
  height: 30px;
  background: rgba(216, 175, 85, .42);
  border: 1px solid rgba(23,23,23,.14);
  box-shadow: 0 2px 6px rgba(23,23,23,.16);
  z-index: 4;
  backdrop-filter: blur(1px);
}
.tape-tl { top: -13px; left: 6%;  transform: rotate(-6deg); }
.tape-tr { top: -13px; right: 6%; transform: rotate(5deg); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .38rem .9rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  font-weight: 900;
  margin-bottom: 1.15rem;
}
.hero h1 em {
  font-style: normal;
  background: var(--sol-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1.06rem, .98rem + .5vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 0 2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.75rem; }

.hand { font-family: var(--font-hand); }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.42rem;
  color: var(--red);
  margin: 0;
  transform: rotate(-1.6deg);
}
.arrow { width: 46px; height: 30px; flex: none; }

/* Hero side cluster */
.hero-side { position: relative; display: flex; justify-content: center; }

.hero-polaroid { width: min(100%, 340px); transform: rotate(2.6deg); }

.sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 3px 4px 0 var(--ink);
  z-index: 5;
}
.sticker-solana {
  top: -14px;
  left: -12px;
  background: var(--sol-gradient);
  color: var(--ink);
  transform: rotate(-7deg);
}
.sticker-corner {
  bottom: 6px;
  right: -10px;
  background: var(--red);
  color: var(--ivory);
  transform: rotate(5deg);
  font-size: .72rem;
}

/* Sparkles */
.sparkle {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 6;
  background: var(--sol-green);
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  animation: twinkle 3.4s var(--ease) infinite;
}
.sparkle.s1 { top: 12%;  right: -14px; background: var(--gold);      animation-delay: .0s; }
.sparkle.s2 { top: 48%;  left: -18px;  background: var(--turquoise); animation-delay: 1.1s; width: 22px; height: 22px; }
.sparkle.s3 { bottom: 18%; right: 8%;  background: var(--lavender);  animation-delay: 2.2s; width: 13px; height: 13px; }

@keyframes twinkle {
  0%, 100% { transform: scale(.55) rotate(0deg);   opacity: .35; }
  50%      { transform: scale(1.15) rotate(90deg); opacity: 1; }
}

/* ---------- Polaroid (shared) ---------- */
.polaroid {
  position: relative;
  background: var(--paper);
  border: var(--border);
  border-radius: 8px;
  padding: 12px 12px 0;
  box-shadow: var(--shadow-paper);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.polaroid-photo {
  border: 2px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ivory-deep);
  aspect-ratio: 1 / 1;
}
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid-cap {
  padding: .6rem .2rem .85rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: -.01em;
}
.polaroid-cap .hand {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--ink-mute);
}

.pin {
  position: absolute;
  top: -11px;
  left: 50%;
  translate: -50% 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ff8f88, var(--red) 62%, #a71f28);
  border: 2px solid var(--ink);
  box-shadow: 0 4px 7px rgba(23,23,23,.4);
  z-index: 6;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-band {
  border-block: var(--border);
  background: var(--ink);
  color: var(--ivory);
  padding: .95rem 0;
  overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.2rem;
  animation: scroll-x 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(.95rem, .88rem + .35vw, 1.22rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-sep { width: 1.35em; height: 1.35em; flex: none; }
.marquee-sep.sol { width: 1.5em; height: 1.15em; }
.m-green { color: var(--sol-green); }
.m-turq  { color: var(--turquoise); }
.m-gold  { color: var(--gold); }
.m-coral { color: var(--coral); }
.m-lav   { color: var(--lavender); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-label::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--sol-gradient);
}

.section-title {
  font-size: clamp(2.05rem, 1.5rem + 2.6vw, 3.5rem);
  margin-bottom: 2.4rem;
  max-width: 20ch;
}

/* ============================================================
   TORN DIVIDER
   ============================================================ */
.torn-divider {
  position: relative;
  height: 46px;
  background: var(--ivory-deep);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 12c40 6 70-8 112-3s58 14 96 10 62-16 104-12 66 17 108 14 58-15 100-13 68 15 110 12 60-14 102-11 64 16 106 13 58-13 100-10 66 14 108 11 62-12 104-9v40H0z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 12c40 6 70-8 112-3s58 14 96 10 62-16 104-12 66 17 108 14 58-15 100-13 68 15 110 12 60-14 102-11 64 16 106 13 58-13 100-10 66 14 108 11 62-12 104-9v40H0z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  display: grid;
  place-items: center;
}
.torn-divider.flip { transform: scaleY(-1); }
.divider-mark { width: 34px; height: 26px; opacity: .85; }
.torn-divider.flip .divider-mark { transform: scaleY(-1); }

/* ============================================================
   STORY
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.8rem);
  align-items: start;
}

.story-photo {
  position: relative;
  border: var(--border);
  border-radius: var(--radius);
  overflow: visible;
  background: var(--paper);
  padding: 14px 14px 0;
  box-shadow: var(--shadow-lift);
  transform: rotate(-1.4deg);
}
.story-photo img { border: 2px solid var(--ink); border-radius: 8px; }
.story-photo figcaption {
  padding: .8rem .3rem 1rem;
  font-family: var(--font-hand);
  font-size: 1.24rem;
  color: var(--ink-mute);
  text-align: center;
}

.story-copy p { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 1.3rem; }
.story-copy strong { color: var(--ink); font-weight: 700; }

.side-note {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: .5rem;
  padding: .7rem 1.15rem;
  background: var(--champagne);
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  font-size: 1.35rem;
  color: var(--ink-soft);
  transform: rotate(-1.2deg);
}
.side-note .arrow { color: var(--gold); }

.fact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: clamp(2.5rem, 5vw, 3.6rem);
}
.fact-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.15rem 1.25rem;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fact-card:hover { transform: translate(-2px,-2px); box-shadow: 6px 7px 0 var(--ink); }
.fact-icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
}
.fact-icon svg { width: 21px; height: 21px; }

/* ============================================================
   POLAROID BOARD
   ============================================================ */
.board { background: var(--ivory-deep); }

.board-frame {
  position: relative;
  padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1.2rem, 3vw, 2.6rem) clamp(3rem, 5vw, 4rem);
  border: var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(255,252,246,.9), rgba(255,252,246,.9)),
    repeating-linear-gradient(45deg, rgba(216,175,85,.14) 0 12px, transparent 12px 24px);
  box-shadow: var(--shadow-lift);
}

.polaroid-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: start;
}
.board-card { position: relative; }
.board-card .polaroid { transform: rotate(var(--rot, 0deg)); }
.board-card:hover .polaroid,
.board-card:focus-within .polaroid {
  transform: rotate(calc(var(--rot, 0deg) * .25)) translateY(-12px);
  box-shadow: var(--shadow-lift);
  z-index: 20;
}
.board-card:nth-child(even) { margin-top: 2.2rem; }
.board-card:nth-child(3)    { margin-top: 0; }

.board-sticker {
  position: absolute;
  top: -12px;
  right: -10px;
  width: 30px;
  height: 30px;
  z-index: 7;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--paper);
  box-shadow: 2px 3px 0 var(--ink);
}
.board-sticker svg { width: 15px; height: 15px; }

.board-badge {
  position: absolute;
  right: clamp(1rem, 3vw, 2.4rem);
  bottom: -22px;
  max-width: 260px;
  padding: .85rem 1.35rem;
  background: var(--turquoise);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 6px 0 var(--ink);
  transform: rotate(-3deg);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .92rem;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-transform: uppercase;
  z-index: 10;
}

.board-sol {
  position: absolute;
  top: -16px;
  left: clamp(1rem, 3vw, 2.4rem);
  width: 54px;
  height: 42px;
  padding: 8px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 4px 0 var(--ink);
  transform: rotate(-8deg);
  box-sizing: content-box;
}

/* ============================================================
   NARRATIVE GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.gcard {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.gcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }

/* Editorial rhythm: wide, wide, narrow ×3 */
.gcard:nth-child(1) { grid-column: span 3; }
.gcard:nth-child(2) { grid-column: span 3; }

.gcard-media {
  position: relative;
  border-bottom: 2.5px solid var(--ink);
  background: var(--ivory-deep);
  overflow: hidden;
}
.gcard-media img { width: 100%; }

.gcard-num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.02rem;
  box-shadow: 2px 3px 0 var(--ink);
  z-index: 3;
}

.gcard-bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .72rem 1.15rem;
  border-bottom: 2.5px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gcard-bar svg { width: 17px; height: 17px; }

.gcard-body { padding: 1.2rem 1.35rem 1.5rem; }
.gcard-body h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.gcard-body p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ============================================================
   MISSION
   ============================================================ */
.mission {
  background:
    linear-gradient(rgba(255,252,246,.5), rgba(255,252,246,.5)),
    linear-gradient(155deg, var(--lavender) 0%, #C3A6FF 42%, var(--turquoise) 100%);
  border-block: var(--border);
  text-align: center;
}
.mission .section-label { justify-content: center; color: var(--ink-soft); }
.mission .section-title { margin-inline: auto; }

.slogan {
  position: relative;
  max-width: 20ch;
  margin: 0 auto 2.2rem;
  padding: 1.6rem 1.8rem;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  transform: rotate(-1.1deg);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -.03em;
}
.quote-mark {
  position: absolute;
  top: -.35em;
  left: .16em;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--coral);
}

.mission-copy {
  max-width: 62ch;
  margin: 0 auto 3rem;
  color: var(--ink-soft);
}
.mission-copy p { margin: 0 0 1.1rem; }

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  text-align: left;
}
.mcard {
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.mcard:hover { transform: translate(-3px,-3px); box-shadow: 7px 8px 0 var(--ink); }
.mcard-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
}
.mcard-icon svg { width: 24px; height: 24px; }
.mcard h3 { font-size: 1.24rem; margin-bottom: .5rem; }
.mcard p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ============================================================
   FASHION & TRAVEL
   ============================================================ */
.fashion { background: var(--champagne); }

.fashion-lede {
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: -1rem 0 2.6rem;
}

.fashion-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: start;
}

.fashion-main {
  position: relative;
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-lift);
}
.fashion-main img { width: 100%; }
.fashion-main figcaption,
.fashion-side figcaption {
  padding: .85rem 1.15rem;
  border-top: 2.5px solid var(--ink);
  font-family: var(--font-hand);
  font-size: 1.22rem;
  color: var(--ink-soft);
}

.fashion-side { display: grid; gap: clamp(1.2rem, 3vw, 2.2rem); }
.fashion-side figure {
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-paper);
  transition: transform .25s var(--ease);
}
.fashion-side figure:hover { transform: translateY(-6px); }

.stamp {
  display: inline-block;
  padding: .5rem 1.05rem;
  border: 2.5px dashed var(--ink);
  border-radius: 8px;
  background: rgba(255,252,246,.9);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  color: var(--ink-soft);
}
.stamp-paris {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  color: var(--red);
  border-color: var(--red);
  transform: rotate(9deg);
}
.stamp-gold { background: var(--gold); color: var(--ink); border-style: solid; }

.stamp-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.4rem;
}
.stamp-row .stamp:nth-child(2) { transform: rotate(3deg); }
.stamp-row .stamp:nth-child(3) { transform: rotate(-2deg); }
.stamp-row .stamp:nth-child(4) { transform: rotate(2.5deg); }

.stamp-foot {
  margin: 1.4rem 0 0;
  font-size: .88rem;
  color: var(--ink-mute);
  font-style: italic;
}

/* ============================================================
   MEMECOIN
   ============================================================ */
.coin { text-align: center; }
.coin .section-label { justify-content: center; }
.coin .section-title { margin-inline: auto; }

.coin-lede {
  max-width: 60ch;
  margin: -1rem auto 3rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.lockup {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.5rem, 4vw, 3rem);
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--ivory);
  box-shadow: 8px 10px 0 var(--sol-purple);
  overflow: hidden;
}
.lockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sol-gradient);
  opacity: .14;
  pointer-events: none;
}
.lockup > * { position: relative; }

.lockup-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
}
.lockup-ticker {
  display: block;
  margin: .25rem 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 2rem + 8vw, 6rem);
  line-height: 1;
  letter-spacing: -.045em;
  background: var(--sol-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lockup-chain {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.lockup .btn-buy {
  --btn-bg: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
  box-shadow: 4px 5px 0 var(--sol-green);
}
.lockup .btn-buy:hover { box-shadow: 6px 7px 0 var(--sol-green); }

.lockup-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .9rem;
}

.notice {
  max-width: 70ch;
  margin: 2.6rem auto 0;
  padding: 1.15rem 1.5rem;
  border: 2.5px dashed var(--ink);
  border-radius: var(--radius);
  background: var(--champagne);
  font-size: .95rem;
  color: var(--ink-soft);
  text-align: left;
}

/* ============================================================
   HOW TO BUY
   ============================================================ */
.howto { background: var(--ivory-deep); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.7rem 1.4rem 1.5rem;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.step:hover { transform: translate(-3px,-3px); box-shadow: 7px 8px 0 var(--ink); }
.step-num {
  position: absolute;
  top: -20px;
  left: 1.3rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--ink);
  box-shadow: 2px 3px 0 var(--ink);
}
.step h3 { font-size: 1.14rem; margin: .9rem 0 .5rem; }
.step p { margin: 0; font-size: .96rem; color: var(--ink-soft); }

.ca-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .9rem;
  max-width: 640px;
  margin: 3rem auto 0;
  padding: 1.1rem 1.35rem;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
}
.ca-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  width: 100%;
}
.ca-value {
  flex: 1 1 240px;
  min-width: 0;
  padding: .6rem .9rem;
  border: 2px dashed var(--ink-mute);
  border-radius: 10px;
  background: var(--ivory-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.btn-copy { padding: .6rem 1.2rem; font-size: .9rem; }
.btn-copy[disabled] {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: 2px 2px 0 var(--ink-mute);
  border-color: var(--ink-mute);
  color: var(--ink-mute);
}
.btn-copy[disabled]:hover { transform: none; box-shadow: 2px 2px 0 var(--ink-mute); }

.howto-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin-top: 2.2rem;
}

/* ============================================================
   VALUE CHIPS
   ============================================================ */
.chips-section { text-align: center; }
.chips-section .section-label { justify-content: center; }
.chips-section .section-title { margin-inline: auto; }

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .78rem 1.35rem;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--chip-bg, var(--paper));
  color: var(--chip-fg, var(--ink));
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .87rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 3px 4px 0 var(--ink);
  transform: rotate(var(--rot, 0deg));
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  cursor: default;
}
.chip:hover {
  transform: rotate(0deg) translate(-2px,-3px) scale(1.03);
  box-shadow: 5px 7px 0 var(--ink);
}
.chip svg { width: 18px; height: 18px; flex: none; }
.chip-sol { background: var(--sol-gradient); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  border-top: var(--border);
  background:
    radial-gradient(70% 70% at 20% 10%, rgba(169,112,255,.22), transparent 60%),
    radial-gradient(60% 70% at 85% 40%, rgba(20,241,149,.2), transparent 62%),
    var(--ivory);
}
.final-inner { position: relative; text-align: center; max-width: 780px; }
.final h2 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); margin-bottom: 1.1rem; }
.final p { font-size: 1.12rem; color: var(--ink-soft); margin: 0 auto 2.2rem; max-width: 52ch; }
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

.sticker-stay {
  position: absolute;
  top: -18px;
  right: -8px;
  background: var(--gold);
  color: var(--ink);
  transform: rotate(9deg);
  font-size: .92rem;
  padding: .7rem 1.3rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: var(--border);
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .brand-badge {
  width: 62px;
  height: 62px;
  box-shadow: 2px 3px 0 var(--sol-green);
  border-color: var(--ivory);
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -.03em;
  margin: .9rem 0 .2rem;
}
.footer-slogan { font-size: 1.3rem; color: var(--turquoise); margin: 0 0 1rem; }
.powered {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: .45rem .95rem;
  border: 2px solid rgba(255,248,237,.28);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer h2 {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,248,237,.5);
  margin-bottom: 1rem;
}
.footer-nav li, .footer-social li { margin-bottom: .55rem; }
.footer-nav a, .footer-social a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: rgba(255,248,237,.82);
  font-weight: 500;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer-nav a:hover, .footer-social a:hover { color: var(--sol-green); transform: translateX(3px); }
.footer-social svg { width: 18px; height: 18px; flex: none; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255,248,237,.16);
}
.disclaimer {
  font-size: .84rem;
  line-height: 1.6;
  color: rgba(255,248,237,.56);
  max-width: 85ch;
  margin: 0 0 1rem;
}
.copyright { font-size: .84rem; color: rgba(255,248,237,.42); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .polaroid-board { grid-template-columns: repeat(3, 1fr); }
  .board-card:nth-child(even) { margin-top: 1.4rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }

  /* Mobile navigation */
  .nav-toggle { display: flex; }
  .nav-buy { display: none; }
  .brand-sub { display: none; }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto;
    margin: 0;
    background: var(--ivory);
    border-bottom: var(--border);
    box-shadow: 0 18px 40px -18px rgba(23,23,23,.55);
    max-height: 0;
    overflow: hidden;
    transition: max-height .34s var(--ease);
  }
  .nav-links.is-open { max-height: 70vh; overflow-y: auto; }
  .nav-links ul {
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 1rem 1.25rem 1.5rem;
    width: min(100% - 2.5rem, var(--shell));
    margin-inline: auto;
  }
  .nav-links a { padding: .85rem 1rem; font-size: 1.06rem; }
  .nav-links .mobile-buy { margin-top: .8rem; }
  .nav-links .mobile-buy a {
    background: var(--ink);
    color: var(--ivory);
    text-align: center;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 800;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { margin-top: 1rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { max-width: 480px; }
  .fact-cards { grid-template-columns: 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
  .fashion-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gcard, .gcard:nth-child(1), .gcard:nth-child(2) { grid-column: 1 / -1; }

  /* Polaroid board → swipeable rail */
  .polaroid-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    margin-inline: -.5rem;
    padding-inline: .5rem;
    -webkit-overflow-scrolling: touch;
  }
  .board-card {
    flex: 0 0 min(74vw, 280px);
    scroll-snap-align: center;
    margin-top: 0 !important;
  }
  .board-card .polaroid { transform: none; }
  .board-badge { position: static; display: block; max-width: none; margin-top: 1.6rem; transform: rotate(-1.5deg); }
  .board-sol { top: -14px; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 1.75rem); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-note { font-size: 1.24rem; }
  .sticker-corner { right: 0; bottom: -6px; }
  .sticker-stay { right: 0; top: -10px; }
  .ca-box { flex-direction: column; align-items: stretch; }
  .btn-copy { width: 100%; }
  .tape { width: 78px; height: 24px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@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;
  }

  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; transform: none; }
  .shimmer::after { display: none; }
  .sparkle { animation: none; opacity: .8; transform: scale(1); }
  .btn:hover, .btn:active,
  .gcard:hover, .step:hover, .mcard:hover, .fact-card:hover,
  .chip:hover, .fashion-side figure:hover { transform: none; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .marquee-band, .nav-toggle, .final-cta, .hero-cta { display: none; }
  body { background: #fff; }
  body::before { display: none; }
}
