/* Sweet Nothings Cakery */
:root {
  --blush: #FAD4DC;      /* page pink: a deeper shade of the logo's blush */
  --blush-2: #F6C1CD;    /* cards and photo backdrops */
  --pink: #F88EA4;       /* the logo's lettering */
  --rose: #A52A50;       /* small labels and numbers (readable on the pink) */
  --script: #C23A62;     /* handwritten accent words */
  --berry: #7D1619;      /* headlines and buttons */
  --cocoa: #32241B;      /* body text */
  --cocoa-2: #5A4034;
  --muted: #6E463A;
  --line: #EBA9B8;
  --cream: #FFFAF5;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --label: "Nunito Sans", "DM Sans", system-ui, sans-serif;
  --hand: "Alex Brush", "Brush Script MT", cursive;
  --header: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; background: var(--blush); color: var(--cocoa); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--berry); color: var(--blush); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.display { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 7vw, 96px); line-height: 0.95; letter-spacing: -0.025em; color: var(--berry); }
.italic { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 24px); }
.rose { color: var(--rose); }
.script { font-family: var(--hand); font-style: normal; font-size: 1.3em; line-height: .8; color: var(--script); }
.eyebrow { font-family: var(--label); font-size: 12px; font-weight: 900; letter-spacing: 0.42em; text-transform: uppercase; color: var(--rose); }
.eyebrow--muted { color: var(--muted); font-weight: 700; letter-spacing: 0.2em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--berry); color: #FDE9EB; }
.btn--dark:hover { box-shadow: 0 10px 24px rgba(125,22,25,.25); }
.btn--line { border: 1.5px solid var(--berry); color: var(--berry); }
.btn--pink { background: var(--blush); color: var(--berry); }
.btn--ghost { border: 1.5px solid rgba(255,248,242,.6); color: var(--cream); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--big { min-height: 58px; font-size: 18px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--header); padding: 0 clamp(16px, 4vw, 64px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(250,212,220,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand img { width: 120px; height: 60px; object-fit: contain; }
.nav { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--berry); }
.site-header .btn { justify-self: end; }

/* The opening: the cookie breaks open as you scroll */
.break { position: relative; height: 220vh; }
.break__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.break__media { position: absolute; margin: 0; right: clamp(16px, 3vw, 56px); top: 50%; transform: translateY(-50%); width: min(58vw, 900px); aspect-ratio: 900 / 649; container-type: inline-size; }
/* the cookie floats on the page: a soft shadow is all that sits under it */
.break__canvas { width: 100%; height: 100%; display: block; filter: drop-shadow(0 26px 30px rgba(125,22,25,.18)); }
/* "Love at first bite" fades in between the two halves as they part (the clip's own line, set in the brand script) */
.break__love { position: absolute; left: 46.7%; top: 50%; transform: translate(-50%, -50%) scale(calc(.9 + .1 * var(--love, 0))); margin: 0; text-align: center; font-family: var(--hand); font-size: 7.2cqi; line-height: .95; color: var(--berry); white-space: nowrap; opacity: var(--love, 0); pointer-events: none; }
.break__text { position: absolute; left: clamp(24px, 5vw, 88px); top: 50%; transform: translateY(-46%); width: min(500px, 34vw); display: flex; flex-direction: column; gap: 18px; z-index: 2; }
.break__title { font-family: var(--serif); font-weight: 600; font-size: clamp(56px, 6.6vw, 112px); line-height: .92; letter-spacing: -.025em; color: var(--berry); }
.break__title span { display: block; font-family: var(--hand); font-weight: 400; font-size: 1.05em; line-height: .95; letter-spacing: 0; color: var(--script); }
.break__line { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.9vw, 24px); color: var(--cocoa-2); max-width: 440px; }
.break__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.break__hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); opacity: calc(1 - var(--p, 0) * 6); }
.break__hint span { width: 1.5px; height: 36px; background: linear-gradient(var(--berry), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }


/* Menu */
.menu { position: relative; padding: clamp(110px, 12vw, 180px) 0 clamp(80px, 9vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 36px; }
.menu__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.menu__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; background: var(--blush-2); border-radius: 32px; padding: clamp(18px, 3vw, 36px); }
.menu__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px rgba(125,22,25,.18); }
.menu__photo img { width: 100%; height: 100%; object-fit: cover; animation: zoom 6s ease-out both; }
.menu__info { display: flex; flex-direction: column; gap: 14px; }
.menu__name { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -.02em; color: var(--berry); }
.menu__line { color: var(--cocoa-2); font-size: 20px; }
.menu__prices { list-style: none; margin: 4px 0; padding: 12px 0; border-block: 1px solid var(--line); font-size: 18px; }
.menu__info .btn { align-self: flex-start; }
.is-swapping .menu__photo, .is-swapping .menu__info > * { animation: swap .55s cubic-bezier(.2,.8,.2,1) both; }
.is-swapping .menu__info > *:nth-child(2) { animation-delay: .05s; }
.is-swapping .menu__info > *:nth-child(3) { animation-delay: .1s; }
.is-swapping .menu__info > *:nth-child(4) { animation-delay: .15s; }
@keyframes swap { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.15); } to { transform: scale(1.02); } }

.menu__side { display: flex; flex-direction: column; gap: 16px; }
.menu__picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pick { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 14px; border-radius: 22px; border: 2px solid transparent; background: var(--blush-2); color: var(--cocoa); font: 700 15px/1.25 var(--sans); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.pick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pick:hover { transform: translateY(-4px); }
.pick:hover img { transform: scale(1.05) rotate(-2deg); }
.pick[aria-pressed="true"] { background: var(--cream); border-color: var(--berry); box-shadow: 0 10px 24px rgba(125,22,25,.14); }
.also { padding: 16px 18px; border-radius: 20px; border: 1.5px dashed var(--pink); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }

/* Order form and quote */
.quote { position: relative; padding: clamp(60px, 7vw, 100px) 0 clamp(80px, 9vw, 120px); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.quote__items { display: flex; flex-direction: column; gap: 12px; }
.qrow { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 64px; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 22px; background: var(--blush-2); border: 2px solid transparent; transition: border-color .2s ease, background .2s ease; }
.qrow.is-picked { background: var(--cream); border-color: var(--berry); }
.qrow img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.qrow__text { display: flex; flex-direction: column; gap: 2px; }
.qrow__text strong { font-size: 17px; }
.qrow__text small { font-size: 14px; color: var(--cocoa-2); }
.qrow__unit { font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: #fff; border-radius: 999px; padding: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--berry); color: #FDE9EB; font: 700 22px/1 var(--sans); cursor: pointer; }
.stepper button:disabled { background: var(--line); color: #fff; cursor: not-allowed; }
.stepper output { min-width: 40px; text-align: center; font-weight: 700; font-size: 18px; }
.quote__sauce { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 16px; background: var(--cream); font-size: 15px; font-weight: 700; cursor: pointer; }
.quote__sauce[hidden] { display: none; }
.quote__sauce span { font-weight: 400; color: var(--muted); }
.quote__sauce input { width: 20px; height: 20px; accent-color: var(--berry); }
.quote__lines li.is-part { padding-left: 12px; border-left: 2px solid var(--line); }
.quote__lines li.is-part strong { font-weight: 500; }
.quote__how { border: 0; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quote__how legend { margin-bottom: 8px; padding: 0; }
.how { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 18px; background: var(--blush-2); border: 2px solid transparent; cursor: pointer; }
.how:has(input:checked) { background: var(--cream); border-color: var(--berry); }
.how span { display: flex; flex-direction: column; gap: 2px; }
.how strong { font-size: 15px; }
.how small { font-size: 13px; color: var(--cocoa-2); }
.quote__how label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; cursor: pointer; }
.quote__how input { width: 20px; height: 20px; accent-color: var(--berry); }
.quote__name { display: flex; flex-direction: column; gap: 6px; max-width: 380px; font-weight: 700; font-size: 15px; }
.quote__name span { font-weight: 400; color: var(--muted); }
.quote__name input { min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: 400 16px var(--sans); color: var(--cocoa); }
.quote__card { position: sticky; top: calc(var(--header) + 20px); display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 28px; background: var(--cream); box-shadow: 0 24px 50px rgba(125,22,25,.14); }
.quote__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.quote__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.quote__lines li span:first-child { display: flex; flex-direction: column; }
.quote__lines small { color: var(--cocoa-2); font-size: 14px; }
.quote__empty { color: var(--muted); }
.quote__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1.5px solid var(--line); }
.quote__total span { font-weight: 700; }
.quote__total strong { font-family: var(--serif); font-weight: 600; font-size: 40px; color: var(--berry); }
.quote__note { font-size: 14px; color: var(--cocoa-2); }
.quote__note:empty, .quote__problem:empty { display: none; }
.quote__problem { font-size: 14px; font-weight: 700; color: var(--berry); }
.quote__send[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.quote__small { font-size: 13px; color: var(--muted); }

/* SANHA halaal approval */
.halaal { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 14px; color: var(--cocoa-2); }
.halaal img { width: 92px; height: auto; }
.halaal span { display: flex; flex-direction: column; line-height: 1.3; }
.halaal strong { font-family: var(--label); font-weight: 900; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--berry); }
.halaal--card { gap: 18px; margin-top: 8px; padding: 16px 20px; border-radius: 20px; background: #fff; max-width: 560px; font-size: 15px; line-height: 1.5; }
.halaal--card img { width: 132px; flex: none; }
.halaal--card strong { display: block; font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--cocoa); }
.footer__halaal { display: flex; align-items: center; gap: 10px; }
.footer__halaal img { width: 66px; height: auto; }

/* Delivery: the question, the address search and the map */
.deliver { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: var(--cream); border: 2px solid var(--berry); }
.deliver[hidden] { display: none; }
.deliver__q { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deliver__q p { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.2; color: var(--berry); }
.deliver__q strong { font-weight: 600; }
.deliver__help-btn { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--berry); background: #fff; color: var(--berry); font: 700 20px/1 var(--serif); cursor: pointer; }
.deliver__help-btn[aria-expanded="true"] { background: var(--berry); color: #FDE9EB; }
.deliver__help { font-size: 15px; line-height: 1.5; padding: 12px 14px; border-radius: 14px; background: var(--blush); }
.deliver__find label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.deliver__row { display: flex; gap: 8px; }
.deliver__row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: 400 16px var(--sans); color: var(--cocoa); }
.deliver__row .btn { min-height: 48px; }
.deliver__here { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; padding: 0 4px; border: 0; background: none; color: var(--berry); font: 700 15px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.deliver__here[hidden] { display: none; }
.deliver__map { height: 300px; border-radius: 16px; overflow: hidden; background: var(--blush-2); z-index: 0; }
.deliver__result { font-size: 15px; }
.deliver__result strong { color: var(--berry); }
.deliver__result.is-out strong { color: var(--cocoa); }
.deliver__small { font-size: 13px; color: var(--muted); }
.map-pin { position: relative; }
.map-pin span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.map-pin--you span { background: var(--berry); }
.map-pin b { position: absolute; left: 26px; top: 1px; white-space: nowrap; font: 700 12px var(--sans); color: var(--berry); background: #fff; padding: 2px 6px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }

/* Payment confirms the order: the note, and the proof-of-payment buttons */
.pop { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--berry); color: #FDE9EB; }
.pop svg { flex: none; margin-top: 2px; color: var(--pink); }
.pop p { font-size: 15px; line-height: 1.45; }
.pop strong { display: block; font-size: 17px; color: #fff; }
.pop-send { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--pink); }
.pop-send__label { font-weight: 700; font-size: 15px; }
.pop-send__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pop-band { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--blush); border: 2px solid var(--berry); }
.pop-band__title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; color: var(--berry); margin-bottom: 8px; }
.pop-band__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Follow us on Instagram */
.follow { padding: clamp(50px, 6vw, 80px) 0; background: var(--cream); }
.follow__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.follow__title { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; color: var(--berry); margin: 8px 0 10px; }
.follow__title .script { font-size: .8em; }
.follow__sub { font-size: 18px; color: var(--cocoa-2); }

/* How to order */
.order { position: relative; background: var(--cream); padding: clamp(110px, 12vw, 180px) 0 clamp(70px, 9vw, 120px); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1.5px solid var(--berry); }
.steps__n { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--rose); }
.steps p { font-size: 16px; }

/* Baker */
.baker { position: relative; padding: clamp(110px, 12vw, 180px) 0 clamp(60px, 8vw, 110px); }
.baker__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.baker__card { border-radius: 32px; background: #FEF2F2; border: 1.5px solid var(--line); padding: 40px; transform: rotate(-3deg); box-shadow: 0 24px 50px rgba(194,69,106,.12); }
.baker__card img { width: 100%; height: auto; }
.baker__text { display: flex; flex-direction: column; gap: 16px; }
.baker__sub { font-size: 26px; }
.baker__body { max-width: 560px; font-size: 19px; color: var(--cocoa-2); }

/* Order strip */
.cta { background: var(--berry); color: var(--cream); padding: clamp(48px, 7vw, 90px) 0; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.cta__title em { font-family: var(--hand); font-style: normal; font-size: 1.25em; color: var(--pink); }
.cta__sub { margin-top: 12px; color: #F1DCCB; font-size: 18px; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: min(360px, 100%); }

.footer { padding: 28px 0; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.footer__row img { width: 110px; height: 55px; object-fit: contain; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--berry); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 999px; display: grid; place-items: center; background: var(--berry); color: #FDE9EB; box-shadow: 0 12px 28px rgba(125,22,25,.3); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); }

/* Tablets and phones */
@media (max-width: 960px) {
  .nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .break__text { top: calc(var(--header) + 12px); transform: none; width: auto; right: 20px; gap: 12px; }
  .break__title { font-size: clamp(48px, 12vw, 92px); }
  .break__title span { display: inline; }
  .break__pin { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: calc(var(--header) + 8px) 16px 72px; }
  .break__text { position: relative; inset: auto; padding: 0 4px; order: -1; }
  .break__media { position: relative; inset: auto; width: 100%; transform: none; }
  .break__actions { display: none; }
  .menu__grid { grid-template-columns: 1fr; }
  .quote__grid { grid-template-columns: 1fr; }
  .quote__how { grid-template-columns: 1fr; }
  .pop-band, .follow__row { grid-template-columns: 1fr; }
  .quote__card { position: static; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .baker__grid { grid-template-columns: 1fr; }
  .baker__card { max-width: 420px; }
  .cta__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header: 68px; }
  body { font-size: 16px; }
  .brand img { width: 100px; height: 50px; }
  .menu__stage { grid-template-columns: 1fr; }
  .menu__picks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .pick { padding: 6px 6px 10px; font-size: 12px; border-radius: 16px; }
  .wa-float { right: 14px; bottom: 14px; }
  .qrow { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 14px; }
  .qrow img { width: 64px; height: 64px; grid-row: span 2; }
  .qrow__text strong { font-size: 16px; }
  .qrow__text small { font-size: 13px; }
  .stepper { grid-column: 2; justify-self: start; }
  .stepper button { width: 40px; height: 40px; }
  .qrow__unit { display: none; }
}

/* Less motion: no scroll pinning, clips play on their own */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .break { height: auto; }
  .break__pin { position: relative; }
  .break__hint { display: none; }
  .menu__photo img, .is-swapping .menu__photo, .is-swapping .menu__info > * { animation: none; }
}
