/* ==========================================================================
   Vesuvia Dairy Export — "Mediterranean Dairy Luxury"
   Milk white and warm ivory grounds, anthracite-green ink, a single olive
   accent. Editorial serif (Cormorant Garamond) + legible UI sans (Inter).
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
  /* Colour */
  --milk: #fbf9f4;
  --ivory: #f3eee4;
  --ivory-deep: #e9e1d2;
  --line: #ddd4c4;
  --line-soft: #ebe5da;
  --ink: #1c2420;          /* anthracite with a green undertone */
  --ink-soft: #434c46;
  --muted: #646b66;
  --forest: #1f2b24;       /* immersive dark sections */
  --forest-2: #2a3830;
  --on-forest: #eeeae1;
  --on-forest-soft: #b9bfb4;
  --olive: #55613a;        /* the one accent */
  --olive-deep: #434d2c;
  --olive-tint: #e7e9d9;
  --terra: #a4552f;        /* tiny Vesuvian warmth, never for large areas */
  --brand-navy: #10233f;   /* logo only */
  --danger: #a32a1f;
  --danger-tint: #f8e7e3;
  --ok: #2f5d3a;
  --ok-tint: #e3eee2;

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.9rem, 5.6vw, 5.4rem);
  --fs-h2: clamp(2.3rem, 4.6vw, 4rem);
  --fs-h3: clamp(1.5rem, 2.2vw, 1.9rem);
  --fs-lead: clamp(1.06rem, 1.3vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .75rem;

  /* Space & layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1360px;
  --section: clamp(5.5rem, 13vh, 10rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Depth */
  --shadow-1: 0 1px 2px rgba(28, 36, 32, .06), 0 8px 24px -12px rgba(28, 36, 32, .18);
  --shadow-2: 0 2px 6px rgba(28, 36, 32, .06), 0 30px 60px -30px rgba(28, 36, 32, .35);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .18s;
  --t-ui: .32s;
  --t-reveal: 1.1s;

  --header-h: 76px;
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main, footer { overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
/* Photos that fill a fixed-ratio frame */
.hero-frame picture, .product-media picture, .origin-media .ph picture, .pro-media figure picture,
.cta-media picture, .item-thumb picture, .aside-photo picture { width: 100%; height: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-display); letter-spacing: -.025em; line-height: .95; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
em, .it { font-style: italic; }
::selection { background: var(--olive-tint); }

:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--on-forest); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--milk); padding: .7rem 1rem; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--ivory { background: var(--ivory); }
.on-dark { background: var(--forest); color: var(--on-forest); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--olive);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: #c9cfb3; }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.6; max-width: 34em; }
.on-dark .lead { color: var(--on-forest-soft); }
.small { font-size: var(--fs-small); color: var(--muted); }

/* ------------------------------------------------------------- Buttons */
.btn {
  --bg: var(--ink); --fg: var(--milk);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.5rem; border-radius: var(--r-pill);
  border: 1px solid var(--bg); background: var(--bg); color: var(--fg);
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:hover { --bg: var(--olive-deep); }
.btn:active { transform: scale(.98); }
.btn--accent { --bg: var(--olive); }
.btn--accent:hover { --bg: var(--olive-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; }
.on-dark .btn--ghost { color: var(--on-forest); border-color: rgba(238, 234, 225, .35); }
.on-dark .btn--ghost:hover { border-color: var(--on-forest); }
.btn--light { --bg: var(--milk); --fg: var(--ink); }
.btn--light:hover { --bg: #fff; }
.btn--sm { min-height: 40px; padding: .6rem 1.1rem; font-size: .88rem; }
.btn .arrow { transition: transform var(--t-ui) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.is-busy { cursor: progress; }
.btn.is-busy .btn-label { opacity: 0; }
.btn.is-busy::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--t-ui) var(--ease-out); padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; }

/* -------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 249, 244, .9); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-ui), box-shadow var(--t-ui);
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: block; color: var(--brand-navy); flex: none; }
.brand svg { width: 116px; height: auto; }
.nav { display: flex; gap: 2rem; margin-left: auto; }
.nav a { font-size: .92rem; color: var(--ink-soft); text-decoration: none; padding: .5rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform var(--t-ui) var(--ease-out); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.req-btn {
  position: relative; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .55rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--milk); font-size: .9rem; font-weight: 500;
  transition: border-color var(--t-ui), background var(--t-ui);
}
.req-btn:hover { border-color: var(--ink); }
.req-btn svg { width: 18px; height: 18px; }
.req-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--milk); font-size: .74rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.req-count[data-count="0"] { background: var(--ivory-deep); color: var(--muted); }
.req-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.35); } }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--milk); place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform var(--t-ui) var(--ease-out); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* ----------------------------------------------------------------- Hero */
.hero { padding: clamp(2rem, 6vh, 4.5rem) 0 clamp(4rem, 10vh, 7rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 1.4rem 0 1.6rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { color: var(--olive); }
.hero .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 2.6rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line-soft); list-style: none; font-size: var(--fs-small); color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: .55rem; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); }
.hero-media { position: relative; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--r-lg) var(--r-lg); overflow: hidden;
  background: var(--ivory-deep); box-shadow: var(--shadow-2);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; transform-origin: 50% 60%; }
.hero-caption {
  position: absolute; left: -1.4rem; bottom: 2.2rem; z-index: 2; max-width: 260px;
  background: var(--milk); border-radius: var(--r-md); padding: 1rem 1.2rem; box-shadow: var(--shadow-1);
  font-size: var(--fs-small); color: var(--ink-soft);
}
.hero-caption strong { display: block; font: 500 1.25rem/1.15 var(--serif); color: var(--ink); margin-bottom: .2rem; }

/* intro motion (CSS only, applied before JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line > span { animation: lineUp 1.2s var(--ease-out) both; }
  .js .hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
  .js .hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
  .js .hero .eyebrow, .js .hero .lead, .js .hero-actions, .js .hero-facts { animation: fadeUp 1s var(--ease-out) both; }
  .js .hero .lead { animation-delay: .25s; } .js .hero-actions { animation-delay: .35s; } .js .hero-facts { animation-delay: .45s; }
  .js .hero-frame { animation: frameIn 1.6s var(--ease-out) both; }
  .js .hero-frame img { animation: imgIn 2s var(--ease-out) both; }
  .js .hero-caption { animation: fadeUp 1s .9s var(--ease-out) both; }
}
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes frameIn { from { clip-path: inset(18% 8% 0 8% round 240px 240px 22px 22px); } to { clip-path: inset(0 0 0 0 round 240px 240px 22px 22px); } }
@keyframes imgIn { from { transform: scale(1.18); } to { transform: scale(1.04); } }

/* ------------------------------------------------- Selection sequence (2.5D) */
.sequence { position: relative; background: var(--ivory); }
.sequence-intro { padding: var(--section) 0 2rem; }
.sequence-intro .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.sequence-intro h2 em { color: var(--olive); }
/* Static (default, mobile, reduced motion): chapters stacked */
.chapters { list-style: none; margin: 0; padding: 0 0 var(--section); }
.chapter { position: relative; }
.chapter-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; padding-block: 2.5rem; }
.chapter-word {
  position: absolute; left: 0; right: 0; top: 9%; text-align: center; pointer-events: none; user-select: none;
  font: italic 500 clamp(4rem, 13vw, 13rem)/.85 var(--serif); letter-spacing: -.03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(85, 97, 58, .24);
}
.chapter-figure { position: relative; z-index: 1; aspect-ratio: 3 / 2; display: grid; place-items: center; perspective: 1400px; }
.chapter-figure picture { position: relative; z-index: 1; width: 92%; will-change: transform; }
.chapter-figure img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(60, 50, 30, .16)); }
.chapter-shadow { position: absolute; z-index: 0; left: 18%; right: 18%; bottom: 12%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 48, 30, .28), transparent); filter: blur(6px); }
.chapter-copy { position: relative; z-index: 2; max-width: 30rem; }
.chapter-index { font: 500 var(--fs-label)/1 var(--sans); letter-spacing: .2em; color: var(--olive); }
.chapter-copy h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); margin: .8rem 0 .4rem; }
.chapter-type { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; }
.chapter-copy p.note { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.4rem; }
/* Pinned (enabled by JS on large screens with motion allowed) */
.sequence.is-pinned .chapters { position: relative; height: calc(var(--chapters, 3) * 100vh + 40vh); padding: 0; }
.sequence.is-pinned .stage { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: hidden; }
.sequence.is-pinned .chapter { position: absolute; inset: 0; display: flex; align-items: center; }
.sequence.is-pinned .chapter-inner { width: 100%; padding-block: 0; }
.stage-progress { display: none; }
.sequence.is-pinned .stage-progress {
  display: flex; position: absolute; z-index: 3; left: var(--gutter); bottom: 2.2rem; gap: .5rem; align-items: center;
  font: 500 var(--fs-label)/1 var(--sans); letter-spacing: .16em; color: var(--muted);
}
.stage-progress i { width: 34px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.stage-progress i b { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* -------------------------------------------------------------- Catalog */
.catalog-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.catalog-head .lead { justify-self: end; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.product {
  display: flex; flex-direction: column; background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color var(--t-ui), box-shadow var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out);
}
.product:hover { border-color: var(--line); box-shadow: var(--shadow-1); }
.product.is-in-request { border-color: var(--olive); }
.product-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ivory-deep); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.product:hover .product-media img { transform: scale(1.04); }
.product-flag {
  position: absolute; left: .9rem; top: .9rem; display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .7rem; border-radius: var(--r-pill); background: rgba(251, 249, 244, .94); font-size: .78rem; font-weight: 500; color: var(--olive-deep);
  opacity: 0; transform: translateY(-6px); transition: opacity var(--t-ui), transform var(--t-ui) var(--ease-out);
}
.product.is-in-request .product-flag { opacity: 1; transform: none; }
.product-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.product-type { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product h3 { font-size: 1.65rem; }
.product-note { color: var(--ink-soft); font-size: .95rem; }
.product-uses { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: .3rem 0 0; padding: 0; }
.product-uses li { font-size: .76rem; padding: .25rem .6rem; border-radius: var(--r-pill); background: var(--ivory); color: var(--ink-soft); }
.product-order { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: auto 1fr; gap: .6rem; }
.product-order .btn { grid-column: 1 / -1; width: 100%; }
.product-terms { font-size: .78rem; color: var(--muted); margin-top: .2rem; grid-column: 1 / -1; }

/* Quantity stepper + unit */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; height: 44px; }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; border-radius: var(--r-pill); color: var(--ink); transition: background var(--t-fast); }
.qty button:hover { background: var(--ivory); }
.qty button svg { width: 14px; height: 14px; }
.qty input { width: 3.4rem; border: 0; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; background: transparent; padding: 0; height: 100%; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.unit { height: 44px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 2.2rem 0 1rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c2420' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 1rem center; -webkit-appearance: none; appearance: none; font-size: .92rem; }

/* -------------------------------------------------------------- Origin */
.origin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.origin-media { position: relative; }
.origin-media .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--ivory-deep); }
.origin-media .ph img { width: 100%; height: 100%; object-fit: cover; }
.origin-media .ph--inset { position: absolute; width: 46%; right: -6%; bottom: -12%; aspect-ratio: 1; border: 8px solid var(--milk); box-shadow: var(--shadow-2); }
.origin-copy h2 { margin: 1.2rem 0 1.4rem; }
.origin-copy h2 em { color: var(--olive); }
.origin-points { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.origin-points li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .2rem 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.origin-points b { grid-row: span 2; font: italic 500 1.6rem/1 var(--serif); color: var(--olive); }
.origin-points strong { font-weight: 600; }
.origin-points span { color: var(--ink-soft); font-size: .96rem; }

/* -------------------------------------------------------- Professionals */
.pro-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.pro-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(238, 234, 225, .16); }
.pro-item { display: grid; grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid rgba(238, 234, 225, .16); }
.pro-item b { font: italic 500 1.4rem/1 var(--serif); color: #c9cfb3; }
.pro-item h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.pro-item p { color: var(--on-forest-soft); }
.pro-item .btn { justify-self: end; }
.pro-media { margin-top: clamp(3rem, 8vh, 5rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem; }
.pro-media figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--forest-2); }
.pro-media figure img { width: 100%; height: 100%; object-fit: cover; }
.pro-note { margin-top: 2rem; font-size: var(--fs-small); color: var(--on-forest-soft); max-width: 46rem; }

/* ----------------------------------------------------------- How to order */
.howto-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.howto-head h2 { margin-top: 1.2rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; counter-reset: step; }
.steps li { position: relative; padding: 1.6rem 0 0; border-top: 1px solid var(--ink); counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font: italic 500 2.6rem/1 var(--serif); color: var(--olive); margin-bottom: 1rem; }
.steps h3 { font: 600 1.02rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: .4rem; }
.steps p { color: var(--ink-soft); font-size: .95rem; }
.howto-note { margin-top: 2.4rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: var(--ivory); color: var(--ink-soft); font-size: .95rem; max-width: 52rem; }

/* -------------------------------------------------------------- Final CTA */
.cta { position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cta h2 { margin: 1.2rem 0 1.4rem; }
.cta h2 em { color: #c9cfb3; }
.cta .lead { margin-bottom: 2rem; }
.cta-media { border-radius: 240px 240px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; background: var(--forest-2); }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--milk); padding: clamp(4rem, 9vh, 6rem) 0 2rem; border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer .brand svg { width: 150px; }
.footer-tag { margin-top: 1.2rem; font: italic 500 1.25rem/1.3 var(--serif); color: var(--ink-soft); max-width: 18rem; }
.site-footer h2 { font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .94rem; }
.site-footer a { text-decoration: none; color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.supplier-box { padding: 1.3rem; border-radius: var(--r-md); background: var(--ivory); font-size: .94rem; color: var(--ink-soft); }
.supplier-box strong { display: block; color: var(--ink); margin-bottom: .3rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); font-size: .82rem; color: var(--muted); }

/* --------------------------------------------------- Reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .reveal-img img { transform: scale(1.12); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
  .js .reveal-img.is-in img { transform: none; }
}

/* ------------------------------------------------------ Request drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(460px, 100vw); max-width: 100vw; height: 100%; max-height: 100%;
  padding: 0; border: 0; background: var(--milk); color: var(--ink); box-shadow: -30px 0 60px -30px rgba(28, 36, 32, .4);
  display: flex; flex-direction: column;
}
.drawer:not([open]) { display: none; }
.drawer::backdrop { background: rgba(28, 36, 32, .38); backdrop-filter: blur(2px); }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: drawerIn .45s var(--ease-out); }
  .drawer[open]::backdrop { animation: fade .3s ease; }
}
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line-soft); }
.drawer-head h2 { font-size: 1.9rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: border-color var(--t-ui); }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer-foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--line-soft); display: grid; gap: .7rem; }
.drawer-foot .btn { width: 100%; }
.drawer-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.drawer-empty strong { display: block; font: 500 1.6rem/1.2 var(--serif); color: var(--ink); margin-bottom: .5rem; }

/* line items (drawer + quote step 1) */
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .4rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.item:last-child { border-bottom: 0; }
.item-thumb { grid-row: span 3; width: 72px; height: 72px; border-radius: var(--r-sm); overflow: hidden; background: var(--ivory-deep); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-title { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.item-title strong { font: 500 1.2rem/1.2 var(--serif); }
.item-remove { border: 0; background: none; padding: .3rem; margin: -.3rem; font-size: .8rem; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; min-height: 32px; }
.item-remove:hover { color: var(--danger); }
.item-controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.item-note input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 .8rem; font-size: .88rem; background: #fff; }
@media (prefers-reduced-motion: no-preference) { .item.is-new { animation: fadeUp .5s var(--ease-out); } }

/* ---------------------------------------------------------------- Toast */
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 1.4rem; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 1rem; padding: .8rem .9rem .8rem 1.2rem; border-radius: var(--r-pill);
  background: var(--ink); color: var(--milk); box-shadow: var(--shadow-2); font-size: .92rem; max-width: calc(100vw - 2rem);
  transition: opacity var(--t-ui), transform var(--t-ui) var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .btn { min-height: 36px; padding: .45rem .9rem; font-size: .84rem; flex: none; }
.toast span { flex: 1; }
@media (max-width: 600px) {
  .toast { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; transform: translateY(20px); border-radius: var(--r-md); }
  .toast.is-on { transform: none; }
}

/* ------------------------------------------------------------ Page head */
.page-head { padding: clamp(2.5rem, 7vh, 5rem) 0 clamp(2rem, 5vh, 3rem); }
.page-head h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); margin: 1.2rem 0 1rem; }
.page-head h1 em { color: var(--olive); }

/* ----------------------------------------------------------- Quote wizard */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: var(--section); }
.stepper { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.stepper li { position: relative; }
.stepper button {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .9rem 0 0; border: 0; border-top: 2px solid var(--line); background: none; text-align: left;
  font-size: .86rem; color: var(--muted); transition: border-color var(--t-ui), color var(--t-ui);
}
.stepper button span { font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .16em; }
.stepper button[aria-current="step"] { border-top-color: var(--ink); color: var(--ink); font-weight: 600; }
.stepper button.is-done { border-top-color: var(--olive); color: var(--ink-soft); }
.stepper button:disabled { cursor: default; }
.panel { background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.4rem); }
.panel + .panel { margin-top: 1rem; }
.panel h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: .5rem; }
.panel > .small { margin-bottom: 1.6rem; }
.step[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .step:not([hidden]) { animation: fadeUp .5s var(--ease-out); } }
.step-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.step-nav .btn:only-child { margin-left: auto; }

.fieldset { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.fieldset > legend { font: 600 .95rem/1.3 var(--sans); padding: 0; margin-bottom: 1rem; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.type { position: relative; }
.type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type label {
  display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  font-size: .9rem; font-weight: 500; line-height: 1.3; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.type label svg { width: 24px; height: 24px; stroke: var(--olive); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.type label:hover { border-color: var(--ink-soft); }
.type input:checked + label { border-color: var(--ink); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--ink); }
.type input:focus-visible + label { outline: 2px solid var(--olive); outline-offset: 2px; }
.interests { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.interest label { padding: .5rem .5rem .8rem; gap: .6rem; }
.interest picture { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--r-sm); overflow: hidden; }
.interest img { width: 100%; height: 100%; object-fit: cover; }
.interest label span { padding: 0 .3rem; }
.supplier-hint { margin-top: 1rem; font-size: .88rem; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; min-width: 0; }
.field label, .field .label { font-size: .88rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 2.4rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c2420' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right .9rem center; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(85, 97, 58, .18); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field .error { font-size: .84rem; color: var(--danger); display: flex; gap: .4rem; align-items: center; }
.field .error:empty { display: none; }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.fieldset .error { font-size: .84rem; color: var(--danger); margin-top: .6rem; }
.fieldset .error:empty { display: none; }
.follow-up { border: 0; margin: 0 0 1.6rem; padding: 1.3rem; border-radius: var(--r-md); background: var(--ivory); min-width: 0; }
.follow-up > legend { float: left; width: 100%; font: 600 .95rem/1.3 var(--sans); padding: 0; margin-bottom: 1rem; }
.follow-up > legend + * { clear: both; }
details.more { border-top: 1px solid var(--line-soft); padding-top: 1rem; margin-top: .5rem; }
details.more summary { cursor: pointer; font-weight: 600; font-size: .92rem; list-style: none; display: flex; align-items: center; gap: .5rem; min-height: 44px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font-weight: 400; }
details.more[open] summary::before { content: "−"; }
details.more > div { padding-top: 1rem; }

.picker { margin-top: 1.4rem; }
.picker summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: .5rem; list-style: none; }
.picker summary::-webkit-details-marker { display: none; }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; padding-top: .8rem; }
.pick { display: grid; grid-template-columns: 56px 1fr; gap: .8rem; align-items: center; padding: .5rem .6rem .5rem .5rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; text-align: left; font-size: .88rem; font-weight: 500; line-height: 1.25; transition: border-color var(--t-fast); min-height: 72px; }
.pick:hover { border-color: var(--ink); }
.pick img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; }
.pick small { display: block; font-weight: 400; color: var(--olive); margin-top: .2rem; }
.empty-request { padding: 1.5rem; border-radius: var(--r-md); background: var(--ivory); color: var(--ink-soft); }
.empty-request strong { display: block; font: 500 1.4rem/1.2 var(--serif); color: var(--ink); margin-bottom: .3rem; }

.review { display: grid; gap: 1rem; }
.review-block { border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 1.2rem 1.3rem; background: #fff; }
.review-block header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .7rem; }
.review-block h3 { font: 600 .95rem/1.3 var(--sans); }
.review-block button { border: 0; background: none; color: var(--olive-deep); font-weight: 600; font-size: .86rem; text-decoration: underline; text-underline-offset: .2em; min-height: 36px; }
.review-block dl { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: .35rem 1rem; margin: 0; font-size: .92rem; }
.review-block dt { color: var(--muted); }
.review-block dd { margin: 0; overflow-wrap: anywhere; }
.review-block ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; }
.disclaimer { margin-top: 1.4rem; font-size: .86rem; color: var(--ink-soft); padding: 1rem 1.2rem; border-left: 2px solid var(--olive); background: var(--ivory); border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.status { margin-top: 1.4rem; padding: 1.1rem 1.2rem; border-radius: var(--r-md); font-size: .94rem; }
.status--error { background: var(--danger-tint); color: var(--danger); }
.status--error .btn { margin-top: .8rem; margin-right: .5rem; }
.success { text-align: left; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-tint); display: grid; place-items: center; margin-bottom: 1.4rem; }
.success-mark svg { width: 28px; height: 28px; stroke: var(--ok); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s .2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { margin-bottom: 1rem; }
.success p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 36rem; }
.success .ref { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }

.quote-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.aside-card { border-radius: var(--r-lg); background: var(--forest); color: var(--on-forest); padding: 1.6rem; }
.aside-card h2 { font-size: 1.7rem; margin-bottom: .8rem; }
.aside-card p, .aside-card li { color: var(--on-forest-soft); font-size: .92rem; }
.aside-card ul { margin: .8rem 0 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.aside-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--ivory-deep); }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; }
.aside-summary { border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 1.3rem; background: var(--milk); font-size: .92rem; }
.aside-summary h2 { font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.aside-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.aside-summary li { display: flex; justify-content: space-between; gap: 1rem; }
.aside-summary li span:last-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1100px) {
  .nav { gap: 1.4rem; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-item { grid-template-columns: 3rem 1fr; }
  .pro-item p { grid-column: 2; }
  .pro-item .btn { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote-aside { position: static; grid-template-columns: 1fr 1fr; }
  .quote-aside .aside-photo { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand svg { width: 108px; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.5rem;
    background: var(--milk); border-bottom: 1px solid var(--line-soft); box-shadow: var(--shadow-1);
  }
  .nav:not(.is-open) { display: none; }
  .nav a { padding: 1rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .hero .wrap, .sequence-intro .wrap, .catalog-head, .origin, .pro-head, .cta .wrap { grid-template-columns: 1fr; }
  .catalog-head .lead { justify-self: start; }
  .hero-media { max-width: 520px; }
  .hero-caption { left: 1rem; }
  .chapter-inner { grid-template-columns: 1fr; }
  .chapter-word { font-size: 20vw; top: 0; }
  .origin-media { margin-bottom: 3rem; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; }
  .pro-media { grid-template-columns: 1fr; }
  .pro-media figure:last-child { display: none; }
  .cta-media { max-width: 460px; }
}
@media (max-width: 600px) {
  .catalog { grid-template-columns: 1fr; }
  .steps, .grid-2, .footer-grid, .quote-aside { grid-template-columns: 1fr; }
  .hero-facts { gap: .5rem 1rem; }
  .hero-caption { position: relative; left: auto; bottom: auto; margin: -2.5rem 1rem 0; }
  .req-btn .req-label { display: none; }
  .stepper button { font-size: .78rem; }
  .review-block dl { grid-template-columns: 1fr; }
  .review-block dt { margin-top: .4rem; }
  .origin-media .ph--inset { right: -2%; width: 42%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
