/* Flowers Words, v3: full-screen photo hero, then a clean white page. */
:root {
  --paper: #ffffff;
  --ink: #1a1714;
  --ink-2: #5e5852;       /* secondary text, 7.2:1 on white */
  --line: #e8e5e1;
  --on-photo: #ffffff;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 80px);
  /* Type scale after the hero: four sizes only */
  --t-display: clamp(44px, 6vw, 88px);
  --t-title: clamp(24px, 2.4vw, 34px);
  --t-body: 17px;
  --t-small: 12px;
  /* Spacing scale */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px;
  --section: clamp(120px, 13vw, 184px);
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
section[id], header[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.hero :focus-visible, .nav:not(.is-solid) :focus-visible { outline-color: #fff; }
::selection { background: var(--ink); color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 16px; left: 16px; z-index: 90; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 999px; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- Nav: white over the photo, ink on white once past it ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--pad); color: var(--on-photo);
  transition: background-color .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease);
}
.motion .nav { position: fixed; }
.nav.is-solid {
  color: var(--ink); background: rgba(255, 254, 252, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.logo {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid currentColor; font: 400 16px/1 var(--serif); letter-spacing: .04em; padding-top: 2px;
}
.nav-right, .nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav .lang, .nav-bag, .nav-menu {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: inherit;
}
.nav-links a {
  background: linear-gradient(currentColor, currentColor) 14px calc(50% + 11px) / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.nav-links a:hover { background-size: calc(100% - 28px) 1px; }
.nav .lang { background: none; border: 0; font: 400 16px/1 "Amiri", serif; letter-spacing: 0; text-transform: none; cursor: pointer; }
.nav-menu { background: none; border: 0; cursor: pointer; display: none; }
.nav-bag {
  gap: 10px; margin-left: 8px; padding: 0 8px 0 20px; background: none; border: 1px solid currentColor; border-radius: 999px; cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), scale .15s var(--ease);
}
.nav-bag:active { scale: .96; }
.bag-count {
  display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px;
  background: currentColor; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.bag-count { color: var(--ink); background: var(--on-photo); }
.nav.is-solid .bag-count { color: #fff; background: var(--ink); }
@media (hover: hover) {
  .nav-bag:hover { background: var(--on-photo); color: var(--ink); }
  .nav-bag:hover .bag-count { background: var(--ink); color: #fff; }
  .nav.is-solid .nav-bag:hover { background: var(--ink); color: #fff; }
  .nav.is-solid .nav-bag:hover .bag-count { background: #fff; color: var(--ink); }
}
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25); } }
@media (max-width: 1040px) {
  .nav { padding: 14px 16px; }
  .js .nav-menu { display: inline-flex; }
  .js .nav-links {
    position: absolute; top: calc(100% - 4px); right: 16px; display: grid; gap: 0; min-width: 240px; padding: 8px;
    background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -16px rgba(26, 23, 20, .18);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .js .nav.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .nav-links a { width: 100%; min-height: 48px; padding: 0 16px; }
  html:not(.js) .nav-links { display: none; }
}
@media (max-width: 420px) {
  .nav .lang { padding: 0 8px; }
  .nav-menu { padding: 0 10px; }
  .nav-bag { margin-left: 4px; padding-left: 16px; }
}

/* ---------- Hero: the photo is the background, the title sits over it ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: var(--on-photo); background: #1f5fcf; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
/* With motion the picture is much taller than the screen: it opens on the sky and pans down to the garden */
.motion .hero-media img { height: 260%; object-position: 50% 50%; transform-origin: 50% 0; will-change: transform; }
@media (max-width: 760px) { .motion .hero-media img { height: 165%; } }
/* Soft shade at the top (title) and bottom (caption) so white type reads on light walls */
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 28, 70, .22) 0%, rgba(8, 28, 70, 0) 28%);
}
.hero-title { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; pointer-events: none; text-align: center; text-shadow: 0 2px 40px rgba(8, 28, 70, .28); }
.wordmark { font: 400 clamp(64px, 12.5vw, 200px)/.86 var(--serif); letter-spacing: -.035em; text-transform: uppercase; }
.wm-line { display: block; overflow: hidden; padding-bottom: .04em; }
.wm-line > span { display: block; }
.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 32px; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px;
  font: 500 11px/1.7 var(--sans); letter-spacing: .28em; text-transform: uppercase; text-align: center;
  text-shadow: 0 1px 14px rgba(8, 28, 70, .55);
}
.hero-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
@media (max-width: 760px) {
  .hero-foot { flex-direction: column; gap: 0; }
  .hero-dot { display: none; }
}

/* ---------- After the hero: white page, one grid, four type sizes ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: var(--section) 0; }
.display { font: 400 var(--t-display)/1 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.lead { margin-top: var(--s-3); max-width: 40ch; color: var(--ink-2); text-wrap: pretty; }
.head { position: relative; z-index: 1; margin-bottom: var(--s-5); }
.head .lead { max-width: 40ch; }
@media (min-width: 900px) {
  /* Title left, lead on the second column line, the same line the occasion notes use */
  .head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: var(--s-3); }
  .head .lead { margin-top: 0; padding-bottom: .4em; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border: 1px solid var(--ink); border-radius: 999px;
  font: 500 var(--t-small)/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.btn-solid { background: var(--ink); color: #fff; }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
@media (hover: hover) {
  .btn:hover { background: var(--ink); color: #fff; }
  .btn-solid:hover { background: transparent; color: var(--ink); }
  .link:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); }
}
.media { overflow: hidden; aspect-ratio: 4 / 5; background: #f4f2ef; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Intro ---------- */
.intro { position: relative; padding: var(--section) var(--pad); text-align: center; }
.intro-text { position: relative; z-index: 1; max-width: 24ch; margin: 0 auto; font: 400 var(--t-title)/1.35 var(--serif); text-wrap: balance; }
.intro-ar { position: relative; z-index: 1; margin-top: var(--s-3); font: 400 var(--t-title)/1.6 "Amiri", serif; color: var(--ink-2); }
.actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--s-4); }

/* ---------- Shop: one calm grid of photos ---------- */
.shop-grid { display: grid; gap: var(--s-5) var(--s-3); }
.piece h3 { margin-top: var(--s-3); font: 400 var(--t-title)/1.15 var(--serif); letter-spacing: -.01em; }
.piece p { margin-top: var(--s-1); color: var(--ink-2); max-width: 32ch; }
.piece .link { margin-top: var(--s-1); }
@media (min-width: 700px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Weekly vase ---------- */
.weekly { display: grid; gap: var(--s-5); }
.steps { margin: var(--s-4) 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 48px 1fr; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.steps .n { font: 500 var(--t-small)/2.1 var(--sans); letter-spacing: .1em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.steps h3 { font: 500 var(--t-body)/1.5 var(--sans); }
.steps p { margin-top: 2px; color: var(--ink-2); }
@media (min-width: 900px) {
  .weekly { grid-template-columns: 5fr 1fr 6fr; align-items: center; gap: 0; }
  .weekly-body { grid-column: 3; max-width: 560px; }
}

/* ---------- Occasions ---------- */
.occ-list { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.occ-list li { border-bottom: 1px solid var(--line); }
.occ-list a { display: grid; gap: 4px; padding: var(--s-3) 0; }
.occ-name {
  justify-self: start; font: 400 var(--t-title)/1.2 var(--serif); letter-spacing: -.01em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.occ-note { color: var(--ink-2); }
.occ-list a:hover .occ-name, .occ-list a:focus-visible .occ-name { background-size: 100% 1px; }
@media (min-width: 900px) {
  .occ-list a { grid-template-columns: 1fr 1fr; align-items: baseline; gap: var(--s-3); padding: var(--s-4) 0; }
}

/* ---------- Visit ---------- */
.visit { padding-bottom: var(--section); }
.visit-grid { position: relative; z-index: 1; display: grid; gap: var(--s-4); }
.br { border-top: 1px solid var(--line); padding-top: var(--s-3); }
.br h3 { font: 400 var(--t-title)/1.2 var(--serif); letter-spacing: -.01em; }
.tel { display: flex; align-items: center; min-height: 44px; margin-top: var(--s-1); font-variant-numeric: tabular-nums; }
.br .link { color: var(--ink-2); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); } }

/* ---------- Footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-1) var(--s-3);
  padding-block: var(--s-3) var(--s-4);
  background: linear-gradient(var(--line), var(--line)) 50% 0 / calc(100% - 2 * var(--pad)) 1px no-repeat;
  font-size: var(--t-small); letter-spacing: .04em; color: var(--ink-2);
}
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 760px) { body { font-size: 16px; } }

/* ---------- Cut-out flowers: few, small, in the empty margins, never over text ---------- */
.fl { position: absolute; z-index: 0; height: auto; pointer-events: none; user-select: none; }
.fl-intro-l { width: clamp(88px, 16vw, 230px); left: max(-40px, -3vw); top: clamp(0px, 4vw, 64px); transform: rotate(-8deg); }
.fl-intro-r { width: clamp(110px, 18vw, 260px); right: max(-40px, -3vw); bottom: clamp(8px, 3vw, 48px); transform: rotate(6deg); }
/* Head flowers sit in the empty top margin, right of the title, clear of it even at the end of their drift */
.fl-head { --flw: clamp(84px, 14vw, 200px); width: var(--flw); right: max(-24px, -2vw); top: max(0px, calc(var(--section) - var(--flw) - 40px)); transform: rotate(6deg); }
.intro, .section { overflow-x: clip; }

/* ---------- Loader (only with motion; never shown with JS off) ---------- */
.loader { display: none; }
.motion .loader { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--paper); }
.loader-mark { width: min(300px, 62vw); overflow: visible; }
.loader-mark text { font: 400 96px var(--serif); letter-spacing: .02em; fill: transparent; stroke: var(--ink); stroke-width: .7; }
.loader-meta {
  position: absolute; left: 0; right: 0; bottom: 44px; display: flex; justify-content: center; gap: 28px;
  font: 500 10.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2);
}
.loader-num { font-variant-numeric: tabular-nums; min-width: 4ch; }


/* ---------- Hero: single blooms at the sides, moving a little ---------- */
.hd-blooms { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hd-bloom { position: absolute; width: clamp(56px, 7.5vw, 120px); height: auto; filter: drop-shadow(0 18px 24px rgba(8, 28, 70, .22)); }
.b1 { left: 4%; top: 18%; transform: rotate(-14deg); }
.b3 { left: 9%; top: 50%; width: clamp(44px, 5.5vw, 90px); transform: rotate(10deg); }
.b5 { left: 3%; bottom: 14%; width: clamp(50px, 6.5vw, 104px); transform: rotate(22deg); }
.b2 { right: 4%; top: 15%; width: clamp(62px, 8.5vw, 136px); transform: rotate(18deg); }
.b4 { right: 9%; top: 47%; transform: rotate(-8deg); }
.b6 { right: 3%; bottom: 16%; width: clamp(46px, 5.5vw, 92px); transform: rotate(-20deg); }
@media (max-width: 760px) {
  .b1 { left: 3%; top: 16%; } .b3 { left: 8%; top: 28%; } .b5 { left: 4%; bottom: 22%; }
  .b2 { right: 3%; top: 18%; } .b4 { right: 7%; bottom: 30%; top: auto; } .b6 { right: 4%; bottom: 18%; }
}

/* A quiet scroll cue */
.hd-cue { position: absolute; left: 50%; bottom: 84px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateX(-50%);
  font: 500 10px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: #fff; }
.hd-cue i { display: block; width: 1px; height: 46px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hd-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; transform: translateY(-100%); }
.motion .hd-cue i::after { animation: hdCue 2.4s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes hdCue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }
@media (max-width: 760px) { .hd-cue { bottom: 96px; } }

/* ---------- Store helpers ---------- */
html:not(.js) .js-only { display: none !important; }
.js .nojs-only { display: none !important; }
.actions-start { justify-content: flex-start; }
button.btn, button.link { cursor: pointer; font-family: var(--sans); color: inherit; }
button.btn { background: none; }
button.btn.btn-solid { background: var(--ink); color: #fff; }
button.link { padding: 0; border: 0; background-color: transparent; font: inherit; }
.btn:active, button.link:active { scale: .96; }
.btn { transition: background-color .5s var(--ease), color .5s var(--ease), scale .15s var(--ease); }

/* ---------- Build your bouquet ---------- */
.build-grid { display: grid; gap: var(--s-4); }
.build-view { display: contents; }
.stage {
  position: sticky; top: 72px; z-index: 5; display: grid; place-items: center;
  height: min(38svh, 330px); margin-inline: calc(-1 * var(--pad)); background: #f6f3ef; overflow: hidden;
}
.scene { position: relative; height: 96%; margin-top: 10%; aspect-ratio: 4 / 5; transform-origin: 50% 60%; transition: scale .9s var(--ease); }
.scene[data-size="petite"] { scale: .86; }
.scene[data-size="grand"] { scale: 1.08; }
.ct { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: translateY(3%); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.ct-back { z-index: 0; } .ct-front { z-index: 100; }
.scene[data-wrap="paper"] .ct-paper, .scene[data-wrap="box"] .ct-box, .scene[data-wrap="vase"] .ct-vase { opacity: 1; transform: none; }
.ground { position: absolute; left: 20%; right: 20%; top: 81.5%; height: 4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 23, 20, .12), rgba(26, 23, 20, 0)); }
.green { position: absolute; z-index: 1; width: 30%; height: auto; transform-origin: 100% 100%; transition: transform .9s var(--ease); }
.g1 { left: 6%; top: 16%; transform: rotate(-6deg); }
.g2 { right: 6%; top: 14%; transform: scaleX(-1) rotate(-14deg); transform-origin: 0 100%; }
.g3 { left: 26%; top: 2%; width: 24%; transform: rotate(18deg); }
.blooms { position: absolute; inset: 0; z-index: 2; }
.bloom { position: absolute; width: var(--w); left: var(--x); top: var(--y); translate: -50% -50%; rotate: var(--r); }
.bloom img { width: 100%; height: auto; }
.bloom-static { position: absolute; inset: 0; width: 100%; height: 100%; }

.build-sum { order: 3; }
.sum { font: 400 var(--t-title)/1.3 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.add { margin-top: var(--s-3); width: 100%; }
.sum-note { margin-top: var(--s-2); color: var(--ink-2); }
.sum-note:empty { display: none; }

.build-form { display: grid; gap: var(--s-4); }
.step { margin: 0; padding: var(--s-3) 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: baseline; gap: var(--s-2); margin-bottom: var(--s-2); padding: 0; font: 500 var(--t-body)/1.5 var(--sans); }
.step legend + * { clear: both; }
.step .n { width: 32px; font: 500 var(--t-small)/1 var(--sans); letter-spacing: .1em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hint { margin-left: auto; font-weight: 400; font-size: var(--t-small); letter-spacing: .04em; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 1px solid #d8d2cb; border-radius: 999px; font-size: var(--t-body); line-height: 1;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), scale .15s var(--ease);
}
.chip:active span { scale: .96; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .chip:hover input:not(:checked) + span { border-color: var(--ink); } }
.sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(26, 23, 20, .12); }
.sw-blush { background: #f2c3c6; } .sw-coral { background: #ef8a6f; } .sw-white { background: #fbf7ef; }
.sw-pastel { background: conic-gradient(#f2c3c6 0 33%, #fbf7ef 0 66%, #f6c6a6 0); }
.chip input:checked + span .sw { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }

.field { display: grid; gap: var(--s-1); min-width: 0; }
.field + .field, .field + .field-row { margin-top: var(--s-3); }
.field-row { display: grid; gap: var(--s-3); }
.field-row .field { margin-top: 0; }
.field label { font-size: var(--t-small); letter-spacing: .04em; color: var(--ink-2); }
.field textarea, .field input, .field select {
  width: 100%; min-height: 52px; padding: 14px 18px; border: 1px solid #d8d2cb; border-radius: 16px; background: #fff;
  font: 400 16px/1.5 var(--sans); color: var(--ink); transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; padding-right: 44px; 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='%231a1714' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field textarea:focus-visible, .field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field ::placeholder { color: #7a736c; } /* 4.6:1 on white */
.count { font-size: var(--t-small); color: var(--ink-2); font-variant-numeric: tabular-nums; }

@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .build-grid { grid-template-columns: 6fr 1fr 5fr; gap: 0; align-items: start; }
  .build-view { display: block; position: sticky; top: 96px; grid-column: 1; }
  .build-form { grid-column: 3; }
  .stage { position: relative; top: auto; height: auto; aspect-ratio: 1 / 1; max-height: calc(100svh - 300px); min-height: 380px; margin: 0; }
  .scene { height: 96%; margin-top: 2%; }
  .build-sum { margin-top: var(--s-3); display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: var(--s-3); }
  .add { margin-top: 0; width: auto; }
  .sum-note { grid-column: 1 / -1; }
}
@media (max-width: 899px) { .build .head { margin-bottom: var(--s-4); } }

/* Shop card actions */
.piece-actions { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); margin-top: var(--s-1); }
.piece .piece-actions .link { margin-top: 0; }
.piece-actions button.link { color: var(--ink-2); }

/* ---------- Bag drawer ---------- */
.bag {
  position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0;
  padding: 0; border: 0; background: #fff; color: var(--ink);
  display: none; flex-direction: column; box-shadow: -1px 0 0 var(--line);
  transform: translateX(100%); transition: transform .5s var(--ease);
}
.bag[open] { display: flex; }
.bag.is-in { transform: none; }
.bag::backdrop { background: rgba(26, 23, 20, 0); transition: background-color .5s var(--ease); }
.bag.is-in::backdrop { background: rgba(26, 23, 20, .32); }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 16px 20px 28px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font: 400 var(--t-title)/1.2 var(--serif); }
.bag-close { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
@media (hover: hover) { .bag-close:hover { background: #f4f2ef; } }
.bag-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 28px; }
.bag-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s-2); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.bag-list h3 { font: 500 var(--t-body)/1.4 var(--sans); }
.bag-list p { grid-column: 1; color: var(--ink-2); font-size: 15px; }
.bag-list .rm { grid-column: 2; grid-row: 1; align-self: start; min-height: 44px; margin-top: -10px; padding: 0 2px; font-size: var(--t-small); letter-spacing: .04em; color: var(--ink-2); }
.bag-empty { display: none; flex: 1; padding: var(--s-4) 28px; color: var(--ink-2); }
.bag-empty .btn { margin-top: var(--s-3); color: var(--ink); }
.bag.is-empty .bag-empty { display: block; }
.bag.is-empty .bag-list, .bag.is-empty .bag-foot { display: none; }
.bag-foot { padding: var(--s-3) 28px calc(var(--s-3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.bag-checkout { width: 100%; }
.bag-note { margin-top: var(--s-2); color: var(--ink-2); text-align: center; }
.bag-note:empty { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70; translate: -50% 12px;
  padding: 14px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), translate .5s var(--ease);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

@media (prefers-reduced-motion: reduce) {
  .scene, .ct, .green, .bag, .bag::backdrop, .toast, .chip span, .nav-links { transition: none !important; }
  .bag-count.bump { animation: none; }
}

/* Hero buttons: they arrive over the garden; the title stays centred because they hang below it */
.hero-lockup { position: relative; }
.hero-actions { position: absolute; left: 0; right: 0; top: 100%; margin-top: clamp(28px, 4vh, 44px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0 var(--pad); pointer-events: auto; text-shadow: none; }
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
  border: 1px solid #fff; border-radius: 999px; color: #fff; text-decoration: none; background: rgba(10, 30, 70, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; transition: background-color .5s var(--ease), color .5s var(--ease);
}
.hero-btn-solid { background: #fff; color: var(--ink); }
.hero-btn:hover, .hero-btn:focus-visible { background: #fff; color: var(--ink); }
.hero-btn-solid:hover, .hero-btn-solid:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero .wordmark { text-shadow: 0 2px 34px rgba(8, 28, 70, .42); }

/* Buttons sit on the lawn: the horizon lands mid-screen, the flower border is ~10% of the picture tall */
.hero-actions { top: auto; bottom: 64px; z-index: 3; margin-top: 0; }
.motion .hero-actions { bottom: auto; top: calc(50% + 26% + 16px); }
@media (max-width: 760px) { .motion .hero-actions { top: calc(50% + 16.5% + 12px); } }

/* Sky details: a soft sun glow and a few real clouds that drift slowly */
.sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.sky-sun { position: absolute; right: -14vmax; top: -16vmax; width: 56vmax; height: 56vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 240, .62) 0%, rgba(255, 252, 240, .2) 30%, rgba(255, 252, 240, 0) 62%); }
.sky-cloud { position: absolute; height: auto; opacity: .95; }
.k1 { width: clamp(220px, 34vw, 560px); left: -5%; top: 13%; }
.k2 { width: clamp(200px, 30vw, 500px); right: -6%; top: 31%; opacity: .9; }
.k3 { width: clamp(150px, 19vw, 320px); left: 14%; top: 68%; opacity: .8; }
@media (max-width: 760px) {
  .k1 { width: 64vw; left: -18%; top: 12%; }
  .k2 { width: 58vw; right: -20%; top: 36%; }
  .k3 { width: 44vw; left: 4%; top: 64%; }
}

/* Cloud places: kept clear of the title and the side blooms; k4 and k5 start below and rise into view while scrolling */
.k1 { width: 26vw; left: 14%; top: 9%; right: auto; }
.k2 { width: 24vw; right: 16%; left: auto; top: 72%; }
.k3 { width: 16vw; left: 18%; top: 74%; }
.k4 { width: 28vw; right: 10%; top: 108%; opacity: .9; }
.k5 { width: 22vw; left: 8%; top: 138%; opacity: .85; }
@media (max-width: 760px) {
  .k1 { width: 50vw; left: 20%; top: 11%; }
  .k2 { width: 46vw; left: 22%; right: auto; top: 64%; }
  .k3 { display: none; }
  .k4 { width: 56vw; right: -6%; top: 110%; }
  .k5 { width: 48vw; left: -6%; top: 140%; }
}

/* Final cloud places: side columns only, so a white cloud never sits behind the white title */
.k1 { width: 20vw; left: -6%; right: auto; top: 31%; }
.k2 { width: 19vw; right: -6%; left: auto; top: 29%; }
.k4 { width: 20vw; right: -6%; left: auto; top: 60%; }
.k5 { width: 21vw; left: -5%; right: auto; top: 108%; }
.k3 { width: 20vw; right: -5%; left: auto; top: 125%; }
@media (max-width: 760px) {
  .k1 { width: 50vw; left: 20%; top: 11%; }
  .k2 { width: 46vw; left: 22%; right: auto; top: 64%; }
  .k3, .k4, .k5 { display: none; }
}

/* ---------- Nav layout: menu (three lines) left, FW centred, bag right ---------- */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav .nav-menu { grid-column: 1; justify-self: start; display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 0 12px; margin-left: -12px; }
.nav-menu span { display: block; width: 24px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s var(--ease); }
.nav.menu-open .nav-menu span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.menu-open .nav-menu span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.nav.menu-open .nav-menu span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav .logo { grid-column: 2; }
.nav .nav-bag { grid-column: 3; justify-self: end; margin-left: 0; }
html:not(.js) .nav .nav-menu { display: none; }
/* the menu panel opens under the button, on every screen size */
.js .nav .nav-links {
  position: absolute; top: calc(100% - 4px); left: var(--pad); right: auto; display: grid; gap: 0; min-width: 260px; padding: 8px;
  background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -16px rgba(26, 23, 20, .18);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.js .nav.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.js .nav .nav-links a, .js .nav .nav-links .lang { width: 100%; min-height: 48px; padding: 0 16px; }
.nav-links .lang { color: inherit; }
html:not(.js) .nav .nav-links { position: absolute; top: 100%; left: var(--pad); display: flex; flex-wrap: wrap; }
@media (max-width: 1040px) { .js .nav .nav-links { left: 16px; } .nav .nav-menu { margin-left: -8px; } }

/* ---------- Full-screen menu (like Eat Up): it grows out of the three lines as a dark circle ---------- */
.nav .nav-menu, .nav .logo, .nav .nav-bag { position: relative; z-index: 2; }
.nav.menu-open { color: #fff !important; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.nav.menu-open .bag-count { color: var(--ink); background: #fff; }
.nav-panel { display: none; }
.js .nav .nav-panel {
  position: fixed; inset: 0; z-index: 1; display: grid; grid-template-columns: 1fr; align-items: center; gap: 24px;
  padding: 110px var(--pad) 90px; background: #15120f; color: #fff;
  clip-path: circle(0px at var(--mx, 40px) var(--my, 42px)); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.js .nav.menu-open .nav-panel { clip-path: circle(150vmax at var(--mx, 40px) var(--my, 42px)); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.js .nav .nav-panel .nav-links { position: static; display: block; min-width: 0; padding: 0; margin: 0; background: none; box-shadow: none; color: inherit; opacity: 1; visibility: inherit; transform: none; }
.js .nav .nav-panel .nav-links a {
  display: inline-block; width: auto; min-height: 0; padding: 4px 0; background: none;
  font: 400 clamp(44px, 7vw, 104px)/1.08 var(--serif); letter-spacing: -.02em; text-transform: none; color: rgba(255, 255, 255, .55);
  opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .7s var(--ease), color .3s;
}
.js .nav.menu-open .nav-panel .nav-links a { opacity: 1; transform: none; }
.js .nav.menu-open .nav-links li:nth-child(1) a { transition-delay: .15s, .15s, 0s; }
.js .nav.menu-open .nav-links li:nth-child(2) a { transition-delay: .22s, .22s, 0s; }
.js .nav.menu-open .nav-links li:nth-child(3) a { transition-delay: .29s, .29s, 0s; }
.js .nav.menu-open .nav-links li:nth-child(4) a { transition-delay: .36s, .36s, 0s; }
.js .nav .nav-panel .nav-links a:hover, .js .nav .nav-panel .nav-links a.hot, .js .nav .nav-panel .nav-links a:focus-visible { color: #fff; }
.nav-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin: 0;
  font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.nav-foot a { color: inherit; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.js .nav .nav-panel .nav-foot .lang { width: auto; min-height: 44px; padding: 0; color: #fff; }
@media (max-width: 760px) {
  .js .nav .nav-panel { grid-template-columns: 1fr; align-content: center; padding-top: 120px; }
    .nav-foot { bottom: calc(28px + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .js .nav .nav-panel, .js .nav .nav-panel .nav-links a { transition: none !important; } }

/* More blooms waiting below the first screen; they rise up the sides during the sky-to-garden scroll */
.hd-late { display: none; }
.motion .hd-late { display: block; }
.l1 { left: 5%; top: 112%; transform: rotate(12deg); }
.l2 { right: 6%; top: 128%; width: clamp(64px, 8vw, 128px); transform: rotate(-16deg); }
.l3 { left: 10%; top: 150%; width: clamp(46px, 5.5vw, 90px); transform: rotate(-8deg); }
.l4 { right: 11%; top: 168%; width: clamp(48px, 6vw, 96px); transform: rotate(20deg); }
.l5 { left: 3%; top: 186%; transform: rotate(-20deg); }
.l6 { right: 4%; top: 204%; width: clamp(54px, 7vw, 112px); transform: rotate(10deg); }
@media (max-width: 760px) {
  .hd-late { width: 50px !important; }
  .l1, .l3, .l5 { left: -3%; } .l2, .l4, .l6 { right: -3%; }
}

/* Loader in the hero's own sky: the FW badge from the nav, a thin ring fills as it loads, then the sky clears into the page */
.motion .loader { background: linear-gradient(180deg, #0a47bd 0%, #1458cc 100%); color: #fff; }
.motion .loader .loader-meta { color: rgba(255, 255, 255, .8); }

/* Clouds grouped together at the top of the sky, above the title */
.k1 { width: 26vw; left: 22%; right: auto; top: 10%; opacity: .95; }
.k2 { width: 24vw; left: 46%; right: auto; top: 6%; opacity: .85; }
.k3 { width: 15vw; left: 38%; right: auto; top: 20%; opacity: 1; display: block; }
.k4 { width: 14vw; left: 64%; right: auto; top: 18%; opacity: .8; display: block; }
.k5 { display: none; }
@media (max-width: 760px) {
  .k1 { width: 58vw; left: 4%; top: 12%; }
  .k2 { width: 52vw; left: 42%; top: 9%; }
  .k3 { width: 36vw; left: 26%; top: 22%; display: block; }
  .k4, .k5 { display: none; }
}

/* The client's FW monogram, drawn in the current text colour (white on the sky, ink on white) */
.fw-mark { display: block; width: 50%; height: auto; filter: invert(1); transition: filter .6s var(--ease); }
.nav.is-solid:not(.menu-open) .fw-mark { filter: none; }
.logo .fw-mark { width: 46%; margin-top: -1px; }

/* ---------- Loader ---------- */
.ldb { display: grid; }
/* White sheet, the ink monogram with four blooms circling it; a round window opens onto the sky */
.motion .loader { background: #fff; color: var(--ink); -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hole, 0px), #000 calc(var(--hole, 0px) + 1px)); mask: radial-gradient(circle at 50% 50%, transparent var(--hole, 0px), #000 calc(var(--hole, 0px) + 1px)); }
.motion .loader .loader-meta { color: var(--ink-2); }
.ldb { position: relative; place-items: center; width: clamp(220px, 30vw, 340px); aspect-ratio: 1; }
.ldb-mark { width: 30%; height: auto; }
.ldb-bloom { position: absolute; left: 50%; top: 50%; width: 16%; height: auto; margin: -8% 0 0 -8%; filter: drop-shadow(0 10px 14px rgba(26, 23, 20, .15)); }


/* ---------- Shop: large calm photos, two clear buttons per piece ---------- */
.piece { display: flex; flex-direction: column; }
.piece .media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #f4f2ef; margin: 0; }
.piece .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .piece:hover .media img { transform: scale(1.04); } }
.piece h3 { margin-top: var(--s-3); }
.piece p { flex: 1; }
.piece-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: var(--s-3); }
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
  font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease), scale .15s var(--ease);
}
.pbtn-solid { background: var(--ink); color: #fff; }
.pbtn:active { scale: .97; }
@media (hover: hover) {
  .pbtn:hover { background: var(--ink); color: #fff; }
  .pbtn-solid:hover { background: transparent; color: var(--ink); }
}
.pbtn.is-added { background: #fff; color: var(--ink); }
html:not(.js) .piece-actions { grid-template-columns: 1fr; }
/* Phone: one swipeable row, so the shop takes one screen instead of four */
@media (max-width: 699px) {
  .shop-grid {
    grid-auto-flow: column; grid-auto-columns: 80%; grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 4px; scroll-padding: 0 var(--pad);
  }
  .shop-grid::-webkit-scrollbar { display: none; }
  .shop-grid > li { scroll-snap-align: start; }
}

/* ---------- QA fixes (no change to the motion design) ---------- */
/* Sections and the top that receive focus after an in-page link: focus moves for keyboard users, no ring around a whole section */
[tabindex="-1"]:focus { outline: none; }
/* Static page (reduced motion or JS off): the scroll cue sat behind the hero buttons, and on a phone the two stacked buttons covered the caption */
html:not(.motion) .hd-cue { display: none; }
@media (max-width: 760px) { html:not(.motion) .hero-actions { bottom: 92px; } }
