/* sayang. by sri divya
   Mobile first. Her colours: baby pink, brown and white, plus the red full stop.
   Layout idea: gingham hero, scalloped edges between colour blocks, round plates, little stickers. */

:root {
  --cream: #FFF8F3;    /* white, warmed */
  --pink: #F9CFD8;     /* baby pink */
  --rose: #F2A7B8;     /* deeper pink for shapes */
  --brown: #4A1F1A;    /* cocoa brown: text, The Table, footer */
  --cili: #C2301B;     /* chilli red: the full stop */
  --red: #C2301B;
  --mute: #7A4B44;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --gutter: 22px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--brown);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cili); outline-offset: 4px; }
img { max-width: 100%; display: block; }
em { font-style: italic; }
.stop { color: var(--cili); }

/* Pointer dot (desktop only, switched on by JS) */
.dot {
  position: fixed; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cili); pointer-events: none; z-index: 60; opacity: 0;
  mix-blend-mode: multiply; transition: opacity .3s, width .25s, height .25s;
}
body.has-dot .dot { opacity: 1; }
body.dot-big .dot { width: 54px; height: 54px; }

/* SCALLOPED EDGE: a row of half circles in the colour of the block below */
.scallop {
  height: 16px; background-color: var(--bg);
  background-image: radial-gradient(circle at 50% 100%, var(--c) 0 13.5px, transparent 14px);
  background-size: 28px 16px; background-repeat: repeat-x; background-position: center bottom;
  position: relative; z-index: 1; margin-bottom: -1px;
}

/* NAV: pink with a scalloped hem */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--gutter); background: var(--pink);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px;
  background: radial-gradient(circle at 50% 0, var(--pink) 0 10.5px, transparent 11px) center top / 22px 12px repeat-x;
}
.logo { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -0.5px; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.nav-links > a:not(.pill) { text-decoration: none; color: var(--mute); }
.nav-links > a:not(.pill):hover { color: var(--brown); }
.pill {
  background: var(--brown); color: var(--cream); text-decoration: none;
  font-size: 13px; font-weight: 500; padding: 11px 18px; border-radius: 999px;
  transition: background .25s, transform .25s;
}
.pill:hover { background: var(--cili); transform: translateY(-1px); }

/* HERO: soft pink gingham */
.hero-wrap, .hero { position: relative; }
.hero {
  display: flex; flex-direction: column; gap: 36px;
  padding: 44px var(--gutter) 72px; max-width: var(--max); margin: 0 auto;
}
body::before {
  /* gingham sits behind the hero only */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1000px; z-index: -1;
  background-image:
    linear-gradient(rgba(249,207,216,.42) 50%, transparent 50%),
    linear-gradient(90deg, rgba(249,207,216,.42) 50%, transparent 50%);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent);
}
.hero-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.wordmark {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(96px, 27vw, 250px); line-height: 0.86; letter-spacing: -0.05em;
  display: flex; overflow: hidden; padding-bottom: 0.14em;
}
.ch { display: inline-block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.ch:nth-child(2) { animation-delay: .06s; } .ch:nth-child(3) { animation-delay: .12s; }
.ch:nth-child(4) { animation-delay: .18s; } .ch:nth-child(5) { animation-delay: .24s; }
.ch:nth-child(6) { animation-delay: .30s; }
.ch.stop { animation: bounce 1.2s cubic-bezier(.3,1.6,.5,1) both .75s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes bounce { 0% { transform: translateY(-140%); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.byline { margin: 0; font-size: 12px; letter-spacing: 5px; color: var(--mute); }
.line {
  margin: 6px 0 4px; font-family: var(--display); font-weight: 300;
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.01em;
}
.line em { color: var(--cili); }

.hero-art { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.12; align-self: center; }
.doily { position: absolute; right: 0; top: 3%; width: 66%; aspect-ratio: 1; }
/* scalloped pink disc behind her portrait: a solid disc plus a slowly turning dotted rim */
.doily::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--rose); }
.doily::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 20px dotted var(--rose); animation: turn 40s linear infinite;
}
.sticker { position: absolute; }
.heart { left: 0; top: 4%; width: 15%; rotate: -14deg; animation: beat 1.8s ease-in-out infinite; }
.spark { right: 4%; top: 0; width: 9%; animation: twinkle 2.6s ease-in-out infinite; }
@keyframes beat { 0%,100% { scale: 1; } 15% { scale: 1.16; } 30% { scale: 1; } 45% { scale: 1.1; } }
@keyframes twinkle { 50% { scale: .6; rotate: 45deg; } }
.note {
  position: absolute; left: -2%; bottom: 3%; margin: 0; z-index: 2; rotate: -8deg;
  font-family: var(--hand); font-size: 24px; line-height: 1; color: var(--brown);
  background: var(--cream); padding: 8px 14px 9px; border-radius: 4px;
  box-shadow: 0 8px 16px -8px rgba(74,31,26,.45);
}
.portrait {
  position: absolute; left: 8%; bottom: 0; width: 74%; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 18px 18px; overflow: hidden; border: 8px solid #fff;
  box-shadow: 0 30px 60px -30px rgba(74,31,26,.55);
}
.portrait { display: grid; place-items: center; background: var(--pink); }
.portrait .ph-label { font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--mute); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 1.8s ease-out both; }
@keyframes settle { from { transform: scale(1.22); } }
.badge { position: absolute; right: 0; bottom: 8%; width: 34%; height: auto; filter: drop-shadow(0 12px 18px rgba(74,31,26,.25)); }
.badge-spin { transform-origin: 100px 100px; animation: turn 16s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.doily, .sticker, .portrait, .badge, .note { translate: var(--px, 0) var(--py, 0); transition: translate .5s ease-out; }

/* BUTTONS */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 30px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: .2px;
  transition: transform .25s ease-out, background .25s, color .25s, box-shadow .25s;
}
.button span { transition: transform .25s; }
.button:hover span { transform: translateX(5px); }
.button-brown { background: var(--brown); color: var(--cream); box-shadow: 0 14px 30px -16px var(--brown); }
.button-brown:hover { background: var(--cili); }
.button-line { border: 1.5px solid var(--brown); color: var(--brown); background: rgba(255,248,243,.7); }
.button-line:hover { background: var(--brown); color: var(--cream); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* THE FULL STOP (scroll-driven; --p runs 0 to 1, set by JS) */
.plate { height: 240vh; position: relative; }
.plate-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; grid-template-columns: minmax(0, 1fr);
  padding: 0 var(--gutter); text-align: center;
}
.plate-before, .plate-after {
  grid-area: 1 / 1; margin: 0; font-family: var(--display); font-weight: 300;
  font-size: clamp(38px, 8vw, 104px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance;
}
.plate-before { opacity: calc(1 - var(--p, 0) * 3.2); transform: translateY(-1.5em); }
.plate-dot {
  /* drawn at full size and scaled down, so the edge stays crisp as it grows */
  position: absolute; left: 50%; top: 50%;
  margin: calc(var(--size, 34px) / -2) 0 0 calc(var(--size, 34px) / -2);
  width: var(--size, 34px); height: var(--size, 34px); border-radius: 50%; background: var(--cili);
  transform: scale(calc(var(--s0, 1) + var(--p, 0) * (1 - var(--s0, 1))));
  will-change: transform;
}
.plate-after {
  position: relative; color: var(--cream);
  opacity: calc((var(--p, 0) - .5) * 4); transform: translateY(calc((1 - var(--p, 0)) * 40px));
}
.plate-after em { color: var(--pink); }

/* LABELS */
.label { margin: 0 0 22px; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: lowercase; }

/* STORY: baby pink block */
.story { background: var(--pink); padding: 80px var(--gutter) 96px; }
.story > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.story-big {
  margin-top: 0; margin-bottom: 44px; font-family: var(--display); font-weight: 400;
  font-size: clamp(32px, 6vw, 76px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
.wobble { display: inline-block; color: var(--cili); animation: wobble 3.2s ease-in-out infinite; }
@keyframes wobble { 0%,100% { rotate: -2deg; } 50% { rotate: 2deg; scale: 1.04; } }
.story-cols { display: grid; gap: 20px; }
.story-cols p { margin: 0; font-size: 17px; max-width: 46ch; }

/* Story photo: her at the stove, in a tilted white frame */
.story-photo { position: relative; margin-top: 0; margin-bottom: 44px; width: min(100%, 400px); rotate: 2deg; }
.story-photo { aspect-ratio: 4 / 5; border: 8px solid #fff; border-radius: 200px 200px 14px 14px; box-shadow: 0 30px 50px -28px rgba(74,31,26,.6); overflow: visible; background: var(--cream); }
.story-photo .ph-img { border-radius: 192px 192px 6px 6px; }
.story-heart { z-index: 2; }
.story-heart { width: 54px; right: -8px; bottom: 26px; rotate: 12deg; animation: beat 1.8s ease-in-out infinite; }


/* DISHES */
.dishes { padding: 88px 0 72px; }
.dishes > .label, .dishes-title { padding: 0 var(--gutter); max-width: var(--max); margin-left: auto; margin-right: auto; }
.dishes-title { margin-top: 0; margin-bottom: 36px; font-family: var(--display); font-weight: 400; font-size: clamp(54px, 11vw, 132px); line-height: .95; letter-spacing: -0.04em; }
.plates {
  list-style: none; margin: 0 auto; padding: 10px var(--gutter) 30px; max-width: var(--max);
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.plates::-webkit-scrollbar { display: none; }
.dish { flex: 0 0 78%; scroll-snap-align: center; display: flex; flex-direction: column; gap: 10px; }
.dish-plate {
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 10px solid #fff; box-shadow: 0 34px 54px -26px rgba(74,31,26,.65), 0 0 0 1px rgba(74,31,26,.08);
  margin-bottom: 14px; transition: transform .5s cubic-bezier(.2,.8,.2,1);
  display: grid; place-items: center;
}
.dish:hover .dish-plate { transform: scale(1.04) rotate(-3deg); }
.dish-plate img { width: 100%; height: 100%; object-fit: cover; }
.spin { rotate: var(--spin, 0deg); }
.dish-plate .ph-img.spin { scale: 1.06; }  /* the bowl fills the round frame and turns with the scroll */
.dish-plate.empty span { position: relative; font-size: 12px; font-weight: 600; letter-spacing: 3px; }
.dish-plate.pinkplate { background: var(--pink); }
.dish-plate.brownplate { background: var(--brown); color: var(--pink); }
.ring { position: absolute; inset: 9%; border-radius: 50%; border: 2px dashed currentColor; opacity: .55; }
.dish h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -0.02em; }
.dish p { margin: 0; color: var(--mute); }

/* PHOTO FRAMES
   Every photo sits in a .frame with a quiet label behind it.
   If the image file is missing, script.js removes the <img> and the clean placeholder shows.
   To add or swap a photo: put the file in /images with the name in the comment. No code change. */
.frame { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--pink); }
.frame .ph-label {
  position: relative; z-index: 0; padding: 0 14px; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: lowercase; color: var(--mute);
}
.frame::before { /* dashed inner ring for the empty state */
  content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(74,31,26,.28); border-radius: inherit; pointer-events: none;
}
.frame .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.frame.dark { background: var(--brown); }
.frame.dark .ph-label { color: var(--pink); }
.frame.dark::before { border-color: rgba(249,207,216,.35); }

/* BAKES (Track A) */
.bakes-title { margin-top: 0; margin-bottom: 36px; font-family: var(--display); font-weight: 400; font-size: clamp(46px, 9vw, 110px); line-height: .95; letter-spacing: -0.035em; }
.bakes-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; perspective: 900px; padding-top: 14px; margin-bottom: 40px; }
.tilt {
  margin: 0; aspect-ratio: 4 / 5; border: 8px solid #fff; border-bottom-width: 30px; border-radius: 3px; overflow: visible;
  box-shadow: 0 26px 44px -28px rgba(74,31,26,.6), 0 0 0 1px rgba(74,31,26,.06); transition: transform .3s ease-out;
}
.tilt::before { border-radius: 0; inset: 8px; }
.tilt:nth-child(1) { rotate: -3deg; } .tilt:nth-child(2) { rotate: 2.5deg; margin-top: 28px; }
.tape {
  position: absolute; left: 50%; top: -20px; width: 74px; height: 24px; margin-left: -37px; rotate: -4deg; z-index: 2;
  background: color-mix(in srgb, var(--rose) 78%, transparent);
}
.bakes-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; max-width: 520px; }
.bakes-text p { margin: 0; font-size: 17px; }

/* HOW IT WORKS: three small steps */
.how { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.how li { display: flex; align-items: center; gap: 8px; }
.how b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brown); color: var(--cream); font-size: 12px; }

/* THE TABLE: brown block */
.table { background: var(--brown); color: var(--cream); padding: 84px var(--gutter) 104px; }
.table > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.table .label { color: var(--pink); }
.table-big { margin-top: 0; margin-bottom: 44px; font-family: var(--display); font-weight: 300; font-size: clamp(38px, 7.6vw, 98px); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.table-photo { margin-top: 0; margin-bottom: 44px; border-radius: 18px; overflow: hidden; border: 6px solid var(--pink); aspect-ratio: 3 / 2; }
.table-photo { background: #5A2C25; }
.table-photo .ph-label { color: var(--pink); }
.table-photo::before { border-color: rgba(249,207,216,.3); border-radius: 10px; }
.table-photo .ph-img { scale: 1.18; translate: 0 var(--py2, 0px); will-change: translate; }
.table-row { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.table-small { margin: 0; max-width: 40ch; font-size: 17px; color: var(--pink); }
.menu-card {
  position: relative; width: 230px; height: 150px; padding: 0; border: 0; background: none;
  cursor: pointer; perspective: 800px; font: inherit; color: var(--brown); rotate: -3deg;
}
.menu-face {
  position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--display); font-size: 24px; transition: transform .7s cubic-bezier(.3,1.3,.5,1);
  box-shadow: 0 22px 34px -20px rgba(0,0,0,.6);
}
.menu-face small { font-family: var(--body); font-size: 11px; letter-spacing: 2.5px; }
.menu-front { background: var(--pink); }
.menu-back { background: var(--cream); transform: rotateY(180deg); }
.menu-card[aria-pressed="true"] .menu-front { transform: rotateY(-180deg); }
.menu-card[aria-pressed="true"] .menu-back { transform: rotateY(0); }

/* REQUEST A SEAT: pink block */
.seat { background: var(--pink); padding: 92px var(--gutter) 104px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.seat > * { width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; }
.seat-title { margin-top: 0; margin-bottom: 14px; font-family: var(--display); font-weight: 400; font-size: clamp(72px, 16vw, 210px); line-height: .86; letter-spacing: -0.05em; }
.seat .button { width: auto; margin-left: 0; align-self: flex-start; }
.seat-note { margin-top: 0; margin-bottom: 0; font-size: 14px; color: var(--mute); }
.seat .how { margin-top: 6px; }
@media (min-width: 1208px) { .seat .button { margin-left: calc((100% - var(--max)) / 2); } }

/* FOOTER */
.foot { background: var(--brown); color: var(--cream); padding: 48px var(--gutter) 110px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot .logo { font-size: 40px; }
.foot .stop { color: #E8455A; }
.foot .byline, .muted { color: var(--pink); }
.foot p { margin: 0; }
.foot-links { display: flex; gap: 18px; }
.foot-links a.soon { opacity: .55; text-decoration: none; pointer-events: none; }
.foot-links a.soon::after { content: " (soon)"; }

/* MOBILE BOOKING BAR */
.bookbar {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 30;
  background: var(--brown); color: var(--cream); text-decoration: none; text-align: center;
  font-weight: 600; font-size: 15px; padding: 17px; border-radius: 999px;
  box-shadow: 0 16px 30px -12px rgba(74,31,26,.7);
  transform: translateY(160%); transition: transform .5s cubic-bezier(.2,.9,.3,1.1);
}
.bookbar.show { transform: none; }

/* SCROLL FADES. Everything is visible without JS; JS adds .js to enable the fade. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* LARGER SCREENS */
@media (min-width: 820px) {
  :root { --gutter: 48px; }
  .hero { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 104px; }
  .hero-text { flex: 1 1 55%; gap: 20px; }
  .wordmark { font-size: clamp(120px, 15vw, 230px); }
  .hero-art { flex: 0 0 38%; width: auto; }
  .note { font-size: 28px; }
  .story { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 72px; align-items: start;
    padding-left: max(var(--gutter), calc((100% - var(--max)) / 2)); padding-right: max(var(--gutter), calc((100% - var(--max)) / 2)); }
  .story > * { max-width: none; margin-left: 0; margin-right: 0; grid-column: 1; }
  .story-photo { grid-column: 2; grid-row: 1 / span 3; width: 100%; margin-bottom: 0; }
  .table-photo { aspect-ratio: 21 / 9; }
  .plates { overflow: visible; gap: 44px; }
  .dish { flex: 1 1 0; }
  .dish:nth-child(2) { margin-top: 70px; }
  .bakes-row { gap: 36px; margin-bottom: 0; }
  .table-row { flex-direction: row; justify-content: space-between; align-items: center; }
  .bookbar { display: none; }
  .foot { padding-bottom: 56px; }
}

/* REDUCED MOTION: no movement, everything shown */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ch, .ch.stop, .portrait img, .heart, .spark, .doily::after, .badge-spin, .wobble { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .table-photo img { translate: none; }
  .story-heart { animation: none; }
  .dot { display: none; }
  .plate { height: auto; }
  .plate-stage { position: static; height: auto; padding: 96px var(--gutter); background: var(--cili); }
  .plate-before, .plate-dot { display: none; }
  .plate-after { opacity: 1; transform: none; }
  .spin { rotate: 0deg; }
}

/* ================= MULTI-PAGE ADDITIONS ================= */

/* Mobile menu */
.menu-btn {
  display: none; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--cream);
  background: var(--brown); border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer;
}
.nav-links a[aria-current="page"] { color: var(--brown); text-decoration: underline; text-decoration-color: var(--cili); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 819px) {
  .menu-btn { display: inline-block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
    flex-direction: column; align-items: stretch; gap: 0; padding: 18px var(--gutter) 24px; background: var(--pink);
    box-shadow: 0 24px 30px -24px rgba(74,31,26,.5);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links > a { padding: 14px 0; font-family: var(--display); font-size: 26px; color: var(--brown) !important; border-bottom: 1px solid rgba(74,31,26,.12); }
  .nav-links > a.pill { margin-top: 16px; text-align: center; font-family: var(--body); font-size: 15px; padding: 16px; border: 0; color: var(--cream) !important; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav::after { z-index: 6; }
}

/* Text link */
.text-link { font-weight: 600; text-decoration-color: var(--cili); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Two ways in (home) */
.doors { padding: 80px var(--gutter) 96px; max-width: var(--max); margin: 0 auto; }
.door-grid { display: grid; gap: 28px; }
.door { display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: transform .3s ease-out; }
.door-photo { aspect-ratio: 4 / 3; border-radius: 22px; border: 8px solid #fff; box-shadow: 0 30px 50px -30px rgba(74,31,26,.6); margin-bottom: 10px; }
.door-photo::before { border-radius: 14px; }
.door-photo .ph-img { transition: scale .7s cubic-bezier(.2,.8,.2,1); }
.door:hover .door-photo .ph-img { scale: 1.06; }
.door-kicker { font-size: 12px; font-weight: 600; letter-spacing: 4px; color: var(--mute); }
.door-title { font-family: var(--display); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.05; letter-spacing: -0.02em; }
.door-link { font-weight: 600; font-size: 14px; }
.door-link span { display: inline-block; transition: transform .25s; }
.door:hover .door-link span { transform: translateX(6px); }

/* Single-column grids must not grow past the phone width */
.about-grid, .about-hands, .bakes-show, .door-grid, .form-section { grid-template-columns: minmax(0, 1fr); }
.bakes-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
html { overflow-x: clip; }

/* Sub page hero */
.page-hero { padding: 64px var(--gutter) 56px; max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.page-hero.center { align-items: center; text-align: center; padding-top: 120px; padding-bottom: 120px; }
.page-hero .label { margin: 0; }
.page-title {
  margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(52px, 11vw, 132px);
  line-height: .95; letter-spacing: -0.04em; text-wrap: balance; max-width: 14ch;
  animation: lift .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes lift { from { opacity: 0; transform: translateY(30px); } }
.page-lead { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(22px, 3vw, 32px); line-height: 1.3; max-width: 34ch; }
.page-lead em { color: var(--cili); }

/* About */
.about-grid { padding: 0 var(--gutter) 96px; max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.about-photo { aspect-ratio: 4 / 5; width: min(100%, 420px); border: 8px solid #fff; border-radius: 210px 210px 14px 14px; box-shadow: 0 30px 50px -28px rgba(74,31,26,.6); overflow: visible; rotate: -2deg; }
.about-photo .ph-img { border-radius: 202px 202px 6px 6px; }
.about-photo .story-heart { z-index: 2; }
.about-text { display: flex; flex-direction: column; gap: 22px; max-width: 52ch; align-self: center; }
.about-text p { margin: 0; font-size: 18px; }
.drop { float: left; font-family: var(--display); font-size: 74px; line-height: .8; padding: 6px 10px 0 0; color: var(--cili); }
.likes { background: var(--pink); padding: 72px var(--gutter) 80px; }
.likes > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.like-list { list-style: none; padding: 0; display: grid; gap: 0; }
.like-list li { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid rgba(74,31,26,.15); }
.like-k { font-size: 12px; font-weight: 600; letter-spacing: 3px; color: var(--mute); }
.like-v { font-family: var(--display); font-size: clamp(26px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.about-hands { padding: 88px var(--gutter) 40px; max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; align-items: center; }
.hands-photo { aspect-ratio: 4 / 5; width: min(100%, 460px); border-radius: 18px; box-shadow: 0 30px 50px -28px rgba(74,31,26,.6); }
.hands-photo::before { border-radius: 10px; }
.hands-quote { margin: 0; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(44px, 8vw, 96px); line-height: 1; letter-spacing: -0.03em; }
.kitchen { padding: 56px var(--gutter) 96px; max-width: var(--max); margin: 0 auto; }
.kitchen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.snap { margin: 0; aspect-ratio: 4 / 5; border: 6px solid #fff; border-bottom-width: 22px; box-shadow: 0 20px 34px -24px rgba(74,31,26,.6); }
.snap:nth-child(odd) { rotate: -1.5deg; } .snap:nth-child(even) { rotate: 1.5deg; }
.snap.wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; rotate: -.5deg; }
.cta-band { background: var(--pink); padding: 88px var(--gutter) 96px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.cta-title { margin: 0; font-family: var(--display); font-size: clamp(60px, 12vw, 150px); line-height: .9; letter-spacing: -0.05em; }
.cta-band .hero-buttons { justify-content: center; }

/* Bakes page */
.bakes-show { padding: 0 var(--gutter) 88px; max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.offer { list-style: none; margin: 0; padding: 0; display: grid; }
.offer li { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid rgba(74,31,26,.15); }
.offer b { font-family: var(--display); font-weight: 400; font-size: 28px; }
.offer span { color: var(--mute); }

/* Table page */
.table-show { background: var(--brown); color: var(--cream); padding: 56px var(--gutter) 88px; }
.table-show > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.table-show .table-photo { margin-bottom: 40px; }
.facts { list-style: none; padding: 0; margin-top: 0; margin-bottom: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(249,207,216,.3); padding-top: 14px; }
.facts b { white-space: nowrap; font-family: var(--display); font-weight: 300; font-size: clamp(30px, 7vw, 80px); line-height: 1; color: var(--pink); }
.facts span { font-size: 13px; color: #E9D6CF; }
.table-copy { margin: 0; max-width: 42ch; font-size: 17px; color: var(--pink); }
.mini-plates { padding: 72px 0 72px; }
.mini-plates > .label { padding: 0 var(--gutter); max-width: var(--max); margin-left: auto; margin-right: auto; }

/* Forms */
.form-section { background: var(--pink); padding: 72px var(--gutter) 88px; display: grid; gap: 36px; }
.form-section > * { width: 100%; max-width: var(--max); margin: 0 auto; }
.form-title { margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 9vw, 100px); line-height: .95; letter-spacing: -0.04em; }
.form-note { margin: 14px 0 0; font-size: 14px; color: var(--mute); max-width: 46ch; }
.sform {
  display: grid; gap: 16px 18px; background: var(--cream); padding: 26px 20px; border-radius: 22px;
  box-shadow: 0 30px 60px -36px rgba(74,31,26,.55);
}
.sform .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; }
.field legend { padding: 0; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--mute); }
.sform input:not([type=radio]):not([type=checkbox]), .sform select, .sform textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--brown); background: #fff;
  border: 1.5px solid rgba(74,31,26,.2); border-radius: 12px; padding: 13px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.sform textarea { resize: vertical; }
.sform input:focus, .sform select:focus, .sform textarea:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 4px rgba(242,167,184,.55); }
.sform.tried :invalid { border-color: var(--cili) !important; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; background: #fff; border: 1.5px solid rgba(74,31,26,.2); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
.choices label:has(input:checked) { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.choices input { accent-color: var(--cili); }
.sform.tried fieldset:has(:invalid) .choices label { border-color: var(--cili); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--cili); flex: none; }
.sform.tried .check:has(:invalid) { color: var(--cili); }
.fine { margin: 0; font-size: 13px; color: var(--mute); }
.sform .button { justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; }
.form-status { margin: 0; font-size: 14px; min-height: 1em; }
.form-status a { font-weight: 600; }

/* Footer additions */
.foot-top { display: flex; flex-direction: column; gap: 24px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { color: var(--pink); text-decoration: none; }
.foot-nav a:hover { color: #fff; }

@media (min-width: 820px) {
  .door-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .door:nth-child(2) { margin-top: 80px; }
  .about-grid { grid-template-columns: 420px minmax(0, 1fr); column-gap: 80px; }
  .about-hands { grid-template-columns: 460px minmax(0, 1fr); column-gap: 64px; }
  .kitchen-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .snap.wide { grid-column: 2 / 4; }
  .bakes-show { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 72px; align-items: center; }
  .form-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 64px; align-items: start;
    padding-left: max(var(--gutter), calc((100% - var(--max)) / 2)); padding-right: max(var(--gutter), calc((100% - var(--max)) / 2)); }
  .form-section > * { max-width: none; margin: 0; }
  .sform { grid-template-columns: 1fr 1fr; padding: 36px; }
  .foot-top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .page-title { animation: none; }
}

/* ================= BAKES MENU ================= */
.xmas {
  margin: 0 var(--gutter) 72px; max-width: var(--max); padding: 40px 26px; border-radius: 26px;
  background: var(--cili); color: var(--cream); display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  background-image: radial-gradient(circle, rgba(255,248,243,.16) 1.5px, transparent 2px); background-size: 22px 22px;
  box-shadow: 0 30px 50px -30px rgba(194,48,27,.7);
}
.xmas .stop { color: var(--pink); }
.xmas-kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 4px; color: var(--pink); }
.xmas-title { margin: 0; font-family: var(--display); font-size: clamp(36px, 7vw, 76px); line-height: 1; letter-spacing: -0.03em; }
.xmas-copy { margin: 0 0 8px; font-size: 17px; max-width: 40ch; }
.button-cream { background: var(--cream); color: var(--brown); }
.button-cream:hover { background: var(--pink); }

.bake-menu { padding: 0 var(--gutter) 64px; max-width: var(--max); margin: 0 auto; }
.bake-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.bake { display: flex; flex-direction: column; gap: 8px; }
.bake-photo { margin: 0 0 8px; aspect-ratio: 1; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 26px 44px -28px rgba(74,31,26,.6); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.bake-photo::before { border-radius: 14px; }
.bake:hover .bake-photo { transform: rotate(-2deg) scale(1.02); }
.bake h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 3vw, 34px); line-height: 1.05; letter-spacing: -0.02em; }
.bake p { margin: 0; color: var(--mute); font-size: 14px; }
@media (min-width: 820px) { .bake p { font-size: 16px; } }
.bake-photo .ph-label { font-size: 10px; letter-spacing: 2px; }
.bake .bake-note { display: inline-flex; align-self: flex-start; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: var(--pink); color: var(--brown); font-size: 13px; font-weight: 600; }
.price-line { margin: 44px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(22px, 3vw, 30px); }

.biz { margin: 0 var(--gutter) 80px; max-width: var(--max); padding: 36px 26px; border-radius: 26px; border: 2px solid var(--brown); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.biz-title { margin: 0; font-family: var(--display); font-size: clamp(28px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -0.02em; max-width: 22ch; }
.biz-copy { margin: 0 0 10px; color: var(--mute); }

.started { padding: 0 var(--gutter) 88px; max-width: var(--max); margin: 0 auto; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid rgba(74,31,26,.15); }
.t-step { font-family: var(--display); font-size: 28px; color: var(--cili); line-height: 1.1; }
.timeline p { margin: 0; font-size: 17px; max-width: 56ch; }

.sform fieldset.group-missing .choices label { border-color: var(--cili); }
.biz-only[hidden] { display: none; }

@media (min-width: 820px) {
  .xmas, .biz { margin-left: auto; margin-right: auto; padding: 56px; }
  .xmas { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .xmas-kicker, .xmas-title, .xmas-copy { grid-column: 1; }
  .xmas .button { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .bake-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 36px; }
  .bake:nth-child(3n+2) { margin-top: 48px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}
@media (min-width: 1208px) { .xmas, .biz { margin-left: auto; margin-right: auto; } }
