/* Butter & Bloom: blush, pistachio, butter and cocoa.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #FDF1EE;
  --ink: #3B2420;
  --muted: #7A625C;
  --line: #F1E1DC;
  --line-strong: #E5CCC5;
  --blush: #F4C7CC;
  --pistachio: #C6DDB3;
  --pistachio-deep: #5E8A4A;
  --butter: #FBE7A1;
  --raspberry: #D2456B;
  --cocoa: #3B2420;
  --brand: #3B2420;
  --brand-hover: #2A1916;
  --brand-ink: #FFFFFF;
  --brand-text: #3B2420;
  --accent: #D2456B;
  --accent-ink: #FFFFFF;
  --eyebrow: #B33A5C;
  --head: "Shrikhand", "Cooper Black", serif;
  --body: "Outfit", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 26px;
  --btn-radius: 999px;
  --wrap: 1180px;
  --gap: 22px;
  --tools-top: 76px;
}
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
.eyebrow { letter-spacing: .1em; }
.btn { font-weight: 600; }
.btn svg { width: 20px; height: 20px; }
.text-link { font-weight: 600; color: var(--raspberry); text-underline-offset: 5px; }

/* ---------- header ---------- */
.header { background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo b { font: 400 1.5rem var(--head); color: var(--cocoa); }
.logo b span { color: var(--raspberry); }
.nav a { font-weight: 500; color: var(--muted); border-radius: 999px; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--blush); color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 80px); background: linear-gradient(120deg, var(--blush) 0 38%, var(--pistachio) 38% 70%, var(--butter) 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: rgba(255,255,255,.88); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; margin: 12px 0 18px; color: var(--cocoa); }
.hero h1 span { display: block; color: var(--raspberry); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-plate { max-width: 480px; justify-self: center; width: 100%; --frost: #F4C7CC; --drip: #6B4231; --msg: #3B2420; }
.hero-plate .cake { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- the cake (shared by hero and builder) ---------- */
.cake { width: 100%; height: auto; display: block; }
.cake .frost { fill: var(--frost, #F4C7CC); transition: fill .35s; }
.cake .drip { fill: var(--drip, #6B4231); transition: fill .35s; }
.cake-msg { font: 400 26px var(--head); fill: var(--msg, #3B2420); }
.tier-top { transition: opacity .3s; }

/* ---------- cake builder (signature) ---------- */
.design { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2, .sec-title { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--cocoa); }
.builder { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } }
.cake-stage { position: sticky; top: 96px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); --frost: #F4C7CC; --drip: #6B4231; --msg: #3B2420; }
@media (max-width: 900px) { .cake-stage { position: static; } }
.cake-price { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.cake-price b { font: 400 2rem var(--head); color: var(--raspberry); }
.cake-form { display: grid; gap: 20px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.cq { border: 0; padding: 0; margin: 0; min-width: 0; }
.cq legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input, .swatches input { position: absolute; opacity: 0; }
.pills span { display: grid; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 600; }
.pills small { font-weight: 400; font-size: .78rem; color: var(--muted); }
.pills input:checked + span { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.pills input:checked + span small { color: #F1DCD6; }
.pills input:focus-visible + span, .swatches input:focus-visible + span { outline: 3px solid var(--raspberry); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { cursor: pointer; }
.swatches > label > span { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--sw); border: 2px solid rgba(59,36,32,.15); }
.swatches input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--cocoa); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 6px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--raspberry); }
.check small { font-weight: 400; color: var(--muted); }

/* ---------- counter, promises, reviews ---------- */
.counter-list { columns: 2; column-gap: 48px; }
.counter-list .dish { break-inside: avoid; }
@media (max-width: 860px) { .counter-list { columns: 1; } }
.promise-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-grid li { padding: 28px; border-radius: var(--radius-lg); }
.promise-grid .p1 { background: var(--blush); } .promise-grid .p2 { background: var(--butter); } .promise-grid .p3 { background: var(--pistachio); }
.promise-grid h3 { font: 400 1.6rem var(--head); color: var(--cocoa); margin-bottom: 8px; }
.quote-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 24px; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-grid blockquote { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 26px; border-radius: var(--radius-lg); border: 2px solid var(--line-strong); }
.quote-grid p { font-size: 1.1rem; }
.quote-grid footer { font-weight: 600; color: var(--muted); font-size: .9rem; }

/* ---------- inner pages ---------- */
.page-head { background: var(--soft); margin-bottom: 8px; }
.page-head h1 { color: var(--cocoa); }
.menu-cat-head h2 { color: var(--cocoa); }
.menu-cat-head { border-bottom-color: var(--blush); border-bottom-width: 3px; }
.tag { background: var(--butter); color: var(--cocoa); }
.size-guide { margin-top: 36px; padding: 28px; border-radius: var(--radius-lg); background: var(--soft); }
.size-guide h2 { font: 400 1.8rem var(--head); color: var(--cocoa); margin-bottom: 12px; }
.size-guide ul { list-style: none; display: grid; gap: 0; }
.size-guide li { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 16px; font-size: 1.06rem; }
.prose h2 { font-size: 2rem; color: var(--cocoa); }
.promise { list-style: none; display: grid; gap: 12px; }
.promise li { padding: 16px 18px; border-radius: var(--radius); background: var(--soft); }
.promise li:nth-child(2) { background: #FFF6D6; } .promise li:nth-child(3) { background: #EEF5E8; }
.promise b { display: block; font: 400 1.3rem var(--head); color: var(--cocoa); }

/* ---------- CTA + footer ---------- */
.cta-band { padding-block: clamp(48px, 7vw, 88px); text-align: center; background: var(--blush); }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--cocoa); }
.cta-band p { margin-top: 8px; color: var(--ink); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.cta-band .btn-ghost { border-color: var(--cocoa); }
.footer { background: var(--cocoa); color: #F1DCD6; --footer-line: rgba(255,255,255,.14); }
.footer .logo b { color: #fff; }
.footer .logo b span { color: var(--blush); }
.footer h2 { color: var(--blush); opacity: 1; }
.f-about { margin: 14px 0 10px; max-width: 34ch; }
.footer .credit a { color: #fff; }
