/*
  Berry Healthy
  One page, four sections: Home, About, Ingredients and FAQ.

  Type pairing: a tight, heavy grotesque headline (Work Sans Black on Home
  and About, Inter Tight Bold on Ingredients, as in the Canva file) reads
  as a confident product brand. Raleway carries nav and body copy, and a
  thin handwritten note (Kalam) adds the human touch on an otherwise clean
  layout.

  Layout: below the desktop breakpoint everything stacks in normal flow.
  From the breakpoint up, each section is a 1366 x 768 Canva page scaled to
  the viewport width, stacked one after another. --u is one Canva pixel, so
  every position and size below is copied straight from the design file.
*/

:root {
  /* Colours sampled from the Canva exports in /reference */
  --cream: #f9f4f2;            /* page background, page-1-home.png at (300, 80) */
  --cream-wave: #f9f3ed;       /* wave layer fill, wave export at (900, 620) */
  --cream-ingredients: #f6f1ed;/* page-3-ingredients.png at (300, 300) */
  --cream-about: #f6f0ef;      /* page-2-about.png right half, behind the copy */
  --ink: #110d1e;              /* headline and nav text, Canva text colour */
  --ink-soft: #41424e;         /* About paragraph, Canva text colour */
  --muted: #666877;            /* Ingredients body. Sampled #737684, darkened to pass WCAG AA */
  --berry: #6b27a2;            /* Home headline keyword, Canva text colour */
  --berry-about: #602b9b;      /* About keyword */
  --berry-ingredients: #642e97;/* Ingredients keyword */
  --berry-deep: #57198f;       /* Shop Now pill, sampled at (1140, 25) */
  --lilac: #ead7eb;            /* active nav pill, sampled at (495, 40) */
  --lilac-soft: #f2e4ec;       /* icon circles, sampled at (175, 675) */
  --lilac-deep: #cea3d3;       /* big ellipse behind the pouch, sampled at (1300, 300) */
  --plum: #3b0c62;             /* thin-line icons, Canva recolour value */
  --note: #3b154b;             /* handwritten note on Home */
  --note-grey: #545564;        /* handwritten note on Ingredients */
  --powder: #b0307a;           /* artwork only */
  --leaf: #5f8f3e;             /* artwork only */
  --white: #ffffff;

  --font-display: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display-alt: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --font-body-alt: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Kalam", "Comic Sans MS", cursive;

  --page-bg: var(--cream);
  --accent: var(--berry);
  --gutter: 16px;
  --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--berry-deep);

  /* One Canva pixel: 1/1366 of the width of .site-main or the header,
     which are the size containers (cqw ignores the scrollbar, vw does not). */
  --u: calc(100vw / 1366);
}

@supports (width: 1cqw) {
  :root { --u: calc(100cqw / 1366); }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--page-bg);
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-main { container-type: inline-size; }

.section-about { --page-bg: var(--cream-about); --accent: var(--berry-about); }
.section-ingredients { --page-bg: var(--cream-ingredients); --accent: var(--berry-ingredients); }

img,
svg { display: block; max-width: 100%; }
picture { display: contents; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--berry-deep);
  outline-offset: 3px;
}
.brand:focus-visible { border-radius: 6px; }
.btn-primary:focus-visible { outline-color: var(--ink); }

[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--berry-deep);
  color: var(--white);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(249, 244, 242, 0.97);
  box-shadow: 0 1px 0 rgba(17, 13, 30, 0.06);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px var(--gutter);
}

.brand { display: block; margin-right: auto; border-radius: 4px; }
.brand img { width: 116px; height: auto; }

.site-nav { order: 3; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-list {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: var(--gutter);
  right: var(--gutter);
  padding: 10px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(59, 12, 98, 0.16);
}
.nav-list.is-open { display: grid; gap: 4px; }

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 17px;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-list a:hover { background: var(--cream); }
.nav-list a[aria-current] { background: var(--lilac); color: var(--berry); }

.header-actions {
  order: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
}
.cart-link svg { width: 29px; height: 27px; }

.header-actions .btn { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-primary {
  background: var(--berry-deep);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(87, 25, 143, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(87, 25, 143, 0.28); }

.watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 6px 0 0;
  border: 0;
  border-radius: 999px;
  background: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.play-circle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(17, 13, 30, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.play-circle svg { width: 14px; height: 16px; margin-left: 3px; }
.watch-btn:hover .play-circle { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(17, 13, 30, 0.12); }

/* ---------- Shared type ---------- */

.headline {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 0.8;
  font-size: clamp(56px, 18.5vw, 104px);
}
.headline span { display: block; }
.headline .accent { color: var(--accent); }

.section-about .headline { letter-spacing: -0.03em; line-height: 0.9; font-size: clamp(52px, 15.5vw, 96px); }

.section-ingredients .headline {
  font-family: var(--font-display-alt);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.86;
  font-size: clamp(52px, 16vw, 96px);
}

.lede {
  max-width: 34em;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.35;
}
.section-about .lede { color: var(--ink-soft); }
.section-ingredients .lede { font-family: var(--font-body-alt); color: var(--muted); letter-spacing: -0.005em; }

/* ---------- Hero (stacked by default) ---------- */

.stage { position: relative; background: var(--page-bg); }
.section-about,
.section-ingredients,
.section-faq { padding-top: 48px; }
.section-faq { padding-bottom: 64px; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); }

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 10px var(--gutter) 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 26px;
}

.hero-art {
  position: relative;
  z-index: 1;
  margin-top: 8px;
}
.hero-art > img,
.hero-art picture img { width: 100%; height: auto; }

.note {
  position: absolute;
  z-index: 4;
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--note);
  line-height: 1.3;
  letter-spacing: 0;
}
.note span { display: block; white-space: nowrap; }
.note-arrow { position: absolute; z-index: 4; color: #1d1a2b; }

.wave { display: none; }
.float { display: none; }

/* Home, stacked */
.art-home { margin-top: -6px; }
/* Arrow offsets are in em of the note size, taken from the Canva frames */
.art-home .note,
.art-home .note-arrow { font-size: clamp(11px, 3.2vw, 15px); }
.art-home .note { top: 6%; left: calc(96% - 7.5em); width: 7.5em; transform: rotate(-10.4deg); }
.art-home .note-arrow { top: calc(6% + 3.19em); left: calc(96% - 10.5em); width: 3em; }

.features {
  position: relative;
  z-index: 3;
  padding: 28px var(--gutter) 44px;
  background: var(--cream-wave);
}
.features ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
}
.features li { display: flex; align-items: center; gap: 12px; }
.feature-label { font-weight: 700; font-size: 15px; line-height: 1.4; }

.icon-circle {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f3e7ee 0 58%, #efdfea 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  color: var(--plum);
}
.icon-circle svg { width: 66%; height: 66%; overflow: visible; }
.icon-circle.icon-leaf svg { width: 77%; height: 77%; }

/* About, stacked */
.section-about { display: flex; flex-direction: column; }
.section-about .hero-copy { order: 1; }
.art-about {
  order: 2;
  width: 100%;
  margin-top: 28px;
  aspect-ratio: 720 / 760;
  overflow: hidden;
}
.hero-art.art-about img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 50%;
}

/* Ingredients, stacked */
.art-ingredients { margin: 18px 0 0; }
.art-ingredients .note,
.art-ingredients .note-arrow { font-size: clamp(12px, 3.4vw, 19px); }
.art-ingredients .note {
  top: 6%;
  left: 6%;
  width: 7.84em;
  color: var(--note-grey);
  line-height: 1.4;
  letter-spacing: 0.08em;
  transform: rotate(-31.3deg);
}
.art-ingredients .note-arrow { top: calc(6% + 4.2em); left: calc(6% + 3.85em); width: 3em; }

.benefit-list {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 18px;
  padding: 28px var(--gutter) 48px;
}
.benefit-list li { display: flex; align-items: center; gap: 16px; }
.benefit-list .icon-circle { width: 64px; height: 64px; }
.benefit-title {
  display: block;
  font-family: var(--font-body-alt);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.benefit-text {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body-alt);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--muted);
}

/* FAQ, stacked */
.faq-list { display: grid; gap: 12px; margin-top: 26px; }
.faq-item {
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17, 13, 30, 0.04);
  transition: background-color 0.2s ease;
}
.faq-item[open] { background: var(--lilac-soft); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 14px 12px 22px;
  border-radius: 26px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--berry); }
.faq-sign {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lilac);
}
.faq-sign::before,
.faq-sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--berry-deep);
  transition: transform 0.25s ease;
}
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-answer {
  padding: 0 22px 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- Video dialog ---------- */

.video-dialog {
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(17, 13, 30, 0.35);
}
.video-dialog::backdrop { background: rgba(17, 13, 30, 0.62); }
.video-dialog-inner { position: relative; padding: 60px 24px 24px; }
.video-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lilac);
  cursor: pointer;
}
.video-close svg { width: 18px; height: 18px; }
.video-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: var(--lilac-soft);
  overflow: hidden;
}
.video-slot p { padding: 24px; font-size: 18px; text-align: center; }
.video-slot video { width: 100%; height: 100%; background: #000; }

/* ---------- Checkout (demo) ---------- */

.checkout { padding: 8px var(--gutter) 64px; }
.checkout-head { margin-bottom: 24px; }
.checkout .headline { font-size: clamp(52px, 15vw, 88px); }
.demo-note {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 18px;
  background: var(--lilac-soft);
  color: var(--plum);
  font-size: 14px;
  line-height: 1.4;
}

.checkout-grid { display: grid; gap: 24px; }
.order-summary { order: -1; }

.checkout-form { display: grid; gap: 18px; }
.form-block {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 0;
  border-radius: 26px;
  background: var(--white);
}
.form-block legend {
  float: left;
  grid-column: 1 / -1;
  width: 100%;
  padding: 0;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.field { grid-column: span 6; min-width: 0; }
.field-full,
.field-suburb { grid-column: 1 / -1; }
.field-third { grid-column: span 6; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}
.optional { font-weight: 600; color: var(--muted); }
.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid #e4d7e3;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  transition: border-color 0.2s ease;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%233b0c62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
.field input::placeholder { color: #9c9aa8; font-weight: 500; }
.field input:hover,
.field select:hover { border-color: #cdb6d6; }
.field input:focus,
.field select:focus { border-color: var(--berry); }
.field input:focus-visible,
.field select:focus-visible { outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.35;
  color: #a1201a;
}
.form-hint {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.form-hint strong { color: var(--ink); white-space: nowrap; }

.ship-options { grid-column: 1 / -1; display: grid; gap: 10px; }
.ship-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid #e4d7e3;
  border-radius: 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ship-option:has(input:checked) { border-color: var(--berry); background: #fcf7fb; }
.ship-option input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--berry); }
.ship-text strong { display: block; font-size: 16px; }
.ship-text span { font-size: 14px; color: var(--muted); }
.ship-price { margin-left: auto; font-weight: 700; }

.btn-place { width: 100%; min-height: 58px; font-size: 17px; gap: 0.7em; }
.btn-place [data-total-button] { padding-left: 0.7em; border-left: 1px solid rgba(255, 255, 255, 0.35); }

.error-summary {
  padding: 18px 22px;
  border: 1.5px solid #ebb9b5;
  border-radius: 20px;
  background: #fdf0ef;
}
.error-summary h2 { font-size: 17px; color: #a1201a; }
.error-summary ul { margin-top: 8px; display: grid; gap: 4px; }
.error-summary a { color: #a1201a; text-decoration: underline; text-underline-offset: 2px; font-size: 15px; }

.order-summary {
  align-self: start;
  padding: 22px;
  border-radius: 28px;
  background: var(--white);
}
.summary-title { font-size: 18px; }
.summary-product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.summary-image {
  padding: 6px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 45%, #f1e3f0, var(--cream) 70%);
}
.summary-image img { width: 100%; height: auto; }
.item-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.item-meta { margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.item-price { margin-top: 8px; font-weight: 700; }

.qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid #efe5ee;
  border-bottom: 1px solid #efe5ee;
}
.qty-label { font-weight: 700; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid #e4d7e3;
  border-radius: 999px;
}
.qty-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--plum);
  cursor: pointer;
}
.qty-btn svg { width: 16px; height: 16px; }
.qty-btn:hover { background: var(--lilac-soft); }
.qty-btn:disabled { color: #c9bfcb; cursor: default; background: none; }
.qty-input {
  width: 40px;
  border: 0;
  background: none;
  color: var(--ink);
  font: 700 17px var(--font-body);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.totals { margin: 14px 0 0; }
.totals div { display: flex; justify-content: space-between; padding: 5px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; }
.totals .total-row { margin-top: 8px; padding-top: 14px; border-top: 1px solid #efe5ee; align-items: baseline; }
.total-row dt { color: var(--ink); font-size: 18px; font-weight: 700; }
.total-row dt span { font-size: 13px; color: var(--muted); }
.total-row dd { font-family: var(--font-display); font-weight: 900; font-size: 28px; letter-spacing: -0.03em; }
.gst-note { margin-top: 4px; font-size: 13px; color: var(--muted); text-align: right; }

.order-done {
  display: grid;
  gap: 8px;
  padding: 28px 22px 32px;
  border-radius: 32px;
  background: var(--white);
}
.order-done[hidden] { display: none; }
.done-art img { width: min(100%, 420px); height: auto; margin: 0 auto; }
.done-note {
  display: inline-block;
  font-family: var(--font-hand);
  text-transform: uppercase;
  color: var(--note);
  font-size: 18px;
  transform: rotate(-4deg);
  transform-origin: left center;
}
.done-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 10vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.done-title span { color: var(--berry); }
.done-text { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.order-done .btn { margin-top: 24px; }

/* ---------- Tablet, stacked ---------- */

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .brand img { width: 132px; }
  .hero-copy { padding-top: 24px; }
  .hero-art { max-width: 720px; margin-left: auto; margin-right: auto; }
  .features ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .features li { flex-direction: column; align-items: flex-start; }
  .benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
  .faq-list { max-width: 640px; }
  .checkout-head,
  .checkout-grid,
  .order-done { max-width: 680px; margin-left: auto; margin-right: auto; }
  .checkout-grid { gap: 28px; }
  .form-block { padding: 28px; }
  .field-suburb { grid-column: span 6; }
  .field-third { grid-column: span 3; }
  .order-done { padding: 40px; }
}

/* ---------- Desktop: the 1366 x 768 canvas ---------- */

@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  html { scroll-padding-top: 0; scroll-snap-type: y proximity; }

  /* The header floats over each canvas like in the design. Once the page
     scrolls it gets a cream backing that fades out at the bottom edge. */
  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    container-type: inline-size;
  }
  .site-header.is-scrolled { background: none; box-shadow: none; }
  .site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 calc(var(--u) * -24) 0;
    background: linear-gradient(to bottom, rgba(249, 244, 242, 0.97) 72%, rgba(249, 244, 242, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .site-header.is-scrolled::before { opacity: 1; }
  .header-inner {
    display: block;
    height: calc(var(--u) * 70);
    padding: 0;
  }
  .brand {
    position: absolute;
    left: calc(var(--u) * 88.4);
    top: calc(var(--u) * 18);
  }
  .brand img { width: calc(var(--u) * 116); }

  .nav-toggle { display: none; }
  .nav-list,
  .nav-list.is-open {
    display: block;
    position: static;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .nav-list li { position: absolute; top: calc(var(--u) * 25); }
  .nav-list a {
    min-height: 0;
    height: calc(var(--u) * 30.5);
    padding: 0 calc(var(--u) * 14.5) calc(var(--u) * 3.5);
    font-size: max(12px, calc(var(--u) * 14.14));
  }
  .nav-list a:hover { background: rgba(234, 215, 235, 0.55); }
  .nav-list a[aria-current] { background: var(--lilac); }
  .nav-list li:nth-child(1) { left: calc(var(--u) * 488); }
  .nav-list li:nth-child(2) { left: calc(var(--u) * 593.6); }
  .nav-list li:nth-child(3) { left: calc(var(--u) * 678.5); }
  .nav-list li:nth-child(4) { left: calc(var(--u) * 798.6); }

  .header-actions { display: block; }
  .cart-link {
    position: absolute;
    left: calc(var(--u) * 1040);
    top: calc(var(--u) * 15.5);
    width: calc(var(--u) * 42);
    height: calc(var(--u) * 42);
  }
  .cart-link svg { width: calc(var(--u) * 31); height: calc(var(--u) * 29); }
  .header-actions .btn {
    display: inline-flex;
    position: absolute;
    left: calc(var(--u) * 1128.5);
    top: calc(var(--u) * 14);
    width: calc(var(--u) * 146);
    height: calc(var(--u) * 42.5);
    min-height: 0;
    padding: 0 0 0 calc(var(--u) * 2);
    font-size: max(12px, calc(var(--u) * 13.9));
    box-shadow: 0 calc(var(--u) * 5) calc(var(--u) * 12) rgba(87, 25, 143, 0.2);
  }

  .stage {
    min-height: calc(var(--u) * 768);
    padding: 0;
    overflow: hidden;
    scroll-snap-align: start;
  }
  .hero-copy {
    position: absolute;
    inset: 0;
    padding: 0;
    pointer-events: none;
  }
  .hero-copy > * { pointer-events: auto; }

  .btn { font-size: max(13px, calc(var(--u) * 14.86)); }

  .hero-art { position: absolute; margin: 0; max-width: none; }

  .float {
    display: block;
    position: absolute;
    z-index: 5;
    height: auto;
    pointer-events: none;
  }

  .wave {
    display: block;
    position: absolute;
    z-index: 0;
    left: 0;
    top: calc(var(--u) * 540);
    width: 100%;
    height: calc(var(--u) * 228);
  }

  /* Home */
  .section-home .headline {
    position: absolute;
    left: calc(var(--u) * 91.1);
    top: calc(var(--u) * 109.6);
    font-size: calc(var(--u) * 104);
    line-height: calc(var(--u) * 80.2);
  }
  .section-home .headline .accent { font-size: 0.9708em; }
  .section-home .lede {
    position: absolute;
    left: calc(var(--u) * 95.8);
    top: calc(var(--u) * 441.8);
    width: max(336px, calc(var(--u) * 352));
    margin: 0;
    font-size: max(14px, calc(var(--u) * 14.55));
    line-height: 1.3;
  }
  .section-home .hero-actions { position: absolute; left: 0; top: 0; margin: 0; display: block; }
  .section-home .hero-actions .btn {
    position: absolute;
    left: calc(var(--u) * 74.5);
    top: calc(var(--u) * 539);
    width: calc(var(--u) * 175);
    height: calc(var(--u) * 48);
    min-height: 0;
    padding: 0 calc(var(--u) * 6) 0 0;
  }
  .section-home .watch-btn {
    position: absolute;
    left: calc(var(--u) * 279.5);
    top: calc(var(--u) * 539.5);
    min-height: 0;
    height: calc(var(--u) * 48);
    gap: calc(var(--u) * 13);
    font-size: max(13px, calc(var(--u) * 14.86));
    white-space: nowrap;
  }
  .section-home .play-circle {
    width: calc(var(--u) * 48);
    height: calc(var(--u) * 48);
    box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 12) rgba(17, 13, 30, 0.07);
  }
  .section-home .play-circle svg { width: calc(var(--u) * 12.5); height: calc(var(--u) * 15); margin-left: calc(var(--u) * 2.5); }

  .art-home {
    left: calc(var(--u) * 574);
    top: 0;
    width: calc(var(--u) * 792);
    z-index: 1;
  }
  .art-home .note,
  .art-home .note-arrow { font-size: calc(var(--u) * 13.4); }
  .art-home .note {
    top: calc(var(--u) * 68.8);
    left: calc(var(--u) * (1244.6 - 574));
    right: auto;
    width: calc(var(--u) * 100.5);
    font-size: calc(var(--u) * 13.4);
    line-height: 1.3;
  }
  .art-home .note-arrow {
    top: calc(var(--u) * 111.5);
    left: calc(var(--u) * (1204.5 - 574));
    right: auto;
    width: calc(var(--u) * 40);
  }

  .section-home .features {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 0;
    background: none;
    pointer-events: none;
  }
  .section-home .features ul { display: block; }
  .section-home .features li {
    position: absolute;
    top: calc(var(--u) * 669.5);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
  .section-home .features .icon-circle { width: calc(var(--u) * 58.5); height: calc(var(--u) * 58.5); }
  .section-home .feature-label {
    margin-top: calc(var(--u) * 16.4);
    font-size: max(13px, calc(var(--u) * 17.06));
    line-height: calc(var(--u) * 25.6);
  }
  .section-home .features li:nth-child(1) { left: calc(var(--u) * 161); }
  .section-home .features li:nth-child(1) .feature-label { margin-left: calc(var(--u) * 17); }
  .section-home .features li:nth-child(2) { left: calc(var(--u) * 448.5); }
  .section-home .features li:nth-child(2) .feature-label { margin-left: calc(var(--u) * 14); }
  .section-home .features li:nth-child(3) { left: calc(var(--u) * 774.5); }
  .section-home .features li:nth-child(3) .feature-label { margin-left: calc(var(--u) * 12); }
  .section-home .features li:nth-child(4) { left: calc(var(--u) * 1093.5); top: calc(var(--u) * 670.5); }
  .section-home .features li:nth-child(4) .feature-label { margin-left: calc(var(--u) * 22); margin-top: calc(var(--u) * 15.4); }

  /* About */
  .section-about { display: block; }
  .art-about {
    left: 0;
    top: 0;
    width: 100%;
    height: calc(var(--u) * 768);
    z-index: 0;
    aspect-ratio: auto;
  }
  .hero-art.art-about img { object-position: 50% 50%; }
  .section-about .hero-copy { z-index: 3; }
  .section-about .headline {
    position: absolute;
    left: calc(var(--u) * 752.1);
    top: calc(var(--u) * 161);
    font-size: calc(var(--u) * 108.9);
    line-height: calc(var(--u) * 88.2);
    letter-spacing: -0.02em;
  }
  .section-about .headline span:last-child { font-size: calc(var(--u) * 100.5); letter-spacing: 0; word-spacing: 0.06em; margin-top: calc(var(--u) * -3); }

  .section-about .lede {
    position: absolute;
    left: calc(var(--u) * 752.1);
    top: calc(var(--u) * 440.6);
    width: calc(var(--u) * 352);
    margin: 0;
    font-size: max(15px, calc(var(--u) * 19.88));
    line-height: 1.2;
  }
  .section-about .hero-actions { position: absolute; left: 0; top: 0; margin: 0; display: block; }
  .section-about .hero-actions .btn {
    position: absolute;
    left: calc(var(--u) * 749);
    top: calc(var(--u) * 574.5);
    width: calc(var(--u) * 202);
    height: calc(var(--u) * 57.5);
    min-height: 0;
    padding: 0 calc(var(--u) * 6) calc(var(--u) * 5) 0;
    font-size: max(14px, calc(var(--u) * 18.94));
    box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 14) rgba(87, 25, 143, 0.18);
  }

  /* Ingredients */
  .section-ingredients .headline {
    position: absolute;
    left: calc(var(--u) * 88.5);
    top: calc(var(--u) * 93.6);
    font-size: calc(var(--u) * 96.08);
    line-height: calc(var(--u) * 72.5);
  }
  .section-ingredients .headline span + span { font-size: calc(var(--u) * 88.08); margin-left: calc(var(--u) * -3.5); }
  .section-ingredients .headline span:nth-child(2) { margin-top: calc(var(--u) * 2.5); }
  .section-ingredients .headline span:nth-child(3) { margin-top: calc(var(--u) * -3); }
  .section-ingredients .lede {
    position: absolute;
    left: calc(var(--u) * 91.2);
    top: calc(var(--u) * 336.2);
    width: max(292px, calc(var(--u) * 360));
    margin: 0;
    font-size: max(14px, calc(var(--u) * 17.3));
    line-height: 1.3;
  }
  .art-ingredients {
    left: calc(var(--u) * 499);
    top: 0;
    width: calc(var(--u) * 867);
    z-index: 1;
  }
  .art-ingredients .note,
  .art-ingredients .note-arrow { font-size: calc(var(--u) * 18.98); }
  .art-ingredients .note {
    top: calc(var(--u) * 97.4);
    left: calc(var(--u) * (618 - 499));
    width: calc(var(--u) * 148.8);
    font-size: calc(var(--u) * 18.98);
  }
  .art-ingredients .note-arrow {
    top: calc(var(--u) * 177);
    left: calc(var(--u) * (691 - 499));
    width: calc(var(--u) * 57);
  }
  .section-ingredients .benefit-list {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    pointer-events: none;
  }
  .section-ingredients .benefit-list li {
    position: absolute;
    left: calc(var(--u) * 97.5);
    display: flex;
    align-items: flex-start;
    gap: 0;
  }
  .section-ingredients .benefit-list .icon-circle { width: calc(var(--u) * 73); height: calc(var(--u) * 73); }
  .section-ingredients .benefit-list .icon-circle svg { width: 52%; height: 52%; }
  .section-ingredients .benefit-list .icon-circle.icon-leaf svg { width: 62%; height: 62%; }
  /* The Canva icons sit a few px left of centre in their circles */
  .section-ingredients .benefit-list li:nth-child(1) svg { transform: translate(calc(var(--u) * -5), calc(var(--u) * -1)); }
  .section-ingredients .benefit-list li:nth-child(2) svg { transform: translateX(calc(var(--u) * -3.75)); }
  .section-ingredients .benefit-list li:nth-child(3) svg { transform: translateX(calc(var(--u) * -1.25)); }
  .section-ingredients .benefit-list li:nth-child(4) svg { transform: translateX(calc(var(--u) * -5.5)); }
  .section-ingredients .benefit-list li > div { margin-left: calc(var(--u) * 11.5); }
  .benefit-title { font-size: max(13px, calc(var(--u) * 15.45)); line-height: 1.3; }
  .benefit-text { margin-top: calc(var(--u) * 2.3); font-size: max(11.5px, calc(var(--u) * 12.09)); line-height: 1.3; }
  .section-ingredients .benefit-list li:nth-child(1) { top: calc(var(--u) * 427.7); }
  .section-ingredients .benefit-list li:nth-child(1) > div { margin-top: calc(var(--u) * 3.4); }
  .section-ingredients .benefit-list li:nth-child(2) { top: calc(var(--u) * 495); left: calc(var(--u) * 94.2); }
  .section-ingredients .benefit-list li:nth-child(2) > div { margin-top: calc(var(--u) * 13.7); margin-left: calc(var(--u) * 14.5); }
  .section-ingredients .benefit-list li:nth-child(3) { top: calc(var(--u) * 573.2); left: calc(var(--u) * 94.7); }
  .section-ingredients .benefit-list li:nth-child(3) > div { margin-top: calc(var(--u) * 13); margin-left: calc(var(--u) * 14.5); }
  .section-ingredients .benefit-list li:nth-child(4) { top: calc(var(--u) * 654.2); }
  .section-ingredients .benefit-list li:nth-child(4) > div { margin-top: calc(var(--u) * 12); }

  /* FAQ: not in the Canva file. Same system, two columns, and the copy
     flows so the section grows when answers open. */
  .section-faq .hero-copy {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: calc(var(--u) * 470) calc(var(--u) * 640);
    column-gap: calc(var(--u) * 80);
    align-items: start;
    min-height: calc(var(--u) * 768);
    padding: calc(var(--u) * 150) 0 calc(var(--u) * 120) calc(var(--u) * 89.6);
    pointer-events: auto;
  }
  .section-faq .headline { font-size: calc(var(--u) * 104); line-height: calc(var(--u) * 80.2); }
  .section-faq .faq-list { gap: calc(var(--u) * 12); margin-top: calc(var(--u) * 6); max-width: none; }
  .section-faq .faq-item summary {
    min-height: calc(var(--u) * 64);
    padding: calc(var(--u) * 10) calc(var(--u) * 14) calc(var(--u) * 10) calc(var(--u) * 28);
    font-size: max(14px, calc(var(--u) * 18));
  }
  .section-faq .faq-sign { width: calc(var(--u) * 38); height: calc(var(--u) * 38); }
  .section-faq .faq-answer {
    padding: 0 calc(var(--u) * 28) calc(var(--u) * 22);
    font-size: max(14px, calc(var(--u) * 16));
  }
  .float-faq-leaf { left: 0; top: calc(var(--u) * 470); width: calc(var(--u) * 102); }
  .float-faq-blueberry { left: calc(var(--u) * 1246.33); top: calc(var(--u) * 560); width: calc(var(--u) * 119.67); }

  /* Checkout: not in the Canva file, laid out on the same left edge */
  .checkout {
    padding: calc(var(--u) * 118) calc(var(--u) * 89.6) calc(var(--u) * 96);
  }
  .checkout-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    max-width: none;
    margin-bottom: calc(var(--u) * 36);
  }
  .checkout .headline { font-size: calc(var(--u) * 96); line-height: 0.85; }
  .demo-note { max-width: calc(var(--u) * 470); margin: 0 0 calc(var(--u) * 6); }
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) calc(var(--u) * 430);
    gap: calc(var(--u) * 48);
    max-width: none;
  }
  .order-summary { order: 0; position: sticky; top: calc(var(--u) * 92); padding: 28px; }
  .summary-product { grid-template-columns: 130px minmax(0, 1fr); }
  .order-done {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: calc(var(--u) * 48);
    max-width: none;
    padding: calc(var(--u) * 48) calc(var(--u) * 64);
  }

  /* Floats, positioned from the Canva element frames */
  .float-home-leaf-top-left { left: 0; top: calc(var(--u) * 62.67); width: calc(var(--u) * 70.67); }
  .float-home-leaf-left { left: 0; top: calc(var(--u) * 398); width: calc(var(--u) * 102); }
  .float-home-leaf-right { left: calc(var(--u) * 1215.67); top: calc(var(--u) * 161); width: calc(var(--u) * 125.67); }
  .float-home-blueberry-right { left: calc(var(--u) * 1248.67); top: calc(var(--u) * 506.33); width: calc(var(--u) * 117.33); }

  .float-about-cluster-left { left: 0; top: calc(var(--u) * 266); width: calc(var(--u) * 283); }
  .float-about-blueberry-top { left: calc(var(--u) * 862.67); top: 0; width: calc(var(--u) * 119.33); }
  .float-about-leaf-right { left: calc(var(--u) * 1180); top: calc(var(--u) * 43.33); width: calc(var(--u) * 131.33); }

  .float-ingredients-blueberry-top { left: calc(var(--u) * 844); top: 0; width: calc(var(--u) * 126); }
  .float-ingredients-leaf-right { left: calc(var(--u) * 1269); top: 0; width: calc(var(--u) * 97); }
  .float-ingredients-blueberry-left { left: 0; top: calc(var(--u) * 251.67); width: calc(var(--u) * 55.33); }
  .float-ingredients-blueberry-bottom { left: calc(var(--u) * 595.67); top: calc(var(--u) * 662.67); width: calc(var(--u) * 115); }
  .float-ingredients-blueberry-right { left: calc(var(--u) * 1246.33); top: calc(var(--u) * 592.67); width: calc(var(--u) * 119.67); }
}

/* ---------- Motion (none at all under reduced motion) ---------- */

/* Each section's headline and artwork rise in once it scrolls into view */
.js .reveal { transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal-late { transition-delay: 0.15s; }
.js .stage:not(.in-view) .reveal { opacity: 0; transform: translate3d(0, 18px, 0); }

@keyframes drift-y {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}
@keyframes drift-x {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(5px, 0, 0); }
}
@keyframes drift-free {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(3px, -6px, 0) rotate(1.5deg); }
}

.drift-y { animation: drift-y 7s ease-in-out infinite; }
.drift-x { animation: drift-x 8s ease-in-out infinite; }
.drift-free { animation: drift-free 6.5s ease-in-out infinite; }
.delay-1 { animation-delay: -2s; }
.delay-2 { animation-delay: -4s; }
.delay-3 { animation-delay: -5.5s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .stage:not(.in-view) .reveal { opacity: 1; transform: none; }
  .btn-primary:hover,
  .watch-btn:hover .play-circle { transform: none; }
}
