/* Sunrise Cafe & Bakery demo. Palette: cream, espresso, caramel. Type: Young Serif + Figtree. */
:root {
  --primary: #D0924A;      /* caramel: buttons, fills */
  --primary-ink: #8A521C;  /* caramel text on cream (AA) */
  --dark: #2A1810;         /* espresso */
  --light: #F7EEDF;        /* cream page */
  --flour: #FFFBF4;
  --crust: #EFE1CA;
  --mocha: #6B5446;        /* body secondary on cream (AA) */
  --line: #E2D2B8;
  --on-dark: #F7EEDF;
  --on-dark-2: #CDB9A2;
  --f-display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --f-text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --sh-1: 0 1px 2px rgba(42,24,16,.06), 0 4px 14px rgba(42,24,16,.06);
  --sh-2: 0 2px 6px rgba(42,24,16,.08), 0 18px 40px -12px rgba(42,24,16,.28);
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-hero: clamp(2.6rem, 1.6rem + 5.2vw, 5.4rem);
  --t-h2: clamp(2rem, 1.45rem + 2.4vw, 3.2rem);
  --t-h3: clamp(1.2rem, 1.1rem + .4vw, 1.45rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--light); color: var(--dark); font: 400 1rem/1.6 var(--f-text); overflow-x: hidden; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--dark); color: var(--light); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--dark); box-shadow: 0 8px 22px -8px rgba(208,146,74,.75), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { background: #DBA05A; transform: translateY(-1px); }
.btn-ghost { background: rgba(247,238,223,.1); color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(247,238,223,.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(247,238,223,.18); }
.btn-ghost-d { background: var(--flour); color: var(--dark); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline { background: transparent; color: var(--dark); box-shadow: inset 0 0 0 1.5px var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--light); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn-wide { width: 100%; }

/* Sticky header (appears after the hero) */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; transform: translateY(-110%); transition: transform .35s var(--ease); background: rgba(247,238,223,.8); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(42,24,16,.08), 0 10px 30px -18px rgba(42,24,16,.4); }
.bar.show { transform: none; }
.bar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.bar-name { font-family: var(--f-display); font-size: 1.15rem; text-decoration: none; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-links { display: none; gap: 24px; }
.bar-links a, .hero-links a { text-decoration: none; font-weight: 500; }
.bar-links a:hover { color: var(--primary-ink); }

/* Hero */
.hero { position: relative; min-height: 94svh; display: flex; flex-direction: column; background: var(--dark); color: var(--on-dark); isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 70% 20%, #6b3f22, var(--dark)); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,24,16,.6) 0%, rgba(42,24,16,.42) 22%, rgba(42,24,16,.72) 44%, rgba(42,24,16,.94) 68%, var(--dark) 100%); }
.hero-copy { flex: 1; display: flex; flex-direction: column; }
.wrap-l { width: min(1200px, 100% - 32px); margin-inline: auto; }
.hero-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
.hero-mark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 1.05rem; max-width: 70%; }
.hero-mark > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-mark .ic { color: var(--primary); }
.hero-links { display: none; gap: 26px; }
.hero-text { margin-top: auto; padding: 32px 0 20px; }
.hero-place { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-2); font-weight: 500; margin-bottom: 14px; }
.hero-place .ic { width: 18px; height: 18px; color: var(--primary); }
.hero h1 { font-size: var(--t-hero); letter-spacing: -.035em; line-height: .98; max-width: 12ch; text-wrap: balance; overflow-wrap: anywhere; }
.hero-promise { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #EADBC6; max-width: 40ch; margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 200px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--on-dark-2); font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ic { width: 17px; height: 17px; color: var(--primary); }
.hero-cake { display: flex; align-items: center; gap: 14px; margin: 4px 16px 20px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(247,238,223,.1); box-shadow: inset 0 0 0 1px rgba(247,238,223,.22); backdrop-filter: blur(10px); text-decoration: none; color: var(--on-dark); transition: transform .2s var(--ease), background-color .2s; }
.hero-cake:hover { background: rgba(247,238,223,.16); transform: translateY(-2px); }
.hero-cake-img { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(135deg, #7a4a2c, #3a2014); }
.hero-cake-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-cake-txt { display: flex; flex-direction: column; line-height: 1.3; font-size: .92rem; color: var(--on-dark-2); }
.hero-cake-txt strong { font-family: var(--f-display); font-weight: 400; font-size: 1.1rem; color: var(--on-dark); }

/* Section scaffolding */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-ink); font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.eyebrow .ic { width: 18px; height: 18px; }
.head-sub { color: var(--mocha); margin-top: 14px; font-size: 1.06rem; max-width: 52ch; }
.head-light .eyebrow { color: var(--primary); }
.head-light .head-sub { color: var(--on-dark-2); }
.fine { font-size: .9rem; color: var(--mocha); }

/* Image boxes: warm gradient shows while photos load */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #E9D3B0, #C99B67 60%, #9A6A3E); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }

/* Specials */
.sp-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 82%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.sp-row::-webkit-scrollbar { display: none; }
.sp { scroll-snap-align: start; background: var(--flour); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.sp:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.sp:hover .ph img { transform: scale(1.04); }
.sp .ph { aspect-ratio: 4 / 3; }
.sp-tag { position: absolute; left: 14px; top: 14px; background: var(--dark); color: var(--light); font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.sp-body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sp-body p { color: var(--mocha); }
.sp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.price { font-family: var(--f-display); font-size: 1.35rem; color: var(--primary-ink); white-space: nowrap; }

/* Stepper */
.step { display: inline-flex; align-items: center; background: var(--light); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.step button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .15s, transform .15s; }
.step button:hover { background: var(--crust); }
.step button:active { transform: scale(.9); }
.step button.plus { background: var(--dark); color: var(--light); }
.step button.plus:hover { background: #4a2c1c; }
.step button:disabled { opacity: .35; cursor: default; background: transparent; }
.step .qty { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Menu */
.menu-sec { background-color: var(--crust); background-image: radial-gradient(rgba(138,82,28,.09) 1px, transparent 1.6px); background-size: 20px 20px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 4px; margin: 0 -16px 24px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--flour); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.tab:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.tab[aria-selected="true"] { background: var(--dark); color: var(--light); box-shadow: none; }
.menu-grid { display: grid; gap: 18px; }
.menu-photo { margin: 0; border-radius: var(--r-lg); aspect-ratio: 16 / 9; box-shadow: var(--sh-1); }
.menu-photo img { transition: opacity .35s var(--ease), transform .6s var(--ease); }
.menu-photo.swap img { opacity: 0; transform: scale(1.03); }
.menu-card { background: var(--flour); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 40px); box-shadow: var(--sh-2); }
.menu-cat { font-family: var(--f-display); font-size: 1.5rem; margin: 0 0 6px; color: var(--primary-ink); }
.menu-cat:not(:first-child) { margin-top: 28px; }
.mi { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.mi:last-child { border-bottom: 0; }
.mi-top { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.mi-name { font-family: var(--f-display); font-size: 1.14rem; line-height: 1.25; }
.mi-lead { flex: 1; min-width: 16px; border-bottom: 2px dotted #CDB596; transform: translateY(-4px); }
.mi-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mi-desc { color: var(--mocha); font-size: .95rem; grid-column: 1; }
.mi-top { grid-column: 1 / -1; }
.mi .mi-desc { grid-row: 2; }
.mi .step { grid-column: 2; grid-row: 2; }
.menu-list.fade { animation: fade .35s var(--ease); }
.menu-note { margin-top: 18px; font-size: .9rem; color: var(--mocha); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Cake builder: the signature */
.cake-sec { background: radial-gradient(90% 60% at 20% 0%, #3d2418 0%, var(--dark) 60%); color: var(--on-dark); position: relative; overflow: clip; }
.cake-sec::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(247,238,223,.05) 1px, transparent 1.6px); background-size: 22px 22px; pointer-events: none; }
.cake-sec .wrap { position: relative; }
.builder { display: grid; gap: 20px; align-items: start; }
.stage { position: sticky; top: 64px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r-lg); background: radial-gradient(80% 90% at 50% 70%, #5a3520 0%, #34200f 70%); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(247,238,223,.08); }
#cake-svg { width: 168px; height: 158px; flex: none; overflow: visible; }
.stage-price { display: flex; flex-direction: column; min-width: 0; }
.sp-label { font-size: .85rem; color: var(--on-dark-2); }
#cake-price { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; color: #F3C98F; font-variant-numeric: tabular-nums; }
#cake-price.pop { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.06); } }
.sp-break { font-size: .85rem; color: var(--on-dark-2); }
.tier { transition: opacity .45s var(--ease), transform .55s var(--ease); transform-box: view-box; }
.tier.off { opacity: 0; transform: translateY(-26px); }
.tier rect, .tier path, .tier circle { transition: fill .45s var(--ease); }
.plaque { transition: transform .55s var(--ease), opacity .3s; transform-box: view-box; }
.cake-form { background: rgba(247,238,223,.05); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); box-shadow: inset 0 0 0 1px rgba(247,238,223,.1); display: grid; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.opts { display: grid; gap: 10px; }
.opts-3 { grid-template-columns: repeat(3, 1fr); }
.opts-2 { grid-template-columns: repeat(2, 1fr); }
.opts-fl { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.opt-c { position: relative; display: block; cursor: pointer; }
.opt-c input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-c > span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border-radius: var(--r-sm); background: rgba(247,238,223,.06); box-shadow: inset 0 0 0 1px rgba(247,238,223,.16); transition: background-color .2s, box-shadow .2s, transform .15s; }
.opt-c:hover > span { box-shadow: inset 0 0 0 1px rgba(247,238,223,.4); }
.opt-c input:checked + span { background: rgba(208,146,74,.16); box-shadow: inset 0 0 0 2px var(--primary); }
.opt-c input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.opt-c:active > span { transform: scale(.98); }
.opts-3 .opt-c > span, .opts-2 .opt-c > span { justify-content: center; flex-direction: column; gap: 0; line-height: 1.25; text-align: center; font-weight: 600; }
.opt-sub { font-weight: 400; font-size: .8rem; color: var(--on-dark-2); }
.swatch { width: 28px; height: 28px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px var(--fr, #fff), 0 0 0 4px rgba(247,238,223,.3); background: var(--sp, #ccc); margin: 3px; }
.fl-txt { display: flex; flex-direction: column; line-height: 1.25; font-weight: 600; font-size: .95rem; }
.fld { display: grid; gap: 8px; font-weight: 600; }
.fld .opt { font-weight: 400; color: var(--on-dark-2); }
.fld input, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm); border: 0; font-weight: 400; background: var(--flour); color: var(--dark); box-shadow: inset 0 0 0 1px var(--line); }
.fld textarea { resize: vertical; }
.row2 { display: grid; gap: 16px; }
.cake-form .fine { color: var(--on-dark-2); }
.err { background: #F6D9CF; color: #6E1E0E; padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; }

/* The place */
.place-grid { display: grid; gap: 36px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 4px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticks .ic { color: var(--primary-ink); margin-top: 3px; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 72px; gap: 10px; }
.mosaic figure { margin: 0; border-radius: var(--r-md); }
.mosaic figure:hover img { transform: scale(1.04); }
.m1 { grid-column: 1 / 5; grid-row: span 3; }
.m2 { grid-column: 5 / 7; grid-row: span 3; }
.m3 { grid-column: 1 / 3; grid-row: span 2; }
.m4 { grid-column: 3 / 7; grid-row: span 3; }
.m5 { grid-column: 1 / 3; grid-row: span 1; }

/* Reviews */
.reviews-sec { background: var(--crust); }
.car-btns { display: flex; gap: 8px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--flour); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .15s; }
.round:hover { background: var(--dark); color: var(--light); }
.round:active { transform: scale(.94); }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 86%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scroll-behavior: smooth; padding: 4px 16px 16px; margin: 0 -16px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; margin: 0; background: var(--flour); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 16px; position: relative; }
.review::before { content: '\201C'; position: absolute; right: 22px; top: 4px; font-family: var(--f-display); font-size: 5rem; line-height: 1; color: var(--crust); }
.stars { display: flex; gap: 3px; color: var(--primary); }
.stars svg { width: 20px; height: 20px; }
.review blockquote { margin: 0; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.45; letter-spacing: -.005em; }
.review figcaption { margin-top: auto; font-size: .88rem; color: var(--mocha); }
.review figcaption strong { display: block; color: var(--dark); font-weight: 600; font-size: .95rem; }

/* Visit */
.visit-grid { display: grid; gap: 32px; }
.addr { font-size: 1.15rem; margin-top: 18px; }
.hours { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { font-weight: 600; text-align: right; }
.contact-line { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 22px; }
.contact-line a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--primary-ink); }
.enquiry { background: var(--flour); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--sh-2); display: grid; gap: 16px; align-content: start; }
.enquiry h3 { font-size: 1.6rem; }

/* Footer */
.foot { background: var(--dark); color: var(--on-dark-2); padding: 48px 0 40px; }
.foot-in { display: grid; gap: 6px; }
.foot-name { font-family: var(--f-display); font-size: 1.5rem; color: var(--on-dark); margin-bottom: 6px; }
.small { font-size: .85rem; }

/* Mobile dock and cart */
.dock, .cart { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(247,238,223,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 rgba(42,24,16,.1), 0 -10px 30px -16px rgba(42,24,16,.35); }
.dock { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.has-cart .dock { display: none; }
.cart { animation: up .3s var(--ease); }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.cart-bar { display: flex; gap: 10px; align-items: center; }
.cart-sum { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--dark); color: var(--light); cursor: pointer; text-align: left; }
.cart-sum > span { display: flex; flex-direction: column; line-height: 1.2; font-size: .82rem; color: var(--on-dark-2); }
.cart-sum strong { color: var(--light); font-size: 1rem; }
.cart-body { max-height: 40vh; overflow: auto; padding: 4px 4px 10px; }
.cart-body ul { list-style: none; margin: 0; padding: 0; }
.cart-body li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.link { background: none; border: 0; color: var(--primary-ink); font-weight: 600; min-height: 44px; cursor: pointer; padding: 0; text-decoration: underline; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .sp-row { grid-auto-columns: minmax(280px, 46%); }
  .reviews { grid-auto-columns: minmax(300px, 46%); }
  .row2 { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-auto-rows: 96px; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .bar-links { display: flex; }
  .hero { min-height: min(100svh, 860px); display: grid; grid-template-columns: 46fr 54fr; }
  .hero-photo { position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; }
  .hero-photo::after { background: linear-gradient(90deg, var(--dark) 0%, rgba(42,24,16,.35) 22%, rgba(42,24,16,0) 50%), linear-gradient(0deg, rgba(42,24,16,.45), rgba(42,24,16,0) 35%), linear-gradient(180deg, rgba(42,24,16,.55), rgba(42,24,16,0) 22%); }
  .hero-copy { grid-column: 1; grid-row: 1; padding: 0 clamp(24px, 4vw, 64px) 0 max(32px, calc((100vw - 1200px) / 2)); }
  .wrap-l { width: auto; margin: 0; }
  .hero-links { display: flex; }
  .hero-nav { position: absolute; left: max(32px, calc((100vw - 1200px) / 2)); right: max(32px, calc((100vw - 1200px) / 2)); top: 0; z-index: 2; padding-top: 26px; }
  .hero-text { margin: auto 0; padding: 120px 0 72px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-cake { position: absolute; z-index: 3; left: calc(46% - 40px); bottom: 48px; margin: 0; background: rgba(42,24,16,.55); }
  .sp-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 24px; }
  .menu-grid { grid-template-columns: 5fr 7fr; gap: 28px; align-items: start; }
  .menu-photo { aspect-ratio: 4 / 5; position: sticky; top: 92px; }
  .tabs { margin: 0 0 28px; padding: 4px 0; flex-wrap: wrap; }
  .builder { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .stage { top: 96px; flex-direction: column; padding: 36px 28px 32px; gap: 8px; text-align: center; }
  #cake-svg { width: 100%; max-width: 420px; height: auto; }
  .stage-price { align-items: center; }
  .place-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
  .reviews { grid-auto-columns: calc((100% - 32px) / 3); margin: 0; padding: 4px 0 16px; scroll-padding-inline: 0; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  /* Desktop: the sticky header carries WhatsApp; the basket is a slim bottom bar that never sits on top of the page end. */
  .dock { display: none; }
  .has-cart { padding-bottom: 84px; }
  .cart { padding-inline: max(24px, calc((100vw - 1200px) / 2)); }
  .cart-body { max-width: 520px; margin-left: auto; }
  .cart-bar { justify-content: flex-end; }
  .cart-sum { flex: 0 1 320px; }
}

@media (max-width: 380px) {
  .opts-fl { grid-template-columns: 1fr 1fr; }
  .opt-c > span { padding: 8px 10px; }
  #cake-svg { width: 120px; height: 115px; }
}

/* ---------- 2026 upgrade: video, proof row, loading states, forms ---------- */
/* Background video sits over its photo and fades in once it really plays. */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.playing > .bg-video { opacity: 1; }

/* Proof row under the hero buttons */
.proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.proof-item { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(42,24,16,.62); box-shadow: inset 0 0 0 1px rgba(247,238,223,.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .9rem; color: var(--on-dark); text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
a.proof-item:hover { background: rgba(42,24,16,.8); transform: translateY(-1px); }
.proof-item strong { font-weight: 700; }
.mini-stars { width: 78px; height: 14px; flex: none; background: linear-gradient(90deg, #F3C98F calc(var(--rate, 1) * 100%), rgba(247,238,223,.28) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 1l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.1l-6.4 3.5L7 13.5l-5.3-5 7.2-.9z'/%3E%3C/svg%3E") 0 0 / 15.6px 14px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 1l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.1l-6.4 3.5L7 13.5l-5.3-5 7.2-.9z'/%3E%3C/svg%3E") 0 0 / 15.6px 14px repeat-x; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #E9A07A; flex: none; }
.is-open .dot { background: #7BDA97; box-shadow: 0 0 0 0 rgba(123,218,151,.6); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(123,218,151,0); } 100% { box-shadow: 0 0 0 0 rgba(123,218,151,0); } }

/* Photos: a soft shimmer over the warm gradient until the photo has loaded, then a fade in. */
.ph::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, rgba(255,251,244,.26) 50%, transparent 75%) 0 0 / 250% 100%; animation: shimmer 1.6s linear infinite; }
.ph:has(img.ok)::before { display: none; }
@keyframes shimmer { from { background-position: 160% 0; } to { background-position: -60% 0; } }
.ph img { position: relative; }
.js .ph img { opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .ph img.ok { opacity: 1; }
.js .menu-photo.swap img.ok { opacity: 0; }

/* Menu tab change with the View Transitions API */
#menu-list { view-transition-name: menu-list; }
#menu-photo { view-transition-name: menu-photo; }
::view-transition-old(menu-list) { animation: vt-out .16s var(--ease) both; }
::view-transition-new(menu-list) { animation: vt-in .32s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* Signature: the cake studio film */
.studio { margin-top: clamp(28px, 4vw, 48px); display: grid; border-radius: var(--r-lg); overflow: hidden; background: #34200f; box-shadow: inset 0 0 0 1px rgba(247,238,223,.1), 0 30px 60px -30px rgba(0,0,0,.7); }
.studio-film { aspect-ratio: 16 / 10; }
.studio-film img, .studio-film .bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.studio-film .bg-video { z-index: 2; }
.studio-copy { padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 14px; align-content: center; }
.studio-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.05; }
.studio-copy p { color: var(--on-dark-2); max-width: 44ch; }
.studio-copy .btn { justify-self: start; margin-top: 6px; }

/* Cards lift a little under the pointer */
.review { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
@media (hover: hover) { .review:hover { transform: translateY(-3px); box-shadow: var(--sh-2); } }

/* Forms: clear inline errors and a visible sent state */
.fld [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B8401F; }
.fld-err { font-size: .88rem; font-weight: 600; color: #8E2A12; }
.cake-form .fld-err { color: #F6B79E; }
.fld input:focus-visible, .fld textarea:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; }
.sent { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; padding: 14px 16px; border-radius: var(--r-md); background: #E4F1DC; color: #1E4419; animation: fade .35s var(--ease); }
.sent .ic { grid-row: span 2; color: #2C7A35; margin-top: 2px; }
.sent .link { justify-self: start; color: #1E4419; }
.cake-form .sent { background: rgba(123,218,151,.12); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(123,218,151,.35); }
.cake-form .sent .ic { color: #8FE0A8; }
.cake-form .sent .link { color: #F3C98F; }

@media (min-width: 960px) {
  .studio { grid-template-columns: 1.35fr 1fr; }
  .studio-film { aspect-ratio: auto; min-height: 360px; }
  .bg-video { object-position: center; }
}

/* Phones: the trust facts become one swipeable line so the first screen stays calm. */
@media (max-width: 599px) {
  .trust { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; gap: 8px; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
  .trust::-webkit-scrollbar { display: none; }
  .trust li { flex: none; white-space: nowrap; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,245,220,.16); font-size: .86rem; }
  .proof-item { font-size: .86rem; padding: 5px 12px 5px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .reviews { scroll-behavior: auto; }
  .bg-video { display: none; }
  .ph::before { display: none; }
}

/* ---------- section videos (loaded and paused by video-kit.js; the photo underneath always shows first) ---------- */
.vk-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
.vk-video.vk-playing { opacity: 1; }
.vk-video.vk-failed { display: none; }
.vtile > img { position: absolute; inset: 0; }
/* Menu band: video with a dark overlay and the section title on it */
.vband { position: relative; isolation: isolate; display: flex; align-items: flex-end; aspect-ratio: 21 / 8; min-height: 280px; max-height: 60vh; border-radius: var(--r-lg); margin-bottom: clamp(24px, 4vw, 40px); background: var(--dark); box-shadow: var(--sh-1); }
.vband > img { position: absolute; inset: 0; }
.vband::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(42,24,16,.92) 0%, rgba(42,24,16,.74) 50%, rgba(42,24,16,.3) 100%); pointer-events: none; }
.vband-copy { position: relative; z-index: 3; padding: clamp(20px, 4vw, 44px); max-width: 680px; }
.vband-copy .eyebrow { color: var(--primary); }
.vband-copy h2 { color: #FFF7EA; }
.vband-sub { margin-top: 12px; color: rgba(255,247,234,.9); font-size: 1.06rem; max-width: 52ch; }
@media (max-width: 767px) { .vband { aspect-ratio: 4 / 3; min-height: 260px; } }
@media (prefers-reduced-motion: reduce) { .vk-video { display: none; } }
