/* ==========================================================================
   HOT DISH TAKES · styles
   Palette drawn from Whitney's cover art: spruce green, bubblegum pink,
   coral (oven mitts), lavender (the pan), zine paper, casserole-brown ink.
   ========================================================================== */

:root {
  /* color */
  --green-deep:    oklch(0.33 0.06 155);
  --green-deeper:  oklch(0.27 0.055 155);
  --green-apron:   oklch(0.72 0.08 155);
  --green-tint:    oklch(0.93 0.028 150);
  --pink:          oklch(0.81 0.12 350);
  --pink-deep:     oklch(0.53 0.19 355);
  --pink-tint:     oklch(0.94 0.035 350);
  --coral:         oklch(0.60 0.16 30);
  --coral-deep:    oklch(0.51 0.16 30);
  --coral-deeper:  oklch(0.44 0.15 30);
  --lavender:      oklch(0.80 0.055 295);
  --lavender-tint: oklch(0.94 0.025 295);
  --paper:         oklch(0.977 0.006 130);
  --ink:           oklch(0.26 0.025 60);
  --ink-soft:      oklch(0.42 0.03 60);
  --white:         oklch(0.985 0.004 130);

  /* type */
  --font-display: "Shrikhand", "Arial Rounded MT Bold", cursive;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-type: "Courier Prime", "Courier New", monospace;

  /* rhythm */
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --measure: 62ch;

  /* print-shop shadow */
  --riso: 5px 5px 0 var(--ink);
  --riso-sm: 3px 3px 0 var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 1rem; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { text-wrap: balance; line-height: 1.12; }
p { text-wrap: pretty; }

a { color: var(--pink-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 60;
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem;
  font-family: var(--font-type);
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* --------------------------------------------------------------------------
   Typewriter label · used once per section as the show's recurring "stamp".
   -------------------------------------------------------------------------- */
.stamp {
  font-family: var(--font-type);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border: 2px solid currentColor;
  transform: rotate(-1.2deg);
}

/* --------------------------------------------------------------------------
   Buttons · riso-print offset blocks
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border: 2.5px solid var(--ink);
  box-shadow: var(--riso);
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn svg { flex: none; }

.btn-coral { background: var(--coral-deep); color: var(--white); }
.btn-coral:hover { background: var(--coral-deeper); color: var(--white); }
.btn-pink { background: var(--pink); color: var(--ink); }
.btn-pink:hover { background: var(--pink); color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--white); color: var(--ink); }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-head {
  background: var(--green-deep);
  padding-block: 1.4rem 0.4rem;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--pink);
  text-decoration: none;
  text-shadow: 2px 2px 0 var(--green-deeper);
}
.wordmark:hover { color: var(--pink); }
.site-nav { display: flex; gap: clamp(0.9rem, 2.5vw, 1.9rem); flex-wrap: wrap; }
.site-nav a {
  font-family: var(--font-type);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: none;
}
.site-nav a:hover { color: var(--pink); text-decoration: underline wavy; text-underline-offset: 5px; }

/* --------------------------------------------------------------------------
   Hero · spruce-green drench, taped-on cover art
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--green-deep);
  color: var(--white);
  padding-top: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
/* oven-mitt polka dots, barely-there */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, oklch(1 0 0 / 0.07) 3px, transparent 3.5px);
  background-size: 46px 46px;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.hero-copy .stamp { color: var(--pink); margin-bottom: 1.4rem; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 5.9rem);
  line-height: 1.02;
  color: var(--pink);
  text-shadow: 5px 5px 0 var(--green-deeper);
  margin-bottom: 1.3rem;
}
.hero-tag {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  max-width: 34ch;
  margin-bottom: 2.1rem;
}
.hero-tag strong { color: var(--pink); font-weight: 700; }

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.7rem; }
.hero-actions .btn { padding-inline: 1.05rem; }

.hero-note {
  font-family: var(--font-type);
  font-size: 0.9rem;
  color: oklch(0.86 0.04 155);
}

/* taped photo */
.hero-art { position: relative; justify-self: center; }
.tape-frame {
  position: relative;
  background: var(--white);
  padding: 12px 12px 40px;
  border: 2px solid var(--ink);
  box-shadow: 8px 10px 0 var(--green-deeper);
  transform: rotate(-2.2deg);
  max-width: 430px;
}
.tape-frame figcaption {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-type);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.tape {
  position: absolute;
  width: 110px; height: 34px;
  background: oklch(0.9 0.03 95 / 0.65);
  border-inline: 2px dashed oklch(0.75 0.04 95 / 0.5);
  box-shadow: 0 2px 4px oklch(0 0 0 / 0.12);
  z-index: 2;
}
.tape-tl { top: -15px; left: -32px; transform: rotate(-38deg); }
.tape-br { bottom: 24px; right: -36px; transform: rotate(-42deg); }

/* steam rising from behind the pan */
.steam {
  position: absolute;
  top: -34px; left: 50%;
  display: flex; gap: 26px;
  transform: translateX(-50%);
  pointer-events: none;
}
.steam span {
  width: 9px; height: 42px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.5);
  filter: blur(5px);
  animation: rise 3.2s ease-in-out infinite;
}
.steam span:nth-child(2) { animation-delay: 1.1s; height: 54px; }
.steam span:nth-child(3) { animation-delay: 2.2s; }
@keyframes rise {
  0%   { transform: translateY(14px) scaleY(0.6); opacity: 0; }
  35%  { opacity: 0.85; }
  100% { transform: translateY(-30px) scaleY(1.15); opacity: 0; }
}

/* hero entrance */
.hero-copy > * { animation: settle 700ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 80ms; }
.hero-copy > *:nth-child(3) { animation-delay: 160ms; }
.hero-copy > *:nth-child(4) { animation-delay: 240ms; }
.hero-copy > *:nth-child(5) { animation-delay: 320ms; }
.hero-art { animation: tapeup 800ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both; }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tapeup { from { opacity: 0; transform: rotate(1deg) translateY(18px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Rickrack zigzag section trim (apron-hem edging)
   -------------------------------------------------------------------------- */
.rickrack {
  height: 16px;
  background-image:
    linear-gradient(-45deg, var(--rr, var(--paper)) 8px, transparent 0),
    linear-gradient(45deg, var(--rr, var(--paper)) 8px, transparent 0);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 22px 16px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-top: var(--space-section); }
.section > .wrap { padding-bottom: var(--space-section); }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  margin-top: 1rem;
}
.section-head p { max-width: var(--measure); margin-top: 0.6rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Latest episode · the recipe card
   -------------------------------------------------------------------------- */
#latest { background: var(--paper); }
#latest .stamp { color: var(--coral-deep); }
#latest h2 { color: var(--coral-deep); }

.recipe-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  box-shadow: var(--riso);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}
.recipe-main { padding: clamp(1.6rem, 4vw, 2.8rem); }

.recipe-meta-row {
  display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  font-family: var(--font-type);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.ep-num {
  font-weight: 700;
  background: var(--pink);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 0.15rem 0.6rem;
  transform: rotate(-1deg);
}
.explicit {
  border: 1.5px solid var(--ink-soft);
  padding: 0.05rem 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.recipe-main h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin-bottom: 1rem;
}
.recipe-main > p { max-width: var(--measure); margin-bottom: 1.6rem; }

.player-frame {
  border: 2.5px solid var(--ink);
  box-shadow: var(--riso-sm);
  background: var(--white);
  margin-bottom: 1.6rem;
  max-width: var(--measure);
}
.player-frame iframe { display: block; }

.recipe-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* the "recipe box" side panel */
.recipe-side {
  background: var(--green-tint);
  border-left: 2.5px solid var(--ink);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  font-family: var(--font-type);
  font-size: 0.95rem;
}
.recipe-side h3 {
  font-family: var(--font-type);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px dashed var(--ink-soft);
  padding-bottom: 0.5rem;
  margin-bottom: 0.9rem;
}
.recipe-side dl { display: grid; gap: 0.55rem; }
.recipe-side div { display: flex; justify-content: space-between; gap: 1rem; }
.recipe-side dt { color: var(--ink-soft); white-space: nowrap; }
.recipe-side dd { font-weight: 700; text-align: right; }

/* --------------------------------------------------------------------------
   Episode catalog
   -------------------------------------------------------------------------- */
#episodes { background: var(--lavender-tint); }
#episodes .stamp { color: var(--pink-deep); }

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
}
.ep-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  box-shadow: var(--riso-sm);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.ep-card .recipe-meta-row { margin-bottom: 0; }
.ep-card h3 { font-size: 1.25rem; font-weight: 800; }
.ep-card p { font-size: 0.98rem; color: var(--ink-soft); flex: 1; max-width: 58ch; }
.ep-card .ep-links { display: flex; gap: 1.2rem; font-weight: 700; font-size: 0.95rem; }

.ep-card-oven {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
  align-items: flex-start;
  justify-content: center;
}
.ep-card-oven .oven-dial {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--pink-deep);
}
.ep-card-oven p { flex: 0; }

/* --------------------------------------------------------------------------
   Hosts
   -------------------------------------------------------------------------- */
#hosts { background: var(--green-tint); }
#hosts .stamp { color: var(--green-deep); }

.host-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.6rem, 3.5vw, 2.5rem);
}
.host-card {
  position: relative;
  border: 2.5px solid var(--ink);
  box-shadow: var(--riso);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  overflow: hidden;
}
.host-kristin { background: var(--pink-tint); }
.host-holly { background: var(--lavender-tint); }

/* the apron patch, top-right corner */
.patch {
  position: absolute;
  top: 16px; right: 16px;
  width: 54px; height: 54px;
  border: 2px dashed var(--ink-soft);
  transform: rotate(6deg);
  background-image:
    repeating-linear-gradient(0deg, oklch(0.62 0.1 250 / 0.35) 0 7px, transparent 7px 14px),
    repeating-linear-gradient(90deg, oklch(0.62 0.1 250 / 0.35) 0 7px, transparent 7px 14px);
  background-color: oklch(0.9 0.02 250 / 0.5);
}
.host-holly .patch {
  background-image:
    repeating-linear-gradient(0deg, oklch(0.6 0.14 30 / 0.35) 0 7px, transparent 7px 14px),
    repeating-linear-gradient(90deg, oklch(0.6 0.14 30 / 0.35) 0 7px, transparent 7px 14px);
  background-color: oklch(0.92 0.03 30 / 0.5);
  transform: rotate(-5deg);
}

.host-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 0.3rem;
  padding-right: 74px; /* keep clear of the sewn-on corner patch */
}
.host-kristin h3 { color: var(--pink-deep); }
.host-holly h3 { color: oklch(0.45 0.11 295); }

.host-where {
  font-family: var(--font-type);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.host-card p { margin-bottom: 1rem; max-width: 58ch; }
.host-card p:last-of-type { margin-bottom: 1.4rem; }
.host-links { display: flex; gap: 1.3rem; flex-wrap: wrap; font-weight: 700; }

/* theme song strip */
.theme-strip {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 2.5px solid var(--ink);
  background: var(--pink);
  box-shadow: var(--riso-sm);
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  transform: rotate(-0.5deg);
}
.theme-strip .note { font-size: 1.6rem; line-height: 1; }
.theme-strip a { color: var(--ink); }
.theme-strip a:hover { color: var(--coral-deep); }
.theme-strip p { font-weight: 500; max-width: 72ch; }
.theme-strip strong { font-weight: 800; }

/* --------------------------------------------------------------------------
   Contact / footer · green bookend
   -------------------------------------------------------------------------- */
.foot {
  background: var(--green-deep);
  color: var(--white);
  padding-block: var(--space-section) 2.5rem;
}
.foot .stamp { color: var(--pink); }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.foot h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--pink);
  text-shadow: 4px 4px 0 var(--green-deeper);
  margin-block: 1rem 0.8rem;
}
.foot-grid > div > p { max-width: 44ch; margin-bottom: 1.8rem; color: oklch(0.9 0.02 155); }

.subscribe h3 {
  font-family: var(--font-type);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.1rem;
}
.subscribe ul { list-style: none; display: grid; gap: 0.7rem; }
.subscribe a {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--white); font-weight: 700; text-decoration: none;
}
.subscribe a:hover { color: var(--pink); text-decoration: underline wavy; text-underline-offset: 5px; }
.subscribe svg { flex: none; }

.colophon {
  border-top: 2px dashed oklch(0.55 0.05 155);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-type);
  font-size: 0.85rem;
  color: oklch(0.83 0.03 155);
}
.colophon a { color: oklch(0.88 0.05 350); }
.colophon p { max-width: 72ch; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  /* compact art lockup: Whitney's illustration joins the first screen */
  .hero-art { order: -1; max-width: 270px; width: 100%; }
  .tape-frame { padding: 9px 9px 32px; }
  .tape-frame figcaption { font-size: 0.75rem; bottom: 6px; }
  .recipe-card { grid-template-columns: 1fr; }
  .recipe-side { border-left: none; border-top: 2.5px solid var(--ink); }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-head .wrap { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
  .tape-br { display: none; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-art { animation: none; }
  .steam { display: none; }
  .btn { transition: none; }
  .btn:hover { transform: none; box-shadow: var(--riso); }
}
