/* =========================================================
   Chef Kecik — demo home page
   Brand: taken from the Chef Kecik Boulangerie storefront —
   cream sign, chocolate-brown serif capitals, light oak, white.
   Variable names are kept from the first draft:
   --butter = cream base, --cocoa = brand brown, --crust = caramel,
   --pandan = oak (classes section).
   ========================================================= */

:root {
  --butter: #F3ECE0;      /* sign cream */
  --butter-deep: #E6DACA;
  --cocoa: #3A281D;       /* logo brown */
  --cocoa-soft: #5A4232;
  --crust: #8A5A35;       /* caramel / wood accent */
  --flour: #FFFDF8;       /* interior white */
  --pandan: #D8C3A5;      /* light oak */
  --pandan-deep: #C9B08D;

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Jost", system-ui, -apple-system, sans-serif;

  --pad: clamp(20px, 4vw, 64px);
  --radius-lg: 36px;
  --radius-md: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--butter);
  color: var(--cocoa);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--crust); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--cocoa); color: var(--butter); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.h-xl {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 112px);
  line-height: .95;
  letter-spacing: -.01em;
}
.h-lg { font-family: var(--display); font-size: clamp(36px, 4vw, 64px); line-height: 1; }
.lead { font-size: clamp(17px, 1.3vw, 21px); max-width: 34em; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cocoa); --fg: var(--butter);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1em 1.6em;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; line-height: 1;
  text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--crust);
  border-radius: 50% 50% 0 0;
  transform: translateY(105%);
  transition: transform .5s var(--ease), border-radius .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn--cocoa { --bg: var(--cocoa); --fg: var(--butter); }
.btn--cocoa:hover { color: var(--flour); }
.btn--butter { --bg: var(--butter); --fg: var(--cocoa); }
.btn--butter:hover { color: var(--flour); }
.btn--line { --bg: transparent; --fg: var(--cocoa); border-color: var(--cocoa); }
.btn--line::before { background: var(--cocoa); }
.btn--line:hover { color: var(--butter); }
.btn--sm { padding: .85em 1.3em; font-size: 15px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--cocoa); color: var(--butter);
  display: grid; place-items: center;
  overflow: hidden;
}
.loader__rise {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 0%;
  background: var(--butter);
  border-radius: 50% 50% 0 0 / 60px 60px 0 0;
}
.loader__inner { position: relative; text-align: center; mix-blend-mode: difference; color: #F7C948; }
.loader__label { font-weight: 600; letter-spacing: .02em; }
.loader__count { font-family: var(--display); font-size: clamp(90px, 18vw, 260px); line-height: .9; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 300;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--cocoa);
  pointer-events: none;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s;
}
.cursor__label { opacity: 0; color: var(--butter); font-weight: 700; font-size: 14px; white-space: nowrap; transition: opacity .2s; }
.cursor.is-big { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--crust); }
.cursor.is-big .cursor__label { opacity: 1; color: var(--flour); }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--pad);
  transition: transform .5s var(--ease), background .4s;
}
.header.is-hidden { transform: translateY(-110%); }
.header.is-solid { background: color-mix(in srgb, var(--butter) 92%, transparent); backdrop-filter: blur(10px); }
.header.on-dark { color: var(--butter); }
.header.on-dark.is-solid { background: color-mix(in srgb, var(--cocoa) 88%, transparent); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 48px; height: 48px; flex: none; }
.logo__type { display: grid; line-height: 1; }
.logo__name { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: .04em; }
.logo__sub { font-family: var(--body); font-weight: 500; font-size: 11.5px; letter-spacing: .32em; margin-top: 3px; padding-left: 2px; }

/* serif display everywhere it's used, at the weight that reads on the sign */
.h-xl, .h-lg, .price, .loader__count, .academy__count, .orow__hours, .steps__n,
.mobile-nav a, .footer__giant, .news label, .hero__media-text, .hero__stamp > span,
.story__year, .cart-btn__count { font-weight: 600; }
.hero__rise { font-style: italic; }
body { font-variant-numeric: lining-nums; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  transition: background .3s;
}
.nav a:hover { background: color-mix(in srgb, currentColor 12%, transparent); }

.cart-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  border: 2px solid currentColor; background: transparent; font-weight: 700;
}
.cart-btn__count {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--cocoa); color: var(--butter); font-size: 14px;
}
.header.on-dark .cart-btn__count { background: var(--butter); color: var(--cocoa); }
.cart-btn.bump .cart-btn__count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; background: none; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { bottom: 17px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45;
  background: var(--cocoa); color: var(--butter);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--pad);
  clip-path: circle(0% at calc(100% - 44px) 40px);
  transition: clip-path .7s var(--ease);
}
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); }
.mobile-nav a { font-family: var(--display); font-size: 52px; text-decoration: none; line-height: 1.1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  clip-path: inset(15% 6% 9% 54% round 420px 420px 32px 32px);
  will-change: clip-path;
  z-index: 1;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(42,19,8,.55)); opacity: 0; transition: opacity .3s; }
.hero__media.is-full::after { opacity: 1; }
.hero__media-text {
  position: absolute; left: var(--pad); bottom: 8vh; right: var(--pad);
  color: var(--flour); opacity: 0;
  font-family: var(--display); font-size: clamp(44px, 7vw, 124px); line-height: .95;
  z-index: 2;
}
.hero__media-small { font-family: var(--body); font-size: clamp(16px, 1.4vw, 22px); font-weight: 500; margin-top: 18px; }

.hero__content {
  position: absolute; z-index: 2;
  left: var(--pad); top: 50%; transform: translateY(-46%);
  width: min(47vw, 700px);
}
.hero__kicker { font-weight: 600; margin-bottom: 18px; }
.hero__title { font-family: var(--display); font-weight: 600; line-height: .82; }
.hero__line { display: block; font-size: clamp(44px, 5.6vw, 104px); }
.hero__rise { display: flex; font-size: clamp(140px, 21vw, 380px); letter-spacing: -.02em; margin-top: -.02em; color: var(--cocoa); }
.hero__rise span { display: inline-block; transform-origin: 50% 100%; }
.hero__sub { max-width: 30em; margin-top: 18px; font-size: clamp(16px, 1.2vw, 20px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.float {
  position: absolute; z-index: 3; margin: 0;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(42,19,8,.45);
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--a { width: clamp(90px, 10vw, 170px); aspect-ratio: 1; left: 46%; top: 17%; }
.float--b { width: clamp(110px, 12vw, 210px); aspect-ratio: 1; right: 3%; bottom: 6%; }

.hero__stamp {
  position: absolute; z-index: 3; left: 43%; bottom: 7%;
  width: clamp(110px, 10vw, 160px); aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--butter); border-radius: 50%;
  box-shadow: 0 20px 40px -18px rgba(42,19,8,.5);
}
.hero__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.hero__stamp text { font-family: var(--body); font-weight: 700; font-size: 17px; letter-spacing: .06em; fill: var(--cocoa); }
.hero__stamp > span { font-family: var(--display); font-size: clamp(24px, 2.2vw, 34px); background: var(--cocoa); color: var(--butter); width: 56%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll { position: absolute; z-index: 2; left: var(--pad); bottom: 22px; font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.hero__scroll::before { content: ""; width: 2px; height: 28px; background: var(--cocoa); animation: drop 1.8s var(--ease) infinite; transform-origin: top; }
.hero__scroll.is-gone { visibility: hidden; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }


/* ---------- Signatures (horizontal) ---------- */
.sig { position: relative; }
.sig__pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.sig__track { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); padding: 0 var(--pad); will-change: transform; }
.sig__intro { flex: none; width: min(560px, 80vw); padding-right: 4vw; }
.sig__intro p { margin-top: 22px; max-width: 26em; }
.sig__hint { font-weight: 600; opacity: .7; }

.card {
  flex: none; position: relative;
  width: clamp(280px, 28vw, 420px);
  background: var(--flour);
  border-radius: var(--radius-lg);
  padding: 12px;
  transform-origin: 50% 100%;
}
.card:nth-child(odd) { transform: translateY(26px); }
.card__img { border-radius: 26px; overflow: hidden; aspect-ratio: 4/4.4; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.08); }
.card__body { padding: 18px 10px 8px; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1; }
.card__body p { margin-top: 8px; font-size: 15.5px; min-height: 4.6em; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.price { font-family: var(--display); font-size: 26px; color: var(--crust); }
.add {
  border: 0; background: var(--cocoa); color: var(--butter);
  font-weight: 700; padding: 12px 22px; border-radius: 999px;
  transition: transform .3s var(--ease), background .3s;
}
.add:hover { background: var(--crust); transform: scale(1.06); }
.add.is-added { background: var(--pandan); }
.stock {
  position: absolute; top: 26px; left: 26px; z-index: 2;
  background: var(--crust); color: var(--flour);
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(180,82,26,0); } 0% { box-shadow: 0 0 0 0 rgba(180,82,26,.5); } }
.sig__end { flex: none; width: min(420px, 80vw); padding-left: 3vw; display: grid; gap: 22px; justify-items: start; }

/* ---------- Pre-order ---------- */
.pre { padding: clamp(80px, 12vw, 180px) var(--pad); }
.pre__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.pre__media { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.pre__media img { width: 100%; height: 120%; object-fit: cover; }
.pre__copy .lead { margin-top: 22px; }
.steps { list-style: none; padding: 0; margin: 38px 0 40px; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 20px 0; border-top: 2px solid rgba(42,19,8,.15); }
.steps__n { width: 52px; height: 52px; border-radius: 50%; background: var(--cocoa); color: var(--butter); display: grid; place-items: center; font-family: var(--display); font-size: 24px; }
.steps h3 { font-size: 21px; font-weight: 700; }
.steps p { margin-top: 4px; }

/* ---------- Drip + Story ---------- */
.drip { display: block; line-height: 0; margin-bottom: -2px; position: relative; z-index: 2; background: var(--cocoa); }
.drip svg { width: 100%; height: clamp(80px, 11vw, 160px); display: block; }
.drip path { fill: var(--butter); }
.drip__d { transform-box: fill-box; transform-origin: 50% 0%; }

.story { background: var(--cocoa); color: var(--flour); padding: clamp(40px, 6vw, 80px) var(--pad) clamp(100px, 12vw, 180px); }
.story .h-xl { color: var(--butter); max-width: 12em; }
.story__head .lead { margin-top: 24px; opacity: .9; }
.story__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(60px, 8vw, 120px); }
.story__visual {
  position: sticky; top: 12vh; height: 76vh;
  border-radius: var(--radius-lg); overflow: hidden;
}
.story__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s var(--ease);
}
.story__visual img.is-on { clip-path: inset(0 0 0 0); }
.story__year {
  position: absolute; left: 22px; bottom: 12px; z-index: 2;
  font-family: var(--display); font-size: clamp(64px, 9vw, 150px); line-height: 1;
  color: var(--butter);
  text-shadow: 0 6px 30px rgba(0,0,0,.35);
}
.story__steps { list-style: none; margin: 0; padding: 10vh 0 30vh; display: grid; gap: 36vh; }
.story__step { opacity: .32; transition: opacity .6s var(--ease); max-width: 28em; }
.story__step.is-on { opacity: 1; }
.story__step h3 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 3.2vw, 52px); line-height: 1; color: var(--butter); }
.story__step p { margin-top: 16px; font-size: clamp(17px, 1.25vw, 20px); }

/* ---------- Academy ---------- */
.academy {
  background: var(--pandan); color: var(--cocoa);
  padding: clamp(90px, 12vw, 170px) var(--pad);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: -36px; position: relative; z-index: 3;
}
.academy__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.academy__count { font-family: var(--display); font-size: clamp(90px, 15vw, 250px); line-height: .8; color: var(--cocoa); }
.academy .h-xl { font-size: clamp(36px, 4.4vw, 76px); }
.academy .lead { margin-top: 18px; }

.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--pandan-deep); border-radius: 999px; margin: clamp(40px, 6vw, 80px) 0 32px; }
.tab { border: 0; background: transparent; color: var(--cocoa); font-weight: 700; padding: 12px 22px; border-radius: 999px; transition: background .3s, color .3s; }
.tab.is-on { background: var(--cocoa); color: var(--butter); }

.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.klass { background: var(--flour); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.klass[hidden] { display: none; }
.klass__img { aspect-ratio: 16/11; overflow: hidden; }
.klass__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.klass:hover .klass__img img { transform: scale(1.07); }
.klass__info { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.klass__date { font-weight: 700; color: var(--crust); font-size: 15px; }
.klass h3 { font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1; }
.klass__foot { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 14px; margin-top: auto; padding-top: 12px; }
.klass .price { color: var(--crust); }
.seats { font-weight: 600; }
.seats--low b { color: var(--crust); }

/* ---------- Cakes ---------- */
.cakes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; padding: clamp(90px, 12vw, 170px) var(--pad); background: var(--flour); }
.cakes .lead { margin-top: 20px; }
.cakeform { margin-top: 34px; display: grid; gap: 22px; max-width: 520px; }
.cakeform fieldset { border: 0; padding: 0; margin: 0; }
.cakeform legend, .field > span, .pickup h3 { font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--cocoa); background: transparent;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: background .3s, color .3s;
}
.chip.is-on { background: var(--cocoa); color: var(--butter); }
.chip.is-off { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.field { display: grid; }
.field input {
  font: inherit; padding: 14px 18px; border-radius: 16px;
  border: 2px solid var(--cocoa); background: #fff; color: var(--cocoa);
}
.cakes__stage { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--butter); }
.cakes__stage img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Outlets ---------- */
.outlets { padding: clamp(90px, 12vw, 170px) var(--pad); position: relative; }
.outlets__lead { margin-top: 16px; }
.olist { list-style: none; margin: clamp(40px, 5vw, 70px) 0 0; padding: 0; }
.orow {
  display: grid; grid-template-columns: 1.6fr .6fr auto; gap: 24px; align-items: center;
  padding: 30px 0; border-top: 2px solid var(--cocoa);
  position: relative;
}
.orow:last-child { border-bottom: 2px solid var(--cocoa); }
.orow h3 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.6vw, 60px); line-height: 1; transition: transform .5s var(--ease), color .3s; }
.orow:hover h3 { transform: translateX(16px); color: var(--crust); }
.orow__name p { margin-top: 8px; }
.orow__hours { font-family: var(--display); font-size: 26px; }
.orow__go { display: flex; gap: 8px; }
.orow__go a { text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--cocoa); transition: background .3s, color .3s; }
.orow__go a:hover { background: var(--cocoa); color: var(--butter); }
.ofollow {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 300px; aspect-ratio: 4/5; border-radius: 160px 160px 24px 24px; overflow: hidden;
  opacity: 0; transform: scale(.6);
  transition: opacity .35s, transform .5s var(--ease);
}
.ofollow.is-on { opacity: 1; transform: scale(1); }
.ofollow img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .ofollow { display: none; } }

/* ---------- Wall ---------- */
.wall { background: var(--cocoa); color: var(--flour); padding: clamp(90px, 12vw, 160px) var(--pad); overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.wall .h-xl { color: var(--butter); }
.wall__head .lead { margin: 22px 0 32px; }
.wall .btn--cocoa { --bg: var(--butter); --fg: var(--cocoa); }
.wall__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 110vh; margin: -20vh 0; }
.wall__col { display: grid; gap: 14px; align-content: start; }
.wall__col img { width: 100%; aspect-ratio: 9/14; object-fit: cover; border-radius: 22px; }
.wall__col:nth-child(2) { margin-top: -30%; }

/* ---------- Footer ---------- */
.footer { background: var(--butter); padding: clamp(70px, 9vw, 120px) var(--pad) 28px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.news label { font-family: var(--display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; display: block; max-width: 14em; }
.news__row { display: flex; gap: 8px; margin-top: 18px; }
.news input { font: inherit; padding: 14px 20px; border-radius: 999px; border: 2px solid var(--cocoa); background: var(--flour); min-width: min(320px, 60vw); }
.news .btn--butter { --bg: var(--cocoa); --fg: var(--butter); }
.footer__links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--cocoa); transition: background .3s, color .3s; }
.footer__links a:hover { background: var(--cocoa); color: var(--butter); }
.footer__giant {
  font-family: var(--display); font-size: clamp(56px, 13.4vw, 260px); line-height: .85; letter-spacing: .02em;
  margin: clamp(40px, 6vw, 90px) 0 18px; white-space: nowrap;
  display: flex; justify-content: center;
}
.footer__giant span { display: inline-block; transform-origin: 50% 100%; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-weight: 600; font-size: 14px; }

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(42,19,8,.5); opacity: 0; pointer-events: none; transition: opacity .4s; }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 100;
  width: min(460px, calc(100vw - 20px));
  background: var(--flour); border-radius: 28px;
  display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform .7s var(--ease);
  overflow: hidden;
}
.drawer.is-on { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px 12px; }
.drawer__head h2, .modal h2 { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--cocoa); background: none; font-size: 24px; line-height: 1; }
.drawer__body { flex: 1; overflow: auto; padding: 6px 26px 20px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 8px 14px 8px 8px; }
.line img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.line h4 { margin: 0; font-size: 16px; }
.line small { display: block; opacity: .7; }
.line .stepper { transform: scale(.85); transform-origin: right; }
.empty { padding: 30px 0; opacity: .7; }
.pickup { margin-top: 26px; display: grid; gap: 10px; }
.pickup h3 { margin: 8px 0 0; }
.drawer__foot { padding: 18px 26px 24px; border-top: 2px solid rgba(42,19,8,.12); display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.total span:last-child { font-family: var(--display); font-size: 30px; font-weight: 600; }
.demo-note { font-size: 13px; opacity: .65; text-align: center; }
.done { padding: 40px 26px; display: grid; gap: 14px; text-align: center; justify-items: center; }
.done__badge { width: 84px; height: 84px; border-radius: 50%; background: var(--pandan); color: var(--flour); display: grid; place-items: center; font-size: 40px; animation: pop .7s var(--ease); }
.done h3 { font-family: var(--display); font-weight: 600; font-size: 36px; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }

.stepper { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--cocoa); border-radius: 999px; padding: 3px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--cocoa); color: var(--butter); font-size: 18px; line-height: 1; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal::before { content: ""; position: absolute; inset: 0; background: rgba(42,19,8,.55); opacity: 0; transition: opacity .4s; }
.modal.is-on { pointer-events: auto; }
.modal.is-on::before { opacity: 1; }
.modal__card {
  position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--flour); border-radius: 30px;
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(40px) scale(.96); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s;
}
.modal.is-on .modal__card { transform: none; opacity: 1; }
.modal .x { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--flour); }
.modal__img img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.modal__body { padding: 34px 30px; }
.modal__body form { display: grid; gap: 16px; }
.modal .klass__date { color: var(--crust); }
.pax { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  background: var(--cocoa); color: var(--butter);
  padding: 14px 22px; border-radius: 999px; font-weight: 700;
  transform: translate(-50%, 200%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .cart-btn { margin-left: auto; }
  .classes { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: 1fr; }
  .wall__cols { height: 80vh; margin: 0; }
}

@media (max-width: 760px) {
  .cart-btn > span:first-child { display: none; }
  .cart-btn { padding: 6px; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__name { font-size: 20px; }
  .logo__sub { font-size: 9.5px; }
  .hero { min-height: 700px; }
  .hero__media { clip-path: inset(56% 6% 4% 6% round 260px 260px 24px 24px); }
  .hero__content { top: 104px; transform: none; width: auto; right: var(--pad); }
  .hero__rise { font-size: clamp(120px, 38vw, 200px); }
  .hero__sub { font-size: 15px; }
  .hero__ctas .btn { padding: .9em 1.2em; font-size: 15px; }
  .hero__media img { height: 150%; }
  .float--a { left: 4%; right: auto; top: auto; bottom: 21%; width: 84px; }
  .float--b { display: none; }
  .hero__stamp { left: auto; right: 10%; bottom: 8%; width: 96px; }
  .hero__scroll { display: none; }

  .sig__pin { height: auto; padding: 60px 0; display: block; }
  .sig__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-bottom: 30px; -webkit-overflow-scrolling: touch; }
  .sig__intro { width: 82vw; scroll-snap-align: start; }
  .card { width: 78vw; scroll-snap-align: center; }
  .card:nth-child(odd) { transform: none; }
  .sig__end { width: 70vw; }

  .pre__grid, .story__body, .cakes, .academy__head { grid-template-columns: 1fr; }
  .pre__media { max-height: 70vh; }
  .story__visual { position: sticky; top: 76px; height: 46vh; z-index: 2; }
  .story__steps { gap: 30vh; padding: 6vh 0 20vh; }
  .classes { grid-template-columns: 1fr; }
  .orow { grid-template-columns: 1fr; gap: 12px; }
  .modal__card { grid-template-columns: 1fr; }
  .modal__img img { min-height: 0; height: 200px; }
  .wall__cols { height: 70vh; }
  .news__row { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__media { clip-path: inset(15% 6% 9% 54% round 420px 420px 32px 32px); }
}
