/* =========================================================
   Whip'd Pavlova — shared styles
   Palette: berry & meringue. Fonts: Rammetto One (display),
   Fredoka (labels), Nunito (body).
   ========================================================= */

:root {
  /* Brand colours */
  --berry: #7a1235;          /* deep raspberry — main brand colour */
  --berry-ink: #3f0a1d;      /* darkest, for text */
  --raspberry: #c2255c;      /* bright accent */
  --blush: #f8d3dc;          /* soft pink panels */
  --meringue: #fff6ec;       /* page background */
  --cream: #fffdf9;          /* cards */
  --passion: #f6c945;        /* passionfruit yellow pop */
  --mint: #cfe8d5;           /* small fresh accent */
  --line: rgba(63, 10, 29, 0.14);

  /* Semantic tokens */
  --color-bg: var(--meringue);
  --color-fg: var(--berry-ink);
  --color-muted: #6e3a4c;
  --color-primary: var(--berry);
  --color-on-primary: var(--meringue);
  --color-ring: var(--raspberry);
  --color-error: #b3261e;

  /* Type */
  --font-display: "Rammetto One", "Arial Black", system-ui, sans-serif;
  --font-label: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;

  /* Spacing (spacious scale) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;

  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 36px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  --shadow: 0 1px 0 rgba(63, 10, 29, 0.06), 0 12px 32px -16px rgba(63, 10, 29, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -100px;
  z-index: 1000;
  background: var(--berry);
  color: var(--meringue);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: var(--space-3); }

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--raspberry);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.tag {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--passion);
  color: var(--berry-ink);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--berry);
  --btn-fg: var(--meringue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(63, 10, 29, 0.6); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--berry); border-color: var(--berry); }
.btn--ghost:hover { background: var(--berry); color: var(--meringue); }

.btn--light { --btn-bg: var(--meringue); --btn-fg: var(--berry); border-color: var(--meringue); }
.btn--yellow { --btn-bg: var(--passion); --btn-fg: var(--berry-ink); border-color: var(--passion); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-weight: 600;
  color: var(--berry);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  min-height: 32px;
}
.text-link svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  color: var(--berry);
}
.wordmark__main {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  position: relative;
}
.wordmark__sub {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.52em;
  margin-top: 4px;
  padding-left: 0.52em; /* optically centre the tracked text */
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--meringue) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 76px;
}

.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav__list {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--berry-ink);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 2px;
  background: var(--raspberry);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--raspberry); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--berry);
  border-radius: 999px;
  background: transparent;
  color: var(--berry);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 4px; }
.menu-toggle__bars span {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    padding: var(--space-4) var(--gutter) var(--space-5);
    background: var(--meringue);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(63, 10, 29, 0.35);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { font-family: var(--font-display); font-size: 1.6rem; min-height: 56px; }
  .nav__link::after { bottom: 10px; right: auto; width: 40px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 10vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 { font-size: clamp(2.2rem, 6vw, 4rem); color: var(--berry); }
.section-head p { max-width: 42ch; color: var(--color-muted); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__title {
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  color: var(--berry);
  margin-bottom: var(--space-4);
}
.hero__title .line { display: block; }
.hero__title .squiggle { color: var(--raspberry); position: relative; white-space: nowrap; }
.hero__title .squiggle svg {
  position: absolute;
  left: 0; right: 0; bottom: -0.18em;
  width: 100%; height: 0.32em;
  color: #e0558a;
  z-index: -1;
}

.cycler {
  font-family: var(--font-label);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.cycler__word {
  display: inline-block;
  color: var(--raspberry);
  font-weight: 700;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.cycler__word.is-out { opacity: 0; transform: translateY(8px); }

.hero__lede { font-size: 1.12rem; max-width: 46ch; color: var(--color-muted); margin-bottom: var(--space-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__media { position: relative; }
.hero__photo {
  border-radius: 48% 52% 46% 54% / 56% 50% 50% 44%;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  background: var(--blush);
  box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.badge-spin {
  position: absolute;
  left: -22px;
  bottom: 8%;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--passion);
  color: var(--berry-ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.badge-spin svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-spin text { font-family: var(--font-label); font-weight: 600; font-size: 13.5px; letter-spacing: 2.4px; fill: currentColor; }
.badge-spin .badge-spin__centre { width: 38px; height: 38px; color: var(--berry); }

.sprinkle { position: absolute; pointer-events: none; color: var(--raspberry); }
.sprinkle--a { top: -10px; right: 6%; width: 54px; color: var(--passion); }
.sprinkle--b { bottom: -18px; right: 22%; width: 40px; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .badge-spin { left: -6px; width: 110px; height: 110px; }
}

/* ---------- Seasonal feature card ---------- */
.feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  background: var(--berry);
  color: var(--meringue);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.feature__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  transform: rotate(-3deg);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.55);
}
.feature__photo img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: var(--space-3) 0; color: var(--meringue); }
.feature p { color: color-mix(in srgb, var(--meringue) 86%, transparent); max-width: 44ch; font-size: 1.06rem; }
.feature .btn { margin-top: var(--space-4); }
.feature__swirl { position: absolute; right: 24px; bottom: 16px; width: 120px; color: var(--passion); opacity: 0.9; }
.feature__note { font-size: 0.9rem !important; opacity: 0.8; margin-top: var(--space-2); }

@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature__swirl { width: 80px; }
}

/* ---------- Pick your pavlova ---------- */
.pick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.pav-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.pav-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pav-card__media { aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--blush); }
.pav-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.pav-card:hover .pav-card__media img { transform: scale(1.05); }
.pav-card__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); flex: 1; }
.pav-card__num { font-family: var(--font-label); font-weight: 600; color: var(--raspberry); font-size: 0.95rem; }
.pav-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--berry); }
.pav-card p { color: var(--color-muted); }
.pav-card__good {
  font-size: 0.92rem;
  color: var(--berry-ink);
  border-top: 1px dashed var(--line);
  padding-top: var(--space-3);
  margin-top: auto;
}
.pav-card__good strong { font-family: var(--font-label); font-weight: 600; }
.pav-card .text-link { align-self: flex-start; margin-top: var(--space-2); }

@media (max-width: 1100px) { .pick-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pick-grid { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--passion);
  color: var(--berry);
  overflow: hidden;
  border-block: 2px solid var(--berry);
  transform: rotate(-1.5deg);
  margin-block: clamp(24px, 4vw, 48px);
  width: 104%;
  margin-left: -2%;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 14px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  white-space: nowrap;
}
.marquee__group svg { width: 1.3em; height: 1em; color: var(--raspberry); stroke-width: 3; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Meet Whip'd ---------- */
.meet {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--blush);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 56px);
  position: relative;
}
.meet__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; }
.meet__photo img { width: 100%; height: 100%; object-fit: cover; }
.meet h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); color: var(--berry); margin-bottom: var(--space-4); }
.meet p { font-size: 1.08rem; max-width: 50ch; }
.meet .btn { margin-top: var(--space-4); }
.meet__sticker {
  position: absolute;
  top: -28px; right: clamp(16px, 4vw, 48px);
  width: 112px; height: 112px;
  border-radius: 50%;
  background: var(--berry);
  color: var(--meringue);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-label);
  font-weight: 600;
  line-height: 1.15;
  font-size: 0.95rem;
  transform: rotate(10deg);
  box-shadow: var(--shadow);
}

@media (max-width: 760px) {
  .meet { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-4) var(--space-4);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px; left: var(--space-4);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--raspberry);
  color: var(--meringue);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.step h3 { font-family: var(--font-label); font-weight: 600; font-size: 1.35rem; color: var(--berry); margin-bottom: var(--space-2); line-height: 1.2; }
.step p { color: var(--color-muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Follow ---------- */
.social-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--raspberry);
  color: #fff;
  font-family: var(--font-label);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.social-pill:hover { background: var(--berry); transform: translateY(-2px); }
.social-pill svg { width: 18px; height: 18px; }

.follow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  grid-auto-rows: clamp(170px, 20vw, 270px);
  gap: clamp(10px, 1.6vw, 18px);
}
.follow-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--blush); position: relative; }
.follow-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.follow-grid figure:hover img { transform: scale(1.05); }
.follow-grid .tall { grid-column: 3; grid-row: 1 / span 2; }
.follow-grid .wide { grid-column: 1 / span 2; }
@media (max-width: 700px) {
  .follow-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .follow-grid .tall { grid-column: 2; grid-row: span 2; }
  .follow-grid .wide { grid-column: 1 / -1; }
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: var(--meringue);
}
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); color: var(--berry); margin-bottom: var(--space-3); }
.cta-band p { color: var(--color-muted); max-width: 48ch; margin: 0 auto var(--space-5); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--berry);
  color: var(--meringue);
  padding-top: clamp(56px, 8vw, 88px);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-5);
}
.site-footer h3 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--passion);
  margin-bottom: var(--space-3);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer a svg { width: 18px; height: 18px; }
.site-footer p { color: color-mix(in srgb, var(--meringue) 85%, transparent); max-width: 34ch; }
.site-footer :focus-visible { outline-color: var(--passion); }

.footer-word {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 17vw, 15rem);
  white-space: nowrap;
  line-height: 0.85;
  text-align: center;
  color: var(--raspberry);
  margin-top: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  border-top: 1px solid rgba(255, 246, 236, 0.2);
  padding-block: var(--space-4);
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--meringue) 80%, transparent);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); } }

/* ---------- Page hero (About / Contact) ---------- */
.page-hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 6rem); color: var(--berry); max-width: 14ch; }
.page-hero p { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-top: var(--space-4); }

/* ---------- About ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.story__text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--berry); margin-bottom: var(--space-4); }
.story__text p { font-size: 1.08rem; }
.story__text .signoff { font-family: var(--font-label); font-weight: 600; font-size: 1.3rem; color: var(--raspberry); margin-top: var(--space-4); }

.stagger-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.stagger-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--blush); }
.stagger-photos figure:nth-child(even) { transform: translateY(18%); }
.stagger-photos img { width: 100%; height: 100%; object-fit: cover; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.value {
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-4);
  background: var(--cream);
  border: 1px solid var(--line);
}
.value:nth-child(2) { background: var(--blush); border-color: transparent; }
.value:nth-child(3) { background: var(--mint); border-color: transparent; }
.value svg { width: 40px; height: 40px; color: var(--raspberry); margin-bottom: var(--space-3); }
.value h3 { font-family: var(--font-label); font-weight: 600; font-size: 1.4rem; color: var(--berry); margin-bottom: var(--space-2); line-height: 1.2; }
.value p { color: var(--berry-ink); }

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .stagger-photos { margin-bottom: 18%; }
}

/* ---------- Placeholder note ---------- */
.placeholder {
  background: color-mix(in srgb, var(--passion) 40%, transparent);
  border-radius: 4px;
  padding: 0 4px;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-aside {
  position: sticky;
  top: 100px;
  background: var(--berry);
  color: var(--meringue);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
}
.contact-aside h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--space-3); }
.contact-aside p { color: color-mix(in srgb, var(--meringue) 88%, transparent); }
.contact-aside ul { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-3); }
.contact-aside li { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-aside li svg { width: 22px; height: 22px; flex: none; color: var(--passion); margin-top: 2px; }
.contact-aside a { color: var(--meringue); }
.contact-aside :focus-visible { outline-color: var(--passion); }

.form { display: grid; gap: var(--space-5); }
.form[hidden] { display: none; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  color: var(--berry);
  margin-bottom: var(--space-4);
  padding: 0;
}
.form legend span { font-family: var(--font-label); font-weight: 600; font-size: 0.95rem; color: var(--raspberry); display: block; margin-bottom: 4px; letter-spacing: 0.06em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-row + .form-row, .field + .field { margin-top: var(--space-4); }
.form-row > .field + .field { margin-top: 0; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; }
.field label, .field .label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  color: var(--berry-ink);
}
.req { color: var(--raspberry); }
.optional { font-family: var(--font-body); font-weight: 400; font-size: 0.88rem; color: var(--color-muted); }
.hint { font-size: 0.9rem; color: var(--color-muted); }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid rgba(63, 10, 29, 0.22);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--berry-ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a1235' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
}
.input:hover, .select:hover, .textarea:hover { border-color: rgba(63, 10, 29, 0.4); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--raspberry);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--raspberry) 22%, transparent);
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--color-error); }
.error-msg { display: none; align-items: center; gap: 6px; font-size: 0.92rem; color: var(--color-error); font-weight: 600; }
.error-msg svg { width: 16px; height: 16px; flex: none; }
.field.has-error .error-msg { display: flex; }

/* choice cards (radio) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-3); }
.choices--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .choices { grid-template-columns: 1fr 1fr; } .choices--2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  min-height: 92px;
  padding: 14px 16px;
  border: 2px solid rgba(63, 10, 29, 0.18);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color var(--dur-fast), background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.choice__box svg { width: 26px; height: 26px; color: var(--raspberry); }
.choice__title { font-family: var(--font-label); font-weight: 600; font-size: 1.02rem; color: var(--berry-ink); line-height: 1.25; }
.choice__sub { font-size: 0.85rem; color: var(--color-muted); line-height: 1.35; }
.choice input:hover + .choice__box { border-color: rgba(63, 10, 29, 0.4); }
.choice input:checked + .choice__box {
  border-color: var(--berry);
  background: var(--blush);
}
.choice input:checked + .choice__box::after {
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--berry) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff6ec' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.choice input:focus-visible + .choice__box { outline: 3px solid var(--color-ring); outline-offset: 3px; }
.choices.has-error .choice__box { border-color: var(--color-error); }

.error-summary {
  display: none;
  border: 2px solid var(--color-error);
  background: #fdecea;
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--berry-ink);
}
.error-summary.is-visible { display: block; }
.error-summary h2 { font-family: var(--font-label); font-weight: 600; font-size: 1.15rem; color: var(--color-error); margin-bottom: var(--space-2); }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--color-error); font-weight: 600; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form-actions .hint { max-width: 36ch; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }

.form-success {
  display: none;
  text-align: center;
  background: var(--blush);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 48px);
}
.form-success.is-visible { display: block; }
.form-success svg { width: 72px; height: 72px; color: var(--berry); margin: 0 auto var(--space-4); }
.form-success h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--berry); margin-bottom: var(--space-3); }
.form-success p { max-width: 44ch; margin-inline: auto; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; order: -1; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Icons (inline SVG sprite) ---------- */
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--fill { fill: currentColor; stroke: none; }
.site-footer .wordmark { color: var(--meringue); align-items: flex-start; }
.error-msg--group { display: flex; margin-top: var(--space-2); }
.error-msg--group[hidden] { display: none; }

/* ---------- Thanksgiving trio ---------- */
.feature--trio { display: block; }
.feature__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4); margin-bottom: clamp(24px, 4vw, 40px); }
.feature__head h2 { margin-bottom: 0; }
.feature__head > p { max-width: 44ch; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.trio-card { background: rgba(255, 246, 236, 0.08); border: 1px solid rgba(255, 246, 236, 0.16); border-radius: var(--radius); padding: var(--space-3); }
.trio-card__photo { border-radius: calc(var(--radius) - 8px); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: var(--space-3); background: rgba(255,246,236,0.1); }
.trio-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.trio-card:hover .trio-card__photo img { transform: scale(1.05); }
.trio-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--passion); margin: 0 var(--space-2) var(--space-2); }
.trio-card p { margin: 0 var(--space-2) var(--space-2); font-size: 1rem; }
.feature__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: clamp(24px, 4vw, 40px); position: relative; z-index: 1; }
.feature__foot .btn { margin-top: 0; }
.feature__foot .feature__note { margin: 0; }
.feature--trio .feature__swirl { top: 24px; bottom: auto; right: 32px; width: 90px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } .feature--trio .feature__swirl { display: none; } }

/* ---------- Logo image ---------- */
.wordmark__img { display: block; height: 52px; width: auto; }
.wordmark__img--footer { height: 72px; }
@media (max-width: 520px) { .wordmark__img { height: 44px; } }

/* ---------- Pink banner with wink faces ---------- */
.marquee { background: var(--blush); }
.marquee__group svg.wink { width: 1em; height: 1em; flex: none; }

/* ---------- Pick your pavlova: sideways scroller ---------- */
.pick-scroller {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  padding: 10px var(--gutter) 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--rasp, #c2255c) transparent;
  overscroll-behavior-x: contain;
}
.pick-scroller:focus-visible { outline-offset: -3px; }
.pick-track { display: flex; gap: clamp(16px, 2.4vw, 28px); width: max-content; }
.pick-track .pav-card { flex: 0 0 min(440px, 82vw); scroll-snap-align: start; }
.scroller-controls { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }
.scroll-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--berry); background: var(--cream); color: var(--berry);
  cursor: pointer; font-size: 1.2rem;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.scroll-btn:hover:not([disabled]) { background: var(--berry); color: var(--meringue); }
.scroll-btn[disabled] { opacity: .35; cursor: default; }

/* ---------- Let's Create Together banner ---------- */
.custom-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--berry); color: var(--meringue);
  text-decoration: none;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.custom-banner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.custom-banner > div { max-width: 60ch; }
.custom-banner__label { font-family: var(--font-label); font-weight: 600; color: var(--passion); font-size: .95rem; }
.custom-banner h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--meringue); margin: 6px 0 var(--space-2); }
.custom-banner p { color: color-mix(in srgb, var(--meringue) 88%, transparent); font-size: 1.05rem; margin: 0; }
.custom-banner .btn { flex: none; }

/* ---------- Thanksgiving tasting-note tiles ---------- */
.trio-card { padding: var(--space-4); }
.trio-card__label { display: block; font-family: var(--font-label); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blush); opacity: .85; margin: 0 0 var(--space-2); }
.trio-card h3 { margin: 0 0 var(--space-3); font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.notes li { display: flex; align-items: baseline; gap: 10px; font-size: 1.02rem; color: color-mix(in srgb, var(--meringue) 92%, transparent); }
.notes li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--passion); flex: none; transform: translateY(-1px); }

/* ---------- No yellow text or bullets: pinks & whites ---------- */
:root { --pink: #f29bb2; }
.tag { background: var(--blush); color: var(--berry); }
.btn--yellow { --btn-bg: var(--blush); --btn-fg: var(--berry); border-color: var(--blush); }
.btn--yellow:hover { --btn-bg: var(--meringue); border-color: var(--meringue); }
.feature__swirl { color: var(--pink); }
.trio-card h3 { color: var(--blush); }
.trio-card__label { color: var(--pink); opacity: 1; }
.notes li::before { background: var(--pink); }
.custom-banner__label { color: var(--pink); }
.site-footer h3 { color: var(--pink); }
.site-footer :focus-visible, .contact-aside :focus-visible { outline-color: var(--blush); }
.contact-aside li svg { color: var(--pink); }
.placeholder { background: color-mix(in srgb, var(--pink) 45%, transparent); }

/* ---------- Tasting notes stay side by side ---------- */
@media (max-width: 860px) {
  .trio { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .trio-card { padding: var(--space-3); }
  .notes li { font-size: .95rem; }
}
@media (max-width: 600px) {
  .trio { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
  .trio-card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---------- Hero: smaller circle photo to the right of the text ---------- */
.hero__grid { grid-template-columns: 1fr clamp(150px, 30vw, 380px); }
.hero__media { justify-self: end; width: 100%; }
.hero__photo { aspect-ratio: 1 / 1; border-radius: 50%; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr clamp(150px, 32vw, 280px); gap: 24px; }
  .hero__media { max-width: none; margin: 0; }
}
@media (max-width: 600px) {
  .hero__grid { grid-template-columns: 1fr 118px; column-gap: 16px; row-gap: 0; align-items: start; }
  .hero__grid > div:first-child { display: contents; }
  .hero__grid .eyebrow, .hero__title, .cycler, .hero__actions { grid-column: 1 / -1; }
  .hero__lede { grid-column: 1; grid-row: 4; margin-bottom: var(--space-4); }
  .hero__media { grid-column: 2; grid-row: 4; align-self: start; margin-top: 4px; }
}

/* ---------- About: single photo of the maker ---------- */
.story__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 2 / 3; max-width: 460px; justify-self: end; width: 100%; box-shadow: var(--shadow); background: var(--blush); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .story__photo { justify-self: center; } }

/* ---------- Card 5: Let's Create Together (berry card in the row) ---------- */
.pav-card--custom { background: var(--berry); border-color: var(--berry); color: var(--meringue); }
.pav-card--custom .pav-card__body { justify-content: center; padding: clamp(28px, 3vw, 40px); gap: var(--space-3); }
.pav-card--custom .pav-card__num { color: var(--pink); }
.pav-card--custom h3 { color: var(--meringue); font-size: clamp(1.9rem, 3vw, 2.4rem); }
.pav-card--custom p { color: color-mix(in srgb, var(--meringue) 88%, transparent); }
.pav-card--custom .pav-card__good { color: var(--meringue); border-top-color: rgba(255, 246, 236, 0.25); margin-top: 0; }
.pav-card--custom .btn { align-self: flex-start; margin-top: var(--space-2); }

/* ---------- One-page sections: leave room for the sticky header ---------- */
#pick, #about { scroll-margin-top: 90px; }

/* ---------- What's a pavlova? ---------- */
.whats-pav { text-align: center; }
.whats-pav .eyebrow { justify-content: center; }
.whats-pav .eyebrow::before { display: none; }
.whats-pav__text { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.6; color: var(--berry-ink); max-width: 46ch; margin: 0 auto; }

/* ---------- Keep tile links lined up at the bottom ---------- */
.pav-card .text-link { margin-top: auto; padding-top: var(--space-3); }
.pav-card--custom .btn { margin-top: auto; }
