:root {
  --cream: #FFF8F1;
  --white: #FFFFFF;
  --plum: #3A1630;
  --muted: #6B5560;
  --berry: #C8233F;
  --berry-dark: #A81B33;
  --honey: #F2B33D;
  --blush: #F6CDD3;
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Figtree", system-ui, sans-serif;
  background: var(--cream);
  color: var(--plum);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
}
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  background: var(--berry);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.btn:hover { background: var(--berry-dark); }
.btn-small { padding: 0.55rem 1.2rem; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--plum); }
.btn-light:hover { background: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 22, 48, 0.08);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}
.logo-mark { display: flex; flex-direction: column; gap: 3px; }
.logo-mark i { display: block; width: 22px; height: 6px; border-radius: 3px; }
.logo-mark i:nth-child(1) { background: var(--berry); }
.logo-mark i:nth-child(2) { background: var(--blush); }
.logo-mark i:nth-child(3) { background: var(--honey); }
.nav { display: none; gap: 2rem; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--berry); }

/* Hero */
.hero { padding: 1.25rem 0 3.5rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero-art { position: relative; width: min(100%, 440px); margin-inline: auto; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 10%;
  background: var(--blush);
  border-radius: 999px 999px var(--radius) var(--radius);
}
.hero-art img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 999px 999px var(--radius) var(--radius);
  animation: rise 0.9s ease both;
}
.badge {
  position: absolute;
  left: -0.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--white);
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(58, 22, 48, 0.15);
}
.badge span { width: 10px; height: 10px; border-radius: 50%; background: #4CAF50; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-white { background: var(--white); }
.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }

/* Flavour cards */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(58, 22, 48, 0.08);
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.price { color: var(--berry); font-weight: 700; white-space: nowrap; }
.card p { color: var(--muted); font-size: 1rem; flex: 1; }
.link { font-weight: 700; color: var(--berry); text-underline-offset: 4px; }
.link:hover { color: var(--berry-dark); }

/* How it's made */
.made-grid { display: grid; gap: 2.5rem; align-items: center; }
.made-img { width: 100%; max-width: 480px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-inline: auto; }
.layers { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 0.85rem; }
.layer { padding: 1rem 1.25rem; background: var(--cream); border-radius: 16px; border-left: 10px solid; }
.layer h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.layer p { color: var(--muted); font-size: 1rem; }
.layer-fruit { border-color: var(--berry); }
.layer-yogurt { border-color: var(--blush); }
.layer-granola { border-color: var(--honey); }

/* Order panel */
.panel {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 1.75rem;
  background: var(--berry);
  color: var(--white);
  border-radius: 32px;
}
.panel p { margin-bottom: 1.75rem; max-width: 30rem; }
.details { display: grid; gap: 1.1rem; align-content: center; padding: 1.5rem; background: rgba(255, 255, 255, 0.14); border-radius: 20px; }
.details dt { font-weight: 700; }
.details dd { margin: 0; }

/* Footer */
.site-footer { padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.95rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }
.foot a { text-underline-offset: 3px; }

/* Larger screens */
@media (min-width: 760px) {
  .nav { display: flex; }
  .panel { grid-template-columns: 1.2fr 1fr; padding: 3.5rem; gap: 3rem; }
}
@media (min-width: 880px) {
  .hero { padding: 1.5rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .hero-art { margin-inline: 0 0; }
  .badge { left: -2rem; }
  .made-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; }
  .made-img { margin-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img { animation: none; }
}