:root {
  --cream: #f7f0df;
  --paper: #fffaf0;
  --ink: #20251f;
  --muted: #6c7066;
  --green: #315f47;
  --green-dark: #173b2b;
  --lime: #b7c94a;
  --turquoise: #0ba6ad;
  --orange: #ef7622;
  --yellow: #f2c84b;
  --brown: #6e3e24;
  --line: rgba(32, 37, 31, 0.15);
  --shadow: 0 24px 70px rgba(46, 48, 35, 0.12);
  --radius-lg: 36px;
  --radius-md: 24px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 12px;
}
.skip-link:focus { top: 1rem; }

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.section-space { padding-block: 110px; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  min-height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 1.24rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}
.brand > span:last-child > span { color: var(--turquoise); }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 45% 55%;
  background: var(--green);
  color: white;
  font-family: Georgia, serif;
  font-style: italic;
  transform: rotate(-8deg);
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}
.main-nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 4px;
  background: var(--orange);
  transition: width 180ms ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.main-nav .nav-instagram { color: var(--orange); }
.main-nav .nav-instagram::after { background: var(--turquoise); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 10px;
}
.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 50px;
  align-items: center;
  padding-block: 70px 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow > span { width: 34px; height: 3px; background: var(--orange); }
.eyebrow.light { color: #d8ecdf; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 0.98; letter-spacing: -0.055em; }
h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 6.5vw, 6.4rem);
  font-weight: 500;
}
h1 em { color: var(--green); font-weight: 700; }
h2 { font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 5.3rem); font-weight: 500; }
h3 { font-size: 1.7rem; line-height: 1.1; }

.hero-lead {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.18rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; box-shadow: 6px 6px 0 var(--yellow); }
.button-ghost { background: transparent; }
.button-light { background: var(--paper); border-color: var(--paper); color: var(--green-dark); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 0.86rem; }
.hero-notes li::before { content: "✓"; margin-right: 6px; color: var(--turquoise); font-weight: 900; }

.hero-art { position: relative; min-height: 620px; display: grid; place-items: center; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 9% 3% 5%;
  border-radius: 48% 52% 46% 54%;
  background: #efe1c5;
  transform: rotate(3deg);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 13% 8% 9%;
  border: 2px dashed rgba(49, 95, 71, 0.25);
  border-radius: 50%;
}
.hero-art img { position: relative; z-index: 2; width: min(620px, 100%); filter: drop-shadow(0 30px 35px rgba(48, 53, 37, 0.14)); }
.speech {
  position: absolute;
  z-index: 4;
  padding: 15px 20px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  box-shadow: 4px 4px 0 var(--ink);
}
.speech-left { left: 2%; top: 20%; transform: rotate(-8deg); }
.speech-right { right: 3%; top: 18%; transform: rotate(8deg); }
.ticker { overflow: hidden; padding-block: 18px; background: var(--orange); border-block: 2px solid var(--ink); transform: rotate(-1deg) scale(1.01); }
.ticker > div { width: max-content; display: flex; align-items: center; gap: 27px; animation: ticker 24s linear infinite; }
.ticker span { color: white; font-size: 1rem; font-weight: 950; letter-spacing: 0.16em; }
.ticker i { color: var(--yellow); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.section-heading h2 { margin: 0; }
.episode-number { margin: 0; color: var(--muted); font-size: 0.76rem; letter-spacing: 0.13em; }
.episode-number strong { display: block; color: var(--ink); font-family: Georgia, serif; font-size: 3rem; letter-spacing: -0.05em; }
.episode-grid { display: grid; grid-template-columns: 1.55fr 0.75fr; gap: 26px; }
.comic-card, .episode-note { border: 2px solid var(--ink); border-radius: var(--radius-md); overflow: hidden; }
.comic-card { background: var(--paper); box-shadow: 9px 9px 0 var(--ink); }
.comic-topline, .comic-card footer { display: flex; justify-content: space-between; padding: 12px 18px; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.1em; }
.comic-topline { border-bottom: 2px solid var(--ink); }
.comic-card footer { display: block; border-top: 2px solid var(--ink); text-align: center; font-size: 0.82rem; letter-spacing: 0; }
.comic-scene { position: relative; height: 460px; min-height: 0; display: grid; place-items: end center; padding: 45px 18px 0; background: radial-gradient(circle at center, #fffdf7 0 34%, #e9dfc9 35% 100%); overflow: hidden; }
.comic-scene img { position: relative; z-index: 2; width: min(720px, 100%); height: 400px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 20px rgba(32, 37, 31, 0.14)); }
.comic-bubble { position: absolute; z-index: 4; top: 24px; max-width: 175px; margin: 0; padding: 12px 14px; background: white; border: 2px solid var(--ink); border-radius: 18px; font-family: Georgia, serif; font-weight: 700; line-height: 1.08; text-align: center; box-shadow: 3px 3px 0 var(--ink); }
.comic-bubble-left { left: 22px; transform: rotate(-4deg); }
.comic-bubble-right { right: 22px; transform: rotate(4deg); }

.episode-note { padding: 38px; background: var(--yellow); display: flex; flex-direction: column; justify-content: center; }
.note-kicker { font-size: 0.7rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.episode-note h3 { margin: 16px 0; font-family: Georgia, serif; font-size: 2.3rem; }
.episode-note blockquote { margin: 16px 0 30px; padding-left: 18px; border-left: 4px solid var(--ink); font-family: Georgia, serif; font-size: 1.18rem; font-style: italic; }
.text-link { margin-top: auto; font-weight: 850; text-decoration: none; }
.text-link span { transition: margin-left 160ms ease; }
.text-link:hover span { margin-left: 6px; }

.table-section { background: var(--green-dark); color: white; }
.table-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 80px; }
.table-intro h2 { margin-bottom: 24px; }
.table-intro > p:not(.eyebrow) { max-width: 530px; color: #c9d8ce; font-size: 1.05rem; }
.meal-card { position: relative; min-height: 520px; padding: 40px; background: #efe3ca; color: var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 13px 13px 0 var(--turquoise); }
.plate { position: absolute; width: 255px; aspect-ratio: 1; display: grid; place-items: center; border: 18px solid white; border-radius: 50%; background: #f6efe0; box-shadow: 0 20px 30px rgba(0,0,0,0.16); }
.plate span { position: absolute; display: grid; place-items: center; color: white; font-size: 0.72rem; font-weight: 850; }
.plate .protein { width: 110px; height: 75px; background: var(--orange); border-radius: 47% 53% 56% 44%; transform: translate(-28px, -25px) rotate(-8deg); }
.plate .greens { width: 80px; height: 95px; background: var(--green); border-radius: 50%; transform: translate(60px, -28px); }
.plate .side { width: 75px; height: 60px; background: var(--yellow); color: var(--ink); border-radius: 50%; transform: translate(24px, 62px); }
.plate-one { left: 30px; top: 35px; transform: rotate(-7deg); }
.plate-two { right: 25px; top: 90px; transform: rotate(8deg) scale(1.08); }
.meal-copy { position: absolute; left: 42px; bottom: 32px; max-width: 370px; padding: 24px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); }
.meal-copy span { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.13em; }
.meal-copy h3 { margin: 8px 0; font-family: Georgia, serif; font-size: 2rem; }
.meal-copy p { margin: 0; color: var(--muted); }

.about-card { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 470px; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-quote { display: grid; place-items: center; padding: 50px; background: var(--turquoise); color: white; font-family: Georgia, serif; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1.05; text-align: center; transform-origin: center; }
.about-copy { padding: 70px; background: var(--paper); }
.about-copy h2 { max-width: 680px; margin-bottom: 28px; font-size: clamp(2.5rem, 4vw, 4.4rem); }
.about-copy p { color: var(--muted); }

.section-note { max-width: 360px; color: var(--muted); text-align: right; }
.archive-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.archive-card { min-height: 285px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--paper); transition: transform 180ms ease, box-shadow 180ms ease; }
.archive-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 7px 7px 0 var(--ink); }
.archive-card.featured { background: var(--lime); }
.archive-year { font-family: Georgia, serif; font-size: 3rem; }
.archive-card p { margin-bottom: 8px; color: var(--muted); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.archive-card h3 { margin-bottom: 24px; font-family: Georgia, serif; font-size: 2rem; }
.archive-card a { font-weight: 850; }

/* Story pages */
.story-header .main-nav { margin-left: auto; }
.story-main { overflow: hidden; }
.story-hero { padding-block: 72px 52px; }
.story-hero-copy { max-width: 900px; margin-bottom: 38px; }
.story-hero h1 { margin-bottom: 22px; font-size: clamp(3.5rem, 7vw, 7rem); }
.story-deck { max-width: 720px; color: var(--muted); font-family: Georgia, serif; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.4; }
.story-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; list-style: none; text-transform: uppercase; }
.story-meta li + li::before { content: "✦"; margin-right: 22px; color: var(--orange); }
.story-visual { position: relative; min-height: 630px; display: grid; place-items: end center; padding: 36px 36px 0; border: 2px solid var(--ink); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 70%, #fff8e9 0 33%, #dce7a8 34% 58%, #b7c94a 59% 100%); box-shadow: 12px 12px 0 var(--ink); overflow: hidden; }
.story-visual::before { content: ""; position: absolute; inset: 8% 5%; border: 2px dashed rgba(32, 37, 31, 0.2); border-radius: 50%; transform: rotate(-3deg); }
.story-visual img { position: relative; z-index: 2; width: min(1120px, 100%); filter: drop-shadow(0 22px 24px rgba(36, 41, 27, 0.16)); }
.story-visual .speech-left { left: 4%; top: 8%; }
.story-visual .speech-right { right: 5%; top: 12%; max-width: 210px; }
.smoothie-visual { background: radial-gradient(circle at 50% 68%, #fff8e9 0 31%, #b9e4df 32% 57%, #0ba6ad 58% 100%); }
.smoothie-visual .speech-left { left: 3%; top: 7%; max-width: 220px; }
.smoothie-visual .speech-right { right: 3%; top: 8%; max-width: 190px; }
.origin-visual { background: radial-gradient(circle at 50% 70%, #fff8e9 0 31%, #f6d98a 32% 57%, #ef7622 58% 100%); }
.origin-visual .speech-left { left: 3%; top: 7%; max-width: 210px; }
.origin-visual .speech-right { right: 3%; top: 8%; max-width: 175px; }
.monday-visual { background: radial-gradient(circle at 50% 68%, #fff8e9 0 31%, #eadfc7 32% 58%, #f2c84b 59% 100%); }
.monday-visual .speech-left { left: 3%; top: 7%; max-width: 210px; }
.monday-visual .speech-right { right: 3%; top: 9%; max-width: 170px; }
.story-caption { margin: 18px 0 0; color: var(--muted); font-size: 0.82rem; text-align: center; }
.story-body { width: min(calc(100% - 40px), 760px); margin-inline: auto; padding-block: 72px 105px; }
.story-body > p { margin-bottom: 28px; font-family: Georgia, serif; font-size: clamp(1.22rem, 2vw, 1.48rem); line-height: 1.72; }
.story-body > p:first-child::first-letter { float: left; margin: 9px 10px 0 0; color: var(--green); font-family: Georgia, serif; font-size: 5.4rem; font-weight: 700; line-height: 0.72; }
.story-body h2 { margin: 70px 0 24px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.story-dialogue { margin: 44px -80px; padding: 34px 40px; border: 2px solid var(--ink); border-radius: var(--radius-md); background: var(--yellow); box-shadow: 8px 8px 0 var(--ink); }
.story-dialogue p { margin: 0; font-family: Georgia, serif; font-size: clamp(1.25rem, 2.5vw, 1.7rem); font-weight: 700; line-height: 1.35; }
.story-dialogue p + p { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(32, 37, 31, 0.3); text-align: right; }
.story-takeaway { margin: 54px -120px; display: grid; grid-template-columns: 0.42fr 1fr; gap: 32px; padding: 42px; border-radius: var(--radius-lg); background: var(--green-dark); color: white; }
.story-takeaway > span { color: var(--lime); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.story-takeaway h3 { margin-bottom: 14px; color: white; font-family: Georgia, serif; font-size: 2.2rem; }
.story-takeaway p { margin: 0; color: #cfddd3; }
.story-source { padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.story-source strong { color: var(--ink); }
.story-nav { background: var(--orange); border-block: 2px solid var(--ink); }
.story-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 150px; }
.story-nav a { color: white; font-weight: 900; text-decoration: none; }
.story-nav a:last-child { max-width: 430px; font-family: Georgia, serif; font-size: 1.45rem; text-align: right; }

.site-footer { padding-top: 70px; background: var(--ink); color: white; }
.footer-top { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 60px; }
.footer-brand .brand-mark { background: var(--turquoise); }
.footer-top > div > p { margin: 16px 0 0; color: #bfc3ba; }
.footer-note { max-width: 520px; color: #bfc3ba; text-align: right; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 20px; border-top: 1px solid rgba(255,255,255,0.15); color: #a9ada4; font-size: 0.8rem; }
.footer-bottom a { color: white; font-weight: 800; text-decoration: none; }
.footer-bottom a:hover { color: var(--turquoise); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-notes { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-art { min-height: 560px; }
  .episode-grid, .table-grid, .about-card { grid-template-columns: 1fr; }
  .episode-note { min-height: 360px; }
  .table-grid { gap: 50px; }
  .table-intro { text-align: center; }
  .table-intro .eyebrow { justify-content: center; }
  .table-intro > p:not(.eyebrow) { margin-inline: auto; }
  .about-quote { min-height: 360px; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .archive-card.featured { grid-column: 1 / -1; }
  .story-visual { min-height: 500px; }
  .story-takeaway { margin-inline: -50px; }
}

@media (max-width: 720px) {
  .section-shell, .site-header { width: min(calc(100% - 28px), var(--max)); }
  .section-space { padding-block: 74px; }
  .site-header { min-height: 76px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    z-index: 20;
    left: 14px;
    right: 14px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 18px;
    box-shadow: 6px 6px 0 var(--ink);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px; }
  .hero { min-height: auto; padding-block: 55px; gap: 20px; }
  h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .hero-art { min-height: 440px; }
  .speech { padding: 11px 14px; font-size: 0.86rem; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 3.2rem; }
  .episode-number { display: none; }
  .comic-scene { height: 350px; min-height: 0; padding: 70px 2px 0; }
  .comic-scene img { width: 112%; max-width: 112%; height: 275px; object-fit: contain; object-position: center bottom; }
  .comic-bubble { top: 18px; max-width: 135px; padding: 9px 10px; font-size: 0.76rem; }
  .comic-bubble-left { left: 10px; }
  .comic-bubble-right { right: 10px; }
  .episode-note { padding: 28px; }
  .meal-card { min-height: 610px; padding: 20px; }
  .plate { width: 210px; }
  .plate-one { left: 5px; }
  .plate-two { right: 0; top: 205px; }
  .meal-copy { left: 18px; right: 18px; bottom: 18px; }
  .about-copy { padding: 36px 28px; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card.featured { grid-column: auto; }
  .section-note { display: none; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-note { text-align: left; }
  .story-hero { padding-top: 52px; }
  .story-visual { min-height: 380px; padding: 24px 5px 0; border-radius: 24px; box-shadow: 7px 7px 0 var(--ink); }
  .story-visual .speech { max-width: 135px; }
  .story-visual .speech-left { left: 2%; top: 3%; }
  .story-visual .speech-right { right: 2%; top: 5%; }
  .story-body { width: min(calc(100% - 28px), 760px); padding-block: 56px 76px; }
  .story-dialogue, .story-takeaway { margin-inline: 0; }
  .story-dialogue { padding: 26px 22px; }
  .story-takeaway { grid-template-columns: 1fr; padding: 30px 24px; }
  .story-nav-inner { min-height: 180px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .story-nav a:last-child { text-align: left; }
  .story-meta li + li::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
