/* Original Cakes by Sonia — public website.
   One bold move: the sticker's pink field and seal. Everything else stays quiet: ivory, ink, Bodoni. */

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--noir);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; margin: 0 0 .45em; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7.4vw, 6.6rem); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-variation-settings: "opsz" 72; }
h3 { font-size: 1.45rem; font-variation-settings: "opsz" 28; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sunflower); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--noir); color: var(--ivory); padding: .6rem 1rem; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.7rem; border-radius: var(--r-pill);
  font: 500 1rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 1.2rem; font-size: .92rem; }
.btn-noir { background: var(--noir); color: var(--ivory); }
.btn-noir:hover { background: var(--rose-ink); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--noir); color: var(--ivory); border-color: var(--noir); }
.btn-petal { background: var(--petal); color: var(--noir); }
.btn-petal:hover { background: var(--ivory); }
.btn-sun { background: var(--sunflower); color: var(--noir); }
.btn-sun:hover { background: var(--ivory); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { display: inline-flex; gap: .4rem; align-items: center; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------------------------------------------------------------- header */
.announce { background: var(--noir); color: var(--ivory); text-align: center; font-size: .9rem; padding: .55rem 16px; position: relative; z-index: 31; }
.announce a { text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 30; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.scrolled { background: color-mix(in srgb, var(--ivory) 86%, transparent); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .7rem clamp(16px, 3vw, 40px); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-right { justify-content: flex-end; }
.nav a:not(.btn) { text-decoration: none; font-weight: 450; position: relative; padding: .4rem 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.brand img { width: 74px; height: 74px; transition: transform .5s var(--ease), width .3s, height .3s; filter: drop-shadow(0 6px 14px rgb(69 37 25 / 18%)); }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.site-header.scrolled .brand img { width: 58px; height: 58px; }
.menu-btn { display: none; justify-self: end; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--noir); transition: transform .3s var(--ease); }
.menu-btn i:first-of-type { top: 19px; }
.menu-btn i:last-of-type { top: 28px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
.menu-panel {
  position: fixed; inset: 0; z-index: 29; padding: 110px 24px 32px;
  background: radial-gradient(120% 90% at 20% 0%, var(--petal), var(--blush) 55%, var(--rose));
  display: flex; flex-direction: column; justify-content: space-between;
  animation: menuIn .45s var(--ease);
}
.menu-panel nav { display: grid; gap: .2rem; }
.menu-panel nav a { font-family: var(--font-display); font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.15; text-decoration: none; }
.menu-foot { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.menu-foot a { font-weight: 500; }
@keyframes menuIn { from { clip-path: circle(0 at calc(100% - 40px) 40px); } to { clip-path: circle(150% at calc(100% - 40px) 40px); } }
@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .brand { justify-self: start; }
  .brand img { width: 60px; height: 60px; }
  .menu-btn { display: block; }
}
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- hero (home) */
.pink-field { background: radial-gradient(130% 120% at 85% 20%, var(--petal) 0%, var(--blush) 48%, var(--rose) 100%); }
.has-pink-hero .site-header:not(.scrolled) { background: transparent; }
.has-pink-hero main { margin-top: calc(-74px - 1.4rem); }
@media (max-width: 860px) { .has-pink-hero main { margin-top: calc(-60px - 1.4rem); } }
.hero { position: relative; padding: 140px 0 clamp(5rem, 9vw, 8rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; min-height: min(760px, 82vh); }
.hero h1 { font-size: clamp(3.3rem, 8.6vw, 8rem); line-height: .92; margin-bottom: .35em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero h1 .line > span { display: block; }
.hero .lede { color: var(--noir); opacity: .82; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2rem; }
.hero-review { margin-top: 2.4rem; display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: .95rem; }
.seal-wrap { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; perspective: 900px; }
.seal-stage { position: absolute; inset: 9%; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.seal-stage img { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgb(69 37 25 / 28%)); }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 48s linear infinite; }
.ring text { font: 500 13.5px var(--font-body); letter-spacing: .32em; fill: var(--noir); }
@keyframes spin { to { transform: rotate(360deg); } }
.scallop { position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--ivory);
  -webkit-mask: radial-gradient(circle at 20px 0, transparent 19px, #000 20px) 0 0 / 40px 26px repeat-x;
          mask: radial-gradient(circle at 20px 0, transparent 19px, #000 20px) 0 0 / 40px 26px repeat-x; }
.scallop.to-noir { background: var(--noir); }

/* one orchestrated load moment: the sticker is applied, then the words rise */
.js .hero h1 .line > span { transform: translateY(105%); }
.js .seal-stage img { opacity: 0; transform: scale(1.35) rotate(-18deg); }
.js .ring { opacity: 0; }
.ready .hero h1 .line > span { transform: none; transition: transform 1s var(--ease); }
.ready .hero h1 .line:nth-child(2) > span { transition-delay: .08s; }
.ready .hero h1 .line:nth-child(3) > span { transition-delay: .16s; }
.ready .seal-stage img { opacity: 1; transform: none; transition: transform .9s cubic-bezier(.3, 1.6, .5, 1) .25s, opacity .3s .25s; }
.ready .ring { opacity: 1; transition: opacity 1.2s .9s; }
@media (max-width: 860px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .seal-wrap { width: min(78vw, 400px); order: -1; }
}

/* ---------------------------------------------------------------- page heads (inner pages) */
.page-head { padding: 64px 0 56px; position: relative; }
.page-head.pink-field { padding: 150px 0 84px; }
.page-head h1 { margin-bottom: .2em; }
.page-head .lede { color: var(--noir); opacity: .85; }
.page-head .head-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.page-head .mini-seal { width: 150px; height: 150px; transform: rotate(8deg); filter: drop-shadow(0 18px 24px rgb(69 37 25 / 25%)); }
@media (max-width: 700px) { .page-head .mini-seal { display: none; } .page-head .head-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- sections */
section { position: relative; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin: 0; max-width: 14ch; }
.section-head p { margin: 0; max-width: 42ch; color: var(--ink-2); }
.noir { background: var(--noir); color: var(--ivory); }
.noir .muted, .noir .lede { color: color-mix(in srgb, var(--ivory) 70%, transparent); }

/* ---------------------------------------------------------------- cake cards */
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-md) var(--r-md); overflow: hidden; background: linear-gradient(180deg, var(--petal), var(--blush)); isolation: isolate; }
.arch img.photo { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.arch .ph { position: absolute; inset: 0; display: grid; place-items: end center; padding-top: 18%; }
.arch .ph img { width: 72%; height: auto; transition: transform .8s var(--ease); }
.card { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: grid; gap: 1rem; }
.card:hover .arch img.photo, .card:hover .arch .ph img, .card:focus-visible .arch img { transform: scale(1.05); }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card h3 { font-size: 1.5rem; margin: 0; }
.card .price { font-family: var(--font-display); font-size: 1.25rem; white-space: nowrap; color: var(--rose-ink); }
.card .sub { color: var(--ink-2); font-size: .95rem; margin-top: -.6rem; }
.badge-featured { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: var(--ivory); border-radius: var(--r-pill); font-size: .78rem; font-weight: 500; padding: .2rem .7rem; z-index: 2; }
.blur { filter: blur(12px); }
.blur.lazyloaded { filter: none; }

.rail-wrap { position: relative; }
.rail { scroll-padding-inline: max(16px, (100vw - 1240px) / 2); display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 330px); gap: clamp(1rem, 2.4vw, 2rem); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, (100vw - 1240px) / 2) 1.5rem; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging .card { pointer-events: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: .5rem; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--noir); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.round:hover { background: var(--noir); color: var(--ivory); }
.round svg { width: 18px; height: 18px; }
.rail-progress { height: 1.5px; background: var(--line); margin-top: .5rem; }
.rail-progress i { display: block; height: 100%; width: 20%; background: var(--noir); transition: transform .15s linear; transform-origin: left; }

.grid-cakes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1.5rem, 3vw, 2.6rem) clamp(1rem, 2.4vw, 2rem); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.4rem; }
.filters button { min-height: 44px; padding: 0 1.15rem; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 450; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--noir); }
.filters button[aria-pressed="true"] { background: var(--noir); color: var(--ivory); border-color: var(--noir); }
.grid-cakes .card { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------------- quick view + lightbox dialogs */
dialog { border: 0; padding: 0; color: var(--noir); }
dialog::backdrop { background: rgb(20 10 12 / 62%); backdrop-filter: blur(4px); }
.quick { width: min(980px, 100% - 32px); max-height: calc(100dvh - 32px); border-radius: var(--r-lg); background: var(--ivory); overflow: auto; }
.quick[open] { animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media .arch { border-radius: 0; aspect-ratio: auto; height: 100%; min-height: 360px; }
.qv-body { padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.qv-body h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.qv-cat { color: var(--rose-ink); font-weight: 500; margin-bottom: .6rem; }
.qv-price { font-family: var(--font-display); font-size: 1.6rem; }
.qv-facts { display: flex; gap: 2rem; margin: .4rem 0 1.4rem; color: var(--ink-2); }
.qv-facts b { display: block; color: var(--noir); font-weight: 500; }
.qv-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ivory); cursor: pointer; z-index: 3; font-size: 1.1rem; box-shadow: var(--shadow); }
@media (max-width: 720px) { .qv-grid { grid-template-columns: 1fr; } .qv-media .arch { min-height: 280px; aspect-ratio: 4/3; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgb(14 8 10 / 94%); color: var(--ivory); }
.lightbox figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 64px 16px 20px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-md); animation: pop .35s var(--ease); }
.lightbox figcaption { padding-top: 1rem; display: flex; gap: 1.5rem; align-items: center; }
.lightbox .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); border-color: var(--ivory); color: var(--ivory); background: rgb(0 0 0 / 30%); }
.lightbox .nav-btn:hover { background: var(--ivory); color: var(--noir); }
.lightbox .prev { left: 16px; } .lightbox .next { right: 16px; }
.lightbox .close { background: var(--ivory); color: var(--noir); }

/* ---------------------------------------------------------------- flavor explorer (noir) */
.flavors-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.flavor-list { list-style: none; margin: 0; padding: 0; }
.flavor-list button { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: .15em 0; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.15; color: var(--ivory); opacity: .38; transition: opacity .3s, transform .4s var(--ease); }
.flavor-list button::before { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--sunflower); transform: scale(0); transition: transform .4s var(--ease); flex: none; }
.flavor-list button:hover { opacity: .75; }
.flavor-list button[aria-pressed="true"] { opacity: 1; transform: translateX(.2em); }
.flavor-list button[aria-pressed="true"]::before { transform: scale(1); }
.flavor-card { position: sticky; top: 120px; border-radius: 999px 999px var(--r-lg) var(--r-lg); background: radial-gradient(120% 80% at 50% 0%, #2a1d1a, #140d0c); padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.6rem) 2.4rem; text-align: center; border: 1px solid #3a2a25; }
.flavor-card img { width: 46%; margin: 0 auto 1.4rem; transition: transform .6s var(--ease); }
.flavor-card h3 { font-style: italic; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.flavor-card p { color: color-mix(in srgb, var(--ivory) 78%, transparent); min-height: 3.3em; }
.flavor-card .link { color: var(--sunflower); }
.flavor-card.swap img { transform: rotate(-10deg) scale(.94); }
@media (max-width: 860px) { .flavors-grid { grid-template-columns: 1fr; } .flavor-card { position: static; } }

/* ---------------------------------------------------------------- steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1.5px solid var(--noir); padding-top: 1.2rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-style: italic; font-size: 3.4rem; line-height: 1; margin-bottom: .8rem; color: var(--rose-ink); }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- story */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story-photo { aspect-ratio: 4/5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: linear-gradient(180deg, var(--petal), var(--blush)); position: relative; }
.story-photo img.photo { width: 100%; height: 100%; object-fit: cover; }
.story-photo .ph { position: absolute; inset: 0; display: grid; place-items: end center; }
.story-photo .ph img { width: 66%; }
.pull { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; font-variation-settings: "opsz" 40; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 2rem; margin: 1rem 0 2rem; }
.prose { font-family: var(--font-display); font-size: clamp(1.15rem, 1.5vw, 1.32rem); line-height: 1.75; font-variation-settings: "opsz" 18; max-width: 62ch; }
.prose p:first-child::first-letter { float: left; font-size: 4.2em; line-height: .82; padding: .06em .1em 0 0; color: var(--rose-ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.values div { border-top: 1.5px solid currentColor; padding-top: 1.2rem; }
.values p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .story-photo { max-width: 420px; } .values { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- reviews */
.reviews-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.review-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.qr { margin: 0; justify-self: center; text-align: center; }
.qr img { width: min(320px, 70vw); transform: rotate(-6deg); filter: drop-shadow(0 22px 30px rgb(69 37 25 / 25%)); transition: transform .6s var(--ease); }
.qr:hover img { transform: rotate(0) scale(1.03); }
.qr figcaption { margin-top: 1rem; font-weight: 500; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 3.5rem; }
.quotes blockquote { margin: 0; background: var(--surface); border-radius: var(--r-lg); padding: 1.8rem; }
.quotes blockquote p { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; }
.quotes cite { font-style: normal; font-weight: 500; }
.quotes cite span { color: var(--ink-2); font-weight: 400; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- gallery */
.masonry { columns: 3 280px; column-gap: 1rem; }
.masonry button { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; background: var(--petal); border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; animation: rise .5s var(--ease) both; }
.masonry img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.masonry button:hover img { transform: scale(1.04); }
.masonry .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem .9rem; text-align: left; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / 55%)); opacity: 0; transition: opacity .3s; font-size: .95rem; }
.masonry button:hover .cap, .masonry button:focus-visible .cap { opacity: 1; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 320px); gap: 1rem; overflow-x: auto; padding: 0 max(16px, (100vw - 1240px) / 2) 1rem; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip button { padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5; cursor: zoom-in; background: var(--petal); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.strip button:hover img { transform: scale(1.05); }
.empty-state { text-align: center; padding: 4rem 1rem; border: 1.5px dashed var(--line); border-radius: var(--r-lg); }
.empty-state img { width: 120px; margin: 0 auto 1rem; }

/* ---------------------------------------------------------------- menu lists (cakes page) */
.lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.lists ul { list-style: none; padding: 0; margin: 0; }
.lists li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.lists li small { display: block; color: var(--ink-2); font-size: .9rem; }
@media (max-width: 760px) { .lists { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { margin: 0 0 2rem; display: grid; gap: 1.3rem; }
.contact-list dt { color: var(--ink-2); font-size: .92rem; }
.contact-list dd { margin: .1rem 0 0; font-family: var(--font-display); font-size: 1.4rem; white-space: pre-line; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--rose-ink); }
.map { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--r-lg); background: var(--surface-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.8rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 64ch; padding-bottom: 1.2rem; margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- forms */
.form-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label, .field .label { font-weight: 500; font-size: .95rem; }
.field .hint { font-size: .86rem; color: var(--ink-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--noir); background: var(--ivory);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem; min-height: 52px;
  transition: border-color .2s, background .2s;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: #d4c3ba; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--noir); background: #fff; }
.form-error { background: #fbe9e8; color: var(--cherry); border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem; font-weight: 500; }
.form-ok { text-align: center; padding: 2rem 1rem; }
.form-ok h3 { font-size: 2rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--noir); color: var(--ivory); padding-top: clamp(4rem, 8vw, 6rem); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blush); }
.foot-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; padding-bottom: 4rem; border-bottom: 1px solid #2c2322; }
.foot-cta h2 { color: var(--ivory); }
.foot-cta p { color: color-mix(in srgb, var(--ivory) 70%, transparent); max-width: 40ch; }
.news label { display: block; margin-bottom: .8rem; color: color-mix(in srgb, var(--ivory) 80%, transparent); }
.news-row { display: flex; gap: .5rem; }
.news input[type="email"] { background: transparent; color: var(--ivory); border-color: #4a3b38; border-radius: var(--r-pill); padding-inline: 1.3rem; }
.news input[type="email"]:focus { border-color: var(--sunflower); background: transparent; }
.news input::placeholder { color: #9c8a85; }
.news-msg { min-height: 1.6em; margin: .6rem 0 0; color: var(--sunflower); }
.foot-grid { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 2.5rem; padding: 3.5rem 0; }
.foot-badge img { width: 120px; height: 120px; transition: transform .6s var(--ease); }
.foot-badge:hover img { transform: rotate(-12deg); }
.foot-col { display: grid; align-content: start; gap: .5rem; }
.foot-col h3 { font-size: 1.2rem; font-style: italic; margin-bottom: .4rem; color: var(--blush); }
.foot-col p { margin: 0; color: color-mix(in srgb, var(--ivory) 75%, transparent); }
.foot-col .hours { margin-top: .5rem; }
.foot-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.foot-social a { border: 1px solid #4a3b38; border-radius: var(--r-pill); padding: .45rem .95rem; font-size: .92rem; }
.foot-social a:hover { border-color: var(--blush); }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 0 2.2rem; border-top: 1px solid #2c2322; font-size: .9rem; color: #a8958f; }
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-badge { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .news-row { flex-direction: column; } }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ring { animation: none; }
  .js .hero h1 .line > span, .js .seal-stage img, .js .ring { transform: none; opacity: 1; }
}

/* ---------------------------------------------------------------- order wizard */
.order-head { padding-bottom: 72px !important; }
.progress { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; max-width: 860px; counter-reset: p; }
.progress li { counter-increment: p; }
.progress button { width: 100%; text-align: left; border: 0; background: none; padding: .7rem 0 0; cursor: pointer; font-weight: 500; font-size: .92rem; border-top: 3px solid rgb(5 5 4 / 18%); transition: border-color .3s; }
.progress button::before { content: counter(p) ". "; }
.progress button:disabled { cursor: default; opacity: .55; }
.progress [aria-current="step"] button, .progress .done button { border-color: var(--noir); }
@media (max-width: 640px) { .progress button { font-size: 0; } .progress button::before { font-size: .9rem; content: counter(p); } }

.order-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.wizard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard legend { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; margin-bottom: 1.4rem; padding: 0; }
.wizard .step:not([hidden]) { animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } }
.wizard .label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: .55rem; }
.sub-legend { font-size: 1.5rem; margin: 1.6rem 0 1rem; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }

.tiles { display: grid; gap: .7rem; }
.tiles-occasion { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tiles-cake { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tiles-flavor { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile { position: relative; text-align: left; border: 1.5px solid var(--line); background: var(--ivory); border-radius: 16px; padding: 1rem 1.05rem; cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--ease); min-height: 64px; }
.tile:hover { border-color: #cdb9b0; transform: translateY(-2px); }
.tile[aria-checked="true"] { border-color: var(--noir); background: #fff; box-shadow: inset 0 0 0 1px var(--noir); }
.tile[aria-checked="true"]::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--noir) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8f6f1' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tile b { display: block; font-weight: 500; padding-right: 1.4rem; }
.tile small { display: block; color: var(--ink-2); font-size: .86rem; line-height: 1.4; margin-top: .2rem; }
.tile .t-img { display: block; aspect-ratio: 4/3; margin: -.4rem -.45rem .8rem; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, var(--petal), var(--blush)); }
.tile .t-img img { width: 100%; height: 100%; object-fit: cover; }
.tile .t-img img.em { object-fit: contain; padding: 10px 0 0; }
.tile .t-price { font-family: var(--font-display); color: var(--rose-ink); }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--surface-2); border-radius: var(--r-pill); padding: 4px; }
.seg button { border: 0; background: none; border-radius: var(--r-pill); min-height: 42px; padding: 0 1.1rem; cursor: pointer; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.seg button[aria-checked="true"] { background: var(--noir); color: var(--ivory); }

.servings { display: grid; grid-template-columns: 1fr 96px; gap: 1rem; align-items: center; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 4px; padding: 0; min-height: 0; border: 0; border-radius: 2px; background: linear-gradient(var(--noir), var(--noir)) 0 / var(--fill, 10%) 100% no-repeat, var(--line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--noir); border: 4px solid var(--ivory); box-shadow: 0 0 0 1.5px var(--noir); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--noir); border: 4px solid var(--ivory); cursor: grab; }
.servings input:not([type]) , .servings input[inputmode] { text-align: center; font-family: var(--font-display); font-size: 1.3rem; }

.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatches button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ivory); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.swatches button:hover { transform: scale(1.08); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--noir); }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--noir); }

.cal-pick { max-width: 460px; }
.cal-pick .cal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.cal-pick .cal-top h3 { margin: 0; font-size: 1.5rem; }
.cal-pick .cal-top .round { width: 44px; height: 44px; }
.cal-pick .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-pick .dow { font-size: .78rem; color: var(--ink-2); padding: .3rem 0; }
.cal-pick .days button { aspect-ratio: 1; border-radius: 50%; border: 0; background: none; cursor: pointer; font-weight: 450; font-size: .98rem; position: relative; transition: background .15s; }
.cal-pick .days button:hover:not(:disabled) { background: var(--petal); }
.cal-pick .days button:disabled { color: #b9aaa4; cursor: not-allowed; }
.cal-pick .days button.full:disabled { text-decoration: line-through; }
.cal-pick .days button.today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-pick .days button[aria-pressed="true"] { background: var(--noir); color: var(--ivory); }

.drop { display: grid; place-items: center; min-height: 110px; border: 1.5px dashed #cdb9b0; border-radius: 16px; background: var(--ivory); cursor: pointer; text-align: center; padding: 1rem; transition: background .2s, border-color .2s; }
.drop.over, .drop:hover { background: var(--petal); border-color: var(--noir); }
.thumbs { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; }
.thumbs div { position: relative; }
.thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.thumbs button { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--noir); color: var(--ivory); cursor: pointer; }

.summary { position: sticky; top: 100px; background: var(--surface); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.summary-stage { border-radius: 999px 999px 18px 18px; background: radial-gradient(100% 90% at 50% 0%, var(--petal), var(--blush)); margin-bottom: 1.2rem; }
.summary-stage svg { width: 100%; height: auto; display: block; }
.summary h2 { font-size: 1.8rem; margin-bottom: .6rem; }
.summary dl { margin: 0; display: grid; gap: .1rem; }
.summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.estimate { margin: 1rem 0 0; font-family: var(--font-display); font-size: 1.4rem; }
.estimate small { display: block; font-family: var(--font-body); font-size: .85rem; color: var(--ink-2); }
#cakeArt .tier { transition: transform .5s var(--ease), opacity .4s; }
#cakeArt .frost { transition: fill .4s; }
@media (max-width: 960px) {
  .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; display: grid; grid-template-columns: 120px 1fr; gap: 0 1rem; align-items: center; padding: 1rem; }
  .summary-stage { margin: 0; grid-row: span 3; }
  .summary h2 { font-size: 1.3rem; margin: 0; }
  .summary dl { display: none; }
  .estimate { margin: 0; font-size: 1.1rem; }
}
.done-card { text-align: center; padding: 1rem 0; }
.done-card .num { font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--rose-ink); }
.done-card ol { text-align: left; max-width: 420px; margin: 1.5rem auto; padding-left: 1.2rem; color: var(--ink-2); }
