:root {
  --milk: #fbf7f0;
  --milk-2: #f4ece0;
  --milk-3: #efe3d2;
  --ink: #2e2119;
  --ink-soft: #5b4a3f;
  --ink-mute: #7d6a5c;
  --honey: #d99a2b;
  --honey-deep: #96620e;
  --cherry: #8e2f3c;
  --cherry-soft: #a8434f;
  --line: #e3d5c2;
  --shadow-sm: 0 1px 2px rgba(46, 33, 25, .06), 0 4px 12px rgba(46, 33, 25, .06);
  --shadow-md: 0 2px 6px rgba(46, 33, 25, .07), 0 16px 40px rgba(46, 33, 25, .1);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --font-display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--cherry); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--cherry-soft); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(46, 33, 25, .07);
  background: rgba(251, 247, 240, .95);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #f7d9a0, var(--honey) 58%, var(--honey-deep));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 2px 8px rgba(184, 124, 24, .35);
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1.5px dashed rgba(120, 78, 8, .35);
}
.brand__mark::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  top: 9px;
  left: 12px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--milk-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--cherry); font-weight: 600; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.06);
  animation: hero-drift 26s var(--ease) forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(30, 20, 14, .6) 0%, rgba(30, 20, 14, .25) 30%, rgba(28, 18, 12, .82) 100%),
    radial-gradient(120% 85% at 8% 78%, rgba(24, 15, 10, .82), rgba(24, 15, 10, .28) 55%, transparent 78%),
    radial-gradient(80% 60% at 85% 10%, rgba(142, 47, 60, .28), transparent 70%);
}
@keyframes hero-drift {
  from { transform: scale(1.06); }
  to { transform: scale(1.14); }
}

.hero__inner {
  position: relative;
  padding-block: clamp(80px, 15vw, 168px) clamp(64px, 10vw, 116px);
  max-width: 760px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f4d7a3;
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  line-height: 1.02;
  color: #fff;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: #f6cd83;
}
.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .9);
  max-width: 34em;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary {
  background: var(--honey);
  color: #2f1f06;
  box-shadow: 0 6px 20px rgba(184, 124, 24, .38);
}
.btn--primary:hover {
  background: #edb04a;
  color: #2f1f06;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(184, 124, 24, .45);
}
.btn--ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 9vw, 108px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--paper { background: linear-gradient(180deg, var(--milk-2), var(--milk)); }

.section__head { max-width: 660px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 12px;
  font-weight: 600;
}
.section h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  margin-bottom: 14px;
  text-wrap: balance;
}
.section__lead {
  color: var(--ink-soft);
  font-size: 1.04rem;
  max-width: 46em;
}

/* ---------- History ---------- */

.history { display: grid; gap: clamp(28px, 4vw, 48px); }
.era {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.era:first-child { border-top: 0; padding-top: 0; }
.era__year {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  color: var(--cherry);
  font-style: italic;
}
.era__year small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}
.era h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 10px;
}
.era p { color: var(--ink-soft); }
.era p:last-child { margin-bottom: 0; }

.fact {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--milk);
  border-left: 3px solid var(--honey);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .94rem;
  color: var(--ink-soft);
}
.fact strong { color: var(--ink); }

/* ---------- Recipe grid ---------- */

.grid-recipes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.card:hover,
.card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--honey);
}
.card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--milk-3);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(251, 247, 240, .93);
  color: var(--cherry);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.card__text {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
.card__meta {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: .82rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--milk-2);
}
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__meta svg { width: 14px; height: 14px; color: var(--honey-deep); flex: none; }

/* ---------- Start here ---------- */

.start {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.start__item {
  display: block;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.start__item:hover {
  transform: translateY(-4px);
  border-color: var(--honey);
  box-shadow: var(--shadow-md);
}
.start__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--milk-2);
  color: var(--honey-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 14px;
}
.start__item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.start__item p { font-size: .9rem; color: var(--ink-mute); margin: 0; }

/* ---------- Recipe page ---------- */

.breadcrumbs {
  padding-block: 22px 0;
  font-size: .85rem;
  color: var(--ink-mute);
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before {
  content: "›";
  color: var(--ink-mute);
  opacity: .6;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--cherry); text-decoration: underline; }

.recipe-head { padding-block: 18px 0; }
.recipe-head__tag {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cherry);
  background: rgba(142, 47, 60, .08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 600;
}
.recipe-head h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin-bottom: 16px;
  text-wrap: balance;
}
.recipe-head__lead {
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 44em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .88rem;
  color: var(--ink-soft);
}
.chip b { color: var(--ink); font-weight: 600; }
.chip__label {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.recipe-hero {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--milk-3);
  box-shadow: var(--shadow-sm);
}
.recipe-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.recipe-hero figcaption {
  padding: 10px 16px;
  font-size: .78rem;
  color: var(--ink-mute);
  background: #fff;
  border-top: 1px solid var(--line);
}

.recipe-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-block: clamp(40px, 6vw, 64px);
}

.ingredients {
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.ingredients h2 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.ingredients__note {
  font-size: .8rem;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.ingredients ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .93rem;
}
.ingredients li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--milk-3);
  margin: 0;
}
.ingredients li:last-child { border-bottom: 0; }
.ingredients li span:first-child { color: var(--ink-soft); }
.ingredients li span:last-child {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.steps-block h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 26px 0 0;
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 60px;
  margin: 0;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--milk-2);
  border: 1px solid var(--line);
  color: var(--cherry);
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps > li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.steps > li:last-child::after { display: none; }
.steps h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0;
}
.steps p { margin: 0; color: var(--ink-soft); }
.steps .time {
  display: inline-block;
  margin-top: 8px;
  font-size: .78rem;
  color: var(--honey-deep);
  background: rgba(217, 154, 43, .1);
  padding: 3px 10px;
  border-radius: 999px;
}

.panel {
  margin-top: clamp(40px, 5vw, 56px);
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.panel h2 { font-size: 1.4rem; margin-bottom: 14px; }
.panel--warn {
  background: #fdf6ee;
  border-color: #eddcbf;
}
.panel--warn h2 { color: var(--cherry); }
.panel ul { margin: 0; padding-left: 1.15em; }
.panel li { color: var(--ink-soft); }

.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.serve-grid div {
  padding: 16px;
  background: var(--milk);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--ink-soft);
}
.serve-grid strong { display: block; color: var(--ink); margin-bottom: 4px; }

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-block: clamp(40px, 6vw, 64px);
}
.pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pager a:hover {
  border-color: var(--honey);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.pager a:last-child { text-align: right; align-items: flex-end; }
.pager__label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.pager__title { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }

/* ---------- Credits table ---------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.credits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 620px;
}
.credits-table th,
.credits-table td {
  padding: 12px 18px;
  text-align: left;
  vertical-align: top;
}
.credits-table thead th {
  background: var(--milk-2);
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  white-space: nowrap;
}
.credits-table tbody tr + tr th,
.credits-table tbody tr + tr td { border-top: 1px solid var(--milk-2); }
.credits-table tbody tr:hover { background: #fdfaf5; }
.credits-table code {
  font-size: .82rem;
  color: var(--ink-soft);
  background: var(--milk-2);
  padding: 2px 6px;
  border-radius: 5px;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .credits-table { min-width: 0; }
  .credits-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .credits-table,
  .credits-table tbody,
  .credits-table tr,
  .credits-table td { display: block; width: 100%; }
  .credits-table tr {
    padding: 14px 16px;
    border-top: 1px solid var(--milk-2);
  }
  .credits-table tr:first-child { border-top: 0; }
  .credits-table td { padding: 0 0 6px; }
  .credits-table td:last-child { padding-bottom: 0; }
  .credits-table td::before {
    content: attr(data-label) ": ";
    color: var(--ink-mute);
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: #241a14;
  color: #cbb9a9;
  padding-block: clamp(48px, 6vw, 72px) 32px;
  border-radius: 32px 32px 0 0;
  margin-top: clamp(48px, 7vw, 88px);
}
.site-footer a { color: #e6d6c3; text-decoration: none; }
.site-footer a:hover { color: var(--honey); }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}
.footer__text { font-size: .92rem; max-width: 34em; color: #a99685; }
.footer h3 {
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9d8a79;
  margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.footer li { margin-bottom: 8px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 24px;
  font-size: .82rem;
  color: #9c8978;
}

/* ---------- Reveal animations ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero__inner > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s var(--ease) forwards;
}
.hero__inner > *:nth-child(1) { animation-delay: .1s; }
.hero__inner > *:nth-child(2) { animation-delay: .2s; }
.hero__inner > *:nth-child(3) { animation-delay: .32s; }
.hero__inner > *:nth-child(4) { animation-delay: .44s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__inner > * { opacity: 1; transform: none; }
  .hero__media img { animation: none; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .recipe-layout { grid-template-columns: 1fr; }
  .ingredients { position: static; }
  .era { grid-template-columns: 1fr; gap: 12px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 18px 18px;
    background: var(--milk);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(46, 33, 25, .1);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { position: relative; }
  .hero { border-radius: 0 0 24px 24px; }
  .pager { grid-template-columns: 1fr; }
  .pager a:last-child { text-align: left; align-items: flex-start; }
  .chip { padding: 8px 12px; font-size: .83rem; }
  .steps > li { padding-left: 50px; }
  .steps > li::before { width: 32px; height: 32px; }
  .steps > li::after { left: 16px; top: 34px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.15rem; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; }
}
