/* Soyo: a soy-forward, plant-based Asian kitchen.
   Organic soft / earthy: warm sand, sage, clay and cream, blobby shapes,
   soft paper grain, Fraunces with a clean humanist sans, gentle motion. */

:root {
  --cream: #f6efe4;
  --paper: #fbf7ef;
  --sand: #ede1cc;
  --sand-deep: #e3d3b6;
  --sage: #a6b993;
  --sage-mid: #7f966b;
  --sage-deep: #566a4a;
  --moss: #3f5036;
  --clay: #c47a55;
  --clay-soft: #f1d9c8;
  --clay-deep: #9a4f2e;
  --bark: #3b3027;
  --bark-soft: #66574a;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Nunito Sans", "Avenir Next", system-ui, -apple-system, sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--cream); }

body {
  margin: 0;
  color: var(--bark);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--clay-deep); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--moss); }
p { margin: 0 0 1.1em; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100;
  text-wrap: balance;
  line-height: 1.15;
  color: var(--moss);
}

:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 4px;
  border-radius: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--moss);
  color: var(--cream);
  text-decoration: none;
  transition: top 0.3s;
}
.skip:focus { top: 16px; color: var(--cream); }

/* soft paper grain over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.36  0 0 0 0 0.25  0 0 0 0.22 0'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>");
}

.wrap { width: min(var(--max), 100%); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow--center { text-align: center; }

/* ------------------------------------------------ header */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 18px 22px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  color: var(--moss);
  text-decoration: none;
}
.logo:hover { color: var(--clay-deep); }
.logo__mark { width: 34px; height: 34px; transition: transform 1.2s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-20deg) scale(1.06); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bark);
  text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); color: var(--moss); }
.nav .nav-cta { background: var(--moss); color: var(--cream); margin-left: 4px; }
.nav .nav-cta:hover { background: var(--sage-deep); color: var(--cream); }
.nav-wide { display: none; }
@media (min-width: 780px) { .nav-wide { display: inline-block; } }
@media (max-width: 380px) { .nav a { padding: 8px 10px; font-size: 0.9rem; } .logo { font-size: 1.5rem; } }

/* ------------------------------------------------ buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.6s var(--ease), background 0.4s, color 0.4s;
}
.btn:hover { transform: translateY(-2px); }
.btn--clay { background: var(--clay-deep); color: var(--paper); }
.btn--clay:hover { background: #87432a; color: var(--paper); }
.btn--soft { background: var(--sand); color: var(--bark); }
.btn--soft:hover { background: var(--sand-deep); color: var(--bark); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--moss); }

/* ------------------------------------------------ blobs */
.blob {
  position: absolute;
  display: block;
  border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
  animation: morph 18s ease-in-out infinite alternate;
}
.blob--sage { background: var(--sage); }
.blob--clay { background: var(--clay-soft); animation-duration: 22s; animation-delay: -6s; }
.blob--sand { background: var(--sand-deep); animation-duration: 26s; animation-delay: -12s; }
.blob--moss { background: var(--sage-deep); }
.blob--cream { background: var(--sand); animation-duration: 21s; animation-delay: -8s; }
@keyframes morph {
  0% { border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%; transform: rotate(0deg) translate(0, 0); }
  33% { border-radius: 58% 42% 40% 60% / 56% 60% 40% 44%; }
  66% { border-radius: 38% 62% 55% 45% / 40% 52% 48% 60%; transform: rotate(8deg) translate(2%, -2%); }
  100% { border-radius: 60% 40% 48% 52% / 50% 42% 58% 50%; transform: rotate(-4deg) translate(-2%, 1%); }
}

/* ------------------------------------------------ hero */
.hero { padding: clamp(20px, 4vw, 50px) 0 clamp(50px, 8vw, 90px); }
.hero__grid { display: grid; gap: 30px; align-items: center; }
.hero__title {
  margin: 0;
  font-size: clamp(5rem, 22vw, 11rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--moss);
}
.hook {
  margin: 0.5em 0 0.6em;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  max-width: 24ch;
  color: var(--bark);
}
.hook em { color: var(--clay-deep); }
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: var(--bark-soft);
  font-size: 1rem;
}
.soon__dot {
  width: 10px; height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--sage-mid);
  box-shadow: 0 0 0 0 rgba(127, 150, 107, 0.5);
  animation: breathe 3.6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(127, 150, 107, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(127, 150, 107, 0); }
}

.hero__art { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.hero__art .blob--sage { inset: 10% 6% 8% 12%; opacity: 0.55; }
.hero__art .blob--clay { width: 38%; height: 38%; right: 0; top: 4%; }
.hero__art .blob--sand { width: 30%; height: 30%; left: 2%; bottom: 4%; }
.pod { position: absolute; inset: 4%; width: 92%; height: 92%; }
.pod__body { animation: float 9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes float { from { translate: 0 -6px; } to { translate: 0 8px; } }
.steam path { animation: rise 4.5s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: -2s; }
@keyframes rise { 0%, 100% { opacity: 0.2; translate: 0 6px; } 50% { opacity: 1; translate: 0 -4px; } }

@media (min-width: 920px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}

/* waitlist lives in the hero: a soft, quiet card */
.hero-notify {
  max-width: 560px;
  padding: 24px 22px 18px;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 24px 50px -30px rgba(59, 48, 39, 0.45);
}
.hero-notify__title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--moss);
}
.hero-notify__copy { margin: 0 0 16px; color: var(--bark-soft); font-size: 0.98rem; line-height: 1.6; }

.waitlist-form { position: relative; display: block; }
.waitlist-form input[type="email"] {
  display: block;
  width: 100%;
  height: 60px;
  padding: 0 22px;
  font: inherit;
  font-size: 1.02rem;
  color: var(--bark);
  background: var(--sand);
  border: 1.5px solid transparent;
  border-radius: 999px;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.waitlist-form input[type="email"]::placeholder { color: #85745f; }
.waitlist-form input[type="email"]:focus { outline: none; background: #fff; border-color: var(--sage-deep); box-shadow: 0 0 0 5px rgba(166, 185, 147, 0.35); }
.waitlist-form button {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 10px;
  padding: 0 24px;
  font: inherit;
  font-weight: 700;
  color: var(--paper);
  background: var(--clay-deep);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.4s, transform 0.6s var(--ease);
}
.waitlist-form button:hover { background: #87432a; }
.waitlist-form button:disabled { opacity: 0.65; cursor: progress; }
.waitlist-status { min-height: 1.6em; margin: 10px 4px 0; font-size: 0.95rem; color: var(--bark-soft); }
.waitlist-status.is-success { color: var(--sage-deep); font-weight: 700; }
.waitlist-status.is-error { color: var(--clay-deep); font-weight: 700; }
@media (min-width: 460px) {
  .waitlist-form input[type="email"] { padding-right: 190px; }
  .waitlist-form button { position: absolute; top: 6px; right: 6px; width: auto; height: 48px; margin: 0; }
  .waitlist-form button:hover { transform: translateX(-2px); }
}

/* ------------------------------------------------ waves */
.wave { display: block; width: 100%; height: clamp(36px, 5vw, 70px); }
.wave--sand path { fill: var(--sand); }
.wave--flip { background: var(--cream); }
.wave--flip path { fill: var(--sand); }
.wave--footer path { fill: var(--sand-deep); }

/* ------------------------------------------------ our way */
.way, .bean { background: var(--sand); }
.way { padding-bottom: clamp(30px, 5vw, 60px); }
.statement {
  margin: 0 auto 40px;
  max-width: 19ch;
  text-align: center;
  font-size: clamp(2.1rem, 5.6vw, 4.2rem);
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.statement em { color: var(--clay-deep); }
.way__text { display: grid; gap: 0 40px; max-width: 960px; margin: 0 auto; color: var(--bark); font-size: 1.08rem; }
@media (min-width: 820px) { .way__text { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------ bean to bowl */
.bean__head { max-width: 620px; margin-bottom: 40px; }
.bean__head h2 { margin: 0 0 10px; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; }
.bean__head p { color: var(--bark-soft); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step {
  position: relative;
  padding: 26px 24px 22px;
  background: var(--paper);
  border-radius: 34px 34px 34px 12px;
  box-shadow: 0 20px 40px -32px rgba(59, 48, 39, 0.5);
}
.step:nth-child(even) { border-radius: 34px 12px 34px 34px; }
.step__icon {
  display: grid;
  place-items: center;
  width: 78px; height: 78px;
  margin-bottom: 14px;
  background: var(--clay-soft);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
}
.step:nth-child(2) .step__icon { background: #dfe6d3; }
.step:nth-child(3) .step__icon { background: var(--sand); }
.step:nth-child(4) .step__icon { background: #e7dccb; }
.step__icon svg { width: 52px; height: 52px; }
.step__num { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 1.1rem; color: var(--sage-deep); }
.step h3 { margin: 0 0 6px; font-size: 1.45rem; }
.step p { margin: 0; color: var(--bark-soft); font-size: 1rem; line-height: 1.6; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .steps::before {
    content: "";
    position: absolute;
    left: 6%; right: 6%; top: 64px;
    border-top: 2px dashed var(--sage);
    z-index: 0;
  }
  .step { z-index: 1; }
  .step:nth-child(even) { margin-top: 34px; }
}

/* ------------------------------------------------ the table (menu) */
.table__grid { display: grid; gap: 36px; }
.table__head h2 { margin: 0 0 14px; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; }
.table__head p:last-child { color: var(--bark-soft); max-width: 40ch; }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 44px; }
.dish {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1.5px dotted #cdbb9b;
}
.dish__dot {
  width: 16px; height: 16px;
  margin-top: 12px;
  background: var(--sage);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
}
.dish:nth-child(3n + 2) .dish__dot { background: var(--clay); }
.dish:nth-child(3n + 3) .dish__dot { background: var(--sand-deep); }
.dish__name { margin: 0 0 4px; font-size: 1.45rem; line-height: 1.25; }
.dish__desc { margin: 0 0 10px; color: var(--bark-soft); line-height: 1.6; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 2px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; background: var(--sand); color: var(--bark); }
.tag--housemade { background: #dfe6d3; color: var(--moss); }
.tag--fermented { background: var(--clay-soft); color: #7a3d22; }
.tag--seasonal { background: #e8efdc; color: var(--moss); }
.tag--spicy { background: #f3cdb9; color: #7a3d22; }
.tag--sweet { background: #efe2d6; color: var(--bark); }
@media (min-width: 900px) {
  .table__grid { grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start; }
  .table__head { position: sticky; top: 40px; }
  .dishes { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------ space */
.space { background: var(--moss); color: var(--cream); border-radius: clamp(36px, 6vw, 80px); margin: 0 clamp(8px, 2vw, 24px); }
.space h2 { color: var(--cream); margin: 0 0 18px; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.12; }
.space__grid { display: grid; gap: 40px; align-items: center; }
.space__text p { color: #ebe3d4; font-size: 1.08rem; }
.space__art { position: relative; aspect-ratio: 1.2; width: min(100%, 460px); margin: 0 auto; }
.space__art .blob--moss { inset: 6% 18% 14% 4%; background: var(--sage-deep); }
.space__art .blob--cream { width: 46%; height: 52%; right: 4%; bottom: 0; opacity: 0.9; }
.space__art::after {
  content: "";
  position: absolute;
  left: 26%; top: 24%;
  width: 34%; height: 34%;
  border-radius: 50%;
  border: 2px solid rgba(246, 239, 228, 0.6);
  box-shadow: 0 0 0 16px rgba(246, 239, 228, 0.1), 0 0 0 34px rgba(246, 239, 228, 0.06);
}
.moments { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.moments li { padding: 12px 18px; border-radius: 999px; background: rgba(246, 239, 228, 0.1); color: var(--cream); }
.moments strong { font-family: var(--serif); font-weight: 500; font-style: italic; color: #f3d3bd; margin-right: 4px; }
@media (min-width: 900px) { .space__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

/* ------------------------------------------------ journal (home + index) */
.journal__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 30px; }
.journal__head h2 { margin: 0; font-size: clamp(2rem, 4.6vw, 3rem); }
.journal { display: grid; gap: 22px; }
.feature a, .jrow a { color: var(--bark); text-decoration: none; }
.feature a {
  display: grid;
  gap: 16px;
  height: 100%;
  padding: 16px 16px 26px;
  background: var(--paper);
  border-radius: 36px;
  box-shadow: 0 24px 50px -36px rgba(59, 48, 39, 0.55);
  transition: transform 0.8s var(--ease);
}
.feature a:hover { transform: translateY(-4px); color: var(--bark); }
.feature__text { display: grid; gap: 8px; padding: 0 12px; }
.feature__kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); }
.feature__title { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; color: var(--moss); }
.feature__excerpt { color: var(--bark-soft); }
.feature__meta, .jrow__meta { font-size: 0.88rem; color: var(--bark-soft); }
.jrows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.jrow a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 28px;
  transition: background 0.5s var(--ease);
}
.jrow a:hover { background: var(--sand); color: var(--bark); }
.jrow__text { display: grid; gap: 4px; }
.jrow__title { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.35rem; line-height: 1.2; color: var(--moss); }
.jrow__excerpt { display: none; color: var(--bark-soft); font-size: 0.95rem; line-height: 1.55; }
@media (min-width: 900px) {
  .journal { grid-template-columns: 1.25fr 1fr; gap: 28px; }
  .jrow__excerpt { display: block; }
}

.thumb {
  display: grid;
  place-items: center;
  background: #dfe6d3;
  border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%;
  overflow: hidden;
}
.thumb--yuba { background: var(--sand); border-radius: 55% 45% 52% 48% / 46% 56% 44% 54%; }
.thumb--jar { background: var(--clay-soft); border-radius: 50% 50% 44% 56% / 52% 48% 52% 48%; }
.thumb svg { width: 78%; height: auto; }
.thumb--lg { aspect-ratio: 16 / 10; border-radius: 28px 28px 120px 28px; }
.thumb--sm { width: 96px; height: 96px; }
.thumb--hero { width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto; }

/* ------------------------------------------------ closing */
.closing { padding-top: 20px; }
.closing__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(36px, 6vw, 64px) 22px;
  background: var(--sand);
  border-radius: 46% 54% 48% 52% / 62% 58% 42% 38%;
  text-align: center;
}
.closing__line {
  margin: 0;
  max-width: 30ch;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.35;
  color: var(--moss);
}

/* ------------------------------------------------ blog index */
.page-hero { padding: clamp(30px, 6vw, 80px) 0 10px; text-align: center; }
.page-hero h1 { margin: 0 auto 14px; max-width: 14ch; font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 1.02; letter-spacing: -0.02em; }
.page-hero h1 em { color: var(--clay-deep); }
.page-hero__lede { max-width: 48ch; margin: 0 auto; color: var(--bark-soft); font-size: 1.12rem; }
.journal-section--index { padding-top: 40px; }

/* ------------------------------------------------ post */
.post-hero { padding: clamp(20px, 4vw, 50px) 0 clamp(30px, 5vw, 60px); background: linear-gradient(180deg, var(--cream), var(--sand)); }
.post-hero__grid { display: grid; gap: 26px; align-items: center; }
.crumbs { margin: 0 0 18px; }
.crumbs a { font-weight: 700; text-decoration: none; }
.post-title { margin: 0 0 16px; font-size: clamp(2.5rem, 7vw, 4.8rem); line-height: 1.02; letter-spacing: -0.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.post-lede { margin: 0; max-width: 40ch; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--bark); }
@media (min-width: 900px) { .post-hero__grid { grid-template-columns: 1.4fr 0.6fr; gap: 48px; } }

.post-layout { display: grid; gap: 30px; padding-top: clamp(30px, 5vw, 60px); padding-bottom: 40px; }
.post-aside { align-self: start; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 18px; }
.facts div { display: grid; }
.facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-deep); }
.facts dd { margin: 0; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.08rem; }
.toc { padding: 18px 20px; background: var(--paper); border-radius: 26px; }
.toc__title { margin: 0 0 8px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-deep); }
.toc ol { margin: 0; padding-left: 1.3em; color: var(--sage-deep); }
.toc li { margin: 4px 0; font-size: 0.95rem; line-height: 1.45; }
.toc a { color: var(--bark); text-decoration: none; }
.toc a:hover { color: var(--clay-deep); text-decoration: underline; }
@media (min-width: 980px) {
  .post-layout { grid-template-columns: 250px minmax(0, 680px); gap: 64px; justify-content: center; }
  .post-aside { position: sticky; top: 30px; }
  .facts { display: grid; gap: 14px; }
}

.prose { min-width: 0; font-size: 1.1rem; }
.prose h2 { margin: 1.9em 0 0.5em; font-size: clamp(1.6rem, 3.2vw, 2.1rem); line-height: 1.2; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose em { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-style: italic; color: var(--clay-deep); }
.prose strong { color: var(--moss); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 30px; margin-bottom: 0.7em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.62em;
  width: 12px; height: 12px;
  background: var(--sage);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n);
  position: absolute;
  left: 0; top: 0.2em;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--clay-soft);
  color: #7a3d22;
  font-size: 0.8rem;
  font-weight: 700;
}
.post-cta {
  margin: 56px 0 30px;
  padding: 30px 24px 22px;
  background: var(--sand);
  border-radius: 40px 40px 40px 14px;
}
.prose .post-cta h2 { margin: 0 0 8px; font-size: 1.7rem; }
.post-cta > p { color: var(--bark-soft); }
.post-cta .waitlist-form input[type="email"] { background: var(--paper); }
.post-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }

.more { padding-top: 30px; }
.more h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: 0 0 20px; }
.more__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.more__list a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--paper);
  border-radius: 30px;
  color: var(--bark);
  text-decoration: none;
  transition: transform 0.7s var(--ease);
}
.more__list a:hover { transform: translateY(-3px); color: var(--bark); }
.more__list a > span:last-child { display: grid; gap: 2px; }
.more__meta { font-size: 0.85rem; color: var(--bark-soft); }
.more__title { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.35rem; color: var(--moss); line-height: 1.2; }
@media (min-width: 760px) { .more__list { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------ 404 */
.lost { padding: clamp(30px, 6vw, 80px) 0 clamp(60px, 10vw, 120px); text-align: center; }
.lost__inner { display: grid; justify-items: center; }
.lost__art { position: relative; width: 230px; height: 230px; margin-bottom: 20px; }
.lost__art .blob { inset: 6%; opacity: 0.5; }
.sprout { position: relative; width: 100%; height: 100%; }
.lost h1 { margin: 0 0 12px; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.08; }
.lost p:not(.eyebrow) { color: var(--bark-soft); max-width: 40ch; margin-left: auto; margin-right: auto; }

/* ------------------------------------------------ footer */
.site-footer { margin-top: clamp(40px, 6vw, 80px); }
.wave--footer { margin-bottom: -1px; }
.footer-inner { background: var(--sand-deep); padding: 20px 0 30px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; padding-bottom: 24px; }
.footer-brand {
  margin: 0;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(3rem, 10vw, 5.4rem);
  line-height: 0.9;
  color: var(--moss);
}
.footer-tag { margin: 8px 0 0; color: var(--bark-soft); font-style: italic; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 700; color: var(--moss); text-decoration: none; }
.footer-nav a:hover { background: var(--sand); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 18px; border-top: 1px solid rgba(59, 48, 39, 0.18); font-size: 0.92rem; color: var(--bark-soft); }
.footer-base p { margin: 0; }

/* ------------------------------------------------ reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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