/* ==========================================================================
   Padbury Florist – styles.css
   Phase 4 mockup. Implements 03-design/design-system.md exactly.
   Type: Fraunces (display) + Mulish (body). Accent: sage. Motif: angled stem cut.
   border-radius: 0 everywhere. Flat paper-and-line system, no shadows on chrome.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   8. Token block (copy-paste from design-system.md §8)
   ---------------------------------------------------------------------------- */
:root {
  /* ---- type families ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* ---- type scale ---- */
  --fs-display: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
  --fs-h3: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
  --fs-h4: clamp(1.15rem, 1.05rem + 0.45vw, 1.375rem);
  --fs-h5: 1.0625rem;
  --fs-h6: 0.9375rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-overline: 0.75rem;
  --fs-price: 1.0625rem;

  /* ---- line-height ---- */
  --lh-display: 1.02;
  --lh-h: 1.12;
  --lh-lead: 1.55;
  --lh-body: 1.65;

  /* ---- colour: raw ---- */
  --paper: #F7F4EE;
  --paper-deep: #EFEAE0;
  --white: #FFFFFF;
  --c-ink: #23271F;
  --c-ink-soft: #4A4F44;
  --c-muted: #76796E;
  --c-line: #D8D2C6;
  --c-line-soft: #E7E1D6;
  --sage: #5E7A5A;
  --sage-deep: #46603F;
  --sage-tint: #E3E8DE;
  --c-petal: #B26A6B;
  --petal-deep: #8F4F50;
  --c-petal-tint: #F0E2E1;
  --c-bark: #6E5A43;
  --c-success: #3F7A4F;
  --c-warning: #9A6B1E;
  --c-error: #A23A34;
  --c-focus: #1F6FEB;

  /* ---- colour: semantic ---- */
  --bg: var(--paper);
  --bg-alt: var(--paper-deep);
  --surface: var(--white);
  --surface-sunk: var(--paper-deep);
  --ink: var(--c-ink);
  --ink-soft: var(--c-ink-soft);
  --muted: var(--c-muted);
  --on-accent: var(--white);
  --accent: var(--sage);
  --accent-ink: var(--sage-deep);
  --accent-tint: var(--sage-tint);
  --petal: var(--c-petal);
  --petal-ink: var(--petal-deep);
  --petal-tint: var(--c-petal-tint);
  --line: var(--c-line);
  --line-soft: var(--c-line-soft);
  --bark: var(--c-bark);
  --success: var(--c-success);
  --warning: var(--c-warning);
  --error: var(--c-error);
  --focus: var(--c-focus);

  /* ---- spacing ---- */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --space-9: 6rem; --space-10: 8rem;

  /* ---- layout ---- */
  --container-max: 1200px;
  --container-wide: 1360px;
  --container-text: 720px;
  --gutter: 1.25rem;
  --gutter-lg: 2rem;
  --grid-gap: 1.5rem;

  /* ---- borders & elevation ---- */
  --border: 1px solid var(--line);
  --border-soft: 1px solid var(--line-soft);
  --shadow-hover: 0 6px 20px -8px rgba(35, 39, 31, 0.22);

  /* ---- motion ---- */
  --ease: cubic-bezier(0.2, 0, 0.1, 1);
  --dur-fast: 120ms;
  --dur: 180ms;
  --dur-slow: 260ms;
}

/* ----------------------------------------------------------------------------
   6.1 Hard-constraint resets
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

ul, ol { padding: 0; list-style: none; }

button { font: inherit; }

/* ----------------------------------------------------------------------------
   1.5 Type rules
   ---------------------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 var(--space-4);
  line-height: var(--lh-h);
}
h3 { font-weight: 600; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 700; margin: 0 0 var(--space-3); color: var(--ink); }

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); line-height: 1.25; }
h5 { font-size: var(--fs-h5); line-height: 1.3; }
h6 { font-size: var(--fs-h6); line-height: 1.3; letter-spacing: 0.01em; }

p { margin: 0 0 var(--space-4); max-width: 68ch; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink-soft); }

.overline {
  font-size: var(--fs-overline);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-ink);
}

.price { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: 0.01em; font-size: var(--fs-price); }

.editorial-em { font-style: italic; font-weight: 400; }

.text-small { font-size: var(--fs-small); }
.text-muted { color: var(--muted); }

/* ----------------------------------------------------------------------------
   4.2 Layout containers
   ---------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { .container { padding-inline: var(--gutter-lg); } }
.container--text { max-width: var(--container-text); }
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--space-8); }
@media (min-width: 768px) { .section { padding-block: var(--space-9); } }
.section--alt { background: var(--bg-alt); border-block: var(--border); }

.section__head { max-width: 60ch; margin-bottom: var(--space-6); }
.section__head .lead { margin-top: var(--space-3); }

/* ----------------------------------------------------------------------------
   3. Signature motif – the angled stem cut
   ---------------------------------------------------------------------------- */
/* 3.1 Section divider with a cut tip */
.divider-stem {
  position: relative;
  height: 0;
  border: 0;
  border-top: 2px solid var(--accent);
  width: var(--container-max);
  max-width: 100%;
  margin: var(--space-8) auto;
}
.divider-stem::after {
  content: "";
  position: absolute;
  right: 0; top: -1px;
  width: 18px; height: 2px;
  background: var(--accent);
  transform: rotate(45deg);
  transform-origin: right center;
}

/* 3.2 Diagonal stem tick replacing list bullets */
.stem-list { list-style: none; padding: 0; margin: 0; }
.stem-list li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  line-height: var(--lh-body);
  max-width: 68ch;
}
.stem-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 2px;
  background: var(--accent);
  transform: rotate(-45deg);
}

/* 3.4 Eyebrow kicker with leading stem stroke */
.kicker { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  transform: rotate(-45deg);
  flex: none;
}

.divider { height: 0; border: 0; border-top: var(--border); margin-block: var(--space-8); }

/* ----------------------------------------------------------------------------
   5.14 Skip link, focus, a11y helpers
   ---------------------------------------------------------------------------- */
.skip-link {
  position: absolute; left: var(--space-4); top: -60px;
  background: var(--accent-ink); color: var(--on-accent);
  padding: var(--space-3) var(--space-4); z-index: 100;
  text-decoration: none; font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px;
}

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

/* ----------------------------------------------------------------------------
   5.1 Top promise bar
   ---------------------------------------------------------------------------- */
.promise-bar {
  background: var(--ink);
  color: var(--bg);
  font-size: var(--fs-small);
  text-align: center;
  padding: var(--space-2) var(--gutter);
}
.promise-bar p { margin: 0; max-width: none; }
.promise-bar a { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.promise-bar a:hover { color: var(--accent-tint); }

/* ----------------------------------------------------------------------------
   5.2 Header / nav
   ---------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: var(--border);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header[data-condensed="true"] {
  box-shadow: 0 1px 0 var(--line), 0 6px 18px -14px rgba(35,39,31,0.4);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
  min-height: 72px;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: min-height var(--dur) var(--ease);
}
@media (min-width: 768px){ .nav { padding-inline: var(--gutter-lg); } }
.site-header[data-condensed="true"] .nav { min-height: 60px; }

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; line-height: 1;
  display: inline-flex; align-items: center; gap: var(--space-2);
  white-space: nowrap;
}
.nav__logo:hover { color: var(--accent-ink); }
.nav__logo-mark { width: 26px; height: 26px; flex: none; }

.nav__list { display: none; }
@media (min-width: 980px) {
  .nav__list { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0; align-items: center; }
}
.nav__item { position: relative; }
.nav__link {
  font-family: var(--font-body);
  font-size: var(--fs-body); font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: var(--space-3) 0;
  display: inline-flex; align-items: center; gap: var(--space-1);
  min-height: 44px;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--accent-ink); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: 8px;
  width: 20px; height: 2px; background: var(--accent);
  transform: rotate(-12deg); transform-origin: left center;
}
.nav__caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; margin-left: 2px; }

/* Shop dropdown */
.nav__submenu {
  position: absolute; top: 100%; left: 0;
  background: var(--surface); border: var(--border);
  min-width: 250px; padding: var(--space-3) 0;
  display: none;
  box-shadow: var(--shadow-hover);
  z-index: 60;
}
.nav__item--has-menu:hover > .nav__submenu,
.nav__item--has-menu:focus-within > .nav__submenu { display: block; }
.nav__submenu li { margin: 0; }
.nav__submenu a {
  display: flex; align-items: center; padding: var(--space-3) var(--space-5); min-height: 44px;
  color: var(--ink); text-decoration: none; font-size: var(--fs-small);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__submenu a:hover { background: var(--accent-tint); color: var(--accent-ink); }

.nav__utils { display: flex; align-items: center; gap: var(--space-2); }
.nav__icon-btn {
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--ink); cursor: pointer;
  text-decoration: none; position: relative;
  transition: color var(--dur) var(--ease);
}
.nav__icon-btn:hover { color: var(--accent-ink); }
.nav__icon-btn svg { width: 22px; height: 22px; }
.nav__cart-count {
  position: absolute; top: 6px; right: 4px;
  font-size: var(--fs-xs); font-weight: 700; line-height: 1;
  background: var(--accent); color: var(--on-accent);
  min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 979px) {
  .nav__icon-btn--account, .nav__icon-btn--search { display: none; }
}

.nav__toggle {
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--ink); cursor: pointer;
}
.nav__toggle svg { width: 26px; height: 26px; }
@media (min-width: 980px){ .nav__toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
  background: var(--bg); border-left: var(--border);
  padding: var(--space-6) var(--gutter);
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease);
  z-index: 70;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.mobile-menu__title { font-family: var(--font-display); font-size: var(--fs-h4); }
.mobile-menu__close { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--ink); cursor: pointer; }
.mobile-menu__close svg { width: 24px; height: 24px; }
.mobile-menu a {
  display: block; padding: var(--space-4) 0; min-height: 44px;
  font-size: var(--fs-h4); color: var(--ink); text-decoration: none;
  border-bottom: var(--border-soft); font-weight: 500;
}
.mobile-menu a:hover { color: var(--accent-ink); }
.mobile-menu__sub { padding-left: var(--space-4); }
.mobile-menu__sub a { font-size: var(--fs-body); padding-block: var(--space-3); }
.mobile-menu__group-label { display: block; font-size: var(--fs-overline); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: var(--space-5) 0 var(--space-2); }
.mobile-menu__divider { height: 0; border: 0; border-top: var(--border); margin: var(--space-4) 0; }
.mobile-menu__call {
  display: block; text-align: center; margin-top: var(--space-5);
  background: var(--accent-ink); color: var(--on-accent);
  padding: var(--space-4); min-height: 48px; font-weight: 700;
  text-decoration: none;
}
.mobile-menu__call:hover { background: var(--ink); color: var(--on-accent); }

.menu-backdrop {
  position: fixed; inset: 0; background: rgba(35,39,31,0.45);
  z-index: 65; opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.menu-backdrop[data-open="true"] { opacity: 1; visibility: visible; }

/* ----------------------------------------------------------------------------
   5.4 Buttons
   ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700;
  line-height: 1; text-decoration: none; cursor: pointer; text-align: center;
  min-height: 48px; padding: 0 var(--space-6);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent-ink); color: var(--on-accent); }
.btn--primary:hover { background: var(--ink); color: var(--on-accent); }

.btn--secondary { background: var(--petal-ink); color: var(--on-accent); }
.btn--secondary:hover { background: #743F40; color: var(--on-accent); }

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

.btn--text { background: transparent; color: var(--accent-ink); min-height: 44px; padding-inline: 0; text-underline-offset: 4px; gap: var(--space-2); }
.btn--text:hover { text-decoration: underline; color: var(--accent-ink); }
.btn--text .btn__arrow { transition: transform var(--dur) var(--ease); }
.btn--text:hover .btn__arrow { transform: translateX(3px); }

.btn[aria-disabled="true"], .btn:disabled {
  background: var(--surface-sunk); color: var(--muted); border-color: var(--line); cursor: not-allowed;
}
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding-inline: var(--space-5); font-size: var(--fs-small); }

/* ----------------------------------------------------------------------------
   5.3 Hero
   ---------------------------------------------------------------------------- */
.hero { background: var(--bg); }
.hero__inner {
  display: grid; gap: var(--space-7);
  grid-template-columns: 1fr;
  align-items: center;
  max-width: var(--container-max); margin-inline: auto;
  padding: var(--space-8) var(--gutter);
}
@media (min-width: 768px){ .hero__inner { padding-inline: var(--gutter-lg); } }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-9); padding-block: var(--space-9); }
}
.hero__title { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.hero__copy .lead { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-block: var(--space-5); }
.hero__trust { color: var(--ink-soft); border-top: var(--border); padding-top: var(--space-4); font-size: var(--fs-small); margin: 0; max-width: 52ch; }
.hero__media { margin: 0; order: -1; }
@media (min-width: 900px) { .hero__media { order: 0; } }
.hero__media img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; border: var(--border);
}
.hero__media figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--space-2); }

/* ----------------------------------------------------------------------------
   5.7 Same-day strip
   ---------------------------------------------------------------------------- */
.strip { background: var(--bg-alt); border-block: var(--border); }
.strip__list {
  max-width: var(--container-max); margin-inline: auto; padding: var(--space-6) var(--gutter);
  display: grid; gap: var(--space-4);
}
@media (min-width: 768px) {
  .strip__list { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); padding-block: var(--space-7); padding-inline: var(--gutter-lg); }
  .strip__list li { padding-left: var(--space-6); margin-bottom: 0; }
}
.strip__list strong { color: var(--ink); font-weight: 700; }
.strip__list li { color: var(--ink-soft); }

/* ----------------------------------------------------------------------------
   5.5 Product card
   ---------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--grid-gap); }
.grid--products { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid--products { grid-template-columns: repeat(3, 1fr); } }
.grid--products.grid--four { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--products.grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid--products.grid--four { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .grid--products.grid--four { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 14px; height: 14px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

.product { display: flex; flex-direction: column; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.product:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.product:focus-within { box-shadow: var(--shadow-hover); }
.product__media { display: block; border-bottom: var(--border); position: relative; }
.product__media img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product__body { padding: var(--space-4) var(--space-4) var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.product__tag { color: var(--accent-ink); margin: 0; }
.product__name { font-size: var(--fs-h3); margin: 0; }
.product__name a { color: var(--ink); text-decoration: none; }
.product__name a:hover { color: var(--accent-ink); }
.product__desc { color: var(--ink-soft); margin: 0; font-size: var(--fs-small); }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-3); }
.product--romance .product__tag { color: var(--petal-ink); }
.product--romance.card::before { background: var(--petal); }

/* CSS-only flat treatment for products without a real photo (no fabricated URLs) */
.media-block {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; width: 100%;
  background: var(--accent-tint);
  position: relative; overflow: hidden;
  text-decoration: none;
}
.media-block--petal { background: var(--petal-tint); }
.media-block--deep { background: var(--paper-deep); }
.media-block__motif { width: 38%; height: auto; opacity: 0.92; }
.media-block__label { position: absolute; bottom: var(--space-3); left: var(--space-3); font-size: var(--fs-xs); color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }

/* ----------------------------------------------------------------------------
   5.6 Occasion card
   ---------------------------------------------------------------------------- */
.grid--occasions { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid--occasions { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .grid--occasions { grid-template-columns: repeat(4, 1fr); } }

.occasion {
  position: relative; display: block; border: var(--border);
  overflow: hidden; text-decoration: none; background: var(--surface);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.occasion:hover, .occasion:focus-within { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.occasion__art { aspect-ratio: 1 / 1; width: 100%; display: flex; align-items: center; justify-content: center; }
.occasion__art--1 { background: var(--accent-tint); }
.occasion__art--2 { background: var(--petal-tint); }
.occasion__art--3 { background: var(--paper-deep); }
.occasion__art--4 { background: var(--sage-tint); }
.occasion__motif { width: 34%; opacity: 0.9; }
.occasion__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h4);
  padding: var(--space-3) var(--space-4);
}

/* ----------------------------------------------------------------------------
   Value block ("not a relay service")
   ---------------------------------------------------------------------------- */
.value { background: var(--bg); }
.value__inner { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .value__inner { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }
.value__art {
  aspect-ratio: 4 / 3; background: var(--accent-tint);
  border: var(--border); display: flex; align-items: center; justify-content: center;
}
.value__art svg { width: 40%; }

/* ----------------------------------------------------------------------------
   5.9 Reviews / testimonials
   ---------------------------------------------------------------------------- */
.reviews__grid { list-style: none; margin: var(--space-6) 0 var(--space-5); padding: 0; display: grid; gap: var(--grid-gap); }
@media (min-width: 768px){ .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px){ .reviews__grid { grid-template-columns: repeat(4, 1fr); } }
.review { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.review__quote { font-family: var(--font-display); font-style: italic; font-size: var(--fs-h4); line-height: 1.4; color: var(--ink); margin: 0; }
.review__name { color: var(--muted); margin: 0; font-size: var(--fs-small); }
.review__name::before { content: ""; display: inline-block; width: 12px; height: 2px; background: var(--petal); transform: rotate(-45deg); margin-right: var(--space-2); vertical-align: middle; }

.reviews--page .review__quote { font-size: var(--fs-h3); }

/* ----------------------------------------------------------------------------
   5.10 Trust row
   ---------------------------------------------------------------------------- */
.trust-row { background: var(--bg-alt); border-block: var(--border); }
.trust-row__inner { max-width: var(--container-max); margin-inline: auto; padding: var(--space-5) var(--gutter); display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-7); align-items: center; justify-content: center; text-align: center; }
.trust-row__item { font-size: var(--fs-small); color: var(--ink-soft); display: inline-flex; align-items: center; gap: var(--space-2); }
.trust-row__item strong { color: var(--ink); font-weight: 700; }
.trust-row__item::before { content: ""; display: inline-block; width: 12px; height: 2px; background: var(--accent); transform: rotate(-45deg); flex: none; }

/* ----------------------------------------------------------------------------
   Teaser bands (delivery + about on home)
   ---------------------------------------------------------------------------- */
.teaser__inner { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .teaser__inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); } }
.teaser--flip .teaser__media { order: -1; }
@media (min-width: 900px) { .teaser--flip .teaser__media { order: 1; } }
.teaser__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--border); }

/* ----------------------------------------------------------------------------
   Footer CTA band
   ---------------------------------------------------------------------------- */
.cta-band { background: var(--accent-ink); color: var(--on-accent); }
.cta-band__inner { max-width: var(--container-max); margin-inline: auto; padding: var(--space-8) var(--gutter); text-align: center; }
.cta-band h2 { color: var(--on-accent); margin-bottom: var(--space-3); }
.cta-band p { color: var(--accent-tint); margin: 0 auto var(--space-5); max-width: 48ch; }
.cta-band .btn--ghost { color: var(--on-accent); border-color: var(--on-accent); }
.cta-band .btn--ghost:hover { background: var(--on-accent); color: var(--accent-ink); }

/* ----------------------------------------------------------------------------
   Page header (interior pages)
   ---------------------------------------------------------------------------- */
.page-head { background: var(--bg); border-bottom: var(--border); }
.page-head__inner { max-width: var(--container-max); margin-inline: auto; padding: var(--space-7) var(--gutter) var(--space-8); }
@media (min-width: 768px){ .page-head__inner { padding-inline: var(--gutter-lg); } }
.page-head h1 { font-size: var(--fs-h1); margin-bottom: var(--space-3); }
.page-head .lead { max-width: 60ch; margin: 0; }
.breadcrumb { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.breadcrumb a { color: var(--accent-ink); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink-soft); }
.breadcrumb__sep { color: var(--line); }

/* ----------------------------------------------------------------------------
   Shop filter bar
   ---------------------------------------------------------------------------- */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-6); }
.filter-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filter-chip {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 var(--space-4); border: var(--border); background: var(--surface);
  color: var(--ink); font-size: var(--fs-small); font-weight: 600; text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.filter-chip[aria-pressed="true"], .filter-chip--active { background: var(--accent-ink); color: var(--on-accent); border-color: var(--accent-ink); }
.sort-field { display: inline-flex; align-items: center; gap: var(--space-2); }
.sort-field label { font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.sort-field select { min-height: 44px; padding: 0 var(--space-4); border: var(--border); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-small); }

/* ----------------------------------------------------------------------------
   5.11 Forms
   ---------------------------------------------------------------------------- */
.field { margin-bottom: var(--space-5); }
.field__label { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--ink); margin-bottom: var(--space-2); }
.field__req { color: var(--petal-ink); }
.field__input, .field__textarea, .field__select {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  font-family: var(--font-body); font-size: var(--fs-body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__textarea { min-height: 140px; resize: vertical; line-height: var(--lh-body); }
.field__input::placeholder, .field__textarea::placeholder { color: var(--muted); }
.field__input:focus-visible, .field__textarea:focus-visible, .field__select:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.field--error .field__input { border-color: var(--error); }
.field__error { color: var(--error); font-size: var(--fs-small); margin: var(--space-2) 0 0; }
.field__hint { color: var(--muted); font-size: var(--fs-xs); margin: var(--space-2) 0 0; }
.form-note { background: var(--bg-alt); border: var(--border); padding: var(--space-4); font-size: var(--fs-small); color: var(--ink-soft); margin-bottom: var(--space-6); }
.form-note strong { color: var(--ink); }

/* ----------------------------------------------------------------------------
   5.12 FAQ accordion
   ---------------------------------------------------------------------------- */
.faq { border-top: var(--border); }
.faq details { border-bottom: var(--border); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) 0; font-family: var(--font-body); font-weight: 700; font-size: var(--fs-h4); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent-ink); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.faq__answer { padding: 0 0 var(--space-5); color: var(--ink-soft); max-width: var(--container-text); }
.faq__answer p { color: var(--ink-soft); }
.faq__answer .stem-list { margin-top: var(--space-2); }

/* ----------------------------------------------------------------------------
   Prose (about, delivery, reviews long-form)
   ---------------------------------------------------------------------------- */
.prose { max-width: var(--container-text); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--space-6); }
.prose p { color: var(--ink-soft); }
.prose .stem-list { margin: var(--space-4) 0; }
.prose .stem-list li { color: var(--ink-soft); }

/* Info card grid (delivery at-a-glance, contact details) */
.info-grid { display: grid; gap: var(--grid-gap); grid-template-columns: 1fr; }
@media (min-width: 600px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .info-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.info-card { background: var(--surface); border: var(--border); padding: var(--space-5); position: relative; }
.info-card::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 0 100%); }
.info-card h3 { font-size: var(--fs-h4); font-family: var(--font-body); margin-bottom: var(--space-2); }
.info-card p { color: var(--ink-soft); margin: 0; font-size: var(--fs-small); }
.info-card__big { font-family: var(--font-display); font-size: var(--fs-h2); color: var(--ink); display: block; margin-bottom: var(--space-1); }

/* Suburb list */
.suburb-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2) var(--space-4); margin: var(--space-4) 0; }
@media (min-width: 600px) { .suburb-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .suburb-list { grid-template-columns: repeat(4, 1fr); } }
.suburb-list li { display: flex; align-items: center; gap: var(--space-2); color: var(--ink-soft); }
.suburb-list li::before { content: ""; width: 12px; height: 2px; background: var(--accent); transform: rotate(-45deg); flex: none; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; max-width: 420px; }
.hours-table th, .hours-table td { text-align: left; padding: var(--space-3) 0; border-bottom: var(--border-soft); font-size: var(--fs-body); }
.hours-table th { font-weight: 700; color: var(--ink); }
.hours-table td { color: var(--ink-soft); text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .is-closed { color: var(--muted); }

/* Contact layout */
.contact-grid { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }
.contact-list { margin: 0 0 var(--space-6); }
.contact-list dt { font-size: var(--fs-overline); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: var(--space-4); }
.contact-list dd { margin: var(--space-1) 0 0; font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 700; }
.contact-list dd a { color: var(--accent-ink); text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }
.map-placeholder {
  background: var(--paper-deep); border: var(--border); aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3);
  text-align: center; padding: var(--space-5); color: var(--ink-soft); font-size: var(--fs-small);
}
.map-placeholder svg { width: 48px; height: 48px; }

/* Product detail */
.product-detail { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1fr 1fr; gap: var(--space-9); align-items: start; } }
.product-detail__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: var(--border); }
.product-detail__price { font-family: var(--font-display); font-size: var(--fs-h1); color: var(--ink); margin: var(--space-2) 0 var(--space-4); font-variant-numeric: tabular-nums; }
.product-detail__short { font-size: var(--fs-lead); color: var(--ink-soft); margin-bottom: var(--space-4); }
.buy-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-5) 0; }
.buy-meta { border-top: var(--border); padding-top: var(--space-4); margin-top: var(--space-5); }
.buy-meta p { font-size: var(--fs-small); color: var(--ink-soft); margin-bottom: var(--space-3); }
.buy-meta p:last-child { margin-bottom: 0; }
.included-box { background: var(--bg-alt); border: var(--border); padding: var(--space-5); margin-top: var(--space-6); }
.included-box h2 { font-size: var(--fs-h4); font-family: var(--font-body); margin-bottom: var(--space-3); }
.care-box { background: var(--surface); border: var(--border); padding: var(--space-5); position: relative; margin-top: var(--space-6); }
.care-box::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; background: var(--bark); clip-path: polygon(0 0, 100% 0, 0 100%); }
.care-box h2 { font-size: var(--fs-h4); font-family: var(--font-body); margin-bottom: var(--space-3); }

/* aggregate score block */
.score { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-2); }
.score__num { font-family: var(--font-display); font-size: var(--fs-display); line-height: 1; color: var(--accent-ink); }
.score__of { font-size: var(--fs-h3); color: var(--muted); }
.score__sub { color: var(--ink-soft); }

/* ----------------------------------------------------------------------------
   5.13 Footer
   ---------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--bg); padding-block: var(--space-8) var(--space-6); }
.site-footer__grid { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 768px){ .site-footer__grid { grid-template-columns: repeat(2, 1fr); padding-inline: var(--gutter-lg); } }
@media (min-width: 1080px){ .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-h6); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-tint); margin-bottom: var(--space-4); }
.site-footer a { color: var(--bg); text-decoration: none; }
.site-footer a:hover { color: var(--accent-tint); text-decoration: underline; text-underline-offset: 3px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.site-footer li a, .site-footer__contact a { display: inline-flex; min-height: 44px; align-items: center; }
.site-footer__brand { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--bg); margin-bottom: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); }
.site-footer__brand-mark { width: 28px; height: 28px; }
.site-footer__contact { font-size: var(--fs-small); color: var(--accent-tint); display: grid; gap: var(--space-2); }
.site-footer__contact a { color: var(--bg); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-5); }
.site-footer__social a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: var(--fs-small); }
.site-footer__social svg { width: 20px; height: 20px; }
.site-footer__legal { max-width: var(--container-max); margin: var(--space-6) auto 0; padding: var(--space-5) var(--gutter) 0; border-top: 1px solid rgba(247,244,238,0.18); font-size: var(--fs-xs); color: var(--accent-tint); }
@media (min-width: 768px){ .site-footer__legal { padding-inline: var(--gutter-lg); } }

/* ----------------------------------------------------------------------------
   Scroll-reveal (one effect, IntersectionObserver, opt-in)
   ---------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ----------------------------------------------------------------------------
   6.4 Print
   ---------------------------------------------------------------------------- */
@media print {
  .promise-bar, .site-header, .mobile-menu, .menu-backdrop, .site-footer__social, .btn, .cta-band { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
  .product__media img, .hero__media img, .product-detail__media img { max-height: 8cm; }
}
