/* The typeface travels with the site (assets/fonts), so a visitor's browser
   asks no third party for it: no Google request, nothing for a cookie banner. */
/* latin-ext */
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/gabarito-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/gabarito-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   CRUMB — a template for patisseries (cofetarie-1-zahar).
   One family, Gabarito (400–600): round, a little playful and sturdy at
   display size, plain and calm in the text. Headings are centred
   and step in size: a small line, then one big word with a piped line under it.
   Sugar-cream ground, cocoa ink, one raspberry accent. The editable colours live
   in <style data-edit-colors> in index.html; everything else is derived.
   ========================================================================== */

:root {
  --sans: 'Gabarito', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ink-soft: color-mix(in srgb, var(--ink) 72%, var(--bg));
  --ink-mute: color-mix(in srgb, var(--ink) 70%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 13%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 28%, transparent);
  --bg-2: color-mix(in srgb, var(--ink) 4%, var(--bg));
  --bg-3: color-mix(in srgb, var(--ink) 8%, var(--bg));
  --blush: color-mix(in srgb, var(--accent) 13%, var(--bg));
  --accent-ink: #fff;
  /* the header pill is butter cream with cocoa text in both themes: it never changes */
  --pill: #F0DFC9;
  --pill-ink: #2A1A15;

  --fs-label: 12.5px;
  --fs-small: 14.5px;
  --fs-body: 17px;
  --fs-lead: clamp(18px, 1.4vw, 22px);
  --fs-h3: clamp(22px, 1.9vw, 30px);
  --fs-h2: clamp(64px, 8.4vw, 140px); /* the big step; the small line is .3em of it */
  --fs-statement: clamp(32px, 4.4vw, 68px);
  --fs-display: clamp(64px, 10.4vw, 176px);

  --gutter: clamp(16px, 3.4vw, 56px);
  --space-section: clamp(104px, 11vw, 176px);
  --space-head: clamp(48px, 5.2vw, 84px);
  --radius: 22px;
  --radius-big: clamp(22px, 2.8vw, 44px);
  --header-h: 84px; /* the pill and the air around it */
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur: .45s;
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; --accent-ink: var(--bg); }

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { width: 1em; height: 1em; flex: none; }
figure, fieldset { margin: 0; padding: 0; border: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.02em; }
/* Headings step in size: the plain words are a small line, the word in <em> is
   the big one, on its own line, with the piped line drawn under it. */
h2 { font-size: calc(var(--fs-h2) * .3); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; }
h2 em, h1 em { display: table; font-style: normal; font-weight: 600; font-size: calc(1em / .3); line-height: .98; letter-spacing: -.04em; color: var(--ink); margin-top: .06em; }
h1 em { font-size: calc(1em / .3); }
/* the big line's words, once split into masks, keep a real gap between them */
h1 em .line-mask:not(:last-of-type), h2 em .line-mask:not(:last-of-type) { margin-right: .16em; }
/* the hand-drawn line under the big word (an SVG main.js adds for visitors) */
[data-underline] em { position: relative; }
.under { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .2em; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; overflow: visible; pointer-events: none; }
strong { font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -100px; left: var(--gutter); z-index: 100; background: var(--bg); padding: 14px; }
.skip-link:focus { top: 14px; }
.eyebrow, .label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.label { display: block; }
.section { padding: var(--space-section) var(--gutter); }
/* centred section heads */
.section-head { max-width: 980px; margin: 0 auto var(--space-head); text-align: center; }
.section-head h2 { margin-top: 18px; }
.section-head h2 em { margin-left: auto; margin-right: auto; }
.section-intro { max-width: 560px; color: var(--ink-soft); font-size: var(--fs-lead); margin-top: 30px; line-height: 1.5; }
.section-head .section-intro { margin-left: auto; margin-right: auto; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 16px 24px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 500; transition: background var(--dur), color var(--dur), gap var(--dur) var(--ease); }
.button svg { width: 20px; height: 20px; }
.button:hover { background: var(--accent); color: var(--accent-ink); gap: 42px; }
.button-ghost { background: var(--blush); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 5px; transition: border-color var(--dur); }
.text-link svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.text-link:hover { border-color: currentColor; }
.text-link:hover svg { transform: translate(3px, -3px); }
.plain-link { border-bottom: 1px solid transparent; transition: border-color var(--dur); }
.plain-link:hover { border-color: currentColor; }

/* the mask for rising words: paired padding and margin, so accents and descenders
   are not clipped; goes with yPercent 120 in main.js */
.line-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .2em .05em .26em; margin: -.2em -.05em -.26em; }
.line-mask > span { display: inline-block; will-change: transform; }

/* ---------- header: the floating pill ----------
   Small, centred, butter cream. It never changes, shrinks or hides on scroll. */
.site-header { position: fixed; top: 16px; left: 0; right: 0; z-index: 30; display: flex; justify-content: center; pointer-events: none; }
.pill { pointer-events: auto; display: flex; align-items: center; gap: 26px; height: 54px; padding: 0 7px 0 24px; border-radius: 999px; background: var(--pill); color: var(--pill-ink); }
.brand { font-size: 22px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.site-nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 400; }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 1px; height: 1.5px; border-radius: 2px; background: #D23F68; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); }
.header-end { display: flex; align-items: center; gap: 6px; }
.header-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--pill-ink); color: var(--pill); font-size: 14.5px; font-weight: 500; transition: background var(--dur); }
.header-cta:hover { background: #D23F68; color: #fff; }
/* the theme switch is the oven: by day the window is dark, at night the oven light
   comes on (one short flicker, as old bulbs do) and the cake inside shows */
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; color: inherit; border-radius: 50%; }
.theme-toggle svg { width: 22px; height: 22px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.theme-toggle .oven-knob { fill: currentColor; stroke: none; }
.theme-toggle .oven-light { fill: #F2B95F; stroke: none; opacity: 0; transition: opacity .35s; }
.theme-toggle .oven-cake { fill: var(--pill-ink); stroke: none; opacity: 0; transition: opacity .35s; }
.theme-toggle:hover .oven-light { opacity: .3; }
:root[data-theme="dark"] .theme-toggle .oven-light { opacity: 1; animation: oven-on .7s steps(1, end) both; }
:root[data-theme="dark"] .theme-toggle .oven-cake { opacity: 1; }
@keyframes oven-on { 0% { opacity: .15; } 20% { opacity: .9; } 35% { opacity: .3; } 55%, 100% { opacity: 1; } }
.menu-toggle { display: none; }
.menu-panel { position: fixed; inset: 0; z-index: 25; background: var(--pill); color: var(--pill-ink); padding: 120px var(--gutter) 36px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; }
.menu-panel[hidden] { display: none; }
.menu-panel nav { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: clamp(38px, 11vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1.12; }
.menu-phone { font-size: var(--fs-lead); opacity: .7; font-variant-numeric: tabular-nums; }

/* ---------- hero: title first, then the photo ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(24px, 4vh, 52px)); }
.hero-head { text-align: center; padding: 0 var(--gutter); }
.hero h1 { font-size: calc(var(--fs-display) * .3); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; margin: 20px auto 0; max-width: 24em; }
.hero h1 em { margin: .04em auto 0; line-height: .9; }
.hero-text { max-width: 520px; margin: clamp(22px, 3.4vh, 36px) auto 0; font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-soft); }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: clamp(20px, 3vh, 30px); }
/* the photo: inset, with big rounded corners; main.js opens it to the edges on scroll.
   Without JS (and in the editor) it stays inset. */
.hero-media { position: relative; margin-top: clamp(34px, 5vh, 60px); height: clamp(420px, 74vh, 760px); clip-path: inset(0 var(--gutter) round var(--radius-big)); overflow: hidden; background: #2A1A15; }
.hero-media img { object-position: 55% 45%; transform-origin: 50% 40%; }
.hero-status { position: absolute; left: calc(var(--gutter) + 22px); top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: var(--bg); color: var(--ink); font-size: var(--fs-small); font-weight: 500; }
.hero-status[data-open="true"] { color: var(--ink); }
.hero-status[data-open="true"]::before { background: var(--accent); }
/* "Open now" is the standard WireSwan line ([data-open-now]): the platform fills it in
   when serving, from the editable hours, in the page's language, and sets
   data-open="true|false". On a downloaded site, without its script, it stays empty and hides. */
.open-now::before { content: ''; width: 16px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
[data-open="true"] { color: var(--accent); }
[data-open="false"] { color: var(--ink-mute); }
[data-open-now]:empty { display: none; }

/* the entrance: hidden only while GSAP loads (boot.js adds the js class) */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.gsap-on) .hero h1, html.js:not(.gsap-on) .hero .eyebrow, html.js:not(.gsap-on) .hero [data-fade] { opacity: 0; }
  html.js:not(.gsap-on) .hero-media img { transform: scale(1.08); }
}

/* ---------- the shop window: squares and notes ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 22px; }
.product-photo { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #2A1A15; }
.product-photo img { transition: transform 1.4s var(--ease); }
.product:hover .product-photo img { transform: scale(1.04); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.product-info { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 16px; padding: 0 4px; }
.product-info h3 { font-size: clamp(18px, 1.45vw, 22px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.product-price { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--accent-text); }
/* the note: a slip of paper that rises over the bottom of the photo */
.note-card { position: absolute; left: 10px; right: 10px; bottom: 10px; max-height: calc(100% - 20px); overflow-y: auto; overscroll-behavior: contain; padding: 16px 56px 16px 16px; border-radius: 14px; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .6s var(--ease); pointer-events: none; }
.note-card p + p { margin-top: 8px; }
.note-allergens small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 2px; }
.note-allergens span { font-weight: 500; }
.product:hover .note-card, .product.is-open .note-card { opacity: 1; transform: none; pointer-events: auto; }
.product-toggle { position: absolute; z-index: 1; right: 18px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; transition: transform var(--dur) var(--ease), background var(--dur); }
.product-toggle svg { width: 16px; height: 16px; }
.product.is-open .product-toggle { transform: rotate(45deg); }
.shop-note { margin: 56px auto 0; max-width: 540px; font-size: 15px; color: var(--ink-mute); text-align: center; }

/* ---------- the cake that builds itself: the form left, the cake right ---------- */
.cake { background: var(--blush); border-radius: var(--radius-big); margin: 0 clamp(8px, 1.2vw, 18px); }
.cake-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1240px; margin: 0 auto; }
.cake-form { order: 1; }
.cake-stage { order: 2; position: sticky; top: calc(var(--header-h) + 24px); background: var(--bg); border-radius: var(--radius); padding: 28px; }
.cake-svg { display: block; width: 100%; height: auto; }
.cake-plate { fill: var(--bg-3); }
.cake-layer { stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1; }
.cake-layer.is-empty { fill: none; stroke: var(--line-strong); stroke-dasharray: 4 4; }
.cake-topping .fruit { fill: var(--accent); }
.cake-topping .glaze { fill: color-mix(in srgb, var(--ink) 78%, var(--accent)); }
.cake-topping .macaron { fill: var(--accent); stroke: var(--bg); stroke-width: 1; }
.cake-topping .kiss { stroke: color-mix(in srgb, var(--ink) 24%, transparent); stroke-width: 1; stroke-linejoin: round; }
.cake-step { margin-bottom: 32px; }
.cake-form legend { display: block; font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 12px 19px; border-radius: 999px; background: var(--bg); font-size: 15px; font-weight: 400; transition: background var(--dur), color var(--dur); }
.chip:hover { background: color-mix(in srgb, var(--ink) 8%, var(--bg)); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); }
.chip-price { font-size: var(--fs-label); color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip-price { color: inherit; opacity: .75; }
.cake-summary { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); min-height: 60px; }
.cake-summary p { color: var(--ink-soft); }
.cake-price { font-size: 40px; font-weight: 500; letter-spacing: -.04em; color: var(--ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.cake-send { width: 100%; margin-top: 24px; }
.cake-note { margin-top: 14px; font-size: var(--fs-label); color: var(--ink-mute); }

/* ---------- the statement: the one big moment of colour ---------- */
.statement { background: var(--accent); color: var(--accent-ink); text-align: center; margin: clamp(8px, 1.2vw, 18px); border-radius: var(--radius-big); }
.statement-text { font-size: var(--fs-statement); font-weight: 500; line-height: 1.06; letter-spacing: -.045em; max-width: 1000px; margin: 0 auto; }
.statement-text em { font-style: normal; color: color-mix(in srgb, var(--accent) 28%, var(--accent-ink)); }
.statement-note { margin-top: 30px; font-size: 15px; opacity: .86; }

/* ---------- events: text left, a tall photo and two small ones right ---------- */
.events { overflow-x: clip; } /* the photos scale in from 1.12; no sideways scroll on phones */
.events-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.events-text h2 { margin-top: 18px; }
.events-text .button { margin-top: 34px; }
.events-band { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(12px, 1.4vw, 20px); }
.events-photo { display: block; }
.events-photo img { border-radius: var(--radius); height: auto; aspect-ratio: 4 / 3.4; background: #2A1A15; }
.events-photo:first-child { grid-row: 1 / 3; }
.events-photo:first-child img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.events-photo:first-child { display: flex; flex-direction: column; }
.events-photo:first-child img { flex: 1; }
.events-photo figcaption { padding-top: 10px; font-size: 14px; color: var(--ink-mute); }

/* ---------- how to order: numbers that light up ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); padding-top: 36px; text-align: center; }
/* the piped line main.js draws above each step (the plain rule above is the fallback) */
.steps-grid.is-piped { border-top: 0; padding-top: 0; }
.pipe { display: block; height: 18px; overflow: visible; margin-bottom: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step-number { display: block; font-size: clamp(64px, 7vw, 112px); font-weight: 600; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; color: var(--bg-3); transition: color .9s var(--ease); }
.step.is-lit .step-number { color: var(--accent); }
.step h3 { margin-top: 18px; }
.step p { margin: 10px auto 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); max-width: 280px; }
.steps-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 6vw, 96px); }
.steps-photos figure { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #2A1A15; }
.steps-photos figure:last-child { margin-top: 56px; }

/* ---------- contact: the shop left, the door sign right ---------- */
.contact { background: var(--bg-2); overflow-x: clip; } /* the door sign swings in from -5deg */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.contact-main h2 { margin-top: 18px; }
.contact-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(44px, 5vw, 72px); }
.contact-big { font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; line-height: 1.16; letter-spacing: -.035em; margin: 14px 0 12px; font-variant-numeric: tabular-nums; }
.contact-note { font-size: 15px; line-height: 1.55; color: var(--ink-soft); max-width: 320px; margin-bottom: 22px; }
.contact-line { margin: 8px 0; }
.contact-button { margin-top: 26px; }
/* the door sign: a cocoa card on a string from a nail; it settles with a small
   swing when it comes into view (main.js), and sways a touch on hover */
.door-sign { position: relative; max-width: 420px; justify-self: end; width: 100%; transform-origin: 50% 0; }
.door-string { display: block; width: 62%; height: 56px; margin: 0 auto -2px; fill: none; stroke: var(--ink-mute); stroke-width: 1.3; overflow: visible; }
.door-string circle { fill: var(--ink-soft); stroke: none; }
.sign-card { background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 30px 30px 28px; }
.sign-card .label { color: color-mix(in srgb, var(--bg) 62%, var(--ink)); text-align: center; }
.hours-list { margin-top: 18px; }
.hours { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); font-size: 16px; font-variant-numeric: tabular-nums; }
.hours:last-child { border-bottom: 0; }
.hours.is-today { color: color-mix(in srgb, var(--accent) 70%, var(--bg)); font-weight: 500; }
.sign-note { margin-top: 16px; font-size: 14px; line-height: 1.5; color: color-mix(in srgb, var(--bg) 66%, var(--ink)); text-align: center; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .door-sign:hover .sign-card { animation: sway 1.6s var(--ease-io); transform-origin: 50% -56px; }
}
@keyframes sway { 0% { transform: rotate(0); } 25% { transform: rotate(-2.2deg); } 55% { transform: rotate(1.4deg); } 80% { transform: rotate(-.5deg); } 100% { transform: rotate(0); } }

/* ---------- footer: the cake box lid ---------- */
.site-footer { padding: clamp(8px, 1.2vw, 18px); }
.cake-box { position: relative; display: grid; place-items: center; min-height: clamp(460px, 44vw, 620px); border-radius: var(--radius-big); background: var(--blush); overflow: hidden; }
/* baker's twine, red and white, tied across the lid */
.twine { position: absolute; background: repeating-linear-gradient(45deg, var(--accent) 0 5px, #FFF7F2 5px 10px); }
.twine-x { left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; }
.twine-y { top: 0; bottom: 0; left: 50%; width: 6px; margin-left: -3px; }
.box-label { position: relative; width: clamp(280px, 30vw, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.box-scallop { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--bg); }
.box-text { position: relative; width: 64%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.box-tag { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.box-name { font-size: clamp(54px, 5.6vw, 80px); font-weight: 600; line-height: .95; letter-spacing: -.045em; color: var(--accent); }
.box-line { font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); padding-top: 10px; border-top: 1px solid var(--line); }
.box-address { font-size: 12.5px; color: var(--ink-mute); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 22px calc(var(--gutter) - clamp(8px, 1.2vw, 18px)) 14px; font-size: var(--fs-label); color: var(--ink-mute); }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom a svg { width: 14px; height: 14px; }

/* ---------- in the WireSwan editor (and in /try) ----------
   The editor puts the ws-on class on <html>. The notes stay open, so the owner can
   write them without hovering. */
html.ws-on .note-card { opacity: 1; transform: none; pointer-events: auto; }
html.ws-on .line-mask > span { transform: none !important; }
html.ws-on .step-number { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: 16px; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .site-nav, .header-cta { display: none; }
  .pill { gap: 10px; height: 50px; padding: 0 5px 0 20px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 40px; height: 40px; border-radius: 50%; background: var(--pill-ink); }
  .menu-toggle span { display: block; width: 16px; height: 1.5px; background: var(--pill); transition: transform var(--dur); }
  .site-header.is-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .site-header.is-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .cake-grid { grid-template-columns: 1fr; gap: 24px; }
  .cake-stage { order: 0; top: var(--header-h); z-index: 2; padding: 12px 24px; }
  .cake-svg { max-height: 200px; margin: 0 auto; }
  .events-grid { grid-template-columns: 1fr; }
  .steps-photos { grid-template-columns: 1fr; }
  .steps-photos figure:last-child { margin-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .door-sign { justify-self: center; }
}

@media (max-width: 650px) {
  :root { --header-h: 70px; --space-section: clamp(84px, 18vw, 112px); --fs-h2: clamp(52px, 15vw, 72px); --radius: 16px; }
  .site-header { top: 12px; }
  .brand { font-size: 21px; }
  .hero { padding-top: calc(var(--header-h) + 22px); }
  .hero h1 { font-size: 19px; }
  .hero h1 em { font-size: clamp(54px, 15.6vw, 74px); }
  .hero-text { font-size: 17px; }
  .hero-media { height: 62svh; min-height: 380px; margin-top: 30px; }
  .hero-status { left: calc(var(--gutter) + 14px); top: 14px; }
  .shop-grid { gap: 28px 12px; }
  .product-info { flex-direction: column; gap: 4px; padding: 0 2px; }
  .product-info h3 { font-size: 16.5px; }
  .note-card { left: 6px; right: 6px; bottom: 6px; max-height: calc(100% - 12px); padding: 10px 40px 10px 11px; font-size: 12.5px; line-height: 1.4; border-radius: 10px; }
  .note-card p + p { margin-top: 6px; }
  .product-toggle { right: 12px; bottom: 12px; width: 32px; height: 32px; }
  .cake { margin: 0 6px; }
  .statement { margin: 6px; }
  .events-band { grid-template-columns: 1fr 1fr; }
  .events-photo:first-child { grid-row: auto; grid-column: 1 / 3; }
  .events-photo:first-child img { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .step-number { font-size: 64px; }
  .statement-text { font-size: clamp(31px, 9vw, 46px); }
  .contact-cols { grid-template-columns: 1fr; }
  .contact-big { font-size: 26px; }
  .site-footer { padding: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px 12px 14px; }
}

@media (max-width: 400px) {
  .chip { padding: 10px 14px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .line-mask > span { transform: none !important; opacity: 1 !important; }
  [data-fade] { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .hero-media img { transform: none !important; }
  .step-number { color: var(--accent); }
}
.lenis.lenis-smooth { scroll-behavior: auto; }

/* The accent as small text: deepened by day so it reads at 4.5:1 on the light
   page; at night the accent itself is light enough (27 Nov 2026). */
:root { --accent-text: color-mix(in srgb, var(--accent) 74%, #000); }
[data-theme="dark"], .dark { --accent-text: var(--accent); }
