:root {
  --sans: Inter, system-ui, sans-serif;
  --void: #070707;
  --panel: #111111;
  --paper: #F6F3EE;
  --ink: #111111;
  --mute: #6B6560;
  --line: #E4DED4;
  --accent: #7A1020;
  --serif: Georgia, "Times New Roman", serif;
  --white: #FFFFFF;
  --font-body: var(--gh-font-body, var(--sans));
  --font-heading: var(--gh-font-heading, var(--serif));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 720px); }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav__mark {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav__mark img { height: 46px; width: auto; }
@media (max-width: 640px) { .nav__mark img { height: 40px; } }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  font-weight: 500;
}
.nav__link.is-current { opacity: 0.7; }
.nav__cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.nav__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
}
.nav__toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}
@media (max-width: 640px) {
  .nav { flex-wrap: wrap; }
  .nav__toggle { display: block; }
  .nav__menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0 0.5rem;
    font-size: 1rem;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__cta { font-size: 0.85rem; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: min(92svh, 860px);
  background: var(--void);
  color: var(--white);
  overflow: hidden;
}
/* No giant watermark word behind the founder copy. */
.hero--solo {
  min-height: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(92svh, 860px);
  align-items: end;
}
.hero--solo .hero__grid {
  min-height: 0;
  align-items: center;
}
.hero__photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  max-height: min(92svh, 860px);
  object-fit: cover;
  object-position: center 22%;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
}
@media (min-width: 640px) {
  .hero__grid { grid-template-columns: 0.95fr 1.05fr; align-items: stretch; }
  .hero--solo .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { min-height: 100%; }
  .hero__copy { padding: 3rem 2rem 3rem 1.5rem; }
  .hero--solo .hero__copy { padding-left: 2rem; }
}
@media (min-width: 900px) {
  .hero__copy { padding: 4rem 3rem 4rem 1.5rem; }
  .hero--solo .hero__copy { padding-left: 3rem; }
}
/* Phone: show the face, keep the headline and the button on the first screen */
@media (max-width: 639px) {
  .hero, .hero__grid { min-height: 0; }
  .hero__grid { align-items: start; }
  .hero__photo img { height: 46svh; max-height: 46svh; object-position: center 12%; }
  .hero__copy { padding: 1.5rem 1.25rem 2.25rem; }
}
.hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.hero h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.hero__deck {
  margin: 1.1rem 0 0;
  max-width: 34ch;
  color: rgba(255,255,255,.72);
  font-size: 1.02rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.4rem;
  width: fit-content;
  background: var(--accent);
  color: var(--white);
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 26rem;
}
.hero__stats div {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}
.hero__stats strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hero__stats span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
}

/* ===== ENTRY ===== */
.entry {
  background: var(--paper);
  padding: 3.25rem 0 3.5rem;
  scroll-margin-top: 4rem;
}
.entry__top { margin-bottom: 1.5rem; }
.k {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.entry__top h1,
.entry__top h2 {
  margin: 0.35rem 0 0.6rem;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.entry__lede {
  margin: 0;
  max-width: 42ch;
  color: var(--mute);
}
.entry__grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) {
  .entry__grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .entry__grid--solo { grid-template-columns: minmax(0, 40rem); }
}
.entry figure { margin: 0; }
.entry figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 1.1rem;
}
.entry figcaption { margin-top: 0.5rem; font-size: 0.8rem; color: var(--mute); }

/* The card that flips between "The recipe" and "Why it works" */
.page {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.15rem 1.15rem 1.25rem;
}
.page__switch {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.page__switch button {
  border: 0;
  background: #EFEAE3;
  color: var(--mute);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.page__switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}
.page__body > *:first-child,
.page__panel > *:first-child { margin-top: 0; }
.page__body h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.page__body h3 {
  margin: 0;
  padding: 0.7rem 0 0.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.page__body p,
.page__body li {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}
.page__body ul,
.page__body ol { margin: 0 0 0.7rem; padding-left: 1.2rem; }
.page__body hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
.page__panel > *:last-child { margin-bottom: 0; }

/* ===== POST BODY BELOW THE CARD ===== */
.post__rest:empty { display: none; }
.post__rest { max-width: 44rem; margin-top: 2.5rem; }
.gh-content > * + * { margin-top: 1rem; }
.post__rest h2, .plain h2 { font-size: 1.6rem; letter-spacing: -0.03em; margin-top: 2rem; }
.post__rest h3, .plain h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-top: 1.5rem; }
.post__rest a, .plain .gh-content a, .letter__body a { color: var(--accent); text-decoration: underline; }
.post__rest img, .plain .gh-content img { border-radius: 1.1rem; height: auto; }
.gh-content .kg-card { margin-top: 1.5rem; }
.gh-content .kg-width-wide { width: 100%; }
.gh-content .kg-width-full { width: 100%; }
.gh-content .kg-width-full img { border-radius: 0; }
.gh-content figcaption { margin-top: 0.5rem; font-size: 0.8rem; color: var(--mute); text-align: center; }
.gh-content blockquote { margin-inline: 0; padding-left: 1rem; border-left: 3px solid var(--accent); color: var(--mute); }

/* ===== BOARD ===== */
.board {
  background: var(--white);
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}
.board__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.3rem 0 1.25rem;
}
.board h2, .list__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}
.list__title { margin: 0.3rem 0 1.25rem; }
.board__all { font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.cards { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  display: block;
  background: var(--paper);
  border-radius: 1.1rem;
  overflow: hidden;
}
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card div { padding: 0.9rem 1rem 1.1rem; }
.card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.card p { margin: 0.25rem 0 0; color: var(--mute); font-size: 0.9rem; }
.pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== LETTER ===== */
.letter {
  background: var(--void);
  color: var(--white);
  padding: 3rem 0;
  scroll-margin-top: 4rem;
}
.letter__in {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 860px) {
  .letter__in { grid-template-columns: 16rem 1fr; gap: 3rem; }
  .letter__in--solo { grid-template-columns: 1fr; }
}
.letter img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1.1rem;
}
@media (max-width: 859px) {
  .letter__in > img { max-width: 12rem; }
}
.letter h2 {
  margin: 0.35rem 0 0.9rem;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.letter__body p {
  margin: 0 0 0.75rem;
  max-width: 44ch;
  color: rgba(255,255,255,.78);
}
.letter__body p:first-child { color: var(--white); font-weight: 500; }
.letter__body p:last-child { margin-top: 1rem; color: var(--white); }

/* ===== PLAIN PAGES ===== */
.plain { padding: 3.25rem 0 3.5rem; }
.plain h1 {
  margin: 0 0 1.25rem;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plain__image { width: 100%; border-radius: 1.1rem; margin-bottom: 1.5rem; }
.plain--center { text-align: center; }
.plain--center .btn { margin-inline: auto; }

/* ===== MAIL ===== */
.mail {
  padding: 3rem 1.25rem 2rem;
  text-align: center;
  scroll-margin-top: 4rem;
}
.mail h2 {
  margin: 0.35rem auto 1.1rem;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
}
.mail__form {
  display: flex;
  width: min(100%, 28rem);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.25rem 0.25rem 1rem;
}
.mail__form input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
}
.mail__form button {
  border: 0;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.foot {
  padding: 0 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--mute);
}
.foot__links { display: flex; gap: 1rem; }

/* ===== RECIPE LINK CARD (Ghost bookmark card) ===== */
.gh-content figure { margin-inline: 0; }
.gh-content .kg-bookmark-card { width: 100%; margin: 1.5rem 0 0; }
.gh-content .kg-bookmark-card a.kg-bookmark-container {
  display: flex;
  min-height: 9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  box-shadow: none;
  font-family: var(--font-body);
}
.gh-content .kg-bookmark-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 1rem 1.15rem;
}
.gh-content .kg-bookmark-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
.gh-content .kg-bookmark-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--mute);
  opacity: 1;
}
.gh-content .kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.gh-content .kg-bookmark-icon { width: 1rem; height: 1rem; margin: 0; border-radius: 0; }
.gh-content .kg-bookmark-author,
.gh-content .kg-bookmark-publisher { color: var(--accent); font-weight: 700; opacity: 1; }
.gh-content .kg-bookmark-thumbnail {
  position: relative;
  flex: 0 0 34%;
  min-height: 9rem;
}
.gh-content .kg-bookmark-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
@media (max-width: 560px) {
  .gh-content .kg-bookmark-card a.kg-bookmark-container { flex-direction: column-reverse; }
  .gh-content .kg-bookmark-thumbnail { flex-basis: auto; min-height: 11rem; }
}

/* ===== "COOK THIS DISH" BUTTON ===== */
.gh-content .kg-button-card { margin-top: 1.5rem; }
.gh-content .kg-button-card a.kg-btn {
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  height: auto;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ===== RECIPE POST: card on top, then the tabs ===== */
.dish__top { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 860px) {
  .dish__top { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 2.5rem; }
  .dish__top--solo { grid-template-columns: 1fr; }
}
.dish__photo { margin: 0; }
.dish__photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 1.1rem;
}
@media (max-width: 859px) {
  .dish__photo img { aspect-ratio: 16 / 10; max-height: 36svh; }
}
.dish__head h1, .dish__head h2 {
  margin: 0.35rem 0 0.6rem;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.dish__app { margin-top: 1.25rem; padding: 1rem 1.5rem; font-size: 0.82rem; }
.dish__app::after { content: "\2192"; margin-left: 0.5rem; }
.dish__intro:empty { display: none; }
.dish__intro { max-width: 44rem; margin-bottom: 1.5rem; font-size: 1.05rem; }
.dish__bottom { margin-top: 2rem; }
.page[data-recipe] { max-width: 52rem; }
.page__switch { flex-wrap: wrap; }
.page__panel ul, .page__panel ol { list-style: none; margin: 0; padding: 0; }
.page__panel li {
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.page__panel ol { counter-reset: step; }
.page__panel ol > li { counter-increment: step; padding-left: 2.6rem; position: relative; }
.page__panel ol > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.page__panel li strong { font-weight: 700; }

.dish__open { display: block; width: fit-content; margin-top: 0.75rem; font-size: 0.85rem; color: var(--mute); text-decoration: underline; }

/* ===== BRAND (v1.3.0): real logo, Georgia Bold headings, burgundy #7A1020 ===== */
h1, h2, h3, h4 { font-weight: 700; }
.letter .k, .hero .k { color: rgba(255,255,255,.62); }
.hero .btn, .letter .btn { box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.letter__body a { color: var(--white); }

/* ===== RECIPE EMAIL GATE (v1.4.0) ===== */
.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;
}
.page[data-recipe] {
  position: relative;
}

/* First paint / no-JS: blur Mise + Cooking in the raw source (after Ingredients). */
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) [data-recipe-source] > h2#mise-en-place,
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) [data-recipe-source] > h2#mise-en-place ~ *,
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) [data-recipe-source] > h2#cooking-instructions,
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) [data-recipe-source] > h2#cooking-instructions ~ *,
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) [data-recipe-source] > .recipe-gated,
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) .page__panel.recipe-gated {
  filter: blur(6px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

html.recipe-unlocked [data-recipe-gated] .recipe-gated,
[data-recipe-gated].is-unlocked .recipe-gated,
html.recipe-unlocked [data-recipe-gated] [data-recipe-source] > h2#mise-en-place,
html.recipe-unlocked [data-recipe-gated] [data-recipe-source] > h2#mise-en-place ~ *,
[data-recipe-gated].is-unlocked [data-recipe-source] > h2#mise-en-place,
[data-recipe-gated].is-unlocked [data-recipe-source] > h2#mise-en-place ~ * {
  filter: none;
  user-select: auto;
  -webkit-user-select: auto;
  pointer-events: auto;
}

.recipe-gate {
  display: none;
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  top: 4.25rem;
  z-index: 5;
  max-width: 22rem;
  margin-inline: auto;
  padding: 1rem 1.05rem 1.05rem;
  background: rgba(246, 243, 238, 0.96);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
  pointer-events: auto;
}
/* Before tabs exist (or if main.js fails): keep the form available over blurred content. */
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked):not([data-tabs-ready]) .recipe-gate,
.recipe-gate.is-open {
  display: block;
}
html.recipe-unlocked .recipe-gate,
[data-recipe-gated].is-unlocked .recipe-gate {
  display: none !important;
}
.recipe-gate__headline {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
}
.recipe-gate__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: stretch;
}
.recipe-gate__form input {
  flex: 1 1 10rem;
  min-width: 0;
  height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}
.recipe-gate__form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.recipe-gate__form button {
  flex: 0 0 auto;
  height: 2.75rem;
  padding: 0 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.recipe-gate__form button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.recipe-gate__fine {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--mute);
}
.recipe-gate__error {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--accent);
}

@media (max-width: 480px) {
  .recipe-gate {
    left: 0.75rem;
    right: 0.75rem;
    top: 3.75rem;
    padding: 0.9rem;
  }
  .recipe-gate__form button {
    flex: 1 1 100%;
  }
}

/* v1.4.3: locked panel is always tall enough to hold the email box, so it never spills out of the card. */
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) .page__panel.recipe-gated { min-height: 17rem; }

/* ===== v1.4.5: email gate restyle. Copy unchanged, styling only. ===== */
.recipe-gate {
  max-width: 24rem;
  padding: 1.5rem 1.25rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18), 0 2px 6px rgba(17, 17, 17, 0.06);
  text-align: center;
}
.recipe-gate::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0 auto 1rem;
  border-radius: 3px;
  background: var(--accent);
}
.recipe-gate__headline {
  margin: 0 auto 1.1rem;
  max-width: 20ch;
  font-size: 1.4rem;
  line-height: 1.15;
}
.recipe-gate__form { gap: 0.55rem; }
.recipe-gate__form input { height: 3.1rem; padding: 0 1.1rem; font-size: 1rem; }
.recipe-gate__form button { height: 3.1rem; padding: 0 1.4rem; font-size: 0.78rem; letter-spacing: 0.08em; }
.recipe-gate__fine { margin-top: 0.9rem; font-size: 0.82rem; }
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) .page__panel.recipe-gated { min-height: 21rem; opacity: 0.6; }
@media (min-width: 720px) {
  .recipe-gate {
    max-width: 34rem;
    margin-top: 1.25rem;
    padding: 2.25rem 2.5rem 2rem;
    border-radius: 1.5rem;
  }
  .recipe-gate::before { width: 3.25rem; margin-bottom: 1.25rem; }
  .recipe-gate__headline { max-width: 19ch; font-size: 2rem; line-height: 1.1; margin-bottom: 1.5rem; }
  .recipe-gate__form { flex-wrap: nowrap; }
  .recipe-gate__form input { height: 3.5rem; font-size: 1.05rem; }
  .recipe-gate__form button { height: 3.5rem; padding: 0 1.75rem; font-size: 0.82rem; }
  .recipe-gate__fine { font-size: 0.88rem; margin-top: 1.1rem; }
  html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) .page__panel.recipe-gated { min-height: 24rem; }
}

/* ===== v1.5.0: shorter hero, App Store badge with app icon, featured recipe as a card ===== */
@media (min-width: 640px) {
  .hero, .hero__grid { min-height: min(72svh, 620px); }
  .hero__photo img { max-height: min(72svh, 620px); }
}
.getapp { margin-top: 1.5rem; }
.getapp__label {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero .getapp__label { color: rgba(255,255,255,.62); }
.getapp__link { display: inline-flex; align-items: center; gap: 0.8rem; }
.getapp__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.4rem;
  background: var(--white);
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(17,17,17,.1);
}
.getapp__icon img { width: 100%; height: auto; }
.getapp__badge { width: auto; height: 3.25rem; }
.dish__bottom .getapp { margin-top: 0; }

.feature { padding: 3rem 0 0; }
.feature__card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}
.feature__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature__body { display: flex; flex-direction: column; justify-content: center; padding: 1.4rem 1.25rem 1.6rem; }
.feature__body h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.feature__body p { margin: 0; }
.feature__lede { color: var(--mute); }
.feature__go { display: block; margin-top: 1.1rem; font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.feature__card:hover .feature__go { text-decoration: underline; }
@media (min-width: 760px) {
  .feature__card { grid-template-columns: 1.1fr 1fr; }
  .feature__card img { height: 100%; max-height: 24rem; aspect-ratio: auto; }
  .feature__body { padding: 2.5rem; }
}

/* v1.5.1: space under the featured card; shorter photo on short phones so the badge stays on the first screen */
.feature { padding-bottom: 3rem; }
@media (max-width: 639px) and (max-height: 760px) { .hero__photo img { height: 38svh; max-height: 38svh; } }

/* ===== v1.6.0: new home page (hx-), dark glass nav on home, full takeover email gate ===== */
.home-template { background: #0B0B0B; color: #fff; }
.nav__logo-light, .foot__big { display: none; }
.home-template .nav { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 50; padding: 8px 10px 8px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: rgba(11,11,11,.62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; }
.home-template .nav__mark img { display: none; }
.home-template .nav__mark .nav__logo-light { display: block; }
.home-template .nav__menu { font-size: .9rem; }
.home-template .nav__cta { background: #fff; color: #111; padding: .7rem 1.2rem; font-size: .85rem; letter-spacing: 0; }
.home-template .nav__toggle span { background: #fff; }
@media (min-width: 900px) { .home-template .nav { top: 18px; left: 24px; right: 24px; padding-left: 26px; } }

.hx-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #0B0B0B; }
.hx-hero__img { position: absolute; inset: 0; overflow: hidden; }
.hx-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; animation: hx-drift 18s ease-in-out infinite alternate; }
.hx-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,11,11,.25) 0%, rgba(11,11,11,0) 22%, rgba(11,11,11,.15) 42%, rgba(11,11,11,.94) 76%, #0B0B0B 100%); }
.hx-hero__in { position: relative; padding: 0 16px 24px; }
.hx-hero__in > * { animation: hx-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hx-hero__in > *:nth-child(2) { animation-delay: .08s; }
.hx-hero__in > *:nth-child(3) { animation-delay: .18s; }
.hx-hero__in > *:nth-child(4) { animation-delay: .28s; }
.hx-hero__in > *:nth-child(5) { animation-delay: .36s; }
.hx-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hx-hero h1 { margin: 0; font-weight: 700; font-size: clamp(3.4rem, 15.5vw, 9.6rem); line-height: .88; letter-spacing: -.045em; }
.hx-hero h1 em, .hx-app h2 em { font-style: italic; font-weight: 400; }
.hx-deck { margin: 16px 0 0; max-width: 34rem; font-size: 17px; color: #E8E2DA; }
.hx-ask { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; max-width: 44rem; margin-top: 20px; padding: 8px 8px 8px 20px; border: 0; border-radius: 22px; background: #fff; color: #6B6560; font-family: var(--serif); font-size: 19px; text-align: left; }
.hx-ask__go { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--accent); transition: background .2s; }
.hx-ask:hover .hx-ask__go { background: #B3283A; }
.hx-hero .getapp { margin-top: 18px; }
.hx-hero .getapp__label { color: rgba(255,255,255,.7); }
@keyframes hx-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes hx-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-1.5%); } }
@media (min-width: 900px) {
  .hx-hero { min-height: min(100svh, 920px); }
  .hx-hero__img { left: auto; width: 46%; }
  .hx-hero__img::after { background: linear-gradient(to right, #0B0B0B 0%, rgba(11,11,11,.55) 22%, rgba(11,11,11,0) 55%), linear-gradient(to top, #0B0B0B 0%, rgba(11,11,11,0) 30%); }
  .hx-hero__in { max-width: 62%; padding: 0 40px 48px; }
  .hx-hero h1 { font-size: clamp(4rem, 9.2vw, 9rem); }
  .hx-deck { font-size: 20px; }
  .hx-ask { padding-left: 28px; font-size: 26px; }
  .hx-ask__go { width: 64px; height: 64px; border-radius: 20px; }
}

.hx-tick { overflow: hidden; white-space: nowrap; padding: 22px 0; border-top: 1px solid #222; border-bottom: 1px solid #222; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 4.4vw, 2.3rem); }
.hx-tick__track { display: inline-block; animation: hx-slide 60s linear infinite; }
.hx-tick span { padding: 0 20px; }
.hx-tick i { color: #B3283A; font-style: normal; font-size: .5em; vertical-align: middle; }
@keyframes hx-slide { to { transform: translateX(-50%); } }

.hx-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; }
.hx-tile { position: relative; display: flex; align-items: flex-end; min-height: 230px; border-radius: 26px; overflow: hidden; background: #1a1210; color: #fff; isolation: isolate; }
.hx-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.hx-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,11,11,.9) 0%, rgba(11,11,11,.1) 55%, rgba(11,11,11,0) 100%); }
.hx-tile:hover img { transform: scale(1.07); }
.hx-tile__t { width: 100%; padding: 16px; }
.hx-tile__m { display: block; font-size: 13px; color: #E8E2DA; }
.hx-tile__h { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.05; letter-spacing: -.02em; }
.hx-tile--big { grid-column: span 2; min-height: 440px; }
.hx-tile--big .hx-tile__h { font-size: 34px; }
.hx-tile--big .hx-tile__t { padding: 22px; }
.hx-tile--tall { min-height: 320px; }
.hx-tile--count, .hx-tile--app { grid-column: span 2; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 220px; padding: 22px; }
.hx-tile--count::after, .hx-tile--app::after { display: none; }
.hx-tile--count { background: var(--paper); color: #111; }
.hx-tile--count b { font-family: var(--serif); font-size: 112px; line-height: .82; letter-spacing: -.05em; color: var(--accent); }
.hx-tile--count span, .hx-tile--app span { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.05; letter-spacing: -.02em; }
.hx-tile--app { background: var(--accent); }
.hx-tile--app small { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #F0D5D9; }
@media (min-width: 900px) {
  .hx-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 16px; padding: 24px; }
  .hx-tile, .hx-tile--tall, .hx-tile--big, .hx-tile--count, .hx-tile--app { min-height: 0; }
  .hx-tile--big { grid-row: span 2; }
  .hx-tile--big .hx-tile__h { font-size: 48px; }
  .hx-tile--big .hx-tile__t { padding: 32px; }
  .hx-tile--tall { grid-row: span 2; }
  .hx-tile--app { grid-column: span 1; }
  .hx-tile__h { font-size: 26px; }
  .hx-tile__t { padding: 24px; }
}

.hx-app { padding: 72px 16px; background: var(--paper); color: #111; }
.hx-app__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.hx-app h2 { margin: 0; font-weight: 700; font-size: clamp(2.6rem, 9vw, 6rem); line-height: .94; letter-spacing: -.04em; }
.hx-app .getapp { margin-top: 0; }
.hx-step { padding: 24px 0 28px; border-top: 2px solid #111; }
.hx-step b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 64px; line-height: 1; color: var(--accent); }
.hx-step p { margin: 14px 0 0; font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
@media (min-width: 900px) {
  .hx-app { padding: 112px 40px; }
  .hx-app__top { margin-bottom: 64px; }
  .hx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

.hx-note { padding: 88px 16px; }
.hx-note__body { max-width: 1240px; }
.hx-note__body p { margin: 0 0 1rem; max-width: 44rem; font-size: 1.1rem; color: #D6D0C8; }
.hx-note__body p:first-child { max-width: none; margin-bottom: 2rem; font-family: var(--serif); font-size: clamp(1.9rem, 5.4vw, 3.75rem); line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.hx-note__body p:last-child { margin: 1.5rem 0 0; font-weight: 600; color: #fff; }
@media (min-width: 900px) { .hx-note { padding: 128px 40px; } }

.home-template .mail { margin: 0 10px; padding: 56px 20px; border-radius: 32px; background: var(--accent); color: #fff; }
.home-template .mail .k { color: #F0D5D9; }
.home-template .mail h2 { font-weight: 700; font-size: clamp(2.2rem, 7vw, 4.2rem); }
.home-template .mail__form { border: 0; color: #111; }
.home-template .mail__form button { background: #111; }
.home-template .foot { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px 24px; padding: 56px 16px 32px; color: #BDB6AD; font-size: .9rem; }
.home-template .foot__big { display: block; grid-column: 1 / -1; width: min(100%, 520px); height: auto; margin-bottom: 20px; }
.home-template .foot a { color: #fff; }
@media (min-width: 900px) {
  .home-template .mail { margin: 0 24px; padding: 88px 40px; }
  .home-template .foot { padding: 72px 40px 32px; }
}

.hx-js .hx-reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.hx-js .hx-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hx-hero__img img, .hx-hero__in > *, .hx-tick__track { animation: none; }
  .hx-js .hx-reveal { opacity: 1; transform: none; transition: none; }
}

/* Email gate: takes over the whole locked area */
.recipe-gate { left: 0; right: 0; bottom: 0; max-width: none; margin: 0; padding: 2rem 1.25rem; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; border: 0; border-radius: 0 0 1.05rem 1.05rem; background: #111; color: #fff; box-shadow: none; }
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked):not([data-tabs-ready]) .recipe-gate, .recipe-gate.is-open { display: flex; }
.recipe-gate::before { margin: 0; background: #B3283A; }
.recipe-gate__logo { order: -1; height: 56px; width: auto; }
.recipe-gate__headline { margin: 0; max-width: 18ch; color: #fff; font-size: 2rem; line-height: 1.08; }
.recipe-gate__form { width: 100%; max-width: 30rem; }
.recipe-gate__form input { height: 3.5rem; border: 0; font-size: 1.05rem; }
.recipe-gate__form button { height: 3.5rem; }
.recipe-gate__fine { margin: 0; color: #D6D0C8; }
.recipe-gate__error { margin: 0; color: #F0B8C0; }
html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) .page__panel.recipe-gated { min-height: 28rem; }
@media (min-width: 720px) {
  .recipe-gate { max-width: none; margin: 0; padding: 3rem 2rem; border-radius: 0 0 1.05rem 1.05rem; gap: 1.1rem; }
  .recipe-gate::before { margin: 0; }
  .recipe-gate__headline { max-width: 20ch; margin: 0; font-size: 2.75rem; }
  .recipe-gate__fine { margin: 0; }
  .recipe-gate__logo { height: 68px; }
  html:not(.recipe-unlocked) [data-recipe-gated]:not(.is-unlocked) .page__panel.recipe-gated { min-height: 30rem; }
}
@media (max-width: 480px) { .recipe-gate { left: 0; right: 0; padding: 1.75rem 1rem; } }

/* v1.6.1: headline always two lines, nav darker over light sections, anchors clear the floating nav */
.hx-hero h1 { font-size: clamp(2.9rem, 13vw, 9.6rem); }
.hx-hero h1 em { display: block; }
.hx-deck { margin-top: 22px; }
.home-template .nav { background: rgba(11,11,11,.78); }
.hx-tiles, .hx-app, .hx-note, .home-template .mail { scroll-margin-top: 96px; }
@media (min-width: 900px) { .hx-hero h1 { font-size: clamp(4rem, 7.8vw, 7.8rem); } }

/* v1.6.2: text tiles keep their label and line together, no stretched gap */
.hx-tile--count, .hx-tile--app { justify-content: flex-end; gap: 14px; min-height: 0; padding: 26px 22px; }
.hx-tile--count b { font-size: 88px; }
@media (min-width: 900px) {
  .hx-tile--count, .hx-tile--app { padding: 28px; }
  .hx-tile--count b { font-size: 112px; }
}
.hx-note { padding: 64px 16px; }
.hx-note__body p:first-child { margin-bottom: 1.5rem; font-size: clamp(1.45rem, 3.6vw, 3rem); line-height: 1.18; letter-spacing: -.02em; }
@media (min-width: 900px) { .hx-note { padding: 104px 40px; } }

/* ===== v1.7.0: email gate as a full-screen pop-up (rgate), app first on iPhone ===== */
html.rgate-open { overflow: hidden; }
.rgate { position: fixed; inset: 0; top: 0 !important; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(11,11,11,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rgate.is-open { display: flex; }
.rgate__box { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 900px); min-height: 560px; max-height: calc(100svh - 48px); overflow: hidden; border-radius: 1.5rem; background: #fff; color: #111; box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: rgate-in .35s cubic-bezier(.2,.7,.2,1); }
.rgate__box:not(:has(.rgate__photo)) { grid-template-columns: 1fr; width: min(100%, 480px); }
.rgate__photo { min-height: 0; }
.rgate__photo img { width: 100%; height: 100%; object-fit: cover; }
.rgate__body { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 48px 40px; overflow-y: auto; }
.rgate__logo { width: 120px; height: auto; }
.rgate__ask, .rgate__done { display: flex; flex-direction: column; gap: 16px; }
.rgate__done, .rgate.is-done .rgate__ask { display: none; }
.rgate.is-done .rgate__done { display: flex; }
.rgate__headline { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 2rem; line-height: 1.1; letter-spacing: -.03em; }
.rgate__form { display: flex; flex-direction: column; gap: 10px; }
.rgate__form input { height: 3.5rem; padding: 0 1.1rem; border: 1px solid #CFC8BC; border-radius: 14px; background: #fff; color: #111; font-size: 1.05rem; }
.rgate__form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.rgate__form button, .rgate__go { height: 3.5rem; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rgate__go { padding: 0 1.5rem; background: #111; }
.rgate__fine { margin: 0; font-size: .85rem; color: var(--mute); }
.rgate__error { margin: 0; font-size: .9rem; color: var(--accent); }
.rgate__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: #111; font-size: 26px; line-height: 1; }
.rgate__app { display: none; }
html.is-ios .rgate__app { display: block; }
html.is-ios .rgate__ask .rgate__headline { font-size: 1.5rem; }
.rgate__app .getapp, .rgate__done .getapp { margin-top: 0; }
.rgate__or { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.rgate__or::before, .rgate__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@keyframes rgate-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (max-width: 720px) {
  .rgate { align-items: flex-end; padding: 0; }
  .rgate__box { grid-template-columns: 1fr; width: 100%; min-height: 0; max-height: 88svh; border-radius: 1.5rem 1.5rem 0 0; }
  .rgate__photo { height: 26svh; }
  html.is-ios .rgate__photo { height: 18svh; }
  html.is-ios .rgate__logo { display: none; }
  .rgate__body { justify-content: flex-start; gap: 16px; padding: 28px 20px 32px; }
  .rgate__logo { width: 96px; }
  .rgate__headline { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { .rgate__box { animation: none; } }

/* v1.7.7: dish-first home. Featured recipe is the hero, seasonal bar, founder strip. */
.hx-hero--dish { min-height: 0; height: min(64svh, 580px); }
.hx-hero--dish .hx-hero__img img { object-position: center 35%; }
.hx-hero--dish h1 { font-size: clamp(2.5rem, 11vw, 9.6rem); }
.hx-hero__dish { display: inline-block; margin-top: 14px; padding-bottom: 2px; font-family: var(--serif); font-size: 20px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.55); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hx-hero--dish .getapp { margin-top: 14px; }
.hx-season { display: block; background: #7A1020; color: #fff; font-size: 14px; font-weight: 500; padding: 12px 16px; text-decoration: none; }
.hx-season b { font-weight: 700; }
.hx-founder { display: flex; align-items: center; gap: 16px; padding: 28px 16px; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.hx-founder img { width: 76px; height: 76px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 12%; }
.hx-founder p { margin: 0; }
.hx-founder__k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hx-founder__t { margin-top: 6px !important; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.hx-founder a { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #fff; }
@media (max-width: 899px) { .hx-tick { display: none; } }
@media (min-width: 900px) {
  .hx-hero--dish { height: min(78svh, 760px); min-height: 0; }
  .hx-hero--dish .hx-hero__img { width: 56%; }
  .hx-hero--dish h1 { font-size: clamp(4rem, 7.4vw, 7.4rem); }
  .hx-hero__dish { font-size: 24px; margin-top: 20px; }
  .hx-season { font-size: 15px; padding: 14px 40px; }
  .hx-founder { padding: 40px; gap: 24px; }
  .hx-founder img { width: 104px; height: 104px; }
  .hx-founder__t { font-size: 24px; }
}
.hx-hero--dish .hx-deck { display: none; }
@media (min-width: 900px) { .hx-hero--dish .hx-deck { display: block; margin-top: 18px; font-size: 18px; } }

/* v1.7.8: phones: hero photo starts below the floating nav so the dish isn't cut off */
@media (max-width: 899px) {
  .hx-hero--dish { height: min(70svh, 640px); }
  .hx-hero--dish .hx-hero__img { top: 78px; }
  .hx-hero--dish .hx-hero__img img { object-position: center top; animation: none; }
  .hx-hero--dish .hx-hero__img::after { background: linear-gradient(to bottom, rgba(11,11,11,0) 0%, rgba(11,11,11,0) 38%, rgba(11,11,11,.9) 68%, #0B0B0B 100%); }
}

/* v1.7.9: phones: photo on top, text underneath. Nothing overlaps at any phone size. */
@media (max-width: 899px) {
  .hx-hero--dish { display: block; height: auto; min-height: 0; padding-top: 78px; }
  .hx-hero--dish .hx-hero__img { position: relative; inset: auto; top: auto; height: clamp(210px, 38svh, 360px); }
  .hx-hero--dish .hx-hero__img img { object-position: center 45%; animation: none; }
  .hx-hero--dish .hx-hero__img::after { background: linear-gradient(to bottom, rgba(11,11,11,0) 70%, #0B0B0B 100%); }
  .hx-hero--dish .hx-hero__in { padding: 10px 16px 22px; }
  .hx-hero--dish .hx-eyebrow { margin-bottom: 10px; font-size: 12px; text-shadow: none; }
  .hx-hero--dish h1 { font-size: clamp(2.3rem, 10.5vw, 4.2rem); }
  .hx-hero__dish { font-size: 19px; text-shadow: none; }
}
