:root {
  --pink: #fb799d;
  --pink-dark: #872f60;
  --teal: #4bd0cf;
  --mint: #a0ddce;
  --lilac: #c9b8e8;
  --deep: #872f60;
  --ink: #1e2524;
  --cream: #fff8f3;
  --muted: #566661;
  --line: rgba(30, 37, 36, 0.12);
  --shadow: 0 22px 50px rgba(30, 37, 36, 0.14);
  --arch: 50% 50% 1.4rem 1.4rem / 30% 30% 1.4rem 1.4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.demo-bar {
  background: var(--pink-dark);
  color: var(--cream);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}
.demo-bar strong { color: var(--mint); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 248, 243, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand svg, .brand img { width: 118px; height: auto; display: block; }
.brand span { display: none; }
.nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--pink-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 4px 0 var(--pink-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--pink-dark);
}
.btn-small { padding: 0.65rem 1rem; font-size: 0.9rem; }
.btn-ghost {
  background: transparent;
  color: var(--pink-dark);
  border-color: var(--pink-dark);
  box-shadow: none;
}
.btn-ghost:hover { box-shadow: none; background: #fff; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 0 0 3rem 3rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--mint) 100%);
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--pink-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.rating { margin-top: 1rem; font-weight: 700; color: var(--pink-dark); }
.hero-media { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--arch);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.logo-badge {
  position: absolute;
  right: -0.5rem;
  bottom: -1.2rem;
  width: clamp(190px, 31vw, 290px);
  background: transparent;
  transform: rotate(-3deg);
}
.logo-badge img,
.logo-badge svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 18px rgba(30, 37, 36, 0.16));
}

.scallop {
  height: 26px;
  background: radial-gradient(
    circle at 50% 0,
    var(--teal) 0 13px,
    transparent 14px
  ) repeat-x;
  background-size: 34px 26px;
}

.ribbon {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section, .gallery-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
}
.section-head { max-width: 48rem; margin-bottom: 2rem; }
.section-lede { color: var(--muted); font-size: 1.05rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.card {
  background: #fff;
  border: 1px solid rgba(135, 47, 96, 0.18);
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(135, 47, 96, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.6rem 1.6rem 0 0;
}
.card-body { padding: 1.1rem 1.2rem 1.3rem; }
.card-body p { color: var(--muted); font-size: 0.92rem; margin: 0.5rem 0 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1240px;
  margin: clamp(1rem, 3vw, 2rem) auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
  background: var(--mint);
  border-radius: 2.6rem;
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--arch);
  border: 6px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}
.split-copy p { color: var(--muted); margin-bottom: 1.4rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--arch);
  border: 5px solid #fff;
  box-shadow: 0 12px 26px rgba(30, 37, 36, 0.08);
  transition: transform 0.25s ease;
}
.gallery img:hover { transform: scale(1.02); }

#build-a-box, #custom-bakes, #menu, #visit, #about { scroll-margin-top: 5.5rem; }
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.order-list { display: grid; gap: 0.8rem; }
.order-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(135, 47, 96, 0.16);
  border-radius: 1.4rem;
  padding: 0.75rem;
  box-shadow: 0 10px 24px rgba(135, 47, 96, 0.06);
}
.order-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 1rem;
}
.order-item h3 { font-size: 1.1rem; }
.order-item p { color: var(--muted); font-size: 0.88rem; margin: 0.25rem 0 0.7rem; }
.order-item-body { display: flex; flex-direction: column; justify-content: space-between; }
.order-item-foot { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; }
.price { color: var(--pink-dark); font-weight: 800; }
.stepper {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(135, 47, 96, 0.18);
  border-radius: 999px;
  padding: 0.15rem;
}
.stepper button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
}
.stepper button:hover { background: var(--pink); color: #fff; }
.stepper output { min-width: 1.2rem; text-align: center; font-weight: 800; }
.order-summary {
  position: sticky;
  top: 6.2rem;
  background: #fff;
  border: 1px solid rgba(135, 47, 96, 0.16);
  border-radius: 1.8rem;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.order-summary h3 { margin: 0.1rem 0 0.9rem; }
.order-lines { list-style: none; margin: 0 0 0.8rem; padding: 0; display: grid; gap: 0.4rem; }
.order-lines li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; }
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(135, 47, 96, 0.18);
  border-bottom: 1px solid rgba(135, 47, 96, 0.18);
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}
.order-total strong { color: var(--pink-dark); font-size: 1.35rem; }
.field {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(135, 47, 96, 0.18);
  border-radius: 0.8rem;
  padding: 0.62rem 0.7rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
}
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.order-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.5rem; }
.order-actions .btn { flex: 1 1 auto; }
.order-status { min-height: 1.2em; margin: 0.55rem 0 0; font-size: 0.82rem; font-weight: 700; color: var(--pink-dark); }
.small { font-size: 0.78rem; }
.order-summary .small { margin: 0.5rem 0 0; }
.custom-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.custom-copy p { color: var(--muted); }
.custom-steps { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 0.8rem; }
.custom-steps li { display: flex; gap: 0.7rem; color: var(--muted); font-size: 0.95rem; }
.custom-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 1.7rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.8rem;
}
.custom-photo {
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--arch);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.enquiry-card {
  background: #fff;
  border: 1px solid rgba(135, 47, 96, 0.16);
  border-radius: 1.8rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.enquiry-card h3 { margin: 0.1rem 0 1rem; }
.enquiry-card fieldset { border: 0; padding: 0; margin: 0 0 0.7rem; }
.enquiry-card legend { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(135, 47, 96, 0.18);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.chip input:checked + span { background: var(--pink); border-color: var(--pink-dark); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--pink-dark); outline-offset: 2px; }
.mobile-order { display: none; }

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1240px;
  margin: clamp(1rem, 3vw, 2rem) auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  background: var(--mint);
  border-radius: 2.6rem;
}
.address { font-size: 1.1rem; font-weight: 700; margin: 0 0 1rem; }
.hours { list-style: none; padding: 0; margin: 0 0 1.6rem; max-width: 22rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(135, 47, 96, 0.18);
}
.hours li span:first-child { color: var(--muted); }
.visit-card {
  background: var(--cream);
  border: 1px solid rgba(135, 47, 96, 0.18);
  border-radius: 1.8rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.visit-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.8rem 1.8rem 0 0;
}
.visit-card-body { padding: 1.2rem 1.4rem 1.4rem; }
.visit-card-body p { margin: 0.2rem 0; }

.about {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--cream) 0%, var(--mint) 100%);
}
.about-inner { max-width: 56rem; margin: 0 auto; text-align: center; }
.about-inner p { color: var(--muted); font-size: 1.1rem; }

.site-footer {
  display: grid;
  gap: 0.4rem;
  place-items: center;
  padding: 2.8rem 1rem 3.2rem;
  background: var(--mint);
  color: var(--ink);
  text-align: center;
}
.footer-brand { display: flex; align-items: center; }
.footer-brand svg, .footer-brand img { width: 150px; height: auto; display: block; }
.site-footer p { margin: 0; color: var(--ink); }
.site-footer .muted { font-size: 0.8rem; color: #456f68; max-width: 48rem; }

@media (max-width: 960px) {
  .hero, .split, .visit, .order-grid, .custom-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
}
@media (max-width: 560px) {
  body { padding-bottom: 5.5rem; }
  .cards { grid-template-columns: 1fr; }
  .logo-badge { width: 150px; right: 0.5rem; bottom: -0.8rem; }
  .site-header { padding: 0.7rem 1rem; }
  .brand svg, .brand img { width: 96px; }
  .split, .visit { border-radius: 1.8rem; }
  .order-item { grid-template-columns: 72px minmax(0, 1fr); }
  .order-item img { width: 72px; height: 72px; }
  .field-row { grid-template-columns: 1fr; }
  .mobile-order {
    display: flex;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(30, 37, 36, 0.24);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
