/* The typeface travels with the site (assets/fonts), so a visitor's browser
   asks no third party for it: no Google request, nothing for a cookie banner. */
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   STEM — florist template.
   Quiet: lots of paper, few elements, one line that moves. The left margin
   (--stem) stays empty down the whole page: that is where the stem grows.
   One typeface, Plus Jakarta Sans (200–600): headings get their contrast from
   weight. The editable colours (--bg, --ink, --accent) live in
   <style data-edit-colors>; the leaf green is fixed and follows the theme.
   ========================================================================== */

:root {
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ink-soft: color-mix(in srgb, var(--ink) 70%, var(--bg));
  --ink-mute: color-mix(in srgb, var(--ink) 66%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 13%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 30%, transparent);
  --bg-2: color-mix(in srgb, var(--ink) 4%, var(--bg));
  --bg-3: color-mix(in srgb, var(--ink) 8%, var(--bg));
  --accent-ink: var(--bg);
  --accent-soft: color-mix(in srgb, var(--accent) 12%, var(--bg));
  /* the leaf: a dusty sage for the stem and its leaves */
  --leaf: #5F6E4F;

  --fs-label: 12px;
  --fs-small: 14px;
  --fs-body: 16.5px;
  --fs-lead: clamp(18px, 1.35vw, 21px);
  --fs-h3: clamp(23px, 2vw, 32px);
  --fs-h2: clamp(38px, 4.6vw, 74px);
  --fs-statement: clamp(32px, 4.6vw, 70px);
  --fs-display: clamp(50px, min(6.1vw, 9.6vh), 104px);

  --gutter: clamp(20px, 3.4vw, 56px);
  --stem: clamp(28px, 7vw, 132px);
  --space-section: clamp(112px, 12vw, 190px);
  --space-head: clamp(48px, 5.2vw, 84px);
  --header-h: 96px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --dur: .45s;
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; --leaf: #A3B38E; }

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; font-family: var(--sans); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { width: 1em; height: 1em; flex: none; }
figure, fieldset { margin: 0; padding: 0; border: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.04em; }
h2 { font-size: var(--fs-h2); line-height: 1.04; }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.03em; }
/* the emphasised word: same font, lighter weight */
h1 em, h2 em, .statement-text em { font-style: normal; font-weight: 200; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -100px; left: var(--gutter); z-index: 100; background: var(--bg); padding: 14px; }
.skip-link:focus { top: 14px; }
.eyebrow { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.label { display: block; font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
/* all content starts after the empty strip */
.section { padding: var(--space-section) var(--gutter) var(--space-section) calc(var(--stem) + var(--gutter)); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; margin-bottom: var(--space-head); }
.section-head .eyebrow { padding-top: 14px; }
.section-intro { max-width: 520px; color: var(--ink-soft); font-size: var(--fs-lead); margin-top: 24px; line-height: 1.5; }
/* centred heading */
.head-centre { display: block; text-align: center; }
.head-centre .eyebrow { padding: 0 0 20px; }
.head-centre h2 { max-width: 13ch; margin: 0 auto; }
.head-centre .section-intro { margin: 24px auto 0; }
/* heading on the right, the label at the far left */
.head-right { grid-template-columns: minmax(0, 1fr) auto; }
.head-right > div { text-align: right; }
.head-right h2 { max-width: 12ch; margin-left: auto; }
.head-right .section-intro { margin-left: auto; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; padding: 16px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: var(--fs-small); font-weight: 500; transition: background var(--dur), color var(--dur), gap var(--dur); }
.button svg { width: 20px; height: 20px; }
.button:hover { background: var(--accent); color: var(--accent-ink); gap: 46px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 5px; transition: border-color var(--dur); }
.text-link svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.text-link:hover { border-color: var(--ink); }
.text-link:hover svg { transform: translateY(2px); }
.plain-link { border-bottom: 1px solid transparent; transition: border-color var(--dur); }
.plain-link:hover { border-color: currentColor; }

/* word-reveal mask: room above for accents and below for descenders */
.line-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .22em .04em .3em; margin: -.22em -.04em -.3em; }
.line-mask > span { display: inline-block; }

/* ---------- the stem ---------- */
.stem { position: fixed; left: 0; top: 0; width: var(--stem); height: 100vh; height: 100svh; z-index: 6; pointer-events: none; color: var(--leaf); opacity: .7; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.stem-leaves path { fill: color-mix(in srgb, var(--leaf) 22%, transparent); }

/* the tulip: petals open by day, closed into a bud at night */
.tulip { width: 26px; height: 26px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.tulip .petal { fill: var(--bg); transform-box: view-box; transform-origin: 12px 14px; transition: transform .9s var(--ease), fill .9s var(--ease); }
.tulip .petal-l { transform: rotate(-32deg); }
.tulip .petal-r { transform: rotate(32deg); }
.theme-toggle:hover .tulip .petal-l { transform: rotate(-38deg); }
.theme-toggle:hover .tulip .petal-r { transform: rotate(38deg); }
:root[data-theme="dark"] .tulip .petal-l, :root[data-theme="dark"] .theme-toggle:hover .tulip .petal-l { transform: rotate(3deg); }
:root[data-theme="dark"] .tulip .petal-r, :root[data-theme="dark"] .theme-toggle:hover .tulip .petal-r { transform: rotate(-3deg); }
:root[data-theme="dark"] .tulip .petal-c { transform: scale(.92); }
:root[data-theme="dark"] .theme-toggle:hover .tulip .petal-l { transform: rotate(-6deg); }
:root[data-theme="dark"] .theme-toggle:hover .tulip .petal-r { transform: rotate(6deg); }

/* ---------- header: no bar ----------
   It belongs to the first screen and scrolls away with it, so it never changes.
   The name stands on the paper (left 45%); the links are plain white text on the
   photo (right 55%). */
.site-header { position: absolute; inset: 0 0 auto; z-index: 30; height: var(--header-h); display: grid; grid-template-columns: 45% minmax(0, 1fr) auto; align-items: center; padding: 0 var(--gutter) 0 calc(var(--stem) + var(--gutter)); pointer-events: none; }
.site-header > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 26px; font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; margin: -4px -2px 0 -6px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark path:first-child, .brand-mark path:last-child { stroke: var(--leaf); }
.site-nav { display: flex; gap: 26px; font-size: var(--fs-small); font-weight: 500; color: #fff; padding-left: clamp(24px, 3vw, 48px); }
.site-nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); }
.header-end { display: flex; align-items: center; gap: 22px; margin-left: 40px; color: #fff; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: var(--fs-small); font-weight: 500; padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / .5); transition: border-color var(--dur); }
.header-cta:hover { border-color: #fff; }
.header-cta svg { width: 17px; height: 17px; }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; color: inherit; }
.site-header .tulip .petal { fill: transparent; }
.menu-toggle { display: none; }
.menu-panel { position: fixed; inset: 0; z-index: 25; background: var(--bg); padding: 110px var(--gutter) 36px calc(var(--stem) + var(--gutter)); display: flex; flex-direction: column; justify-content: space-between; }
.menu-panel[hidden] { display: none; }
.menu-panel nav { display: flex; flex-direction: column; gap: 14px; font-size: clamp(32px, 8.5vw, 52px); font-weight: 300; letter-spacing: -.045em; line-height: 1.1; }
.menu-panel nav a { width: fit-content; }
.menu-phone { font-size: var(--fs-lead); color: var(--ink-soft); }

/* ---------- hero: split, paper and bouquet ---------- */
.hero { position: relative; display: grid; grid-template-columns: 45fr 55fr; height: 100vh; height: 100svh; min-height: 680px; max-height: 1100px; }
.hero-paper { display: flex; flex-direction: column; padding: var(--header-h) clamp(28px, 4vw, 72px) clamp(24px, 3.4vh, 36px) calc(var(--stem) + var(--gutter)); min-width: 0; }
.hero-main { margin-top: auto; }
.hero-label { margin-bottom: 18px; }
.hero h1 { font-size: var(--fs-display); line-height: .98; letter-spacing: -.045em; max-width: 9ch; }
.hero-text { margin-top: 18px; max-width: 420px; color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.5; }
/* this week's bouquet, like the card tied to it */
.hero-week { margin-top: clamp(24px, 3.4vh, 48px); padding-top: 22px; border-top: 1px solid var(--line-strong); max-width: 480px; }
.hero-week-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.hero-week-no { font-size: var(--fs-label); letter-spacing: .12em; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.hero-week-name { margin-top: 10px; font-size: clamp(20px, 1.6vw, 25px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.hero-week-price { margin-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.hero-week-price > span:first-child { font-size: clamp(30px, 2.6vw, 40px); font-weight: 300; letter-spacing: -.04em; line-height: 1.1; color: var(--accent); }
.hero-week-note { font-size: var(--fs-small); color: var(--ink-mute); }
.hero-delivery { margin-top: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-small); color: var(--ink-soft); }
.hero-delivery .delivery-today { min-width: 0; justify-content: flex-start; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 26px; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(20px, 2.6vh, 40px); font-size: var(--fs-label); color: var(--ink-mute); }
.hero-caption { margin-right: auto; letter-spacing: .02em; }
.hero-status { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); min-height: 22px; }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero-scroll svg { width: 16px; height: 16px; }
.hero-media { position: relative; overflow: hidden; background: #1a1513; min-width: 0; }
.hero-media img { position: absolute; inset: 0; object-position: 40% 50%; transform-origin: 40% 50%; will-change: transform; }
/* "Open now" is the standard WireSwan line ([data-open-now]): the platform fills it
   from the editable hours and sets data-open="true|false". Off WireSwan it stays
   empty and hidden. */
[data-open="true"] { color: var(--accent); }
[data-open="false"] { color: var(--ink-mute); }
[data-open-now]:empty { display: none; }

/* entrance: hidden only while GSAP loads (boot.js adds .js, main.js adds .gsap-on) */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.gsap-on) .hero h1, html.js:not(.gsap-on) .hero [data-fade], html.js:not(.gsap-on) .site-header { opacity: 0; }
  html.js:not(.gsap-on) .hero-media { clip-path: inset(0 0 0 100%); }
}

.notice { margin: 0 var(--gutter) 0 calc(var(--stem) + var(--gutter)); padding: 14px 18px; background: var(--accent-soft); color: var(--accent); font-size: var(--fs-small); font-weight: 500; }

/* ---------- the recipe ---------- */
.week-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.week-photo { overflow: hidden; }
.week-photo img { aspect-ratio: 5 / 6; height: auto; object-position: 42% 50%; }
.week-photo figcaption { padding-top: 12px; font-size: var(--fs-label); color: var(--ink-mute); letter-spacing: .02em; }
.week-text h2 { margin-top: 22px; max-width: 10ch; }
.week-flowers { margin-top: 36px; max-width: 460px; counter-reset: none; }
.week-flowers li { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-soft); }
.week-flowers li:first-child { border-top: 1px solid var(--line); }
.week-count { font-size: 28px; font-weight: 200; letter-spacing: -.04em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.week-count::after { content: ' ×'; font-size: 14px; color: var(--ink-mute); }
.week-wrap { margin-top: 14px; font-size: var(--fs-small); color: var(--ink-mute); }
.week-care { margin-top: 30px; padding: 20px 22px; background: color-mix(in srgb, var(--leaf) 12%, var(--bg)); max-width: 460px; border-radius: 4px; }
.week-care p { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-soft); }
.week-text .button { margin-top: 30px; }

/* ---------- occasions: big words, centred ---------- */
.occasions-list { max-width: 1100px; margin: 0 auto; }
.occasion { text-align: center; }
.occasion-word { display: inline-block; padding: 10px 0 6px; font-size: var(--fs-statement); font-weight: 300; letter-spacing: -.05em; line-height: 1.08; transition: color var(--dur); }
.occasions-list.has-active .occasion:not(.is-active) .occasion-word { color: var(--ink-mute); }
.occasion.is-active .occasion-word, .occasion.is-open .occasion-word { color: var(--accent); }
.occasion.is-sober.is-active .occasion-word, .occasion.is-sober.is-open .occasion-word { color: var(--ink); }
.occasion-detail { display: grid; justify-items: center; gap: 18px; padding: 0 0 20px; }
.occasion-detail p { font-size: var(--fs-small); color: var(--ink-soft); max-width: 460px; }
.occasion-photo { display: none; width: min(100%, 260px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.occasion.is-open .occasion-photo { display: block; animation: occasion-open .8s var(--ease) both; }
.occasion.is-open .occasion-photo img { animation: occasion-settle 1.1s var(--ease) both; }
@keyframes occasion-open { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes occasion-settle { from { transform: scale(1.12); } to { transform: none; } }
.occasion-cursor { position: fixed; left: 0; top: 0; width: 230px; height: 290px; z-index: 20; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .3s; background: var(--bg-3); border-radius: 3px; }
.occasion-cursor img { transition: transform .9s var(--ease); transform: scale(1.08); }
.occasion-cursor.is-on { opacity: 1; }
.occasion-cursor.is-on img { transform: none; }

/* ---------- statement: the one band of colour ---------- */
.statement { background: var(--accent); color: var(--accent-ink); }
.statement-text { font-size: var(--fs-statement); font-weight: 500; letter-spacing: -.05em; line-height: 1.06; max-width: 15ch; }
.statement-foot { display: flex; justify-content: space-between; align-items: end; gap: 32px 64px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 88px); }
.statement-note { font-size: var(--fs-small); opacity: .85; max-width: 340px; }
/* the workshop's week: delivery days stand taller, like fresh-cut stems */
.statement-week { display: flex; align-items: end; gap: clamp(14px, 2vw, 28px); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.statement-week li { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .6; }
.statement-week li::before { content: ''; width: 1px; height: 26px; background: currentColor; }
.statement-week li.is-in { opacity: 1; }
.statement-week li.is-in::before { height: 64px; width: 1.5px; }
/* at night the band is quieter: the wine colour mixes into the background */
:root[data-theme="dark"] .statement { background: color-mix(in srgb, var(--accent) 30%, var(--bg)); color: var(--ink); }

/* ---------- weddings ---------- */
.weddings-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: start; }
.wedding-photo { overflow: hidden; background: var(--bg-3); }
.wedding-photo-3 { grid-column: 1 / 7; grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.weddings-text { grid-column: 8 / 13; grid-row: 1; padding-top: 4%; }
.weddings-text h2 { margin-top: 22px; max-width: 9ch; }
.wedding-steps { margin-top: 36px; position: relative; }
.wedding-step { position: relative; padding: 0 0 26px 28px; }
.wedding-step::before { content: ''; position: absolute; left: 3px; top: 10px; bottom: -6px; width: 1px; background: var(--leaf); opacity: .55; }
.wedding-step:last-child::before { display: none; }
.wedding-step::after { content: ''; position: absolute; left: 0; top: 4px; width: 7px; height: 11px; border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%; background: var(--accent); }
.wedding-when { display: block; font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.wedding-step p { margin-top: 4px; font-size: var(--fs-small); color: var(--ink-soft); max-width: 380px; }
.weddings-text .button { margin-top: 8px; }
.wedding-photo-2 { grid-column: 8 / 10; grid-row: 2; aspect-ratio: 3 / 4; align-self: end; }
.wedding-photo-1 { grid-column: 10 / 13; grid-row: 2; aspect-ratio: 3 / 4; align-self: end; }

/* ---------- office subscription ---------- */
.subscription { background: var(--bg-2); }
.subscription-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.subscription-grid > div { order: 2; }
.subscription-photo { order: 1; }
.subscription-grid h2 { margin-top: 22px; }
.subscription-list { margin-top: 44px; border-top: 1px solid var(--line); }
.subscription-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.subscription-row p { grid-column: 1; font-size: var(--fs-small); color: var(--ink-soft); max-width: 420px; }
.subscription-price { grid-column: 2; grid-row: 1; align-self: start; font-weight: 500; white-space: nowrap; }
/* a month at reception: four Mondays, a fresh stem on each day the flowers change */
.subscription-month { grid-column: 2; grid-row: 2 / 4; justify-self: end; display: flex; align-items: end; gap: 10px; height: 40px; color: var(--leaf); }
.subscription-month:empty { display: none; }
.subscription-month svg { width: 12px; height: 40px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.subscription-month .bud { fill: var(--accent); stroke: none; }
.subscription-month .is-off { opacity: .35; }
.subscription-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-3); position: sticky; top: 32px; }

/* ---------- delivery ---------- */
.delivery-list { border-top: 1px solid var(--line); }
.delivery-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.delivery-row h3 { font-size: clamp(20px, 1.8vw, 26px); }
.delivery-row p { font-size: var(--fs-small); color: var(--ink-soft); }
.delivery-today { display: inline-flex; align-items: center; justify-content: flex-end; gap: 16px; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); white-space: nowrap; min-width: 250px; }
.delivery-today:empty { display: none; }
.delivery-today.is-tomorrow { color: var(--ink-mute); }
/* The ribbon: what is left of the day before the cut-off. It gets shorter as the
   hour comes, its end cut in a V like a florist's ribbon; after the cut-off only a
   snipped piece is left. */
.ribbon { position: relative; flex: none; width: 104px; height: 8px; }
.ribbon::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.ribbon i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--left, 1) * 100%); min-width: 12px; background: currentColor; clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 50%, 100% 100%, 0 100%); transition: width 1.6s var(--ease); }
.delivery-today.is-tomorrow .ribbon i { width: 12px; opacity: .6; }
.cutoff-row.is-waiting .ribbon i { width: 12px; }
.delivery-note { margin-top: 32px; max-width: 520px; font-size: var(--fs-small); color: var(--ink-mute); }

/* ---------- order ---------- */
.order { background: var(--bg-2); }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); }
.order-intro h2 { margin-top: 22px; max-width: 10ch; }
.composer-step { margin-bottom: 32px; }
.composer legend, .composer-field > span { display: block; font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; min-height: 44px; }
/* the occasion chips are copied from the list by the script: without it, no empty row */
.composer-step:has(.chips:empty) { display: none; }
.chip { padding: 12px 18px; border-radius: 999px; background: var(--bg-3); font-size: var(--fs-small); transition: background var(--dur), color var(--dur); }
.chip:hover { background: color-mix(in srgb, var(--ink) 14%, var(--bg)); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.composer-field { display: block; margin-bottom: 34px; }
.composer-field input { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; padding: 12px 0; font-size: var(--fs-lead); color: var(--ink); }
.composer-field input::placeholder { color: var(--ink-mute); }
.composer-field input:focus { outline: none; border-color: var(--accent); }
.composer-send { width: 100%; }
.composer-note { margin-top: 14px; font-size: var(--fs-label); color: var(--ink-mute); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.contact-block { border-top: 1px solid var(--line); padding-top: 24px; }
.contact-big { font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.2; margin: 18px 0 12px; }
.contact-note { font-size: var(--fs-small); color: var(--ink-soft); max-width: 300px; margin-bottom: 22px; }
.hours-list { margin-top: 18px; }
.hours { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.hours.is-today { color: var(--accent); }
.contact-line { margin: 8px 0; }
.contact-button { margin-top: 26px; }

/* ---------- footer: where the stem ends ---------- */
.site-footer { position: relative; padding: clamp(150px, 16vw, 240px) var(--gutter) 28px calc(var(--stem) + var(--gutter)); overflow: hidden; background: color-mix(in srgb, var(--leaf) 9%, var(--bg)); }
.footer-branch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke: var(--leaf); stroke-width: 1.5; stroke-linecap: round; opacity: .8; }
.footer-flower { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-tulip { width: 78px; height: 78px; color: var(--accent); stroke-width: .8; }
.footer-tulip .petal { fill: color-mix(in srgb, var(--accent) 16%, var(--bg)); }
.footer-name { margin-top: 18px; font-size: clamp(56px, 8vw, 120px); font-weight: 300; letter-spacing: -.06em; line-height: .9; }
.footer-line { margin-top: 18px; color: var(--ink-soft); font-size: var(--fs-small); }
.footer-button { margin-top: 28px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(80px, 9vw, 130px); padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-label); color: var(--ink-mute); }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom a svg { width: 14px; height: 14px; }

/* ---------- inside the WireSwan editor ---------- */
html.ws-on .occasion-photo { display: block; }
html.ws-on .line-mask > span { transform: none !important; }
html.ws-on .notice { display: block; }

/* ---------- responsive ---------- */
/* the links over the photo: one fewer below 1380, none below 1100, where the
   round menu button takes over (the same one as on a phone) */
@media (max-width: 1380px) {
  .site-nav { gap: 20px; }
  .site-nav a:nth-child(3) { display: none; }
}

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .site-header { padding-right: calc(var(--gutter) + 56px); }
  .menu-toggle { position: fixed; top: 26px; right: var(--gutter); z-index: 45; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); }
  .menu-toggle span { display: block; width: 18px; height: 1.2px; background: currentColor; transition: transform var(--dur); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.6px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head .eyebrow { padding-top: 0; }
  .head-right > div { text-align: left; }
  .head-right h2, .head-right .section-intro { margin-left: 0; }
  .week-grid { grid-template-columns: 1fr; }
  .wedding-photo-3 { grid-column: 1 / 13; grid-row: auto; aspect-ratio: 4 / 3; }
  .weddings-text { grid-column: 1 / 13; grid-row: auto; padding-top: 0; }
  .wedding-photo-2 { grid-column: 1 / 7; grid-row: auto; }
  .wedding-photo-1 { grid-column: 7 / 13; grid-row: auto; }
  .subscription-grid { grid-template-columns: 1fr; }
  .subscription-photo { position: static; aspect-ratio: 4 / 3; }
  .delivery-row { grid-template-columns: 1fr; gap: 8px; }
  .delivery-today { justify-content: flex-start; min-width: 0; }
  .order-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* phone: the photo goes on top, the paper below */
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { color: #fff; }
  .brand-mark, .brand-mark path:first-child, .brand-mark path:last-child { stroke: currentColor; }
  .header-end { gap: 8px; }
  /* the menu button stays with you: a small round paper button, always in the same place */
  .menu-toggle { top: 14px; }
  .hero { display: flex; flex-direction: column-reverse; height: auto; min-height: 0; max-height: none; }
  .hero-media { height: 62svh; min-height: 380px; }
  .hero-media img { object-position: 30% 50%; }
  .hero-paper { padding: 34px var(--gutter) 28px calc(var(--stem) + var(--gutter)); }
  .hero-main { margin-top: 0; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 62px); max-width: none; }
  .hero-text { font-size: 17px; }
  .hero-caption { display: none; }
}

@media (max-width: 650px) {
  :root { --stem: 28px; --space-section: clamp(80px, 16vw, 110px); }
  .stem { stroke-width: 1; }
  .stem-leaves { display: none; }
  .brand { font-size: 23px; }
  h2 { font-size: clamp(34px, 10vw, 52px); }
  .occasion-word { font-size: clamp(30px, 9.5vw, 44px); }
  .statement-text { font-size: clamp(30px, 8.8vw, 44px); }
  .contact-big { font-size: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .subscription-row { grid-template-columns: minmax(0, 1fr); }
  .subscription-price, .subscription-month { grid-column: 1; grid-row: auto; justify-self: start; }
  .week-flowers li { grid-template-columns: 52px minmax(0, 1fr); }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 42px; }
  .chip { padding: 10px 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .line-mask > span { transform: none !important; opacity: 1 !important; }
  [data-fade] { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .occasion-cursor { display: none; }
}
.lenis.lenis-smooth { scroll-behavior: auto; }
