/* Ray's Cooking for One: one stylesheet for all three pages.
   Design plan: DESIGN.md. Change a color once here and every page follows. */
@font-face { font-family: "Bitter"; src: url("/fonts/Bitter-variable.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/Atkinson-Hyperlegible-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/Atkinson-Hyperlegible-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/Atkinson-Hyperlegible-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("/fonts/Kalam-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gochi Hand"; src: url("/fonts/Gochi-Hand-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Kalam"; src: url("/fonts/Kalam-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --stock: #f4ebd7;
  --card: #fffcf3;
  --manila: #eadbb8;
  --manila-edge: #d2bd8f;
  --burgundy: #752f3a;
  --burgundy-deep: #5b2029;
  --gold: #a07d3b;
  --gold-ink: #75561f;
  --ink: #2b1f1a;
  --ink-soft: #5a4a40;
  --walnut: #3e2519;
  --rule-blue: #c9d9e8;
  --rule-red: #cf7c7e;
  --head: "Bitter", Georgia, serif;
  --body: "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --measure: 36rem;
}
* { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (min-width: 760px) { html { font-size: 125%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--stock); color: var(--ink); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); color: var(--burgundy); margin: 0 0 0.45em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7.2vw, 3.9rem); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4.8vw, 2.8rem); font-weight: 750; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--burgundy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--card); padding: 12px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.measure { max-width: var(--measure); }
.lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 33rem; }
.small { font-size: 0.92rem; color: var(--ink-soft); }
.center { text-align: center; margin-inline: auto; }

/* ---------- Masthead ---------- */
.masthead { background: var(--walnut); color: #f3e6cf; }
.masthead .wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; justify-content: space-between; padding-block: 10px; }
.brand { color: #fff; text-decoration: none; font: 700 1.2rem/1.2 var(--head); padding-block: 8px; }
.brand span { display: block; font: 400 0.82rem/1.3 var(--body); color: #e2cfae; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 24px; }
.nav a { color: #f3e6cf; text-decoration: none; font-weight: 700; padding: 10px 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: #d9b46a; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 0.75em 1.7em; border-radius: 8px; border: 0; background: var(--burgundy); color: #fff; font: 700 1.15rem/1.25 var(--body); text-decoration: none; box-shadow: inset 0 -4px 0 var(--burgundy-deep), 0 6px 16px rgba(91, 32, 41, 0.22); }
.btn:hover { background: var(--burgundy-deep); }
.btn:active { transform: translateY(1px); }
.btn--card { background: var(--card); color: var(--burgundy); box-shadow: inset 0 -4px 0 var(--manila-edge), 0 6px 16px rgba(0, 0, 0, 0.2); }
.btn--card:hover { background: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 1.5rem; }
.actions.center { justify-content: center; }
.quiet-link { font-weight: 700; padding: 12px 0; }
.reassure { font-size: 0.95rem; color: var(--ink-soft); margin: 0.9rem 0 0; }
@media (max-width: 599px) { .actions { flex-direction: column; align-items: stretch; } .btn { width: 100%; } .quiet-link { text-align: center; } }

/* ---------- Divider sections: each opens like a divider card in the recipe box ---------- */
.divider { position: relative; padding: 76px 0 72px; background: var(--stock); border-top: 2px solid var(--manila-edge); }
.divider--manila { background: var(--manila); }
.divider--walnut { background: var(--walnut); color: #f6ead6; border-top-color: #22140d; }
.divider--walnut h2, .divider--walnut h3 { color: #fff; }
.divider--burgundy { background: var(--burgundy); color: #fff; border-top-color: var(--burgundy-deep); }
.divider--burgundy h2 { color: #fff; }
@media (min-width: 900px) { .divider { padding: 104px 0 96px; } }
.tab { position: absolute; top: -2px; left: var(--tab-x, 20px); transform: translateY(-100%); background: inherit; border: 2px solid var(--manila-edge); border-bottom: 0; border-radius: 10px 10px 0 0; padding: 7px 20px 5px; font: 700 0.95rem/1.2 var(--head); color: var(--burgundy); white-space: nowrap; }
.divider--walnut .tab { border-color: #22140d; color: #f0d9a8; }
.divider--burgundy .tab { border-color: var(--burgundy-deep); color: #f6e1c5; }
.tab--2 { --tab-x: 24%; }
.tab--3 { --tab-x: 46%; }
.tab--4 { --tab-x: 68%; }
@media (max-width: 599px) { .tab--2 { --tab-x: 30%; } .tab--3 { --tab-x: 12%; } .tab--4 { --tab-x: 40%; } }
.sec-head { max-width: 40rem; margin-bottom: 2.4rem; }
.sec-head.center { text-align: center; }
.sec-head p { font-size: 1.15rem; color: var(--ink-soft); }
.divider--walnut .sec-head p { color: #e6d5b8; }
.divider--burgundy .sec-head p { color: #f6e1e3; }
.gold-rule { width: 64px; height: 3px; border: 0; background: var(--gold); margin: 1rem 0 0; }
.center .gold-rule { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 92px; }
.hero > .wrap { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) { .hero { padding: 76px 0 116px; } .hero > .wrap { grid-template-columns: 1.02fr 0.98fr; gap: 64px; } }
.hero h1 { margin-bottom: 0.4em; }
.byline { font: italic 400 1.05rem/1.4 var(--body); color: var(--gold-ink); margin-bottom: 1rem; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 34px; margin: 2rem 0 0; padding: 1.1rem 0 0; border-top: 2px solid var(--manila-edge); list-style: none; }
.facts li { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.3; }
.facts b { display: block; font: 800 1.7rem/1.1 var(--head); color: var(--burgundy); }

/* Photo prints, with the odd strip of masking tape */
.print { position: relative; margin: 0; background: #fff; padding: 10px; box-shadow: 0 18px 40px rgba(62, 37, 25, 0.24); }
.print img { width: 100%; }
.print--tilt { transform: rotate(-1.2deg); }
.print--tape::before { content: ""; position: absolute; z-index: 1; top: -14px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(-3deg); background: rgba(233, 217, 172, 0.88); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.print figcaption { font: 400 1.1rem/1.3 var(--hand); color: var(--ink-soft); padding: 8px 4px 0; }

.hero-stage { position: relative; padding-bottom: 96px; }
.hero-stage .print img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 28% 40%; }
.hero-stage .rcard { position: absolute; right: -4px; bottom: 0; width: min(80%, 350px); transform: rotate(2.5deg); }
@media (min-width: 940px) { .hero-stage .rcard { right: -30px; bottom: 6px; } }
.hero-stage--book { display: grid; justify-items: end; padding-bottom: 110px; }
.hero-stage--book .book { width: min(68%, 380px); margin-right: 4%; }
.hero-stage--book .rcard { left: 0; right: auto; width: min(76%, 330px); transform: rotate(-3deg); }
@media (max-width: 599px) { .hero-stage--book { padding-bottom: 0; } .hero-stage--book .book { width: 62%; margin: 0 auto; } .hero-stage--book .rcard { position: relative; left: auto; width: 92%; margin: -48px auto 0; transform: rotate(-1.5deg); } }
.book { box-shadow: 0 26px 50px rgba(62, 37, 25, 0.35), 0 2px 0 rgba(0, 0, 0, 0.08); border-radius: 3px 6px 6px 3px; }

/* ---------- Recipe cards (only for recipe content) ----------
   Every line is exactly one rule tall (--row), so the text sits on the blue lines. */
.rcard { --row: 1.9rem; --pad: 0.95rem; position: relative; background: var(--card); padding: var(--pad) 1.3rem calc(var(--pad) + 0.4rem); line-height: var(--row); border-radius: 3px; box-shadow: 0 14px 30px rgba(62, 37, 25, 0.28); color: var(--ink); }
.rcard:not(.rcard--photo), .rcard-lines { background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--row) - 1px), var(--rule-blue) calc(var(--row) - 1px) var(--row)); background-position: 0 var(--pad); background-repeat: repeat; background-size: 100% var(--row); background-origin: border-box; }
.rcard-lines { margin: 0 -1.3rem calc(-1 * (var(--pad) + 0.4rem)); padding: var(--pad) 1.3rem calc(var(--pad) + 0.4rem); }
.rcard p, .rcard ul, .rcard ol, .rcard h3, .rcard h4 { margin: 0; line-height: var(--row); }
.rcard-kicker { display: block; font: 700 0.85rem/var(--row) var(--head); color: var(--gold-ink); }
.rcard-title { display: block; font: 800 1.25rem/var(--row) var(--head); color: var(--burgundy); background: linear-gradient(to top, var(--rule-red) 2px, transparent 2px); }
.serves { font: 700 1.05rem/var(--row) var(--head); color: var(--ink-soft); }
.struck { position: relative; display: inline-block; padding: 0 0.15em; line-height: 1; }
.struck::after { content: ""; position: absolute; left: -0.1em; right: -0.1em; top: 50%; height: 3px; background: var(--ink); border-radius: 2px; transform: rotate(-14deg); transform-origin: left center; }
.pencil { font: 400 2.2rem/1 "Gochi Hand", var(--hand); color: #3a3a3a; display: inline-block; vertical-align: -0.12em; margin: -0.7rem 0 -0.7rem 0.35em; transform: rotate(-2deg); }
.pencil-note { font: 400 1.15rem/var(--row) var(--hand); color: #44403c; }
@media (prefers-reduced-motion: no-preference) {
  .rcard--animate .struck::after { animation: strike 0.5s 0.7s ease-out both; }
  .rcard--animate .pencil { animation: write 0.6s 1.25s ease-out both; }
  .rcard--animate .pencil-note { animation: write 0.9s 1.9s ease-out both; }
  @keyframes strike { from { transform: rotate(-14deg) scaleX(0); } }
  @keyframes write { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
}
.rcard h4 { font: 700 1.05rem/var(--row) var(--head); color: var(--burgundy); }
.rcard h4 small { font: italic 400 0.9rem var(--body); color: var(--ink-soft); }
.rcard ul, .rcard ol { padding-left: 1.3em; }
.rcard ol li::marker { font-family: var(--head); font-weight: 800; color: var(--burgundy); }
.rcard ul li::marker { color: var(--gold); }
.rcard .done { border-left: 4px solid #6f8f62; padding-left: 0.8rem; }
.rcard .done b { color: #3f6234; }
.rcard .left { border-left: 4px solid var(--gold); padding-left: 0.8rem; }
.rcard .left b { color: var(--burgundy); }
.rcard .meta { color: var(--ink-soft); font-size: 0.92rem; }
.rcard-photo { margin: calc(-1 * var(--pad)) -1.3rem 0; }
.rcard-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px 3px 0 0; }

/* ---------- Layout helpers ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--text-wide { grid-template-columns: 1.15fr 0.85fr; } }
.cols { display: grid; gap: 30px 44px; }
@media (min-width: 760px) { .cols-2, .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }
.point { border-top: 3px solid var(--gold); padding-top: 1rem; }
.point h3 { margin-bottom: 0.3em; }
.point p { margin: 0; color: var(--ink-soft); }
.divider--walnut .point p { color: #e6d5b8; }
.divider--walnut .point { border-top-color: #b8904a; }

/* Ticked list (a pencil tick in a checkbox, as on the book's checklists) */
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.ticks li { position: relative; padding-left: 2.1em; margin-bottom: 0.6em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 1.25em; height: 1.25em; border: 2px solid var(--ink-soft); border-radius: 3px; background: var(--card); }
.ticks li::after { content: ""; position: absolute; left: 0.42em; top: 0.3em; width: 0.42em; height: 0.8em; border: solid var(--burgundy); border-width: 0 0.2em 0.2em 0; transform: rotate(40deg); }
.divider--burgundy .ticks li::before { border-color: #f1d3d6; background: transparent; }
.divider--burgundy .ticks li::after { border-color: #fff; }

/* ---------- The product block ---------- */
.product { display: grid; gap: 44px; align-items: start; }
@media (min-width: 900px) { .product { grid-template-columns: 0.78fr 1.22fr; gap: 64px; } }
.product .book { width: min(78%, 360px); margin-inline: auto; }
.contents { list-style: none; margin: 1.2rem 0 1.4rem; padding: 0; border-top: 2px solid var(--manila-edge); }
.contents li { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; padding: 0.9rem 0; border-bottom: 1px solid var(--manila-edge); }
.contents b { font-family: var(--head); color: var(--ink); }
.contents span { color: var(--ink-soft); font-size: 0.95rem; }
.contents em { font: italic 400 0.95rem/1.3 var(--body); color: var(--gold-ink); grid-row: 1 / span 2; grid-column: 2; align-self: center; text-align: right; }
.notice { background: var(--card); border: 2px solid var(--gold); border-radius: 10px; padding: 1.1rem 1.3rem; margin-top: 1.4rem; }
.notice strong { display: block; font: 700 1.2rem/1.3 var(--head); color: var(--burgundy); margin-bottom: 0.25rem; }
.notice p { margin: 0; }
.price { font: 800 2.2rem/1 var(--head); color: var(--burgundy); margin: 0.4rem 0 0; }

/* ---------- The math ---------- */
.ledger { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { text-align: left; padding: 0.85rem 0.8rem 0.85rem 0; border-bottom: 1px solid rgba(240, 217, 168, 0.25); vertical-align: top; }
.ledger thead th { font: 700 0.9rem/1.3 var(--body); color: #d9bf8a; }
.ledger td:last-child, .ledger th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.ledger tbody td:first-child { font-weight: 700; color: #fff; }
.ledger tfoot td { font: 800 1.35rem/1.2 var(--head); color: #fff; border-bottom: 0; padding-top: 1rem; }
.ledger .num { font-family: var(--head); font-weight: 700; color: #fff; font-size: 1.1rem; }
@media (max-width: 680px) {
  .ledger thead { display: none; }
  .ledger tbody tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 0.7rem 0; border-bottom: 1px solid rgba(240, 217, 168, 0.25); }
  .ledger tbody td { border: 0; padding: 0; }
  .ledger tbody td:nth-child(2), .ledger tbody td:nth-child(3) { grid-column: 1; font-size: 0.92rem; color: #e6d5b8; }
  .ledger tbody td:last-child { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .ledger tfoot tr { display: flex; justify-content: space-between; }
}
.ledger-wrap { background: rgba(0, 0, 0, 0.18); border: 1px solid rgba(240, 217, 168, 0.25); border-radius: 10px; padding: 1rem 1.3rem 1.2rem; }
.range { display: grid; gap: 14px; margin-top: 1.6rem; }
@media (min-width: 760px) { .range { grid-template-columns: repeat(3, 1fr); } }
.range div { border: 1px solid rgba(240, 217, 168, 0.35); border-radius: 8px; padding: 1rem 1.1rem; }
.range b { display: block; font: 800 1.6rem/1.15 var(--head); color: #fff; }
.range span { color: #e6d5b8; font-size: 0.95rem; }
.sources { font-size: 0.9rem; color: #d8c6a6; margin-top: 1.6rem; max-width: 48rem; }

/* ---------- Inside: chapter dividers ---------- */
.chapters { display: grid; gap: 12px 22px; }
@media (min-width: 640px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .chapters { grid-template-columns: repeat(3, 1fr); } }
.chapter { position: relative; background: var(--card); border-radius: 0 8px 8px 8px; box-shadow: 0 8px 20px rgba(62, 37, 25, 0.14); margin-top: 30px; }
.chapter::before { content: attr(data-tab); position: absolute; top: 0; left: var(--tx, 0); transform: translateY(-100%); background: var(--card); border-radius: 8px 8px 0 0; padding: 5px 14px 3px; font: 700 0.85rem/1.3 var(--head); color: var(--gold-ink); }
.chapter:nth-child(3n+2)::before { --tx: 30%; }
.chapter:nth-child(3n)::before { --tx: 58%; }
.chapter img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.chapter:nth-child(3n+1) img { border-radius: 0 8px 0 0; }
.chapter:nth-child(3n+2) img, .chapter:nth-child(3n) img { border-radius: 8px 8px 0 0; }
.chapter:nth-child(3n+2), .chapter:nth-child(3n) { border-radius: 8px; }
.chapter > div { padding: 1rem 1.2rem 1.2rem; }
.chapter h3 { font-size: 1.2rem; margin-bottom: 0.25em; }
.chapter p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.plans { columns: 2 15rem; column-gap: 44px; padding-left: 1.6em; margin: 0; }
.plans li { margin-bottom: 0.55em; break-inside: avoid; }
.plans li::marker { font-family: var(--head); font-weight: 800; color: var(--burgundy); }

/* Real pages from the book */
.pages { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .pages { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.pages figure { margin: 0; }
.pages a { display: block; background: #fff; box-shadow: 0 10px 24px rgba(62, 37, 25, 0.22); }
.pages a:hover { box-shadow: 0 14px 30px rgba(62, 37, 25, 0.32); }
.pages figcaption { font-size: 0.95rem; line-height: 1.4; color: var(--ink-soft); margin-top: 0.7rem; }

/* Recipe examples */
.recipes { display: grid; gap: 34px; }
@media (min-width: 900px) { .recipes { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; } .recipes > :nth-child(1) { transform: rotate(-0.8deg); } .recipes > :nth-child(3) { transform: rotate(0.7deg); } }

/* ---------- Week chain (free page) ---------- */
.week { list-style: none; margin: 0; padding: 0; }
.day { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 24px 0; border-bottom: 2px dashed var(--manila-edge); }
.day:last-child { border-bottom: 0; }
@media (min-width: 760px) { .day { grid-template-columns: 250px 1fr; gap: 32px; align-items: center; } }
.day .print { padding: 7px; box-shadow: 0 8px 18px rgba(62, 37, 25, 0.18); }
.day img { aspect-ratio: 3 / 2; object-fit: cover; }
.day .when { font: 700 1rem/1.3 var(--head); color: var(--gold-ink); margin: 0; }
.day h3 { margin: 0.15em 0 0.25em; }
.day p { margin: 0; color: var(--ink-soft); }
.day .hand-off { font: 400 1.2rem/1.4 var(--hand); color: var(--burgundy); margin-top: 0.4rem; }
.chips { list-style: none; padding: 0; margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--card); border: 1px solid var(--manila-edge); border-radius: 6px; padding: 0.35em 0.9em; }

/* ---------- Letter from Ray ---------- */
.letter { background: var(--card); padding: 2rem 1.6rem; box-shadow: 0 16px 36px rgba(62, 37, 25, 0.18); font-size: 1.12rem; line-height: 1.7; }
@media (min-width: 760px) { .letter { padding: 2.6rem 2.8rem; } }
.letter .salute { font: 700 1.6rem/1.2 var(--head); color: var(--burgundy); }
.signature { font: 700 2.4rem/1 var(--hand); color: var(--burgundy); margin: 0.6rem 0 0; }

/* ---------- Reviews (only shown when real ones are in the config) ---------- */
.review { margin: 0; background: var(--card); border-radius: 8px; padding: 1.4rem 1.5rem; box-shadow: 0 8px 20px rgba(62, 37, 25, 0.12); }
.review blockquote { margin: 0 0 0.8rem; font-size: 1.1rem; }
.review figcaption { font-weight: 700; color: var(--ink-soft); }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 26px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: s; position: relative; padding-left: 3.4rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -0.1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--burgundy); color: #fff; font: 800 1.1rem/2.4rem var(--head); text-align: center; }
.steps h3 { font-size: 1.2rem; margin-bottom: 0.25em; }
.steps p { margin: 0; color: var(--ink-soft); }
.format { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .format { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.format li { background: var(--card); border-radius: 8px; padding: 1rem 1.2rem; }
.format b { display: block; font-family: var(--head); color: var(--burgundy); }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; margin-inline: auto; }
.faq details { border-bottom: 2px solid var(--manila-edge); }
.faq details:first-child { border-top: 2px solid var(--manila-edge); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.15rem 3.2rem 1.15rem 0; font: 700 1.15rem/1.35 var(--head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%); width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--card); border: 2px solid var(--manila-edge); font: 700 1.3rem/1.85rem var(--body); text-align: center; color: var(--burgundy); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { color: var(--burgundy); }
.faq .answer { padding: 0 0 1.3rem; max-width: 42rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--walnut); color: #ead9bd; padding: 52px 0 40px; font-size: 0.98rem; }
.footer .wrap { display: grid; gap: 26px; }
@media (min-width: 900px) { .footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer h2 { font-size: 1.2rem; color: #fff; margin-bottom: 0.5em; }
.footer a { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: inline-block; padding: 6px 0; }
.footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 18px; margin: 0; font-size: 0.9rem; color: #cdb999; }
.price:empty { display: none; }
