/* ==========================================================================
   Cindy's Cake House: design system
   Palette: cocoa (Ghana chocolate), sobolo (hibiscus wine), meringue,
   sugar-rose blush, pistachio. Type: Gilda Display / Albert Sans / IBM Plex Mono.
   Signature motif: the slice, a diagonal knife cut used for the intro,
   page transitions, slideshow wipes and the small wedge marks.
   ========================================================================== */
@font-face { font-family: "Gilda Display"; src: url("../fonts/gilda-display-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-var-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --cocoa: #24130f;
  --cocoa-2: #321b16;
  --cocoa-3: #43271f;
  --sobolo: #6e1a35;
  --sobolo-2: #57122a;
  --sobolo-3: #8a2747;
  --meringue: #f7edef;
  --meringue-2: #efe0e3;
  --blush: #ebc9cf;
  --blush-2: #f3dde1;
  --pistachio: #b3c697;
  --pistachio-2: #8fa572;
  --ink: #2a1a17;
  --ink-2: #5d4642;
  --ink-3: #8a706b;
  --line: rgba(42, 26, 23, 0.14);
  --line-dark: rgba(247, 237, 239, 0.16);
  --on-dark: #f7edef;
  --on-dark-2: rgba(247, 237, 239, 0.74);
  --on-dark-3: rgba(247, 237, 239, 0.5);
  --glass-dark: rgba(36, 19, 15, 0.52);
  --glass-light: rgba(247, 237, 239, 0.62);

  --f-display: "Gilda Display", "Didot", Georgia, serif;
  --f-body: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 72px;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--meringue);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sobolo); color: var(--meringue); }
:focus-visible { outline: 2px solid var(--pistachio-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--pistachio); color: var(--cocoa); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display, h1, h2, h3, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 400; margin: 0; letter-spacing: -0.015em; }
.h-hero { font-family: var(--f-display); font-size: clamp(3.1rem, 9.2vw, 9rem); line-height: 0.9; letter-spacing: -0.03em; margin: 0; }
.h1, h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 0.96; }
.h2, h2 { font-size: clamp(2.1rem, 4.6vw, 4.1rem); line-height: 1; }
.h3, h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.12; }
.h4 { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.15; margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.06rem, 1.35vw, 1.26rem); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.on-dark .lede, .lede.on-dark { color: var(--on-dark-2); }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--sobolo);
}
.eyebrow::before { content: ""; width: 14px; height: 10px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
.on-dark .eyebrow, .eyebrow.on-dark, .glass .eyebrow, .bg-cocoa .eyebrow, .bg-sobolo .eyebrow, .bg-photo .eyebrow { color: var(--pistachio); }
.muted { color: var(--ink-2); }
.on-dark .muted, .glass .muted, .bg-cocoa .muted, .bg-sobolo .muted { color: var(--on-dark-2); }
.glass-light .muted { color: var(--ink-2); }
.price { font-family: var(--f-mono); font-weight: 500; font-size: 0.95rem; letter-spacing: -0.01em; white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section-sm { position: relative; padding: clamp(56px, 7vw, 96px) 0; }
.bg-cocoa { background: var(--cocoa); color: var(--on-dark); }
.bg-cocoa-2 { background: var(--cocoa-2); color: var(--on-dark); }
.bg-sobolo { background: var(--sobolo); color: var(--on-dark); }
.bg-meringue { background: var(--meringue); color: var(--ink); }
.bg-blush { background: var(--blush-2); color: var(--ink); }
.bg-pistachio { background: #dfe7d2; color: var(--ink); }
.bg-cocoa, .bg-cocoa-2, .bg-sobolo { --line: var(--line-dark); }
.grain::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); pointer-events: none; mix-blend-mode: overlay; opacity: 0.9; }
.grain > * { position: relative; z-index: 1; }
.on-dark { color: var(--on-dark); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head p { margin: 14px 0 0; }

/* bg photo sections */
.bg-photo { position: relative; color: var(--on-dark); overflow: hidden; }
.bg-photo > .bg-img { position: absolute; inset: -8% 0; z-index: 0; }
.bg-photo > .bg-img img { width: 100%; height: 100%; object-fit: cover; }
.bg-photo > .bg-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 19, 15, 0.55), rgba(36, 19, 15, 0.82)); }
.bg-photo > .wrap, .bg-photo > .wrap-wide { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sobolo); --fg: var(--meringue);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.1;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, box-shadow 0.4s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--hover, var(--sobolo-3)); transform: translateY(101%); transition: transform 0.5s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .arr { width: 16px; height: 10px; flex: none; }
.btn-pist { --bg: var(--pistachio); --fg: var(--cocoa); --hover: #c6d6af; }
.btn-light { --bg: var(--meringue); --fg: var(--cocoa); --hover: #fff; }
.btn-ghost { --bg: transparent; --fg: currentColor; --hover: rgba(42, 26, 23, 0.07); box-shadow: inset 0 0 0 1.5px currentColor; }
.on-dark .btn-ghost, .btn-ghost.on-dark { --hover: rgba(247, 237, 239, 0.1); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.link-u { position: relative; font-weight: 600; font-size: 14px; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform-origin: right; transition: transform 0.5s var(--ease); }
.link-u:hover::after { transform: scaleX(0); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; transition: background 0.3s; }
.icon-btn:hover { background: rgba(247, 237, 239, 0.12); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em; box-shadow: inset 0 0 0 1.25px var(--line); transition: background 0.3s, color 0.3s, box-shadow 0.3s; white-space: nowrap;
}
.chip:hover { box-shadow: inset 0 0 0 1.25px currentColor; }
.chip.is-on { background: var(--cocoa); color: var(--meringue); box-shadow: none; }
.on-dark .chip.is-on, .bg-cocoa .chip.is-on, .bg-sobolo .chip.is-on { background: var(--pistachio); color: var(--cocoa); }
.chip .n { font-family: var(--f-mono); font-size: 11px; opacity: 0.7; }

/* ---------- Glass ---------- */
.glass { background: var(--glass-dark); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(247, 237, 239, 0.14); color: var(--on-dark); }
.glass-light { background: var(--glass-light); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, 0.5); color: var(--ink); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 80; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1400px); height: 64px;
  display: flex; align-items: center; gap: 12px; padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(36, 19, 15, 0.58); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(247, 237, 239, 0.14); color: var(--on-dark);
  box-shadow: 0 10px 40px -18px rgba(20, 8, 6, 0.6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand svg { width: 34px; height: 34px; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-family: var(--f-display); font-weight: 400; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand-word small { font-size: 9.5px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.8; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; list-style: none; padding: 0; }
.nav-links a { position: relative; display: block; padding: 10px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--on-dark-2); transition: color 0.3s, background 0.3s; }
.nav-links a:hover { color: var(--on-dark); background: rgba(247, 237, 239, 0.07); }
.nav-links a[aria-current="page"] { color: var(--on-dark); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--pistachio); }
.nav-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pistachio); color: var(--cocoa); font: 600 10.5px/18px var(--f-mono); text-align: center; transform: scale(0); transition: transform 0.4s var(--ease); }
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.nav-cta { margin-left: 4px; }
.menu-btn { display: none; }
.menu-btn span { display: block; width: 20px; height: 1.6px; background: currentColor; margin: 5px auto; transition: transform 0.4s var(--ease); }

/* mobile menu */
.mnav { position: fixed; inset: 0; z-index: 79; background: var(--sobolo); color: var(--on-dark); padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.8s var(--ease-io); visibility: hidden; overflow-y: auto; }
.mnav.is-open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; }
.mnav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mnav li a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; }
.mnav li a small { font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); }
.mnav li a[aria-current="page"] { color: var(--pistachio); }
.mnav-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; font-size: 14px; color: var(--on-dark-2); }

/* ---------- Product card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px) clamp(14px, 1.8vw, 26px); }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard-fig { position: relative; }
.pcard-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--meringue-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-badge { position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
/* cards use tinted pills, not backdrop blur: 100+ blurred layers would make scrolling stutter */
.pcard .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(36, 19, 15, 0.66); border-color: rgba(247, 237, 239, 0.18); }
.pcard-add { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; transform: translateY(6px); opacity: 0.94; transition: transform 0.5s var(--ease), background 0.3s, opacity 0.3s; }
.pcard-add svg { width: 14px; height: 14px; }
.pcard:hover .pcard-add, .pcard-add:focus-visible { transform: translateY(0); opacity: 1; }
.pcard-add:hover { background: var(--pistachio); color: var(--cocoa); }
.pcard-body { padding: 14px 2px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.pcard-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcard-title h3 { font-size: 1.3rem; line-height: 1.15; }
.pcard-line { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.pcard-meta .lead::before { content: "·"; margin-right: 12px; }
.on-dark .pcard-line, .bg-cocoa .pcard-line, .bg-sobolo .pcard-line { color: var(--on-dark-2); }
.on-dark .pcard-meta, .bg-cocoa .pcard-meta, .bg-sobolo .pcard-meta { color: var(--on-dark-3); }
.bg-cocoa .pcard-media, .bg-sobolo .pcard-media { background: var(--cocoa-3); }
.pcard.is-wide { grid-column: span 2; }
.pcard.is-wide .pcard-media { aspect-ratio: 8 / 5; }

/* ---------- Image chips used inline in copy ---------- */
.ichip { display: inline-block; width: 1.9em; height: 0.92em; border-radius: 999px; overflow: hidden; vertical-align: -0.04em; margin: 0 0.06em; }
.ichip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field > span, .label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.on-dark .field > span, .bg-cocoa .field > span { color: var(--on-dark-2); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm); background: #fff; border: 1.25px solid var(--line); color: var(--ink); font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%232a1a17' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--sobolo); box-shadow: 0 0 0 4px rgba(110, 26, 53, 0.12); }
.input.is-bad, .select.is-bad { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.1); }
.err { font-size: 13px; color: #b3261e; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); border: 1.25px solid var(--line); background: #fff; cursor: pointer; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink-3); margin-top: 2px; display: grid; place-items: center; transition: border-color 0.3s; }
.choice .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sobolo); transform: scale(0); transition: transform 0.35s var(--ease); }
.choice:has(input:checked) { border-color: var(--sobolo); box-shadow: 0 0 0 3px rgba(110, 26, 53, 0.1); }
.choice:has(input:checked) .dot { border-color: var(--sobolo); }
.choice:has(input:checked) .dot::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 2px solid var(--pistachio-2); outline-offset: 2px; }
.choice b { display: block; font-size: 15px; }
.choice small { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.choice .end { margin-left: auto; text-align: right; }

/* ---------- Drawer (cart + quick view) ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(36, 19, 15, 0.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 91; width: min(460px, calc(100% - 20px));
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: rgba(247, 237, 239, 0.86); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: 0 30px 80px -30px rgba(36, 19, 15, 0.55);
  transform: translateX(calc(100% + 30px)); transition: transform 0.75s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.7rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px 22px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: rgba(255, 255, 255, 0.4); }
.close-x { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.25px var(--line); transition: background 0.3s, transform 0.5s var(--ease); }
.close-x:hover { background: var(--cocoa); color: var(--meringue); transform: rotate(90deg); }
.line-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; }
.line-item h4 { font-family: var(--f-display); font-weight: 400; font-size: 1.12rem; margin: 0 0 3px; line-height: 1.15; }
.line-item .opts { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.25px var(--line); }
.qty button { width: 32px; height: 32px; border-radius: 50%; font-size: 16px; }
.qty button:hover { background: rgba(42, 26, 23, 0.07); }
.qty span { min-width: 22px; text-align: center; font: 500 13px var(--f-mono); }
.rm { font-size: 12px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; margin-top: 6px; display: inline-block; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sum-row.total { font-size: 17px; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 48px 12px; color: var(--ink-2); }
.empty svg { width: 64px; margin: 0 auto 16px; opacity: 0.6; }

/* quick view */
.qv-media { aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; margin: 14px 0 18px; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.opt-group { margin: 18px 0; }
.opt-group > .label { display: block; margin-bottom: 10px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer .opt-row .chip { background: #fff; }
.drawer .opt-row .chip.is-on { background: var(--cocoa); color: var(--meringue); }

/* ---------- Toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 22px; z-index: 120; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border-radius: 16px; pointer-events: auto; animation: toastIn 0.6s var(--ease) both; }
.toast img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.toast b { display: block; font-size: 14px; }
.toast small { font-size: 12.5px; color: var(--on-dark-2); }
.toast .btn { margin-left: auto; }
.toast.out { animation: toastOut 0.45s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

/* ---------- Intro (once per visit) ---------- */
.intro { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.intro-half { position: absolute; inset: 0; background: var(--cocoa); }
.intro-half::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); mix-blend-mode: overlay; }
.intro-half.a { clip-path: polygon(0 0, 100% 0, 100% 38%, 0 62%); }
.intro-half.b { clip-path: polygon(0 62%, 100% 38%, 100% 100%, 0 100%); }
.intro-knife { position: absolute; left: -5%; top: 50%; width: 110%; height: 1.5px; background: var(--pistachio); transform-origin: left center; transform: rotate(-13.5deg) scaleX(0); z-index: 3; }
.intro-word { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: var(--on-dark); text-align: center; }
.intro-word .w { font-family: var(--f-display); font-size: clamp(3.4rem, 13vw, 11rem); line-height: 1; letter-spacing: -0.03em; display: flex; overflow: hidden; padding: 0.08em 0.04em; }
.intro-word .w span { display: inline-block; transform: translateY(110%); }
.intro-word small { display: block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: var(--pistachio); opacity: 0; }
.intro-count { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; font: 500 12px var(--f-mono); color: var(--on-dark-3); letter-spacing: 0.08em; }

/* ---------- Page curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 190; pointer-events: none; background: var(--sobolo); clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); display: grid; place-items: center; color: var(--on-dark); }
.curtain .cmark { width: 64px; height: 64px; opacity: 0; }
.curtain.is-cover { pointer-events: auto; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--r)); transition: clip-path 1.3s var(--ease-io); }
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1.15s var(--ease); transition-delay: var(--d, 0s); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; min-height: clamp(520px, 78vh, 820px); display: flex; align-items: flex-end; padding: 150px 0 clamp(48px, 6vw, 80px); color: var(--on-dark); overflow: hidden; background: var(--cocoa); }
.phero-bg { position: absolute; inset: 0; }
.phero-bg img { width: 100%; height: 115%; object-fit: cover; }
.phero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 19, 15, 0.62), rgba(36, 19, 15, 0) 65%), linear-gradient(180deg, rgba(36, 19, 15, 0.4) 0%, rgba(36, 19, 15, 0.3) 35%, rgba(36, 19, 15, 0.88) 100%); }
.phero .wrap { position: relative; z-index: 1; }
.phero h1 { max-width: 14ch; }
.phero .lede { color: var(--on-dark-2); margin-top: 22px; }
.crumbs { display: flex; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--on-dark); }
.phero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.phero-card { width: min(360px, 100%); border-radius: var(--r); padding: 18px 20px; }
.phero-card .mono { font-size: 12px; color: var(--pistachio); }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--cocoa); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0 28px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.foot h4 { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pistachio); margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--on-dark-2); }
.foot ul a:hover { color: var(--on-dark); }
.foot-big { font-family: var(--f-display); font-size: clamp(3.6rem, 15vw, 15rem); line-height: 0.8; letter-spacing: -0.04em; color: rgba(247, 237, 239, 0.07); margin: 40px 0 0; white-space: nowrap; user-select: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; color: var(--on-dark-3); }
.remind { display: flex; gap: 8px; margin-top: 14px; }
.remind .input { background: rgba(247, 237, 239, 0.08); border-color: var(--line-dark); color: var(--on-dark); min-height: 46px; }
.remind .input::placeholder { color: var(--on-dark-3); }
.remind .input:focus { border-color: var(--pistachio); box-shadow: 0 0 0 4px rgba(179, 198, 151, 0.18); }

/* ---------- Concierge ---------- */
.cc-fab { position: fixed; right: 18px; bottom: 18px; z-index: 85; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 8px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px -16px rgba(36, 19, 15, 0.7); transition: transform 0.5s var(--ease); }
.cc-fab:hover { transform: translateY(-2px); }
.cc-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pistachio); color: var(--cocoa); font-family: var(--f-display); font-size: 1.2rem; position: relative; }
.cc-ava::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: #5bd17d; border: 2px solid var(--cocoa); }
.cc-panel { position: fixed; right: 18px; bottom: 86px; z-index: 86; width: min(400px, calc(100% - 24px)); height: min(620px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; transform-origin: bottom right; transform: scale(0.92) translateY(14px); opacity: 0; visibility: hidden; transition: transform 0.55s var(--ease), opacity 0.4s, visibility 0.4s; background: rgba(36, 19, 15, 0.82); -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4); border: 1px solid rgba(247, 237, 239, 0.14); color: var(--on-dark); box-shadow: 0 40px 90px -30px rgba(20, 8, 6, 0.8); }
.cc-panel.is-open { transform: none; opacity: 1; visibility: visible; }
.cc-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line-dark); }
.cc-head b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; }
.cc-head small { font-size: 12px; color: var(--on-dark-3); }
.cc-head .close-x { margin-left: auto; box-shadow: inset 0 0 0 1.25px var(--line-dark); width: 38px; height: 38px; }
.cc-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: toastIn 0.45s var(--ease) both; }
.msg.bot { background: rgba(247, 237, 239, 0.09); border-top-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--pistachio); color: var(--cocoa); border-top-right-radius: 4px; }
.msg p { margin: 0 0 6px; }
.msg p:last-child { margin: 0; }
.msg .mini { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; margin-top: 8px; padding: 8px; border-radius: 12px; background: rgba(247, 237, 239, 0.07); }
.msg .mini img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.msg .mini b { font-family: var(--f-display); font-weight: 400; font-size: 1rem; display: block; line-height: 1.2; }
.msg .mini small { font: 500 12px var(--f-mono); color: var(--pistachio); }
.msg .mini button { width: 34px; height: 34px; border-radius: 50%; background: var(--pistachio); color: var(--cocoa); font-size: 18px; }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-dark-2); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.25; transform: translateY(-2px); } }
.cc-quick { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.cc-quick::-webkit-scrollbar { display: none; }
.cc-quick button { flex: none; padding: 8px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; box-shadow: inset 0 0 0 1.25px var(--line-dark); color: var(--on-dark-2); transition: background 0.3s, color 0.3s; }
.cc-quick button:hover { background: rgba(247, 237, 239, 0.1); color: var(--on-dark); }
.cc-form { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line-dark); }
.cc-form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; background: rgba(247, 237, 239, 0.08); border: 1px solid var(--line-dark); color: var(--on-dark); }
.cc-form input::placeholder { color: var(--on-dark-3); }
.cc-form input:focus { outline: none; border-color: var(--pistachio); }
.cc-form button { width: 46px; height: 46px; border-radius: 50%; background: var(--pistachio); color: var(--cocoa); display: grid; place-items: center; flex: none; }

/* ---------- Misc ---------- */
.done-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.done-item img { width: 46px; height: 54px; border-radius: 8px; object-fit: cover; }

.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list li::before { content: ""; flex: none; width: 12px; height: 9px; margin-top: 8px; background: var(--sobolo); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.on-dark .tick-list li::before, .bg-cocoa .tick-list li::before, .bg-sobolo .tick-list li::before { background: var(--pistachio); }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pose * { transition: none !important; animation: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: 10px 10px; font-size: 13px; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { height: 58px; top: 10px; padding-left: 14px; }
  .brand svg { width: 30px; height: 30px; }
  .brand-word b { font-size: 1.16rem; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .pcard.is-wide { grid-column: span 2; }
  .pcard-title { flex-wrap: wrap; gap: 2px 8px; }
  .pcard-title h3 { font-size: 1.08rem; }
  .pcard-line { font-size: 13px; }
  .pcard-add { height: 38px; padding: 0 12px; font-size: 12px; right: 8px; bottom: 8px; }
  .pcard-add span { display: none; }
  .pcard-badge { top: 8px; left: 8px; font-size: 10px; padding: 5px 8px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .span-2 { grid-column: auto; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cc-fab { right: 12px; bottom: 12px; height: 52px; padding: 0 16px 0 6px; }
  .cc-fab .t { display: none; }
  .cc-fab { padding: 0 6px; }
  .cc-panel { right: 12px; bottom: 74px; }
  .phero { min-height: 560px; padding-top: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  [data-reveal], [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
  .split-line > span { transform: none; }
}
