/* ============================================================
   YOLKY the EGG - design tokens
   Palette:
     --yolk        #F5A623  primary egg-yolk gold
     --yolk-deep   #E8890B  yolk shadow / hover
     --cream       #FFF6E4  warm butter-cream background
     --cream-2     #FFEFCF  secondary cream (card fill)
     --brown       #6B4226  toasted-brown ink (matches sticker outlines)
     --brown-deep  #2E2118  countertop charcoal (footer/dark contrast)
     --skillet     #E85D3D  skillet-red accent
     --herb        #7BA05B  herb-green accent
   Type:
     Display  - 'Baloo 2'     (rounded, bold, playful headlines)
     Body     - 'Nunito'      (warm rounded sans, readable)
     Utility  - 'Space Mono'  (contract address / data)
   Signature element: the fried-egg "white" blob silhouette, reused as
   section dividers, card shapes and button underlays.
   ============================================================ */

:root {
  --yolk: #F5A623;
  --yolk-deep: #E8890B;
  --cream: #FFF6E4;
  --cream-2: #FFEFCF;
  --brown: #6B4226;
  --brown-deep: #2E2118;
  --skillet: #E85D3D;
  --herb: #7BA05B;
  --white: #FFFDF8;

  --font-display: 'Baloo 2', 'Segoe UI Rounded', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --radius-blob: 42% 58% 61% 39% / 46% 42% 58% 54%;
  --shadow-soft: 0 12px 30px -12px rgba(107, 66, 38, 0.35);
  --shadow-card: 0 8px 24px -10px rgba(107, 66, 38, 0.25);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--brown-deep);
  line-height: 1.55;
  overflow-x: hidden;
}
/* the fixed illustrated kitchen sits above the body fill but behind content */

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0 0 .4em; line-height: 1.12; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
code { font-family: var(--font-mono); }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--skillet);
  font-weight: 700;
  margin: 0 0 .6em;
}

/* ============ layout helpers ============ */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
}
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--brown-deep); }
.section-sub { color: #7A5C42; font-size: 1.05rem; }

/* alternating warm backdrops between sections, kitchen "counters".
   Semi-translucent so the illustrated kitchen shows through faintly. */
.cooking { background: linear-gradient(180deg, rgba(255,246,228,.82), rgba(255,239,207,.9) 60%, rgba(255,246,228,.82)); border-radius: 60px; backdrop-filter: blur(2px); }
.origin { }
.token { background: rgba(255,239,207,.9); border-radius: 60px; backdrop-filter: blur(2px); }
.chart { }
.buy { background: rgba(255,239,207,.9); border-radius: 60px; backdrop-filter: blur(2px); }
.crew { }
.roadmap { background: rgba(255,239,207,.9); border-radius: 60px; backdrop-filter: blur(2px); }

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: .8em 1.5em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.1;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn:active { transform: translateY(0) rotate(0); }
.btn-yolk { background: var(--yolk); color: var(--brown-deep); box-shadow: var(--shadow-soft); }
.btn-yolk:hover { background: var(--yolk-deep); box-shadow: 0 16px 30px -12px rgba(232,137,11,.5); }
.btn-outline { background: transparent; border-color: var(--brown); color: var(--brown-deep); }
.btn-outline:hover { background: var(--brown); color: var(--white); }
.btn-ghost { background: rgba(107,66,38,.06); color: var(--brown-deep); }
.btn-ghost:hover { background: rgba(107,66,38,.14); }
.btn-text { background: transparent; padding: .8em .4em; }
.btn-text:hover { transform: translateX(4px); }
.btn-lg { padding: 1em 1.9em; font-size: 1.05rem; }

/* ============ illustrated kitchen background ============ */
.kitchen-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.kitchen-bg::after { content: ''; position: absolute; inset: 0; background: rgba(255,246,228,.5); z-index: 1; }

/* tiled wall */
.kb-wall {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,240,210,.0), rgba(255,240,210,.0)),
    repeating-linear-gradient(0deg, rgba(107,66,38,.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(107,66,38,.05) 0 1px, transparent 1px 46px),
    linear-gradient(180deg, #FFF3DC 0%, #FFE9C4 60%, #FFF6E4 100%);
  opacity: .8;
}
/* wooden counter strip along the bottom */
.kb-counter {
  position: absolute; left: 0; right: 0; bottom: 0; height: 20vh; min-height: 130px;
  background:
    linear-gradient(180deg, rgba(107,66,38,.0), rgba(107,66,38,.05)),
    repeating-linear-gradient(90deg, #D8A868 0 60px, #CE9C58 60px 120px);
  border-top: 5px solid #B9823F;
  opacity: .55;
}
/* hanging shelf with utensils */
.kb-shelf {
  position: absolute; top: 12%; right: 4%; width: 190px; height: 10px;
  background: #B9823F; border-radius: 4px; opacity: .5;
  display: flex; justify-content: space-around;
}
.kb-utensil { position: relative; top: 6px; font-size: 1.7rem; transform-origin: top center; animation: swing 5s ease-in-out infinite; opacity: .55; }
.kb-utensil:nth-child(2) { animation-delay: .5s; }
.kb-utensil:nth-child(3) { animation-delay: 1s; }
.kb-utensil:nth-child(4) { animation-delay: 1.5s; }
@keyframes swing { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }

/* stoves with pans/pots near the counter */
.kb-stove { position: absolute; bottom: 12vh; opacity: .6; }
.kb-stove-1 { left: 6%; }
.kb-stove-2 { right: 10%; }
.kb-pan {
  width: 90px; height: 22px; background: #3A2A1E; border-radius: 0 0 50% 50% / 0 0 100% 100%;
  position: relative;
}
.kb-pan::after { content: ''; position: absolute; right: -46px; top: 6px; width: 50px; height: 7px; background: #3A2A1E; border-radius: 4px; }
.kb-egg { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 1.7rem; }
.kb-pot {
  width: 86px; height: 46px; background: linear-gradient(180deg, #C0C4C8, #8A8E92);
  border-radius: 6px 6px 12px 12px; position: relative;
}
.kb-pot::before { content: ''; position: absolute; top: -6px; left: -6px; right: -6px; height: 8px; background: #6E7276; border-radius: 4px; }

/* rising steam */
.kb-steam-group { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 60px; height: 120px; }
.kb-steam {
  position: absolute; bottom: 0; width: 14px; height: 60px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.7), rgba(255,255,255,0) 70%);
  filter: blur(4px); animation: steam-rise 4.5s ease-in infinite; opacity: 0;
}
.kb-steam:nth-child(1) { left: 6px; animation-delay: 0s; }
.kb-steam:nth-child(2) { left: 24px; animation-delay: 1.5s; }
.kb-steam:nth-child(3) { left: 40px; animation-delay: 3s; }
@keyframes steam-rise {
  0% { transform: translateY(0) scale(.7); opacity: 0; }
  20% { opacity: .7; }
  100% { transform: translateY(-90px) scale(1.4); opacity: 0; }
}

/* faded floating real stickers */
.kb-float { position: absolute; opacity: .12; filter: saturate(.85); }
.kb-float-1 { width: 130px; height: 130px; top: 30%; left: 2%; animation: float 7s ease-in-out infinite; }
.kb-float-2 { width: 120px; height: 120px; top: 64%; right: 3%; animation: float 8s ease-in-out infinite 1s; }
.kb-float-3 { width: 110px; height: 110px; top: 46%; left: 47%; animation: float 6.5s ease-in-out infinite .5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

@media (max-width: 900px) {
  .kb-shelf, .kb-float, .kb-stove { display: none; }
}

/* ============ nav ============ */
.nav-shelf {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 246, 228, .88);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--brown);
  box-shadow: 0 4px 0 rgba(107,66,38,.08);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
@media (max-width: 1330px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .85rem; }
  .nav-ctas .btn { padding: .7em 1.1em; font-size: .85rem; }
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; display: block; flex-shrink: 0; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brown-deep);
  letter-spacing: -.01em;
}
.nav-links { display: flex; gap: 22px; flex-wrap: nowrap; }
.nav-links a {
  font-weight: 700;
  font-size: .92rem;
  color: var(--brown);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--skillet); }
.nav-ctas { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; background: none; border: none; padding: 8px; flex-direction: column; gap: 5px; }
.hamburger span { width: 26px; height: 3px; background: var(--brown-deep); border-radius: 2px; }
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  gap: 4px;
  background: var(--cream);
  border-top: 2px solid rgba(107,66,38,.15);
}
.nav-mobile a { padding: 10px 4px; font-weight: 700; color: var(--brown-deep); border-bottom: 1px dashed rgba(107,66,38,.15); }
.nav-mobile-ctas { display: flex; gap: 10px; margin-top: 14px; }
.nav-shelf.open .nav-mobile { display: flex; }

/* ============ hero ============ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px 100px;
  min-height: 640px;
  overflow-x: clip;
}
.hero-bg { position: absolute; inset: -40px 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(245,166,35,.16), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(232,93,61,.12), transparent 40%);
}
.hero-tile {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(107,66,38,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(107,66,38,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}
.hero-shelf { position: absolute; left: 0; right: 0; bottom: 60px; height: 14px; background: var(--brown); opacity: .12; border-radius: 4px; }
.hanging-utensil { position: absolute; top: 0; font-size: 2rem; transform-origin: top center; animation: swing 5s ease-in-out infinite; opacity: .5; }
.u1 { left: 6%; animation-delay: 0s; }
.u2 { left: 48%; animation-delay: .6s; font-size: 2.4rem; }
.u3 { right: 8%; animation-delay: 1.2s; }
@keyframes swing { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

.hero-inner { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); color: var(--brown-deep); }
.hero-title .accent { color: var(--skillet); position: relative; }
.hero-sub { font-size: 1.15rem; color: #6b4d34; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 2px solid rgba(107,66,38,.15);
  padding: 10px 18px; border-radius: 999px; font-family: var(--font-mono); font-size: .82rem;
  box-shadow: var(--shadow-card);
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--herb); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-stage { position: relative; height: 480px; display: flex; align-items: center; justify-content: center; }
.hero-pan {
  width: 400px; height: 400px; position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 16px 20px rgba(107,66,38,.22));
}
.hero-mascot { position: relative; z-index: 1; width: 400px; height: 400px; }
.hero-float { position: absolute; width: 180px; height: 180px; top: 2%; right: -2%; animation: float 5s ease-in-out infinite 1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ============ $GRAM inline token ============ */
.gram {
  display: inline-flex;
  align-items: center;
  gap: .22em;
  font-weight: 800;
  color: var(--brown-deep);
  white-space: nowrap;
}
.gram::before {
  content: '';
  display: inline-block;
  width: .82em;
  height: .82em;
  background: url('../assets/img/gram.svg') center/contain no-repeat;
  vertical-align: middle;
}

/* ============ product cards (Yolky Bot / TonTicker) ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}
.product-card {
  background: var(--white);
  border: 2px solid rgba(107,66,38,.14);
  border-radius: 30px;
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--yolk); box-shadow: 0 22px 36px -18px rgba(245,166,35,.42); }
.product-head { display: flex; align-items: center; gap: 16px; }
.product-logo { width: 88px; height: 88px; border-radius: 20px; flex-shrink: 0; object-fit: cover; }
.product-head h3 { font-size: 1.5rem; margin: 0 0 .1em; }
.product-handle { font-family: var(--font-mono); font-size: .85rem; color: var(--skillet); font-weight: 700; }
.product-handle:hover { text-decoration: underline; }
.product-card > p { color: #6b4d34; margin: 0; }
.product-example {
  background: var(--cream-2);
  border-radius: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--yolk);
}
.product-example-tag { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--skillet); font-weight: 700; }
.product-example p { margin: .3em 0 0; font-size: .95rem; color: #6b4d34; }
.product-note { font-size: .9rem; color: #7A5C42; }
.product-note code { background: var(--cream-2); padding: .1em .4em; border-radius: 6px; font-size: .85em; }
.product-card .btn { align-self: flex-start; margin-top: auto; }

/* ============ dish cards ============ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.dish-card {
  background: var(--white);
  border: 2px solid rgba(107,66,38,.12);
  border-radius: 28px;
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dish-card:hover { transform: translateY(-6px) rotate(-.5deg); border-color: var(--yolk); box-shadow: 0 20px 34px -16px rgba(245,166,35,.4); }
.dish-icon { font-size: 2.1rem; margin-bottom: 14px; }
.dish-card h3 { font-size: 1.2rem; margin-bottom: .3em; }
.dish-card p { color: #7A5C42; font-size: .95rem; margin: 0; }
.dish-card-future { background: repeating-linear-gradient(135deg, var(--white), var(--white) 10px, #FFFAF0 10px, #FFFAF0 20px); border-style: dashed; }

/* ============ origin (scrapbook / pinboard) ============ */
.origin-board {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
}
.origin-card {
  background: var(--white);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(107,66,38,.12);
  position: relative;
}
.origin-card-main { display: flex; flex-direction: column; }
.origin-lottie { width: 96px; height: 96px; margin-bottom: 10px; }
.origin-card-milestone { background: var(--cream-2); border-style: dashed; display: flex; flex-direction: column; justify-content: center; }
.pin { position: absolute; top: -14px; left: 24px; font-size: 1.6rem; filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); }
.pin-link { color: var(--skillet); font-weight: 800; margin-top: auto; display: inline-block; }
.pin-link:hover { text-decoration: underline; }

/* ============ token recipe card ============ */
.recipe-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 40px;
  padding: 44px 44px 36px;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--brown);
}
.recipe-card-top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.recipe-lottie { width: 88px; height: 88px; flex-shrink: 0; }
.recipe-card-top h3 { font-size: 1.7rem; margin: 0; }
.recipe-tag { margin: 0; color: var(--skillet); font-weight: 700; font-size: .9rem; }
.recipe-list { margin: 0 0 26px; }
.recipe-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed rgba(107,66,38,.2);
  flex-wrap: wrap;
}
.recipe-row dt { font-weight: 700; color: var(--brown); }
.recipe-row dd { margin: 0; font-family: var(--font-mono); font-size: .92rem; text-align: right; min-width: 0; }
.recipe-row-ca { flex-direction: column; align-items: flex-start; gap: 8px; }
.recipe-row-ca dd { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; }
.recipe-row-ca code {
  font-size: .74rem; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.recipe-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.recipe-actions .btn { flex: 1 1 auto; min-width: 0; }
.copy-btn {
  background: var(--cream-2); border: 2px solid var(--brown); color: var(--brown-deep);
  border-radius: 999px; padding: .3em .9em; font-size: .72rem; font-weight: 800;
  font-family: var(--font-mono); transition: background .2s ease;
}
.copy-btn:hover { background: var(--yolk); }
.copy-btn-inline { margin-top: 10px; }

/* ============ chart / stove panel ============ */
.stove-panel {
  max-width: 900px; margin: 0 auto;
  background: var(--brown-deep);
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.stove-panel-header { display: flex; align-items: center; gap: 12px; color: var(--cream); font-family: var(--font-mono); font-weight: 700; margin-bottom: 14px; padding: 0 6px; }
.stove-icon { width: 26px; height: 26px; border-radius: 50%; }
.chart-embed-wrap { border-radius: 20px; overflow: hidden; background: #0d0a08; height: 480px; }
.chart-embed-wrap iframe { width: 100%; height: 100%; border: 0; }
.stove-panel-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 0 6px; }
.stove-panel-actions .btn-outline { color: var(--cream); border-color: rgba(255,246,228,.4); }
.stove-panel-actions .btn-outline:hover { background: var(--yolk); border-color: var(--yolk); color: var(--brown-deep); }

/* ============ order flow ============ */
.order-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.order-flow-5 { grid-template-columns: repeat(5, 1fr); }
.order-step {
  background: var(--white);
  border-radius: 26px;
  padding: 28px 22px;
  text-align: center;
  border: 2px solid rgba(107,66,38,.12);
  box-shadow: var(--shadow-card);
  position: relative;
}
.step-lottie { width: 64px; height: 64px; margin: 0 auto 12px; }
.step-emoji { font-size: 2.4rem; margin-bottom: 12px; }
.step-logo-wrap {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--white); border: 2px solid rgba(107,66,38,.12);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; overflow: hidden;
}
.step-logo { width: 46px; height: 46px; object-fit: contain; }
.step-logo-swap { width: 58px; height: 58px; }
.order-step h3 { margin-top: 0; }
.order-step h3 { font-size: 1rem; }
.order-step p { font-size: .88rem; color: #7A5C42; }
.order-step-links { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.order-step-links a { font-weight: 800; color: var(--skillet); font-size: .85rem; }

/* ============ crew ============ */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  justify-items: center;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.crew-card {
  background: transparent;
  border: none;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.crew-card:hover, .crew-card:focus-visible { transform: translateY(-8px) scale(1.08); }
.crew-card:focus-visible { outline: 3px solid var(--yolk); outline-offset: 6px; border-radius: 50%; }
.crew-lottie { width: 150px; height: 150px; }

/* ============ eggcellent engagement ============ */
.engage-copy {
  max-width: 680px; margin: 0 auto 40px; text-align: center;
}
.engage-copy p { font-size: 1.08rem; color: #6b4d34; }
.engage-copy p:last-child { margin-bottom: 0; }
.engage-board {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: center;
  max-width: 1120px; margin: 0 auto;
}
.tweet-pin {
  margin: 0; background: var(--white); border: 2px solid rgba(107,66,38,.14);
  border-radius: 18px; padding: 10px; box-shadow: var(--shadow-card);
  flex: 1 1 230px; max-width: 260px; position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tweet-pin::before {
  content: ''; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--skillet), #b8442b);
  box-shadow: 0 3px 4px rgba(0,0,0,.25); z-index: 1;
}
.tweet-pin img { border-radius: 10px; display: block; width: 100%; }
.tweet-pin-1 { transform: rotate(-2deg); }
.tweet-pin-2 { transform: rotate(1.6deg); }
.tweet-pin-3 { transform: rotate(-1.2deg); }
.tweet-pin-4 { transform: rotate(2deg); }
.tweet-pin:hover { transform: rotate(0) scale(1.04); box-shadow: 0 18px 30px -14px rgba(245,166,35,.45); z-index: 2; }

@media (max-width: 560px) {
  .tweet-pin { max-width: 320px; flex-basis: 100%; }
}

/* ============ roadmap ============ */
.recipe-steps { max-width: 720px; margin: 0 auto; position: relative; }
.recipe-steps::before {
  content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 3px;
  background: repeating-linear-gradient(180deg, var(--brown) 0 8px, transparent 8px 16px);
  opacity: .3;
}
.recipe-step { display: flex; gap: 20px; padding: 0 0 34px; position: relative; }
.recipe-step-marker {
  width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 3px solid var(--brown);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; z-index: 1;
}
.recipe-step.done .recipe-step-marker { background: var(--herb); color: var(--white); border-color: var(--herb); }
.recipe-step.active .recipe-step-marker { background: var(--skillet); color: var(--white); border-color: var(--skillet); animation: pulse 1.5s ease-in-out infinite; }
.recipe-step h3 { font-size: 1.15rem; margin-bottom: .2em; }
.recipe-step p { color: #7A5C42; font-size: .95rem; margin: 0; }

/* ============ community ============ */
.community { text-align: center; }
.community-inner { max-width: 640px; margin: 0 auto; }
.community-lottie { width: 220px; height: 220px; margin: 0 auto 6px; }
.community-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }

/* ============ footer ============ */
.footer { background: var(--brown-deep); color: var(--cream); margin-top: 40px; }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 56px 24px 40px;
  display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 44px; height: 44px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.footer-word { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin: 0; }
.footer-tag { margin: 0; opacity: .7; font-size: .88rem; }
.footer-ca { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .85rem; grid-column: 2; }
.footer-ca .copy-btn { background: transparent; border-color: rgba(255,246,228,.4); color: var(--cream); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 22px; grid-column: 2; font-size: .88rem; }
.footer-links a { opacity: .8; }
.footer-links a:hover { opacity: 1; color: var(--yolk); }
.footer-disclaimer { grid-column: 1 / -1; opacity: .55; font-size: .78rem; margin: 10px 0 0; border-top: 1px solid rgba(255,246,228,.15); padding-top: 20px; }

/* ============ GRAM market widget ============ */
.gram-market { padding-top: 20px; padding-bottom: 60px; }
.gram-card {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, #35281D, var(--brown-deep));
  color: var(--cream);
  border-radius: 28px;
  padding: 28px 30px 18px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255,246,228,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gram-card:hover { transform: translateY(-4px); border-color: rgba(245,166,35,.5); box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); }
.gram-card-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding-bottom: 18px; border-bottom: 1px solid rgba(255,246,228,.12);
}
.gram-card-id { display: flex; align-items: center; gap: 14px; }
.gram-card-icon { width: 44px; height: 44px; flex-shrink: 0; }
.gram-card-price { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; margin: 0; line-height: 1.1; }
.gram-card-name { margin: 0; opacity: .65; font-size: .95rem; }
.gram-card-chart { text-align: right; min-width: 0; }
.gram-card-chart svg { width: 200px; max-width: 44vw; height: 60px; display: block; margin-left: auto; }
.gram-card-chart polyline { fill: none; stroke: #4DA3FF; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.gram-card-change { margin: 4px 0 0; font-family: var(--font-mono); font-size: .85rem; font-weight: 700; }
.gram-card-change.up { color: #6FCF7C; }
.gram-card-change.down { color: #FF7A6B; }
.gram-card-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center; padding: 18px 0 8px;
}
.gram-stat { border-right: 1px solid rgba(255,246,228,.12); }
.gram-stat:last-child { border-right: 0; }
.gram-stat-value { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin: 0; }
.gram-stat-label { margin: 2px 0 0; opacity: .6; font-size: .82rem; }
.gram-card-foot {
  margin: 10px 0 0; text-align: center; font-family: var(--font-mono);
  font-size: .72rem; opacity: .5; letter-spacing: .04em;
}
@media (max-width: 620px) {
  .gram-card { padding: 20px 16px 14px; }
  .gram-card-top { flex-direction: column; align-items: stretch; gap: 12px; }
  .gram-card-chart { text-align: left; width: 100%; }
  .gram-card-chart svg { margin-left: 0; max-width: 100%; width: 100%; height: 48px; }
  .gram-card-price { font-size: 1.7rem; }
  .gram-card-stats { padding: 14px 0 6px; }
  .gram-stat { padding: 0 4px; }
  .gram-stat-value { font-size: 1rem; }
  .gram-stat-label { font-size: .72rem; }
}

/* ============ toast ============ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--brown-deep); color: var(--cream); padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .85rem; z-index: 999; opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ scroll-reveal ============ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============ responsive ============ */
@media (max-width: 1150px) {
  .nav-links, .nav-ctas { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-ctas { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-stage { height: 300px; }
  .hero-pan { width: 280px; height: 280px; }
  .hero-mascot { width: 280px; height: 280px; }
  .hero-float { display: none; }
  .origin-board { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .order-flow, .order-flow-5 { grid-template-columns: repeat(2, 1fr); }
  .crew-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-ca, .footer-links { grid-column: 1; }
}
@media (max-width: 620px) {
  .section { padding: 70px 18px; border-radius: 34px; }
  .menu-grid { grid-template-columns: 1fr; }
  .order-flow, .order-flow-5 { grid-template-columns: 1fr 1fr; }
  .crew-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-card { padding: 32px 22px; border-radius: 28px; }
  .stove-panel { padding: 16px; }
  .chart-embed-wrap { height: 360px; }
  .product-head { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
  .section { padding: 60px 12px; }
  .hero { padding-left: 14px; padding-right: 14px; }
  .hero-stage { transform: scale(.92); }
  .order-flow, .order-flow-5 { grid-template-columns: 1fr; }
  .hero-badge { font-size: .72rem; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kb-utensil, .kb-steam, .kb-float, .hanging-utensil, .hero-pan, .hero-float,
  .dot, .recipe-step.active .recipe-step-marker, .flywheel-flow {
    animation: none !important;
  }
  [data-reveal] { transition: none; }
}


/* ============ treasury vault ============ */
.treasury { padding-top: 80px; }
.vault {
  background: linear-gradient(180deg, #35281D, var(--brown-deep));
  border: 2px solid rgba(245,166,35,.28);
  border-radius: 44px;
  padding: 56px 48px;
  box-shadow: var(--shadow-soft);
  color: var(--cream);
}
.vault-head { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.vault-logo { width: 180px; height: 180px; margin: 0 auto 10px; filter: drop-shadow(0 12px 22px rgba(0,0,0,.4)); }
.eyebrow-gold { color: var(--yolk); }
.vault-head h2 { color: var(--cream); font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.vault-sub { color: rgba(255,246,228,.75); font-size: 1.02rem; }
.vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.vault-card {
  background: rgba(255,246,228,.06);
  border: 1px solid rgba(255,246,228,.14);
  border-radius: 22px;
  padding: 26px 26px 20px;
}
.vault-card h3 { color: var(--yolk); font-size: 1.15rem; }
.vault-card p { color: rgba(255,246,228,.82); font-size: .95rem; margin-bottom: .7em; }
.vault-card p:last-child { margin-bottom: 0; }
.vault-card-wide { grid-column: 1 / -1; }
.split-bar {
  display: flex; border-radius: 999px; overflow: hidden; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  margin: 16px 0 12px; border: 1px solid rgba(255,246,228,.2);
}
.split-holders { flex: 0 0 75%; background: var(--yolk); color: var(--brown-deep); padding: 10px 6px; }
.split-burn { flex: 0 0 25%; background: var(--skillet); color: var(--white); padding: 10px 6px; }
.split-bar span { font-size: 1.1em; margin-right: .25em; }
.vault-note { font-size: .85rem; opacity: .7; }

/* ============ the yolky flywheel ============ */
.flywheel-block { margin-top: 52px; text-align: center; }
.flywheel-title { color: var(--cream); font-size: 1.5rem; margin-bottom: .2em; }
.flywheel-hint { color: rgba(255,246,228,.55); font-family: var(--font-mono); font-size: .76rem; margin-bottom: 26px; }
.flywheel { position: relative; width: min(560px, 100%); aspect-ratio: 1 / 1; margin: 0 auto; }
.flywheel-ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flywheel-flow { animation: fw-spin 16s linear infinite; transform-origin: 50% 50%; }
@keyframes fw-spin { to { transform: rotate(360deg); } }
.fw-node {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  background: var(--brown-deep);
  border: 2px solid rgba(245,166,35,.5);
  color: var(--cream);
  border-radius: 999px;
  padding: .55em 1em;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; line-height: 1.15;
  max-width: 160px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  z-index: 2;
}
.fw-node:hover { border-color: var(--yolk); }
.fw-node.active {
  background: var(--yolk); color: var(--brown-deep); border-color: var(--yolk);
  box-shadow: 0 0 26px rgba(245,166,35,.5);
}
.fw-center { position: absolute; inset: 26%; display: flex; align-items: center; justify-content: center; }
.fw-center-text { color: rgba(255,246,228,.88); font-size: .95rem; margin: 0; }
.vault-closing { text-align: center; max-width: 560px; margin: 30px auto 0; color: rgba(255,246,228,.8); font-size: .95rem; }

@media (max-width: 720px) {
  .vault { padding: 40px 22px; border-radius: 32px; }
  .vault-grid { grid-template-columns: 1fr; }
  .vault-logo { width: 130px; height: 130px; }
  .fw-node { font-size: .7rem; padding: .45em .7em; max-width: 110px; }
  .fw-center { inset: 24%; }
  .fw-center-text { font-size: .78rem; }
  .split-bar { font-size: .74rem; }
}
