:root {
  --ink: #251018;
  --plum: #351421;
  --plum-2: #501b2e;
  --cream: #fff8ed;
  --paper: #fffdf8;
  --sun: #ffc94a;
  --sun-deep: #efa900;
  --tomato: #d84d35;
  --green: #2c6b54;
  --muted: #725f66;
  --line: rgba(53, 20, 33, 0.14);
  --shadow: 0 24px 70px rgba(53, 20, 33, 0.13);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 999px;
  color: #fff;
  background: var(--plum);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(calc(100% - 36px), var(--max));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  letter-spacing: -0.025em;
}
.brand b { font-style: italic; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--plum);
  box-shadow: 0 7px 18px rgba(53, 20, 33, 0.18);
}
.brand-mark svg { width: 30px; height: 30px; }
.brand-mark path { fill: none; stroke: var(--sun); stroke-width: 3.2; stroke-linecap: round; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { text-decoration: none; font-weight: 700; font-size: 0.94rem; }
.site-header nav a:hover { color: var(--tomato); }
.youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.youtube-link svg { width: 20px; fill: #e32424; }

.hero {
  width: min(calc(100% - 36px), var(--max));
  margin: 18px auto 0;
  min-height: 610px;
  padding: clamp(38px, 6vw, 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.84fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
  overflow: hidden;
  position: relative;
  border-radius: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 4% 98%, rgba(255, 201, 74, 0.24), transparent 29%),
    radial-gradient(circle at 96% 4%, rgba(216, 77, 53, 0.24), transparent 30%),
    var(--plum);
}
.hero::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  left: -190px;
  top: -180px;
  box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.02);
}
.hero-copy, .hero-recipe { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tomato);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow span { width: 26px; height: 2px; background: currentColor; }
.hero .eyebrow { color: var(--sun); }
.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6.2vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 700;
}
.hero h1 em { color: var(--sun); font-weight: 500; }
.hero-lead { max-width: 540px; margin: 25px 0 30px; color: rgba(255,255,255,.77); font-size: 1.08rem; }
.recipe-search label { display: block; margin: 0 0 9px; font-size: 0.83rem; font-weight: 800; }
.search-control {
  max-width: 580px;
  height: 62px;
  padding: 7px 7px 7px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}
.search-control:focus-within { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255,201,74,.16); }
.search-control svg { width: 21px; flex: none; fill: none; stroke: rgba(255,255,255,.66); stroke-width: 1.8; stroke-linecap: round; }
.search-control input { min-width: 0; flex: 1; border: 0; outline: 0; color: #fff; background: transparent; }
.search-control input::placeholder { color: rgba(255,255,255,.52); }
.search-control button {
  align-self: stretch;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: var(--sun);
  font-weight: 900;
  cursor: pointer;
}
.search-control button:hover { background: #ffd66d; }
.quick-filters { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: rgba(255,255,255,.68);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}
.filter-chip:hover, .filter-chip.is-active { color: var(--plum); border-color: var(--cream); background: var(--cream); }

.hero-recipe {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 28px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0,0,0,.27);
  transform: rotate(1.7deg);
  transition: transform .3s ease;
}
.hero-recipe:hover { transform: rotate(0deg) translateY(-4px); }
.hero-image { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: #190c11; }
.hero-image img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-recipe:hover .hero-image img { transform: scale(1.035); }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(37,16,24,.35), transparent 60%); }
.play-button {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
}
.play-button svg { width: 27px; fill: currentColor; }
.hero-recipe-copy { padding: 25px 28px 27px; }
.recipe-kicker { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.recipe-kicker span { padding: 4px 8px; border-radius: 999px; color: #fff; background: var(--tomato); letter-spacing: .05em; }
.hero-recipe h2 { margin: 9px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.02; letter-spacing: -.035em; }
.hero-recipe h2 a { text-decoration: none; }
.hero-recipe-copy > p { margin: 0; color: var(--muted); font-size: .92rem; }
.recipe-meta { margin-top: 18px; padding-top: 17px; display: flex; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 800; }
.recipe-meta span { display: inline-flex; align-items: center; gap: 7px; }
.recipe-meta svg { width: 19px; fill: none; stroke: var(--tomato); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.recipe-index { width: min(calc(100% - 36px), var(--max)); margin: clamp(80px, 11vw, 145px) auto; }
.section-heading { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: .86rem; font-weight: 800; }
.recipe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.recipe-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(0, 1.1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 40px rgba(53,20,33,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.recipe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.recipe-card[hidden] { display: none; }
.card-image { min-height: 280px; position: relative; overflow: hidden; background: var(--plum); }
.card-image img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.recipe-card:hover .card-image img { transform: scale(1.04); }
.card-badge { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--tomato); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.card-badge--green { background: var(--green); }
.card-body { min-width: 0; padding: 25px; display: flex; flex-direction: column; }
.card-category { margin: 0; color: var(--tomato); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.card-body h3 { margin: 9px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; line-height: 1.08; letter-spacing: -.03em; }
.card-body h3 a { text-decoration: none; }
.card-body > p:not(.card-category) { margin: 0; color: var(--muted); font-size: .9rem; }
.card-footer { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; font-weight: 800; }
.card-footer a { color: var(--plum); text-decoration: none; }
.card-footer a:hover { color: var(--tomato); }
.empty-state { padding: 56px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-md); background: var(--cream); }
.empty-state span { font-size: 2.4rem; }
.empty-state h3 { margin: 8px 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; }
.empty-state p { margin: 0 0 18px; color: var(--muted); }
.empty-state button { padding: 10px 16px; border: 0; border-radius: 12px; color: #fff; background: var(--plum); font-weight: 800; cursor: pointer; }

.recipe-detail {
  scroll-margin-top: 20px;
  padding: clamp(70px, 10vw, 130px) max(18px, calc((100% - var(--max)) / 2));
  background: var(--cream);
}
.recipe-detail--green { background: #e7f0e8; }
.recipe-detail--gold { background: #fff3d6; }
.recipe-detail--cheese { background: #f5eadb; }
.detail-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); align-items: end; gap: 60px; }
.detail-intro h2 { max-width: 780px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 5.7vw, 5.35rem); line-height: .96; letter-spacing: -.055em; }
.detail-lead { max-width: 740px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }
.detail-facts { display: grid; border-top: 1px solid var(--line); }
.detail-facts span { padding: 13px 0; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .87rem; }
.detail-facts b { color: var(--ink); }
.detail-layout { margin-top: 54px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 28px; align-items: stretch; }
.detail-layout--reverse .video-wrap { order: 2; }
.video-wrap { overflow: hidden; min-height: 460px; border-radius: var(--radius-lg); background: var(--plum); box-shadow: var(--shadow); }
.video-wrap iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }
.recipe-photo { margin: 0; }
.recipe-photo img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.method-card { padding: clamp(30px, 4vw, 52px); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 16px 46px rgba(53,20,33,.08); }
.method-title { display: flex; align-items: center; gap: 16px; }
.method-title > span { width: 48px; height: 48px; display: grid; place-items: center; flex: none; border-radius: 14px; color: var(--plum); background: var(--sun); font-weight: 950; }
.method-title p { margin: 0; color: var(--tomato); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.method-title h3 { margin: 1px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; line-height: 1.05; }
.method-card ol { margin: 29px 0; padding: 0; list-style: none; counter-reset: steps; }
.method-card li { position: relative; padding: 0 0 17px 36px; color: var(--muted); font-size: .93rem; }
.method-card li::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--tomato); font-size: .68rem; font-weight: 900; }
.method-card li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 26px; bottom: 3px; width: 1px; background: var(--line); }
.method-card li b { color: var(--ink); }
.watch-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 14px; color: #fff; background: var(--plum); text-decoration: none; font-size: .86rem; font-weight: 850; }
.watch-link:hover { background: var(--plum-2); }
.ingredient-list {
  margin: 27px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  list-style: none;
}
.ingredient-list li { padding: 9px 0 9px 19px; position: relative; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.ingredient-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--tomato); }
.steps-panel { margin-top: 28px; padding: clamp(30px, 5vw, 58px); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 16px 46px rgba(53,20,33,.07); }
.steps-panel h3 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.steps-panel ol { margin: 0; padding-left: 24px; columns: 2; column-gap: 56px; }
.steps-panel li { break-inside: avoid; margin: 0 0 18px; padding-left: 7px; color: var(--muted); }
.steps-panel li::marker { color: var(--tomato); font-weight: 900; }
.steps-panel b { color: var(--ink); }
.tips-row { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tips-row article { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.58); }
.tips-row article > span { color: var(--tomato); font-size: .72rem; font-weight: 950; }
.tips-row h3 { margin: 8px 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.tips-row p { margin: 0; color: var(--muted); font-size: .88rem; }

footer {
  padding: 52px max(18px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  color: rgba(255,255,255,.65);
  background: var(--plum);
  font-size: .85rem;
}
.brand--footer { color: #fff; }
footer p { margin: 0; }
.copyright { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-recipe { max-width: 660px; transform: none; }
  .recipe-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-layout--reverse .video-wrap { order: 0; }
  .detail-intro { grid-template-columns: 1fr; gap: 30px; }
  .detail-facts { max-width: 520px; }
  footer { grid-template-columns: 1fr; gap: 12px; text-align: left; }
}

@media (max-width: 680px) {
  .site-header { min-height: 72px; }
  .site-header nav > a:not(.youtube-link) { display: none; }
  .youtube-link { padding: 9px 12px; font-size: .82rem !important; }
  .brand { font-size: 1.12rem; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .hero { width: calc(100% - 20px); min-height: auto; margin-top: 4px; padding: 42px 20px 20px; border-radius: 28px; gap: 38px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero-lead { margin: 20px 0 26px; }
  .search-control { height: auto; padding: 8px 8px 8px 14px; flex-wrap: wrap; }
  .search-control svg { width: 19px; }
  .search-control input { width: calc(100% - 32px); min-height: 40px; }
  .search-control button { width: 100%; min-height: 43px; }
  .hero-recipe { border-radius: 22px; }
  .hero-recipe-copy { padding: 22px; }
  .recipe-index { width: calc(100% - 28px); margin: 78px auto; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 2.65rem; }
  .recipe-card { grid-template-columns: 1fr; }
  .card-image { min-height: 220px; aspect-ratio: 16/10; }
  .card-body { min-height: 270px; }
  .recipe-detail { padding-top: 76px; padding-bottom: 76px; }
  .detail-intro h2 { font-size: 3.15rem; }
  .detail-layout { margin-top: 35px; }
  .video-wrap, .video-wrap iframe { min-height: 220px; }
  .recipe-photo img { min-height: 220px; }
  .video-wrap { aspect-ratio: 16/9; border-radius: 22px; }
  .method-card { border-radius: 22px; }
  .ingredient-list { grid-template-columns: 1fr; }
  .steps-panel { border-radius: 22px; }
  .steps-panel ol { columns: 1; }
  .tips-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
