/* Layout: one centered 1120px column; hero splits text | gingham plate; menu as a 2-up card grid; berry footer band */
:root {
  --paper: #FBF7F1;
  --surface: #FFFFFF;
  --ink: #2B2422;
  --muted: #6E615B;
  --berry: #6E1E36;
  --berry-ink: #6E1E36;
  --gold: #B8925A;
  --gold-ink: #8A6A35;
  --line: #E7DCCF;
  --kraft: #EFE3D1;
  --check: rgba(110, 30, 54, 0.26);
  --btn-bg: #6E1E36;
  --btn-fg: #FFFFFF;
  --btn-hover: #571629;
  --foot-bg: #6E1E36;
  --foot-fg: #F3E6D3;
  --danger: #A3262A;
  --ok: #2F6B47;
  --lg-a: #2B2422;
  --lg-b: #B8925A;
  --lg-c: #6E1E36;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1B1315; --surface: #251A1D; --ink: #F2E8DE; --muted: #BBA99F;
    --berry: #8E2A49; --berry-ink: #E7A1B5; --gold: #D9B77E; --gold-ink: #D9B77E;
    --line: #3A2B30; --kraft: #33262A; --check: rgba(231, 161, 181, 0.16);
    --btn-bg: #A3375A; --btn-fg: #FFFFFF; --btn-hover: #B8466B;
    --foot-bg: #120C0E; --foot-fg: #EBDCCB; --danger: #F08A8D; --ok: #8FD1A8;
    --lg-a: #F2E8DE; --lg-b: #D9B77E; --lg-c: #E7A1B5;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1B1315; --surface: #251A1D; --ink: #F2E8DE; --muted: #BBA99F;
  --berry: #8E2A49; --berry-ink: #E7A1B5; --gold: #D9B77E; --gold-ink: #D9B77E;
  --line: #3A2B30; --kraft: #33262A; --check: rgba(231, 161, 181, 0.16);
  --btn-bg: #A3375A; --btn-fg: #FFFFFF; --btn-hover: #B8466B;
  --foot-bg: #120C0E; --foot-fg: #EBDCCB; --danger: #F08A8D; --ok: #8FD1A8;
  --lg-a: #F2E8DE; --lg-b: #D9B77E; --lg-c: #E7A1B5;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--berry-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* draft ribbon */
.draft { background: var(--kraft); color: var(--muted); font-size: 0.82rem; text-align: center; padding: 6px 16px; }
.draft strong { color: var(--ink); font-weight: 600; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: block; line-height: 0; }
.brand svg { width: 200px; height: 59px; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.98rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--kraft); }
.nav a[aria-current="page"] { color: var(--berry-ink); background: var(--kraft); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 0.95rem; padding: 10px 16px; border-radius: 999px; }
.cart-btn:hover { background: var(--btn-hover); }
.cart-count { font-variant-numeric: tabular-nums; background: var(--btn-fg); color: var(--btn-bg); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 0.8rem; padding-inline: 6px; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .head-row { flex-wrap: wrap; gap: 10px 12px; padding-block: 10px; }
  .brand svg { width: 160px; height: 47px; }
  .cart-btn { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .nav a { white-space: nowrap; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

main section[data-page] { padding-block: 8px 72px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-block: 48px 40px; }
.hero > * { min-width: 0; }
.hero-copy { display: grid; gap: 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.95rem; }
.hero-facts span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: middle; }
.gingham {
  background-color: var(--surface);
  background-image:
    repeating-linear-gradient(0deg, var(--check) 0 18px, transparent 18px 36px),
    repeating-linear-gradient(90deg, var(--check) 0 18px, transparent 18px 36px);
}
.plate-wrap { aspect-ratio: 1 / 1; max-width: 100%; border-radius: 28px; display: grid; place-items: center; padding: 9%; border: 1px solid var(--line); }
.plate { width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in srgb, var(--paper) 70%, transparent), 0 24px 50px -24px rgba(43, 36, 34, 0.45); }
.plate svg { width: 72%; height: auto; aspect-ratio: 258.53 / 234.72; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  .plate-wrap { max-width: 420px; margin-inline: auto; width: 100%; }
}

/* steps */
.band { border-block: 1px solid var(--line); background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-block: 44px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; }
.step-num { grid-row: span 2; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold-ink); font-weight: 600; }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 22px; } }

.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-block: 56px 24px; }
.sec-head > div { display: grid; gap: 8px; }

/* product cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .grid-4 { grid-template-columns: 1fr; } }
.photo { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--kraft); }
.photo .ph-icon { width: 30%; height: auto; aspect-ratio: 147 / 219; opacity: 0.55; }
.photo .ph-note { position: absolute; left: 10px; bottom: 8px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.feat { display: grid; gap: 12px; text-decoration: none; color: inherit; }
.feat h3 { font-size: 1.3rem; }
.feat p { color: var(--muted); font-size: 0.93rem; }
.feat:hover h3 { color: var(--berry-ink); }

.cat { margin-top: 56px; }
.cat-head { display: grid; gap: 6px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cat-head p { color: var(--muted); }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 150px 1fr; gap: 18px; }
.item > * { min-width: 0; }
.item .photo { aspect-ratio: 1 / 1; }
.item-body { display: grid; gap: 10px; align-content: start; }
.item-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.item h3 { font-size: 1.4rem; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.item p.desc { color: var(--muted); font-size: 0.95rem; }
.contains { font-size: 0.82rem; color: var(--muted); }
.contains b { color: var(--ink); font-weight: 600; }
.buy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.size { font: inherit; font-size: 0.9rem; font-variant-numeric: tabular-nums; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.size:hover { border-color: var(--berry-ink); }
.size .p { color: var(--berry-ink); font-weight: 600; }
.size .plus { font-weight: 700; color: var(--berry-ink); }
@media (max-width: 520px) { .item { grid-template-columns: 1fr; } .item .photo { aspect-ratio: 16 / 9; } }

/* occasions */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.occ { padding: 24px 22px; display: grid; gap: 6px; border-right: 1px solid var(--line); }
.occ:last-child { border-right: 0; }
.occ h3 { font-size: 1.35rem; }
.occ p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 860px) { .occasions { grid-template-columns: repeat(2, 1fr); } .occ:nth-child(2) { border-right: 0; } .occ:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .occasions { grid-template-columns: 1fr; } .occ { border-right: 0; border-bottom: 1px solid var(--line); } .occ:last-child { border-bottom: 0; } }

.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; margin-top: 64px; }
.story > * { min-width: 0; }
.story .copy { display: grid; gap: 16px; }
.story .copy p { color: var(--muted); max-width: 34em; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; gap: 24px; } }

/* forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.93rem; }
.field .hint { font-size: 0.83rem; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
.field[data-error] input, .field[data-error] select, .field[data-error] textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: 0.85rem; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chk { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; font-size: 0.93rem; }
.chk input { accent-color: var(--berry); width: auto; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: var(--muted); }
.agree input { margin-top: 5px; accent-color: var(--berry); }

/* cart */
.order-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; margin-top: 28px; }
.order-grid > * { min-width: 0; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
.cart-list { display: grid; gap: 0; }
.line { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.line > * { min-width: 0; }
.line .nm { font-weight: 600; }
.line .sz { color: var(--muted); font-size: 0.88rem; }
.line .amt { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 64px; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { font: inherit; width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 999px; font-size: 1.1rem; }
.qty button:hover { background: var(--kraft); }
.qty span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.totals { display: grid; gap: 6px; padding-top: 16px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.2rem; font-weight: 700; }
.note { font-size: 0.88rem; color: var(--muted); background: var(--kraft); border-radius: 10px; padding: 12px 14px; }
.empty { text-align: center; padding: 40px 16px; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.empty svg { width: 56px; height: 84px; opacity: 0.6; }

/* thanks */
.thanks { max-width: 640px; margin: 48px auto 0; text-align: center; display: grid; gap: 18px; justify-items: center; }
.thanks svg { width: 74px; height: 110px; }
.ref { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--berry-ink); letter-spacing: 0.05em; }
.summary { width: 100%; text-align: left; }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-ink); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 46em; }

/* footer */
.site-foot { background: var(--foot-bg); color: var(--foot-fg); padding-block: 48px 32px; --lg-a: var(--foot-fg); --lg-b: #D9B77E; --lg-c: var(--foot-fg); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { margin: 0 0 8px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #D9B77E; }
.foot-grid p, .foot-grid a { color: var(--foot-fg); font-size: 0.95rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-logo svg { width: 190px; height: 172px; }
.foot-legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--foot-fg) 22%, transparent); font-size: 0.82rem; opacity: 0.8; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; transition: transform 0.25s ease, visibility 0.25s; visibility: hidden; z-index: 50; max-width: calc(100% - 32px); display: flex; gap: 14px; align-items: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--paper); font-weight: 700; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sec-head.first, .story.first { margin-top: 44px; }
.photo.r54 { aspect-ratio: 5 / 4; }
.photo.r45 { aspect-ratio: 4 / 5; }
.wrap.narrow { max-width: 820px; }
.note.spaced { margin-top: 36px; }
.card-title { font-size: 1.7rem; }
.la { fill: var(--lg-a); } .lb { fill: var(--lg-b); } .lc { fill: var(--lg-c); }
.sa { stroke: var(--lg-a); } .sb { stroke: var(--lg-b); } .sc { stroke: var(--lg-c); }
.photo.has-img { background: var(--kraft); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat:hover .photo img { transform: scale(1.03); }
.photo img { transition: transform 0.4s ease; }
/* order picker */
.picker { display: grid; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.qty-lg { width: 100%; justify-content: space-between; }
.qty-lg button { width: 44px; height: 44px; }
.qty-lg input { width: 64px; text-align: center; border: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 1.05rem; font-variant-numeric: tabular-nums; color: var(--ink); padding: 0; -moz-appearance: textfield; }
.qty-lg input::-webkit-outer-spin-button, .qty-lg input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pk-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pk-total { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--berry-ink); }
.cart-box { display: grid; gap: 8px; padding-top: 4px; }
.empty-line { color: var(--muted); font-size: 0.95rem; }
.muted-card { align-content: start; }
