:root {
  --ink: #1e302d;
  --muted: #5e6962;
  --paper: #f6f2e8;
  --paper-dark: #ebe5d6;
  --card: #fffdf8;
  --sage: #395c4e;
  --sage-soft: #d9e0d2;
  --gold: #d9ad53;
  --gold-soft: #f4e5b6;
  --clay: #8f4a35;
  --line: rgba(30, 48, 45, 0.14);
  --shadow: 0 24px 70px rgba(30, 48, 45, 0.1);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, textarea { font: inherit; }

button { cursor: pointer; }

a { color: inherit; }

.page-shell { overflow: hidden; }

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark,
.footer-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--paper);
  background: var(--sage);
  border-radius: 50% 50% 48% 52%;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}
.brand-copy { display: grid; gap: 0; }
.brand-name { font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.brand-note { color: var(--muted); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.header-note { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.header-kicker { color: var(--clay); font-weight: 700; }
.header-divider { width: 26px; height: 1px; background: var(--line); }
.header-note a { text-decoration: none; color: var(--muted); }
.header-note a:hover { color: var(--sage); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(410px, 1.02fr);
  gap: clamp(40px, 7vw, 106px);
  align-items: center;
  min-height: 610px;
  padding: 76px 0 74px;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 540px;
  margin-bottom: 21px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(57px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .92;
}
h1 em { color: var(--clay); font-style: italic; }
.hero-lede { max-width: 490px; margin-bottom: 31px; color: #53645b; font-size: 18px; line-height: 1.55; }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 35px; }
.fact { display: flex; align-items: center; gap: 9px; }
.fact-icon { display: grid; width: 27px; height: 27px; place-items: center; color: var(--sage); border: 1px solid rgba(57, 92, 78, .3); border-radius: 50%; font-size: 14px; }
.fact span:last-child { display: grid; gap: 0; }
.fact strong { font-size: 12px; letter-spacing: .02em; }
.fact small { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.import-cta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 15px; row-gap: 8px; }
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  color: #fffdf8;
  background: var(--sage);
  border: 0;
  border-radius: 5px;
  box-shadow: 0 10px 22px rgba(57, 92, 78, .2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.copy-button:hover { background: #294c3e; box-shadow: 0 13px 28px rgba(57, 92, 78, .28); transform: translateY(-2px); }
.copy-button:focus-visible, .select-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.copy-button-icon { display: inline-grid; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; font-size: 15px; }
.cta-caption { margin: 0; color: var(--muted); font-size: 11px; }
.copy-status { flex-basis: 100%; min-height: 1.5em; margin: 0; color: var(--sage); font-size: 12px; font-weight: 700; }
.copy-status.is-error { color: var(--clay); }

.hero-art { position: relative; min-height: 480px; isolation: isolate; }
.hero-art::before { position: absolute; inset: 16% 3% 2% 4%; z-index: -2; content: ""; background: var(--sage-soft); border-radius: 47% 53% 42% 58% / 45% 39% 61% 55%; transform: rotate(-6deg); }
.hero-art::after { position: absolute; inset: 9% 12% 12% 10%; z-index: -1; content: ""; border: 1px solid rgba(57, 92, 78, .18); border-radius: 50%; transform: rotate(14deg); }
.art-glow { position: absolute; z-index: -1; width: 95px; height: 95px; background: var(--gold-soft); border-radius: 50%; opacity: .82; }
.art-glow-one { top: 3%; right: 18%; }
.art-glow-two { bottom: 9%; left: 3%; width: 53px; height: 53px; background: #f2d6c7; }
.skillet { position: absolute; inset: 8% 3% 3% 1%; width: 98%; height: 91%; transform: rotate(2deg); }
.art-label { position: absolute; color: var(--sage); font-size: 11px; font-weight: 800; letter-spacing: .17em; line-height: 1.45; text-transform: uppercase; }
.art-label span { color: var(--clay); font-family: var(--serif); font-size: 14px; font-style: italic; letter-spacing: 0; text-transform: none; }
.art-label-top { top: 5%; left: 1%; transform: rotate(-8deg); }
.art-label-bottom { right: 1%; bottom: 8%; transform: rotate(5deg); }
.art-label-bottom span { color: var(--clay); font-family: var(--serif); font-size: 13px; font-style: italic; letter-spacing: 0; text-transform: none; }

.quick-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 22px; color: #fdfbf4; background: var(--sage); border-radius: 4px; }
.quick-bar p { margin: 0; font-family: var(--serif); font-size: 16px; }
.quick-note { color: #cad7ca; font-size: 13px !important; font-style: italic; }
.quick-mark { margin-right: 9px; color: var(--gold); font-family: var(--sans); font-size: 15px; }

.recipe-layout { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); gap: clamp(45px, 8vw, 124px); padding: 104px 0 110px; }
h2 { margin-bottom: 12px; color: var(--ink); font-family: var(--serif); font-size: clamp(34px, 4vw, 49px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.section-heading { margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-intro { margin: 0; color: var(--muted); font-size: 14px; }
.ingredient-group { margin-bottom: 31px; }
.ingredient-group-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.ingredient-group-heading h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.ingredient-dot { display: block; width: 9px; height: 9px; border-radius: 50%; }
.dot-sage { background: var(--sage); }
.dot-gold { background: var(--gold); }
.ingredient-list { margin: 0; padding: 0; list-style: none; }
.ingredient-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px dotted rgba(30,48,45,.16); color: #53645b; font-size: 13px; }
.ingredient-list li:last-child { border-bottom: 0; }
.ingredient-list strong { flex: 0 0 auto; color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: -.02em; }
.ingredient-note { display: flex; gap: 9px; margin: 36px 0 0; padding: 15px 16px; color: #63726a; background: var(--gold-soft); border-left: 3px solid var(--gold); font-size: 12px; line-height: 1.5; }
.ingredient-note span { color: var(--clay); font-size: 15px; }
.method-card { padding: 37px 40px 32px; background: var(--card); border: 1px solid rgba(30, 48, 45, .09); box-shadow: var(--shadow); }
.method-heading { margin-bottom: 28px; }
.method-list { margin: 0; padding: 0; list-style: none; }
.method-list li { display: grid; grid-template-columns: 40px 1fr; gap: 17px; padding: 0 0 25px; }
.method-list li:not(:last-child) { position: relative; }
.method-list li:not(:last-child)::after { position: absolute; top: 32px; bottom: 4px; left: 15px; width: 1px; content: ""; background: var(--line); }
.step-number { display: grid; width: 31px; height: 31px; place-items: center; color: var(--sage); border: 1px solid var(--sage); border-radius: 50%; font-family: var(--mono); font-size: 10px; }
.method-list h3 { margin: 1px 0 5px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.method-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.method-tip { display: flex; gap: 11px; margin-top: 4px; padding: 15px 16px; background: var(--sage-soft); }
.tip-icon { display: grid; flex: 0 0 auto; width: 20px; height: 20px; place-items: center; color: var(--paper); background: var(--sage); border-radius: 50%; font-family: var(--serif); font-weight: 700; }
.method-tip p { margin: 0; color: #52685c; font-size: 12px; line-height: 1.5; }
.method-tip strong { color: var(--ink); }

.nutrition-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px 70px; align-items: center; padding: 72px 48px 61px; background: var(--paper-dark); border-top: 1px solid rgba(30,48,45,.08); border-bottom: 1px solid rgba(30,48,45,.08); }
.nutrition-intro h2 { max-width: 250px; }
.nutrition-intro p:last-child { max-width: 300px; margin: 0; color: var(--muted); font-size: 13px; }
.nutrition-card { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); align-items: center; gap: 0; min-height: 126px; padding: 21px 23px; background: var(--card); border: 1px solid rgba(30, 48, 45, .1); }
.nutrition-main { display: flex; align-items: center; gap: 11px; padding-right: 17px; border-right: 1px solid var(--line); }
.nutrition-main strong { color: var(--clay); font-family: var(--serif); font-size: 44px; font-weight: 400; letter-spacing: -.06em; line-height: 1; }
.nutrition-main span { color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.nutrition-main small { color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .04em; }
.nutrition-stat { display: grid; gap: 3px; justify-items: center; padding: 5px 8px; text-align: center; }
.nutrition-stat strong { color: var(--ink); font-family: var(--mono); font-size: 16px; font-weight: 600; }
.nutrition-stat span { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.nutrition-note { grid-column: 1 / -1; margin: -15px 0 0; color: var(--muted); font-size: 11px; font-style: italic; line-height: 1.45; }

.import-panel { margin: 91px 0 85px; padding: 36px 41px 29px; background: #eadfd0; border: 1px solid rgba(191,110,85,.19); }
.import-panel-copy { display: flex; gap: 19px; align-items: flex-start; }
.import-panel .eyebrow { margin-bottom: 11px; }
.import-panel h2 { margin-bottom: 11px; font-size: 36px; }
.import-panel-copy p:last-child { max-width: 640px; margin: 0; color: #545e56; font-size: 13px; }
.import-panel-copy strong { color: var(--ink); }
.import-badge { display: grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; color: var(--paper); background: var(--clay); border-radius: 50%; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: -.09em; }
.import-footnote { margin: 24px 0 0; padding-top: 16px; color: #7c8177; border-top: 1px solid rgba(191,110,85,.2); font-size: 11px; font-style: italic; }
.fallback-wrap { margin-top: 25px; padding: 17px; background: rgba(255,253,248,.7); border: 1px dashed rgba(191,110,85,.6); }
.fallback-wrap label { display: block; margin-bottom: 8px; color: var(--clay); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fallback-wrap textarea { display: block; width: 100%; resize: vertical; color: var(--ink); background: #fffdf8; border: 1px solid rgba(30,48,45,.15); font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.select-button { margin-top: 10px; padding: 8px 12px; color: var(--sage); background: transparent; border: 1px solid var(--sage); border-radius: 3px; font-size: 12px; font-weight: 700; }
.select-button:hover { color: var(--paper); background: var(--sage); }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0 35px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer p:first-child { display: flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--serif); font-size: 14px; }
.footer-mark { width: 23px; height: 23px; font-size: 14px; }

/* Home page */
.site-intro { padding: 76px 0 58px; }
.site-intro h1 { max-width: 620px; }
.site-intro .hero-lede { max-width: 560px; margin-bottom: 0; }

.recipe-index { padding: 40px 0 110px; }
.recipe-index-heading { margin-bottom: 34px; }
.recipe-index-heading h2 { margin-bottom: 12px; }
.recipe-index-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.recipe-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  color: inherit;
  background: var(--card);
  border: 1px solid rgba(30, 48, 45, .09);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.recipe-card:hover { box-shadow: 0 30px 80px rgba(30, 48, 45, .14); transform: translateY(-3px); }
.recipe-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.recipe-card-eyebrow { color: var(--clay); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.recipe-card h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 27px; font-weight: 400; letter-spacing: -.03em; }
.recipe-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.recipe-card-meta { display: flex; gap: 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--sage); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 64px; }
  .hero-copy { max-width: 660px; }
  .hero-art { min-height: 430px; width: min(650px, 100%); margin-inline: auto; }
  .recipe-layout { grid-template-columns: 1fr; gap: 69px; }
  .ingredients-column { max-width: 600px; }
  .method-card { max-width: 700px; }
  .nutrition-section { grid-template-columns: 1fr; gap: 26px; }
  .nutrition-intro h2 { max-width: none; }
  .nutrition-intro p:last-child { max-width: 500px; }
}

@media (max-width: 620px) {
  .site-header, main, .site-footer { width: min(100% - 36px, 1180px); }
  .site-header { min-height: 76px; }
  .brand-note, .header-divider, .header-note > span:last-child { display: none; }
  .header-note { font-size: 10px; }
  .hero { min-height: 0; padding: 54px 0 47px; }
  h1 { font-size: clamp(56px, 17vw, 80px); }
  .hero-lede { font-size: 16px; }
  .recipe-facts { gap: 15px; }
  .fact { gap: 6px; }
  .fact-icon { width: 24px; height: 24px; font-size: 12px; }
  .fact strong { font-size: 11px; }
  .copy-button { width: 100%; justify-content: center; }
  .cta-caption { width: 100%; text-align: center; }
  .hero-art { min-height: 310px; }
  .art-label-top { top: 1%; }
  .art-label-bottom { bottom: 4%; }
  .quick-bar { align-items: flex-start; flex-direction: column; gap: 4px; padding: 15px 17px; }
  .quick-bar p { font-size: 14px; }
  .recipe-layout { padding: 68px 0 76px; }
  h2 { font-size: 39px; }
  .ingredient-list li { gap: 13px; font-size: 12px; }
  .ingredient-list strong { font-size: 10px; }
  .method-card { padding: 27px 21px 24px; }
  .nutrition-section { padding: 57px 21px 47px; margin-inline: -18px; }
  .nutrition-card { grid-template-columns: 1fr repeat(2, 1fr); gap: 14px 10px; padding: 19px 15px; }
  .nutrition-main { grid-column: 1 / -1; justify-content: center; padding: 0 0 13px; border-right: 0; border-bottom: 1px solid var(--line); }
  .nutrition-note { margin-top: 1px; }
  .import-panel { margin: 67px 0 59px; padding: 26px 21px 22px; }
  .import-panel-copy { gap: 13px; }
  .import-badge { width: 38px; height: 38px; font-size: 11px; }
  .import-panel h2 { font-size: 32px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 9px; padding-bottom: 28px; }
  .site-intro { padding: 44px 0 34px; }
  .recipe-index { padding: 24px 0 76px; }
  .recipe-grid { grid-template-columns: 1fr; }
}

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