/* ==========================================================================
   CREAMSLICES CONCEPT SITE
   Direction: ganache, cream and the slice. Warm, tactile, cinematic.
   Signature: the ganache drip that pours between sections.
   ========================================================================== */

:root {
  /* Palette (from the brief, sampled against the hero footage) */
  --choc: #17100D;
  --cocoa: #2A1812;
  --ganache: #5A2C1D;
  --cream: #F6EFE5;
  --vanilla: #FFF8EE;
  --berry: #B83A32;
  --berry-hover: #9C2E27;
  --gold: #C99A58;

  --ink: #2A1812;          /* text on light */
  --ink-2: #6B5448;        /* secondary text on light, 6.2:1 on cream */
  --on-dark: #F6EFE5;
  --on-dark-2: #CDBFB0;    /* secondary text on dark, 9:1 on cocoa */
  --line-light: rgba(42, 24, 18, .16);
  --line-dark: rgba(246, 239, 229, .16);

  --f-display: 'Gloock', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Motion: viscous, never bouncy */
  --ease-pour: cubic-bezier(.19, .8, .22, 1);
  --ease-fold: cubic-bezier(.65, .05, .36, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --nav-h: 76px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden; overflow-x: clip;
  font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  animation: page-in .7s var(--ease-pour) both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
:where(ul[role="list"], ol) { list-style: none; padding: 0; }
em { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--berry); color: var(--vanilla); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--vanilla); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .3s var(--ease-pour); }
.skip:focus { top: 16px; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.cakes :focus-visible, .moment :focus-visible, .order :focus-visible, .footer :focus-visible, .hero :focus-visible, .nav :focus-visible, .lightbox :focus-visible { outline-color: var(--gold); }
.craving :focus-visible, .more :focus-visible, .trust :focus-visible, .locations :focus-visible { outline-color: var(--berry); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Environment layer (one place, not stacked boxes) ---------- */
.env { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--cream); pointer-events: none; }
.env__glow { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: .55; will-change: transform; }
.env__glow--a { left: -20vmax; top: -10vmax; background: radial-gradient(closest-side, rgba(201, 154, 88, .28), transparent); animation: drift-a 90s linear infinite; animation-delay: -20s; }
.env__glow--b { right: -25vmax; bottom: -20vmax; background: radial-gradient(closest-side, rgba(184, 58, 50, .10), transparent); animation: drift-b 110s linear infinite; animation-delay: -45s; }
@keyframes drift-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30vw, 40vh); } }
@keyframes drift-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-35vw, -30vh); } }
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .06 0 0 0 0 .04 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ganache); }
.eyebrow--gold { color: var(--gold); }
.display, .h2, .h3, .hero__title { font-family: var(--f-display); font-weight: 400; letter-spacing: -.012em; }
.h2 { font-size: clamp(2.35rem, 5.2vw, 4.4rem); line-height: 1.02; }
.h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; }
.h2 em, .h3 em { color: var(--berry); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 40ch; }
.lede--dark { color: var(--on-dark-2); }
.link-arrow { display: inline-flex; align-items: baseline; gap: .45em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap .4s var(--ease-pour), color .3s; }
.link-arrow:hover { gap: .8em; }
.link-arrow--light { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-pour), background-color .35s, color .35s, box-shadow .5s var(--ease-pour);
}
.btn .ico { width: 20px; height: 20px; flex: none; transition: transform .6s var(--ease-pour); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 62px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--cream { background: var(--vanilla); color: var(--ink); }
.btn--cream:hover { background: #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); }
.btn--berry { background: var(--berry); color: var(--vanilla); box-shadow: 0 10px 28px -14px rgba(184, 58, 50, .9); }
.btn--berry:hover { background: var(--berry-hover); box-shadow: 0 18px 34px -14px rgba(184, 58, 50, .95); }
/* WhatsApp micro-interaction: a cream "pour" sweeps across and the icon tilts, like a message on its way */
.btn--berry::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 248, 238, .22) 50%, transparent 80%);
  transform: translateX(-110%); transition: transform .9s var(--ease-pour);
}
.btn--berry:hover::after { transform: translateX(110%); }
.btn--berry:hover .ico { transform: rotate(-12deg) scale(1.08); }

.round-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(246, 239, 229, .45); background: transparent; color: var(--on-dark); cursor: pointer;
  transition: background-color .3s, color .3s, transform .5s var(--ease-pour), border-color .3s;
}
.round-btn svg { width: 22px; height: 22px; }
.round-btn:hover { background: var(--vanilla); color: var(--ink); border-color: var(--vanilla); }
.round-btn:disabled { opacity: .35; pointer-events: none; }
.round-btn--light { background: rgba(23, 16, 13, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--on-dark); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(23, 16, 13, .84); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(246, 239, 229, .08);
  opacity: 0; transition: opacity .5s var(--ease-pour);
}
.nav.is-solid::before, .nav.is-open::before { opacity: 1; }
.nav__bar { display: flex; align-items: center; gap: 28px; height: var(--nav-h); padding-top: env(safe-area-inset-top, 0px); transition: height .5s var(--ease-pour); }
.nav.is-solid .nav__bar { height: 64px; }
.wordmark { font-family: var(--f-display); font-size: 30px; line-height: 1; letter-spacing: -.02em; text-decoration: none; color: inherit; margin-right: auto; white-space: nowrap; }
.wordmark__i { position: relative; display: inline-block; }
.wordmark__i::after { /* strawberry in place of the dot */
  content: ""; position: absolute; left: 50%; top: -.02em; width: .2em; height: .2em; margin-left: -.1em;
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%; background: var(--berry);
}
.wordmark--lg { font-size: clamp(40px, 6vw, 64px); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-pour); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(246, 239, 229, .12); cursor: pointer; }
.nav__burger { position: relative; display: block; width: 20px; height: 12px; margin: auto; }
.nav__burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease-pour), top .5s var(--ease-pour); }
.nav__burger i:first-child { top: 0; }
.nav__burger i:last-child { top: 10px; }
.nav.is-open .nav__burger i:first-child { top: 5px; transform: rotate(45deg); }
.nav.is-open .nav__burger i:last-child { top: 5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: -2; background: var(--choc); padding: calc(var(--nav-h) + 32px) var(--gutter) calc(32px + var(--safe-b)); display: flex; flex-direction: column; justify-content: space-between; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.25; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-dark); }
.menu__links span { font-family: var(--f-body); font-size: 13px; letter-spacing: .14em; color: var(--gold); }
.js .menu .menu__links a { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-pour), transform .8s var(--ease-pour); }
.js .menu.is-in .menu__links a { opacity: 1; transform: none; }
.js .menu.is-in .menu__links a:nth-child(2) { transition-delay: .06s; }
.js .menu.is-in .menu__links a:nth-child(3) { transition-delay: .12s; }
.js .menu.is-in .menu__links a:nth-child(4) { transition-delay: .18s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--choc); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
/* lower x keeps the cake to the right of the copy when narrower screens crop the sides */
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 58%; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease-pour); transform: translateZ(0); }
.hero.is-playing .hero__video { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(23, 16, 13, .62) 0%, rgba(23, 16, 13, 0) 22%),
    linear-gradient(0deg, #17100D 0%, rgba(23, 16, 13, .6) 14%, rgba(23, 16, 13, 0) 34%),
    linear-gradient(90deg, rgba(23, 16, 13, .86) 0%, rgba(23, 16, 13, .62) 30%, rgba(23, 16, 13, .12) 52%, rgba(23, 16, 13, 0) 62%);
}
.hero__copy { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 120px; }
.hero__eyebrow { margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.hero__eyebrow::before { content: ""; width: 36px; height: 1.5px; background: currentColor; }
.hero__title { font-size: clamp(3rem, 5.6vw, 5.6rem); line-height: .98; text-shadow: 0 2px 30px rgba(23, 16, 13, .45); }
.mask { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; white-space: nowrap; }
.mask > span { display: block; }
.hero__sub { margin-top: 26px; font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.55; color: #EADFD2; max-width: 34ch; text-shadow: 0 1px 12px rgba(23, 16, 13, .6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.js .hero__eyebrow, .js .hero__sub, .js .hero__ctas { opacity: 0; transform: translateY(22px); }
.js .hero .mask > span { transform: translateY(108%); }
/* failsafe: if scripts arrive late on a slow network, the hero copy still shows */
.js .hero:not(.is-ready) .hero__eyebrow, .js .hero:not(.is-ready) .hero__sub, .js .hero:not(.is-ready) .hero__ctas, .js .hero:not(.is-ready) .mask > span { animation: hero-failsafe 1s var(--ease-pour) 3s forwards; }
@keyframes hero-failsafe { to { opacity: 1; transform: none; } }
.hero.is-ready .hero__eyebrow, .hero.is-ready .hero__sub, .hero.is-ready .hero__ctas { opacity: 1; transform: none; transition: opacity 1s var(--ease-pour), transform 1.2s var(--ease-pour); }
.hero.is-ready .mask > span { transform: none; transition: transform 1.3s var(--ease-pour); }
.hero.is-ready .mask:nth-child(2) > span { transition-delay: .1s; }
.hero.is-ready .mask:nth-child(3) > span { transition-delay: .2s; }
.hero.is-ready .hero__sub { transition-delay: .38s; }
.hero.is-ready .hero__ctas { transition-delay: .52s; }

.hero__cue { position: absolute; left: 50%; bottom: 34px; width: 28px; height: 46px; margin-left: -14px; border: 1.5px solid rgba(246, 239, 229, .5); border-radius: 20px; }
.hero__cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--vanilla); animation: cue 2.6s var(--ease-fold) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80%,100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Drip (signature) ---------- */
.drip { position: absolute; left: 0; right: 0; top: -1px; height: 140px; pointer-events: none; z-index: 2; }
.drip svg { width: 100%; height: 100%; overflow: visible; }
.drip .drop { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(.08); transition: transform 1.8s var(--ease-pour); }
.drip.in .drop { transform: scaleY(1); }
.drip.in .drop.is-slow { animation: ooze 7s var(--ease-fold) infinite alternate; }
@keyframes ooze { from { transform: scaleY(1); } to { transform: scaleY(1.07); } }
.no-js .drip, html:not(.js) .drip { display: none; }

/* ---------- Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-pour), transform 1.2s var(--ease-pour); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-pour), transform 1.2s var(--ease-pour); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js [data-stagger].settled > * { transition-delay: 0s !important; }

/* ---------- A. Craving ---------- */
.craving { position: relative; padding: clamp(150px, 16vw, 210px) 0 clamp(80px, 9vw, 120px); }
.craving__head { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: clamp(40px, 5vw, 64px); }
.craving__title { max-width: 12ch; }
.craving__title em { color: var(--berry); }
@media (min-width: 900px) {
  .craving__head { grid-template-columns: 1.3fr 1fr; align-items: end; column-gap: 48px; }
  .craving__head .eyebrow { grid-column: 1 / -1; }
  .craving__intro { justify-self: end; margin-bottom: 12px; }
}
.rail-wrap { position: relative; }
.craving__rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) 60px; }
.craving__rail > li:nth-child(even) { margin-top: 60px; }

.cat { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.cat__visual { position: relative; aspect-ratio: 3 / 4.1; border-radius: var(--radius); overflow: hidden; isolation: isolate; box-shadow: 0 30px 50px -34px rgba(42, 24, 18, .55); }
.cat__visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-pour); }
.cat__visual .illo { position: absolute; inset: 12% 8% 16%; width: 84%; height: auto; margin: auto; transition: transform 1.4s var(--ease-pour); }
/* the missing slice: a wedge cut from the corner that closes on hover */
.cat__visual::after {
  content: ""; position: absolute; top: -1px; right: -1px; width: 34%; aspect-ratio: 1; z-index: 2;
  background: var(--cream); clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform-origin: 100% 0; transition: transform .9s var(--ease-pour);
}
.cat:hover .cat__visual::after, .cat:focus-visible .cat__visual::after { transform: scale(0); }
.cat:hover .cat__visual img { transform: scale(1.08); }
.cat:hover .cat__visual .illo { transform: translateY(-6px) scale(1.05); }
.cat__num { position: absolute; left: 16px; top: 14px; z-index: 3; font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--vanilla); text-shadow: 0 1px 8px rgba(23, 16, 13, .4); }
.cat--ph .cat__num { color: var(--ink); text-shadow: none; }
.cat--ph.cat--dark .cat__num { color: var(--vanilla); }
.cat__tag { position: absolute; left: 14px; bottom: 12px; z-index: 3; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: rgba(255, 248, 238, .72); color: var(--ink-2); }
.cat__body { padding: 18px 4px 0; }
.cat__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.35rem, 1.75vw, 1.6rem); line-height: 1.1; }
.cat__line { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cat__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--berry); }
.cat__cta i { font-style: normal; transition: transform .5s var(--ease-pour); }
.cat:hover .cat__cta i { transform: translateX(5px); }
.craving__note { font-size: 15px; color: var(--ink-2); }
.is-live .illo--cup .steam path { animation: steam 5s ease-in-out infinite; }
.is-live .illo--cup .steam path:nth-child(2) { animation-delay: -1.6s; }
.is-live .illo--cup .steam path:nth-child(3) { animation-delay: -3.2s; }
@keyframes steam { 0%,100% { opacity: .2; transform: translateY(6px); } 50% { opacity: .8; transform: translateY(-4px); } }

/* ---------- B. Cakes ---------- */
.cakes { position: relative; background: var(--cocoa); color: var(--on-dark); padding: clamp(90px, 10vw, 140px) 0 clamp(110px, 11vw, 160px); }
.cakes__grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 1000px) { .cakes__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } .cakes__intro { position: sticky; top: 100px; } }
.cakes__title { margin: 14px 0 22px; max-width: 9ch; }
.cakes .lede { margin-bottom: 36px; }

.slice { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 22px; padding: 26px 26px 22px 22px; border-radius: var(--radius); background: rgba(246, 239, 229, .06); box-shadow: inset 0 0 0 1px rgba(246, 239, 229, .12); }
.slice__layers { grid-row: 1 / span 2; display: grid; grid-template-rows: 3fr 1fr 3fr 1fr 2fr; border-radius: 8px; overflow: hidden; }
.slice__layers i:nth-child(1) { background: #4A2618; }
.slice__layers i:nth-child(2) { background: var(--vanilla); }
.slice__layers i:nth-child(3) { background: linear-gradient(90deg, #4A2618 0 60%, var(--berry) 60%); }
.slice__layers i:nth-child(4) { background: var(--vanilla); }
.slice__layers i:nth-child(5) { background: #3A1E14; }
.slice__rows { display: grid; }
.slice__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 18px; padding: 12px 0; border-bottom: 1px dashed rgba(246, 239, 229, .2); }
.slice__row:first-child { padding-top: 0; }
.slice__row dt { font-size: 14px; letter-spacing: .02em; color: var(--on-dark-2); }
.slice__row dd { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; color: var(--vanilla); }
.slice__row:first-child dd { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--gold); }
.slice__fine { grid-column: 2; margin-top: 14px; font-size: 14px; color: var(--on-dark-2); }
.cakes__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.mosaic > li:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.mosaic > li:nth-child(2) { grid-column: span 2; }
.mosaic > li:nth-child(3) { grid-column: span 2; }
.mosaic > li:nth-child(4) { grid-column: span 2; }
.mosaic > li:nth-child(5) { grid-column: span 2; }
.mosaic > li:nth-child(6) { grid-column: span 2; }
.mosaic > li:nth-child(1) .tile { aspect-ratio: auto; height: 100%; }

.tile { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #3A2219; isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-pour); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 16, 13, .7) 0%, rgba(23, 16, 13, 0) 45%); opacity: 0; transition: opacity .6s var(--ease-pour); }
.tile__ask { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 99px; background: var(--vanilla); color: var(--ink); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-pour), transform .7s var(--ease-pour); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile:hover .tile__ask, .tile:focus-visible .tile__ask { opacity: 1; transform: none; }

.gallery { margin-top: clamp(90px, 10vw, 140px); }
.gallery__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.gallery__title { margin-top: 10px; }
.gallery__controls { display: flex; align-items: center; gap: 12px; }
.gallery__count { font-size: 14px; letter-spacing: .12em; color: var(--on-dark-2); margin-right: 8px; font-variant-numeric: tabular-nums; }
.gallery__rail {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 24px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: thin; scrollbar-color: rgba(246, 239, 229, .3) transparent;
}
.gallery__rail:focus-visible { outline-offset: -3px; }
.gallery__rail > li { flex: 0 0 clamp(220px, 22vw, 290px); scroll-snap-align: start; }
.gallery__note { margin-top: 12px; font-size: 14px; color: var(--on-dark-2); }

/* ---------- C. More than cake ---------- */
.more { position: relative; padding: clamp(170px, 16vw, 230px) 0 0; overflow: hidden; }
.more__title { display: block; font-size: clamp(2.8rem, 8.2vw, 7.6rem); line-height: .95; }
.more__line { display: block; }
.more__line--em { color: var(--ganache); padding-left: clamp(0px, 8vw, 140px); }
.more__copy { margin: 34px 0 0 auto; max-width: 38ch; }
@media (min-width: 900px) { .more__copy { margin-top: 30px; margin-right: 4%; } }

.day { position: relative; margin-top: clamp(60px, 7vw, 100px); }
.day__line { position: absolute; left: var(--gutter); right: var(--gutter); top: 58px; width: calc(100% - var(--gutter) * 2); height: 120px; z-index: 0; overflow: visible; }
.day__line path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 2.6s var(--ease-fold); }
.day__line.in path { stroke-dashoffset: 0; }
.day__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.day__item { text-align: center; }
.day__item:nth-child(even) { margin-top: 48px; }
.day__time { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); min-height: 2.6em; display: flex; align-items: end; justify-content: center; }
.plate { position: relative; width: min(100%, 240px); aspect-ratio: 1; margin: 12px auto 18px; border-radius: 50%; background: var(--tone, #E6D2BF); box-shadow: 0 30px 40px -30px rgba(42, 24, 18, .45), inset 0 0 0 12px #FBF3E7, inset 0 0 0 13px rgba(201, 154, 88, .45); display: grid; place-items: center; transition: transform 1.2s var(--ease-pour); }
.plate .illo { width: 66%; height: auto; }
.day__item:hover .plate { transform: rotate(-6deg) scale(1.03); }
.day__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; }

.marquee { position: relative; margin-top: clamp(70px, 8vw, 110px); padding: 22px 0 26px; background: var(--ganache); color: var(--cream); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); white-space: nowrap; padding-right: .9em; }
.marquee__track span::after { content: "✦"; font-size: .5em; color: var(--gold); padding-left: .9em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- D. Moment ---------- */
.moment { position: relative; background: var(--choc); color: var(--on-dark); padding: clamp(100px, 11vw, 160px) 0 clamp(170px, 16vw, 230px); overflow: hidden; }
.moment__grid { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; }
@media (min-width: 1000px) { .moment__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 80px; } }
.moment__art { position: relative; aspect-ratio: 5 / 6; max-width: 620px; width: 100%; }
.moment__room { position: absolute; inset: 0 18% 14% 0; border-radius: 280px 280px 24px 24px; overflow: hidden; background: radial-gradient(120% 90% at 70% 10%, #7A4A2A 0%, #3A2016 45%, #1E130E 100%); }
.moment__room span { position: absolute; top: -10%; width: 22%; height: 130%; background: linear-gradient(180deg, rgba(255, 214, 150, .32), rgba(255, 214, 150, 0) 70%); transform: rotate(18deg); filter: blur(6px); }
.moment__room span:nth-child(1) { left: 30%; }
.moment__room span:nth-child(2) { left: 56%; width: 12%; opacity: .7; }
.moment__room span:nth-child(3) { left: 74%; width: 8%; opacity: .5; }
.is-live .moment__room span { animation: rays 9s ease-in-out infinite alternate; }
.is-live .moment__room span:nth-child(2) { animation-delay: -3s; }
.is-live .moment__room span:nth-child(3) { animation-delay: -6s; }
@keyframes rays { from { opacity: .35; } to { opacity: .9; } }
.moment__slice { position: absolute; right: 0; top: 22%; width: 58%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .8); border: 6px solid var(--choc); }
.moment__slice img, .moment__cake img { width: 100%; height: 100%; object-fit: cover; }
.moment__cake { position: absolute; left: 8%; bottom: 0; width: 36%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 6px solid var(--choc); box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .85); }
.moment__cake img { object-position: 50% 78%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 760px) {
    .moment__slice { animation: para-up linear both; animation-timeline: view(); }
    .moment__cake { animation: para-down linear both; animation-timeline: view(); }
    @keyframes para-up { from { transform: translateY(50px); } to { transform: translateY(-50px); } }
    @keyframes para-down { from { transform: translateY(-20px); } to { transform: translateY(40px); } }
  }
}
.moment__title { margin: 14px 0 22px; max-width: 12ch; }
.moment__title em { color: var(--gold); display: block; }
.moment__words { margin: 40px 0 44px; }
.moment__words li { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; color: var(--on-dark); opacity: .22; transition: opacity 1s var(--ease-pour), transform 1s var(--ease-pour); }
.moment__words li.lit { opacity: 1; transform: translateX(10px); }
html:not(.js) .moment__words li { opacity: 1; }

/* ---------- E. Trust ---------- */
.trust { position: relative; padding: clamp(170px, 16vw, 230px) 0 clamp(90px, 10vw, 130px); }
.trust__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .trust__grid { grid-template-columns: auto 1fr; gap: clamp(40px, 6vw, 90px); } }
.trust__score { display: flex; align-items: flex-start; gap: .04em; font-family: var(--f-display); font-size: clamp(8rem, 22vw, 17rem); line-height: .82; letter-spacing: -.04em; color: var(--cocoa); }
.trust__num { font-variant-numeric: tabular-nums; }
.trust__star { width: .32em; height: .32em; margin-top: .06em; fill: var(--berry); }
.is-live .trust__star { animation: glint 4.5s ease-in-out infinite; animation-delay: -1.2s; }
@keyframes glint { 0%, 70%, 100% { transform: rotate(0) scale(1); } 80% { transform: rotate(18deg) scale(1.12); } }
.trust__side { display: grid; gap: 14px; padding-top: 8px; }
.trust__count { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink-2); }
.trust__count strong { font-family: var(--f-display); font-weight: 400; font-size: 1.5em; color: var(--ink); margin-right: .2em; }
.trust__headline { font-family: var(--f-display); font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1; color: var(--ganache); }
.trust__context { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; max-width: 60ch; font-size: 14px; color: var(--ink-2); }
.trust__context .link-arrow { color: var(--berry); font-size: 15px; }

/* ---------- F. Locations ---------- */
.locations { position: relative; padding: clamp(40px, 5vw, 70px) 0 clamp(100px, 11vw, 150px); }
.locations__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: 44px; }
.locations__head .eyebrow { width: 100%; }
.locations__cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 820px) { .locations__cards { grid-template-columns: 1fr 1fr; } }
.loc { position: relative; display: flex; flex-direction: column; min-height: 380px; height: 100%; padding: clamp(28px, 3.4vw, 44px); border-radius: 28px; color: var(--on-dark); background: var(--cocoa); overflow: hidden; isolation: isolate; }
.locations__cards > li:nth-child(2) .loc { background: var(--ganache); }
.loc__num { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.loc__name { margin: auto 0 14px; padding-top: 60px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; }
.loc__addr { font-style: normal; font-size: 17px; line-height: 1.55; color: var(--on-dark-2); }
.loc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.loc__actions .btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(246, 239, 229, .5); }
.loc__actions .btn--ghost:hover { background: var(--vanilla); color: var(--ink); }
.loc__pin { position: absolute; right: -30px; top: -30px; width: 220px; height: 220px; z-index: -1; opacity: .9; }
.loc__pin circle { fill: none; stroke: rgba(201, 154, 88, .35); }
.is-live .loc__pin .ring { animation: ring 6s ease-out infinite; transform-origin: 110px 110px; transform-box: view-box; }
.is-live .loc__pin .ring:nth-of-type(2) { animation-delay: -3s; }
@keyframes ring { from { transform: scale(.35); opacity: 1; } to { transform: scale(1); opacity: 0; } }

/* ---------- G. Order ---------- */
.order { position: relative; background: var(--choc); color: var(--on-dark); padding: clamp(90px, 10vw, 140px) 0; }
.order__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1000px) { .order__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; } }
.order__title { max-width: 11ch; margin-bottom: 22px; }
.builder { display: grid; gap: 22px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: var(--cocoa); box-shadow: inset 0 0 0 1px rgba(246, 239, 229, .08), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.builder__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.builder__set legend { padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.builder__opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--on-dark-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; font-size: 15px; font-weight: 500; box-shadow: inset 0 0 0 1.5px rgba(246, 239, 229, .28); color: var(--on-dark); transition: background-color .35s, color .35s, box-shadow .35s, transform .5s var(--ease-pour); }
.chip input:hover + span { box-shadow: inset 0 0 0 1.5px rgba(246, 239, 229, .7); }
.chip input:checked + span { background: var(--vanilla); color: var(--ink); box-shadow: none; transform: translateY(-1px); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.bubble { position: relative; padding: 16px 18px 26px; border-radius: 18px 18px 18px 4px; background: #F2E6D3; color: var(--ink); }
.bubble__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.bubble__text { font-size: 17px; line-height: 1.5; min-height: 3em; }
.bubble__text.is-typing { animation: bubble-in .6s var(--ease-pour); }
@keyframes bubble-in { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.bubble__tick { position: absolute; right: 14px; bottom: 6px; font-size: 12px; letter-spacing: -.2em; color: #4F8A8B; }
.builder__note { font-size: 13px; color: var(--on-dark-2); text-align: center; }
[data-wa-display] { white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: var(--choc); color: var(--on-dark); padding: 0 0 calc(40px + var(--safe-b)); border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; } }
.footer__tag { margin-top: 12px; color: var(--on-dark-2); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 15px; }
.footer__col a { text-decoration: none; color: var(--on-dark-2); transition: color .3s; padding: 3px 0; }
.footer__col a:hover { color: var(--vanilla); }
.footer__h { font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer__addr { font-style: normal; color: var(--on-dark-2); margin-bottom: 8px; line-height: 1.5; }
.footer__addr strong { display: block; font-weight: 600; color: var(--on-dark); }
.footer__socials { display: flex; gap: 14px; margin-top: 8px; }
.footer__legal { display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; color: #A8998A; }

/* ---------- Floating WhatsApp (mobile) ---------- */
.wa-float { position: fixed; left: 16px; right: 16px; bottom: calc(14px + var(--safe-b)); z-index: 90; display: none; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 99px; background: var(--berry); color: var(--vanilla); font-weight: 600; text-decoration: none; box-shadow: 0 16px 34px -12px rgba(23, 16, 13, .7); transform: translateY(140%); transition: transform .7s var(--ease-pour); }
.wa-float .ico { width: 22px; height: 22px; }
.wa-float.is-shown { transform: none; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--choc); color: var(--on-dark); overflow: hidden; }
.lightbox::backdrop { background: rgba(23, 16, 13, .9); }
.lightbox[open] { animation: lb-in .5s var(--ease-pour); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__backdrop { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) saturate(1.1); opacity: .35; transform: scale(1.1); }
.lightbox__frame { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(16px + var(--safe-b)); }
.lightbox__top, .lightbox__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1100px; width: 100%; margin: 0 auto; }
.lightbox__title { font-family: var(--f-display); font-size: 1.35rem; }
.lightbox__title span { margin-left: 10px; font-family: var(--f-body); font-size: 13px; letter-spacing: .12em; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.lightbox__figure { position: relative; min-height: 0; display: grid; place-items: center; padding: 14px 0; touch-action: pan-y; }
.lightbox__figure img { max-width: min(100%, 900px); max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); transition: opacity .35s var(--ease-pour), transform .6s var(--ease-pour); }
.lightbox__figure img.is-swapping { opacity: 0; transform: scale(.985); }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .craving__rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 0 var(--gutter) 30px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .craving__rail::-webkit-scrollbar { display: none; }
  .craving__rail > li { flex: 0 0 min(300px, 62vw); scroll-snap-align: start; }
  .craving__rail > li:nth-child(even) { margin-top: 0; }
}

@media (max-width: 999px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mosaic > li:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .mosaic > li:nth-child(1) { grid-column: span 2; }
  .mosaic > li:nth-child(1) .tile { aspect-ratio: 4 / 4.2; height: auto; }
  .moment__art { margin: 0 auto; }
}

@media (max-width: 859px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .wordmark { font-size: 27px; }
  .wa-float { display: flex; }
  .footer { padding-bottom: calc(100px + var(--safe-b)); }
}

/* Hero on phones and portrait tablets: cinematic video on top, copy on chocolate below it.
   Portrait screens crop the 16:9 film too hard to put words over it, so this is its own composition. */
@media (max-width: 759px), (orientation: portrait) and (max-width: 1024px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__media { position: relative; inset: auto; height: 58svh; min-height: 330px; max-height: 560px; }
  .hero__poster, .hero__video { object-position: 64% 60%; }
  .hero__scrim { background: linear-gradient(180deg, rgba(23, 16, 13, .55) 0%, rgba(23, 16, 13, 0) 26%), linear-gradient(0deg, #17100D 0%, rgba(23, 16, 13, .5) 20%, rgba(23, 16, 13, 0) 42%); }
  .hero__copy { position: relative; margin-top: -72px; padding-top: 0; padding-bottom: 96px; }
  .hero__title { font-size: clamp(2.55rem, 9vw, 4.4rem); }
  .hero__sub { margin-top: 18px; }
  .hero__cue { display: none; }
}

@media (max-width: 759px) {
  body { font-size: 16px; }
  .hero__ctas { flex-direction: column; margin-top: 28px; }
  .hero__ctas .btn { width: 100%; min-height: 56px; }

  .drip { height: 90px; }
  .craving { padding-top: 120px; }
  .cakes__ctas .btn, .loc__actions .btn { width: 100%; }
  .slice { grid-template-columns: 14px 1fr; column-gap: 16px; padding: 22px 18px 18px 16px; }
  .gallery__head { align-items: center; }
  .gallery__controls .round-btn { display: none; }
  .gallery__rail > li { flex-basis: 76vw; }
  .more { padding-top: 130px; }
  .more__line--em { padding-left: 0; }
  .day__line { display: none; }
  .day__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .day__item:nth-child(even) { margin-top: 0; }
  .plate { width: min(100%, 170px); }
  .moment__words li.lit { transform: translateX(6px); }
  .trust { padding-top: 130px; }
  .loc { min-height: 320px; }
  .lightbox__bottom .btn { flex: 1; padding: 0 14px; }
}

@media (max-height: 640px) and (min-width: 760px) {
  .hero__cue { display: none; }
  .hero__copy { padding-bottom: 60px; }
}

@media (pointer: coarse) {
  .btn, .round-btn { min-height: 48px; }
  .nav__links a { padding: 12px 0; }
}

/* ---------- Pause & reduced motion ---------- */
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }
.craving:not(.is-live) .illo--cup .steam path { animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-stagger] > *, .js .hero__eyebrow, .js .hero__sub, .js .hero__ctas { opacity: 1 !important; transform: none !important; }
  .js .hero .mask > span { transform: none !important; }
  .drip .drop { transform: scaleY(1) !important; }
  .day__line path { stroke-dashoffset: 0 !important; }
  .moment__words li { opacity: 1 !important; transform: none !important; }
  .hero__video { display: none; }
  .marquee__track { flex-wrap: wrap; width: auto; padding-inline: var(--gutter); }
  .marquee__track span:nth-child(n+11) { display: none; }
}
