/* Food at Home — marketing site. One stylesheet, no build step. */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/Fredoka.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --tomato: #D63E24;
  --tomato-edge: #A82E18;
  --ink: #2B1A12;
  --green: #1B7A43;
  --green-edge: #125A30;
  --cream: #FFF3E0;
  --cream-deep: #FFE6C4;
  --paper: #F7F4F0;
  --white: #FFFFFF;
  --body: #5E4D44;
  --muted: #6B5A51;
  --line: #EDE7E1;
  --cocoa: #3A261C;
  --cocoa-card: #4A3226;
  --on-dark: #FFF3E0;
  --on-dark-soft: #EADBCB;

  --radius-card: 24px;
  --radius-sm: 14px;
  --shadow-card: 0 6px 0 rgba(43, 26, 18, 0.06), 0 14px 30px rgba(43, 26, 18, 0.06);
  --font-head: "Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
  --focus: var(--ink);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

[id] { scroll-margin-top: 88px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--tomato-edge); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  border: 0; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  background: var(--tomato); color: var(--white);
  box-shadow: 0 5px 0 var(--tomato-edge);
  transform: translateY(0);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn:hover { color: var(--white); background: #C9381F; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--tomato-edge); }
.btn svg { flex: none; }

.btn-green { background: var(--green); box-shadow: 0 5px 0 var(--green-edge); }
.btn-green:hover { background: #18703D; }
.btn-green:active { box-shadow: 0 2px 0 var(--green-edge); }

.btn-light { background: var(--white); color: var(--tomato-edge); box-shadow: 0 5px 0 #F0C9BC; }
.btn-light:hover { background: var(--cream); color: var(--tomato-edge); }
.btn-light:active { box-shadow: 0 2px 0 #F0C9BC; }

.btn-outline {
  background: var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink), 0 5px 0 var(--ink);
}
.btn-outline:hover { background: var(--cream); color: var(--ink); }
.btn-outline:active { box-shadow: inset 0 0 0 2px var(--ink), 0 2px 0 var(--ink); }

.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 1rem; box-shadow: 0 4px 0 var(--tomato-edge); }
.btn-store .store-small { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; opacity: 0.92; letter-spacing: 0.02em; }
.btn-store .store-big { display: block; }
.btn-store span.store-text { text-align: left; }

.fine { font-size: 0.92rem; color: var(--muted); margin-top: 14px; }

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

.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(43, 26, 18, 0.08);
  position: sticky; top: 0; z-index: 20;
}
.site-header .wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none;
  margin-right: auto;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 2px 0 rgba(43,26,18,.15); }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(43, 26, 18, 0.07); color: var(--ink); }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px;
  padding: 6px 12px; border-radius: 999px; border: 2px solid var(--ink);
  font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; font-size: 0.95rem;
}
.lang-switch:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 719px) {
  .nav .nav-link { display: none; }
  .brand span { font-size: 1.15rem; }
  .site-header .btn-sm { padding: 8px 14px; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}

.lang-hint {
  background: var(--ink); color: var(--cream); font-size: 0.95rem; text-align: center; padding: 8px 16px;
}
.lang-hint a { color: var(--cream); font-weight: 700; }
.lang-hint button {
  background: transparent; border: 0; color: var(--cream); font: inherit; text-decoration: underline;
  cursor: pointer; margin-left: 10px; padding: 4px 8px; min-height: 32px;
}
.lang-hint :focus-visible { outline-color: var(--cream); }

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

.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-cocoa { background: var(--cocoa); color: var(--on-dark-soft); --focus: var(--cream); }
.bg-cocoa h2, .bg-cocoa h3 { color: var(--on-dark); }
.bg-cocoa a { color: var(--on-dark); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--tomato-edge); background: var(--white); border-radius: 999px; padding: 6px 14px;
  margin-bottom: 18px; box-shadow: 0 3px 0 rgba(43,26,18,.08);
}
.bg-cocoa .eyebrow { background: var(--cocoa-card); color: var(--on-dark); box-shadow: none; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.12rem; }
.lead { font-size: 1.2rem; color: var(--body); }

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

.hero { background: var(--cream); padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) {
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; }
  .hero { padding: 72px 0 96px; }
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--tomato); }
.hero .lead { max-width: 34em; margin-bottom: 30px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.sunburst {
  position: absolute; width: min(460px, 92vw); aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--cream-deep) 0deg 10deg, #FFEBD0 10deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 55%, transparent 71%);
          mask: radial-gradient(circle, #000 55%, transparent 71%);
}
.hero-art img.mom { position: relative; width: auto; height: min(420px, 90vw); }
/* Mom leaning out of a phone: a bit taller, nudged right so the bubble sits beside her. */
.hero-art img.mom.phone-pop { height: min(470px, 96vw); transform: translateX(28px) rotate(3deg);
  filter: drop-shadow(0 18px 28px rgba(43,26,18,.18)); }
.hero-art:has(.phone-pop) .bubble { top: 2%; left: -6%; }
.bubble {
  position: absolute; top: 6%; left: 0; max-width: 220px;
  background: var(--white); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 22px;
  padding: 12px 16px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.25;
  box-shadow: 0 4px 0 var(--ink); z-index: 2; margin: 0;
}
.bubble::after {
  content: ""; position: absolute; right: 28px; bottom: -14px; width: 22px; height: 22px;
  background: var(--white); border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg) skew(10deg, 10deg); border-bottom-right-radius: 4px;
}
@media (max-width: 480px) {
  .bubble { font-size: 0.95rem; max-width: 150px; left: 0; top: 4%; }
  .hero-art { min-height: 340px; }
  .hero-art img.mom { height: 330px; transform: translateX(52px); }
  .hero-art img.mom.phone-pop { height: 350px; transform: translateX(46px) rotate(3deg); }
  .hero-art:has(.phone-pop) .bubble { top: 0; left: 0; }
}

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; padding: 0; list-style: none; }
.trust-row li {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 0.95rem;
}
.trust-row svg { color: var(--green); flex: none; }

/* ---------- Cards / grids ---------- */

.card {
  background: var(--white); border-radius: var(--radius-card); padding: 28px;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
}
.grid-3 { display: grid; gap: 22px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.step { text-align: center; padding-top: 24px; position: relative; }
.step .num {
  position: absolute; top: 18px; left: 18px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tomato); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; box-shadow: 0 3px 0 var(--tomato-edge);
}
.step img { height: 210px; width: auto; margin: 0 auto 16px; }
.step p { margin: 0; }

/* Screenshot strip */
.shots {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 24px; margin: 0 auto;
  scrollbar-width: thin;
}
.shots figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }
.shots img {
  width: 230px; height: auto; border-radius: 26px; box-shadow: 0 10px 28px rgba(43,26,18,.14);
}
.shots > :first-child { margin-left: auto; }
.shots > :last-child { margin-right: auto; }
.shots-hint { text-align: center; color: var(--muted); font-size: 0.92rem; margin: 0; }
@media (min-width: 1800px) { .shots-hint { display: none; } }

/* Challenges */
.challenge-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .challenge-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.challenge {
  background: var(--cocoa-card); border-radius: var(--radius-card); padding: 20px 18px 22px; text-align: center;
  box-shadow: 0 5px 0 rgba(0,0,0,.25);
}
.challenge .art { height: 104px; display: grid; place-items: center; margin-bottom: 12px; }
.challenge .art img { max-height: 104px; width: auto; }
.challenge h3 { font-size: 1.12rem; margin-bottom: 6px; }
.challenge p { font-size: 0.95rem; margin: 0; color: var(--on-dark-soft); line-height: 1.45; }
@media (max-width: 420px) {
  .challenge { padding: 16px 12px 18px; }
  .challenge h3 { font-size: 1rem; }
  .challenge p { font-size: 0.88rem; }
}

/* Split feature */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
  .split.flip > :first-child { order: 2; }
}
.split-art { display: grid; place-items: center; position: relative; }
.split-art .disc {
  position: absolute; width: min(380px, 84vw); aspect-ratio: 1; border-radius: 50%; background: var(--cream-deep);
}
.bg-cream .split-art .disc { background: var(--white); }
.split-art img { position: relative; height: min(380px, 80vw); width: auto; }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checks strong { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li {
  background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px;
  font-weight: 600; color: var(--ink); font-size: 0.95rem;
}
.chips li span { color: var(--muted); font-weight: 500; }

/* Feature tiles */
.tiles { display: grid; gap: 18px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 620px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; gap: 16px; align-items: flex-start; }
.tile .icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--cream); color: var(--tomato-edge);
}
.tile h3 { font-size: 1.15rem; margin-bottom: 4px; }
.tile p { margin: 0; font-size: 0.98rem; }

/* Calculator */
.calc { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.2fr 0.8fr; } }
.calc-card { padding: 32px; }
@media (max-width: 480px) { .calc-card { padding: 22px 18px; } }
.field { margin-bottom: 28px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.field label { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.field output {
  font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; color: var(--ink);
  min-width: 3.5ch; text-align: right;
}
.range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.85rem; margin-top: 6px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer;
  --fill: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 12px; border-radius: 999px;
  background: linear-gradient(to right, var(--tomato) 0 var(--fill), var(--line) var(--fill) 100%);
}
input[type="range"]::-moz-range-track { height: 12px; border-radius: 999px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 12px; border-radius: 999px; background: var(--tomato); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 32px; height: 32px; margin-top: -10px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
}
input[type="range"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.calc-result {
  background: var(--tomato); color: var(--white); border-radius: var(--radius-card); padding: 30px 28px;
  box-shadow: 0 6px 0 var(--tomato-edge); text-align: center; --focus: var(--white);
}
.calc-result .label { font-weight: 600; font-size: 1rem; margin: 0; }
.calc-result .big {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 8vw, 3.6rem); line-height: 1.05; margin: 4px 0 14px;
  font-variant-numeric: tabular-nums;
}
.calc-result .ten {
  background: rgba(255,255,255,.14); border-radius: 16px; padding: 12px 14px; margin-bottom: 16px;
}
.calc-result .ten strong { font-family: var(--font-head); font-size: 1.6rem; display: block; font-variant-numeric: tabular-nums; }
.calc-result .mom-says { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; margin: 0; }
.calc-note { font-size: 0.92rem; color: var(--muted); margin: 16px 0 0; }
.calc-side { position: relative; }
.calc-side img { display: none; }
.calc-result { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .calc-side { margin-top: 110px; }
  .calc-side img { display: block; position: absolute; right: 28px; top: -150px; height: 200px; width: auto; z-index: 0; }
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--white); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 4px 0 rgba(43,26,18,.05);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); min-height: 44px;
  border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--muted); border-bottom: 3px solid var(--muted); transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band { background: var(--tomato); color: var(--white); padding: 64px 0 0; overflow: hidden; --focus: var(--white); }
.cta-band .wrap { display: grid; gap: 24px; align-items: end; }
@media (min-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: var(--white); }
.cta-band p { font-size: 1.15rem; }
.cta-band .copy { padding-bottom: 64px; }
.cta-band img { height: 300px; width: auto; justify-self: center; }
@media (max-width: 819px) { .cta-band .copy { padding-bottom: 0; } .cta-band img { height: 240px; } }

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

.site-footer { background: var(--ink); color: var(--on-dark-soft); padding: 56px 0 40px; font-size: 0.98rem; --focus: var(--cream); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--on-dark); margin-bottom: 10px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.site-footer h2 { font-size: 1rem; color: var(--on-dark); margin-bottom: 10px; font-weight: 600; letter-spacing: 0.02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 243, 224, 0.16); margin-top: 36px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.9rem;
}

/* ---------- Pages / prose ---------- */

.page-hero { background: var(--cream); padding: 56px 0 44px; }
.page-hero .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 12px; }
.page-hero p { margin: 0; font-size: 1.12rem; max-width: 40em; }
.page-hero img { height: 170px; width: auto; flex: none; }
@media (max-width: 640px) { .page-hero img { height: 120px; } .page-hero .wrap { gap: 14px; } }
.page-hero .meta { color: var(--muted); font-size: 0.95rem; margin-top: 12px; }

.prose { max-width: 720px; margin: 0 auto; font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 3.4vw, 1.9rem); margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--tomato-edge); }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2.4em 0; }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 22px; background: var(--cream); border-radius: 18px; border-left: 6px solid var(--tomato);
  color: var(--ink);
}
.prose blockquote p:last-child { margin: 0; }
.prose .note {
  background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 1.6em 0;
}
.prose .note p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); font-weight: 600; color: var(--ink); background: var(--paper); }
.prose td.num, .prose th.num { text-align: right; font-variant-numeric: tabular-nums; }
.prose td.num { white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose tr.total td { font-weight: 700; color: var(--ink); background: var(--cream); }
@media (max-width: 480px) { .prose table { font-size: 0.92rem; } .prose th, .prose td { padding: 10px 10px; } }
.prose .toc { background: var(--white); border-radius: 18px; padding: 18px 22px; border: 1px solid var(--line); margin-bottom: 2em; }
.prose .toc h2 { font-size: 1.1rem; margin: 0 0 8px; }
.prose .toc ol { margin: 0; }

.article-head { background: var(--cream); padding: 52px 0 40px; }
.article-head .wrap { max-width: 800px; }
.article-head h1 { font-size: clamp(2.1rem, 5.4vw, 3.3rem); }
.article-head .dek { font-size: 1.2rem; margin: 0; }
.article-head .meta { color: var(--muted); font-size: 0.95rem; margin-top: 16px; }
.crumbs { font-size: 0.95rem; margin-bottom: 16px; }
.crumbs a { font-weight: 600; }

.recipe { background: var(--white); border-radius: 20px; border: 1px solid var(--line); padding: 22px 24px; margin: 1.4em 0; box-shadow: 0 4px 0 rgba(43,26,18,.05); }
.recipe h3 { margin-top: 0; }
.recipe .recipe-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 12px; padding: 0; list-style: none; }
.recipe .recipe-meta li { background: var(--cream); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 0.9rem; font-weight: 600; margin: 0; }
.recipe ol { margin-bottom: 0.8em; }
.recipe .tip { margin: 0; font-style: italic; color: var(--muted); }

.post-cta {
  margin: 3em 0 0; background: var(--cream); border-radius: var(--radius-card); padding: 28px;
  display: grid; gap: 20px; align-items: center; border: 2px solid var(--cream-deep);
}
@media (min-width: 620px) { .post-cta { grid-template-columns: auto 1fr; } }
.post-cta img { height: 180px; width: auto; justify-self: center; }
.post-cta h2 { margin: 0 0 8px; font-size: 1.6rem; }
.post-cta p { margin: 0 0 18px; font-size: 1.05rem; }

.post-list { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card h2 { font-size: 1.45rem; margin-bottom: 10px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--tomato-edge); text-decoration: underline; }
.post-card p { margin-bottom: 14px; }
.post-card .read { margin-top: auto; font-weight: 700; }

.contact-card { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin: 2em 0; }
.contact-card h2 { margin: 0 0 4px; font-size: 1.5rem; }
.contact-card p { margin: 0; }

.legal-meta { color: var(--muted); font-size: 0.95rem; }

/* ---------- Motion ---------- */

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