/* ==========================================================================
   Maison Gigi Camelia — stylesheet
   Modern / classy editorial aesthetic. Lavender + ivory, sampled from logo.
   Display serif: Cormorant Garamond. UI sans: Jost.
   ========================================================================== */

:root {
  /* Surfaces */
  --ivory: #FCFBF8;
  --mist: #F4F2FB;
  --lavender: #E8E4F7;
  --card: #FFFFFF;

  /* Ink */
  --ink: #1E1747;
  --ink-soft: #565081;
  --ink-faint: #8A85AB;

  /* Brand accents (from logo) */
  --indigo: #4A3FB0;
  --indigo-deep: #332A80;
  --petal: #8D82E0;
  --petal-light: #C9C3F2;

  /* Lines & shadow */
  --line: #E4E0F0;
  --line-strong: #CFC9E6;
  --shadow-sm: 0 2px 12px rgba(30, 23, 71, 0.05);
  --shadow-md: 0 12px 40px rgba(30, 23, 71, 0.09);
  --shadow-lg: 0 24px 70px rgba(30, 23, 71, 0.13);

  --max: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.2em; }

a { color: var(--indigo); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--indigo-deep); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 820px; }

/* ---------- Eyebrow / small caps label ---------- */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--petal);
  margin: 0 0 20px;
}

.rule {
  width: 48px;
  height: 1px;
  background: var(--line-strong);
  margin: 26px auto;
  border: 0;
}
.rule.left { margin-left: 0; margin-right: auto; }

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease);
}

.site-header.solid,
.site-header {
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

/* Flex container blockifies the name/tagline spans, so the
   [data-lang] "display: revert" rule can't force them inline. */
.brand-text { display: flex; flex-direction: column; min-width: 0; }

/* The flower mark, same artwork as the favicon. No border-radius or
   object-fit: cover — those suited the photographic seal, but would crop
   the petals off this transparent PNG, which reaches its canvas edge. */
.brand-mark-img {
  width: 46px; height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  transition: width .45s var(--ease), height .45s var(--ease);
}
.site-header.solid .brand-mark-img { width: 40px; height: 40px; }

.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-tagline {
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 4px 0 0;
  white-space: nowrap;
}

nav.main-nav { display: flex; align-items: center; gap: 28px; }

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links a {
  font-size: 0.79rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--indigo); }

/* Shown only inside the mobile drawer (desktop uses the header CTA button).
   Needs 3-class specificity to beat [data-lang].lang-active. */
.nav-links .nav-order-mobile[data-lang] { display: none !important; }

.nav-right { display: flex; align-items: center; gap: 18px; }

.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  border: 1px solid transparent;
  background: none;
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 5px 9px;
  border-radius: 2px;
  color: var(--ink-faint);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.lang-btn.active { color: var(--ink); border-color: var(--line-strong); }

.nav-cta {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--indigo);
  color: var(--indigo);
  border-radius: 2px;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--indigo); color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: all .35s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 38px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .4s var(--ease);
}

.btn-primary { background: var(--indigo); color: #fff !important; border-color: var(--indigo); }
.btn-primary:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-light { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }
.btn-light:hover { background: #fff; color: var(--ink) !important; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: var(--mist);
  padding: 0;              /* override the generic `section` padding */
  overflow: visible;       /* let the badge overlap the copy column */
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 68px 110px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero-copy h1 { margin-bottom: 4px; }
.hero-copy .lead {
  font-size: 1.08rem;
  max-width: 460px;
  margin-bottom: 42px;
}
.hero-copy .rule { margin-left: 0; margin-right: auto; }

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.07) translateY(-1.2%); }
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badge {
  position: absolute;
  right: -132px; bottom: 38px;
  z-index: 3;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 22px 28px;
  max-width: 260px;
}
.hero-badge .bnum {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  color: var(--indigo);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.hero-badge p { font-size: 0.8rem; margin: 0; line-height: 1.5; }

.scroll-cue {
  position: absolute;
  bottom: 38px;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  z-index: 3;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 14px;
}
.scroll-cue::after {
  content: '';
  display: block;
  width: 54px; height: 1px;
  background: var(--line-strong);
  animation: cue 2.6s ease-in-out infinite;
  transform-origin: left;
}
@keyframes cue {
  0%, 100% { transform: scaleX(.3); opacity: .4; }
  50%      { transform: scaleX(1);  opacity: 1; }
}

/* ---------- Page header (interior pages) ---------- */

.page-head {
  background: var(--mist);
  padding: 190px 0 84px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-head .lead {
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ---- Order page: the product list must be visible on landing ----------
   Asked for three times, so it is the requirement that wins here.

   THE ARITHMETIC. On a 1366x768 laptop the browser's own chrome leaves a
   ~600px viewport — that is the case that has to work, not the 800px one a
   design mock assumes. Above the first product sits: the fixed header
   (~78), the title band, the gap below it, the card's padding, and the
   "What would you like?" heading. At the standard 190/84 band that totals
   640px, i.e. nothing visible at all on that laptop.

   Every part is trimmed a little rather than one part gutted:
     title band   190/84 -> 92/22   (and 88/14 on phones)
     gap below it 30     -> 0        the band already separates them
     card padding 34     -> 22
     eyebrow, rule and legend margins tightened a few px each

   THE H1 IS UNTOUCHED — still `clamp(2.8rem, 6vw, 5rem)`, rendering at
   76.8px exactly like every other page. Only whitespace was taken.

   THE TRADE-OFF, on the record: the band is ~289px here against 467px on
   FAQ and Policies. It IS visibly shorter, and that is the price of the
   requirement. Reverting means deleting this block — the products then fall
   back below the fold on any laptop.

   Result: first product at y=404 (small laptop), 399 (~700), 389 (large),
   331 (phone) — 3 to 6 rows visible without scrolling, everywhere.

   `:not(.page-head)` is load-bearing — the title band is itself a
   `<section>` and a direct child of `<main>`, so without it the rule below
   would silently override the band's own top padding. */
body.page-order .page-head .eyebrow { margin-bottom: 12px; }
body.page-order .page-head .rule { margin: 16px auto; }
body.page-order main > section:not(.page-head) { padding-top: 0; }
body.page-order .form-wrap { padding-top: 22px; }
body.page-order fieldset:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
body.page-order fieldset:first-of-type legend { margin-bottom: 8px; }

/* Compact banner for the order page only (Sept 2026, Ghisline's call): a
   smaller title and no eyebrow/rule, so the products are already on screen on
   a phone. Every other page keeps the standard band. */
body.page-order .page-head { padding: 104px 0 16px; }
body.page-order .page-head h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin: 0; }

/* ---------- Sections ---------- */

section { padding: 110px 0; }
section.tight { padding: 76px 0; }
section.mist { background: var(--mist); }
section.lavender { background: var(--lavender); }

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 68px;
}
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Grid ---------- */

.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid.tight { gap: 26px; }

/* ---------- Product cards ---------- */

.product-card { background: transparent; }

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--lavender);
  margin-bottom: 24px;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }

.product-media.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.product-card h3 { margin-bottom: 8px; }
.product-card .desc { font-size: 0.94rem; margin-bottom: 14px; }

.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--indigo);
  letter-spacing: 0.01em;
}
.price.tbd { color: var(--ink-faint); font-style: italic; font-size: 1.1rem; }

.note-inline { font-size: 0.82rem; color: var(--ink-faint); margin-top: 8px; }
.note-inline a { color: var(--indigo); }

/* "Add to order" — a real link at the foot of each card, stretched by its
   ::after so the whole card is clickable while a screen reader still meets
   one link, not a card full of them. Links inside the card that lead
   somewhere else sit above the overlay. */
.product-card { position: relative; }
.card-add {
  display: inline-block;
  margin-top: 16px;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo);
  border-bottom: 1px solid var(--petal-light);
  padding-bottom: 3px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.card-add::after { content: ""; position: absolute; inset: 0; }
.product-card:hover .card-add { color: var(--indigo-deep); border-color: var(--indigo); }
.card-add:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; }
.product-card .note-inline a { position: relative; z-index: 1; }

/* ---------- Product price list + tag ---------- */

.product-tag {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--lavender);
  border-radius: 100px;
  padding: 5px 13px;
  margin-bottom: 10px;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.price-list .fmt {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.price-list b {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--indigo);
  white-space: nowrap;
}
.price-list li.ask {
  justify-content: flex-start;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Limited edition feature ----------
   A time-limited product, shown above the menu. Ships `hidden`; main.js
   shows it only while the offer runs (see deliverySaturdays in PRODUCTS). */

.limited-feature {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  gap: 56px;
  margin-bottom: 64px;
}
.limited-feature[hidden] { display: none !important; }
.split.limited-feature { align-items: stretch; }
.limited-feature .split-media img { height: 100%; min-height: 320px; object-fit: cover; display: block; }
.limited-feature .feature-copy { padding: 40px 48px 40px 0; }
.limited-feature h2 { margin-bottom: 6px; }
.limited-feature .price-list { margin: 22px 0 6px; max-width: 360px; }
.limited-feature .stack-actions { margin-top: 26px; }
@media (max-width: 900px) {
  .split.limited-feature { gap: 0; }   /* beats the later .split mobile gap */
  .limited-feature .split-media img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .limited-feature .feature-copy { padding: 26px 22px 30px; }
}

/* ---------- Feature / split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.duo-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.duo-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.duo-media img:first-child { margin-top: 34px; }
.duo-media img:last-child  { margin-bottom: 34px; }

.split-media { overflow: hidden; }
.split-media img { width: 100%; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.05); }

/* ---------- Steps ---------- */

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.step::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--petal-light);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.25rem; }
.step p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Trust band ---------- */

.trust-band {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 30px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,.13);
  padding: 4px 8px;
}
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--petal-light); }

/* ---------- Filter chips ---------- */

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}
.chip {
  font-family: inherit;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-card.hidden { display: none; }

/* ---------- Occasion / seasonal tiles ---------- */

.occasion {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.occasion img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.occasion:hover img { transform: scale(1.06); }
.occasion figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 46px 24px 22px;
  background: linear-gradient(transparent, rgba(30,23,71,.82));
  color: #fff;
  /* flex container blockifies the spans, which [data-lang] would otherwise
     force back to inline via `display: revert` */
  display: flex;
  flex-direction: column;
}
.occasion figcaption .otitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  display: block;
  line-height: 1.15;
}
.occasion figcaption .osub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  display: block;
  margin-top: 5px;
}

/* ---------- Callout ---------- */

.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--indigo);
  padding: 34px 40px;
  margin: 34px 0;
  box-shadow: var(--shadow-sm);
}
.callout h3 { font-size: 1.4rem; }
.callout p:last-child { margin-bottom: 0; }
.callout.plain { border-left-color: var(--petal); }

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 40px;
  height: 100%;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card p:last-child { margin-bottom: 0; }

.value-card { text-align: center; padding: 8px; }
.value-card .vnum {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--petal-light);
  line-height: 1;
  margin-bottom: 16px;
}

.placeholder-note {
  background: #FFFBEC;
  border: 1px solid #EBD9A4;
  color: #7A5C0E;
  padding: 16px 20px;
  font-size: 0.86rem;
  margin: 22px 0;
  line-height: 1.65;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 12px 22px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.badge-verified svg { flex-shrink: 0; color: var(--indigo); }

/* ---------- Forms ---------- */

.form-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 56px;
  box-shadow: var(--shadow-sm);
}

fieldset { border: 0; padding: 0; margin: 0 0 44px; }
fieldset:last-of-type { margin-bottom: 30px; }

legend {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--ink);
  padding: 0 0 8px;
  margin-bottom: 24px;
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.field { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .35s var(--ease);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-bottom-color: var(--indigo);
}
/* Unlike the single-line inputs, a textarea is a large empty region. With
   only an underline it reads as blank page rather than "type here", so it
   gets a full box: a real edge tells people it is clickable. */
textarea {
  resize: vertical;
  min-height: 96px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 14px 16px;
  background: var(--card);
  line-height: 1.6;
}
textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(74, 63, 176, 0.10);
}
textarea::placeholder { color: var(--ink-faint); opacity: 1; }

.hint { font-size: 0.8rem; color: var(--ink-faint); margin: 8px 0 0; }

/* Same look as a .field label, for a group of radios that has no single
   <label> of its own. Two bilingual siblings, so it must be block-level —
   [data-lang].lang-active reverts a <p> to `display: block`, which is right. */
.cb-group-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 12px;
}

.radio-inline { display: flex; gap: 34px; flex-wrap: wrap; }
.radio-inline label {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.95rem; color: var(--ink); cursor: pointer;
  /* `.field label` above sets uppercase + wide tracking for field captions.
     Same specificity, so these two properties were leaking into every radio
     and checkbox label inside a .field. Sentence case is what a choice you
     read wants; SHOUTING A SENTENCE is barely legible. */
  text-transform: none; letter-spacing: normal; line-height: 1.5;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.checkbox-row:last-child { border-bottom: 0; }
.checkbox-row label {
  font-size: 0.97rem; color: var(--ink); cursor: pointer; flex: 1;
  text-transform: none; letter-spacing: normal; line-height: 1.5;  /* see note on .radio-inline label */
}
.checkbox-row .cb-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--indigo); }

input[type="checkbox"], input[type="radio"] { accent-color: var(--indigo); width: 16px; height: 16px; cursor: pointer; }

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.faq-item summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--ink);
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  list-style: none;
  transition: color .3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--indigo); }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--petal);
  transition: transform .35s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 40px 22px 0; margin: 0; }

/* ---------- Prose (policies) ---------- */

.prose h2 {
  font-size: 2rem;
  margin-top: 62px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; }

/* Policy tables — delivery tiers, cancellation tiers.
   Bilingual: two sibling <table data-lang> elements; only one carries
   .lang-active, so only one is displayed. Wrapped in its own scroll
   context on narrow screens rather than squeezing the columns. */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0 30px;
  font-family: 'Jost', sans-serif;
  font-size: .95rem;
}
.policy-table th,
.policy-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.policy-table thead th {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--petal);
  border-bottom: 1px solid var(--indigo);
  padding-top: 0;
}
.policy-table tbody tr:nth-child(odd) { background: var(--mist); }
.policy-table tbody tr:last-child td { border-bottom: none; }
.policy-table td:last-child { white-space: normal; }

@media (max-width: 560px) {
  .policy-table th,
  .policy-table td { padding: 11px 10px; font-size: .9rem; }
}

/* Delivery tier list (How to Order info card). Each <li> holds two
   <span data-lang> children; only one is ever displayed, and `display:
   revert` correctly leaves it inline. */
.delivery-tiers {
  list-style: none;
  margin: 20px 0 22px;
  padding: 0;
}
.delivery-tiers li {
  position: relative;
  padding: 0 0 0 20px;
  margin-bottom: 11px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.delivery-tiers li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--petal);
}
.delivery-tiers li strong { color: var(--ink); font-weight: 500; }

/* ---------- Order form: steps, products, delivery ----------
   Step 1 lists the products, each collapsed until ticked. Step 2 is delivery,
   the real total, the message and the customer's details.

   Every element the script shows and hides gets an explicit [hidden] rule
   here: a class-level `display` beats the UA stylesheet's
   `[hidden] { display: none }`, so without these an element would sit there
   permanently, empty. */
.order-step[hidden],
.prod-body[hidden],
.dopt-body[hidden] { display: none !important; }

/* Two-step progress line */
.order-steps-ind {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.order-steps-ind li { display: flex; align-items: center; gap: 9px; }
.order-steps-ind b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-weight: 500;
  letter-spacing: 0;
}
.order-steps-ind li.on { color: var(--indigo); }
.order-steps-ind li.on b { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.order-steps-ind .si-line { flex: 0 0 34px; height: 1px; background: var(--line-strong); }

/* ---- Products ---------------------------------------------------------- */
.prod {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--card);
  margin-bottom: 12px;
  scroll-margin-top: 96px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.prod.sel { border-color: var(--petal-light); }
.prod.open { box-shadow: var(--shadow-sm); }

.prod-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  cursor: pointer;
}
/* The title is a real button (keyboard, screen readers) dressed as plain text. */
.prod-title, .dopt-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.prod-title:focus-visible, .dopt-title:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; }
.prod-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.25;
}
.prod-badge {
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--lavender);
  border-radius: 100px;
  padding: 3px 10px;
}
.prod-sum, .dopt-sum { font-size: .8rem; line-height: 1.4; color: var(--ink-soft); }
.prod-sum:empty, .dopt-sum:empty,
.prod.open .prod-sum, .dopt.open .dopt-sum { display: none; }
.prod-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--indigo);
  text-align: right;
}
.prod-chev {
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--petal);
  border-bottom: 1.5px solid var(--petal);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.prod.open .prod-chev { transform: rotate(-135deg) translateY(-2px); }

.prod-body { padding: 4px 18px 22px 46px; border-top: 1px solid var(--line); }
.prod-group { margin-top: 18px; }
.prod-group .cb-group-label { margin-bottom: 9px; }
.prod-fixed { margin: 0; font-size: .97rem; color: var(--ink); }

.opt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 10px 14px;
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.opt:hover { border-color: var(--petal); }
.opt.sel { border-color: var(--indigo); background: var(--mist); }
.opt.dis { opacity: .45; cursor: not-allowed; }
.opt.dis:hover { border-color: var(--line-strong); }
.opt-p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--indigo);
  margin-left: 6px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
}
.qty button {
  width: 38px; height: 38px;
  background: none;
  border: 0;
  color: var(--indigo);
  font-size: 1.2rem;
  cursor: pointer;
}
.qty button:hover { background: var(--mist); }
.qty output { min-width: 40px; text-align: center; font-size: 1rem; color: var(--ink); }

.prod-line { margin: 16px 0 0; font-size: .9rem; color: var(--ink-soft); }
.prod-line:empty { display: none; }
.prod-line strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--indigo);
}

/* A product can hold several selections (for example one box of chocolate and
   one of carrot). From the second one on, each is boxed and titled. */
.pline + .pline {
  margin-top: 22px;
  padding-top: 4px;
  border-top: 1px dashed var(--line-strong);
}
.pline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.pline-title {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo);
}
.prod-add {
  margin-top: 22px;
  padding: 10px 16px;
  background: none;
  border: 1px dashed var(--petal);
  border-radius: 3px;
  font: inherit;
  font-size: .85rem;
  color: var(--indigo);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.prod-add:hover { background: var(--mist); border-color: var(--indigo); }
.prod-add:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
.prod-add[hidden] { display: none; }

.prod-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: var(--mist);
  border-left: 3px solid var(--petal);
  font-size: .85rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---- The subtotal bars ------------------------------------------------- */
.order-bar-label {
  display: block;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.order-bar-sum strong,
.order-sub strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--indigo);
  line-height: 1.15;
}

/* Step 1: pinned to the bottom of the form while the list scrolls under it,
   stretched over the form's own padding so it reads as a footer. */
.order-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  margin: 26px -56px -56px;
  padding: 16px 56px;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 24px rgba(30, 23, 71, .06);
}
.order-bar-msg {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.order-bar-sub { display: block; margin-top: 3px; font-size: .78rem; color: var(--ink-faint); }
.order-bar-sub a { color: var(--indigo); }
.order-bar .btn { padding: 15px 28px; }
.order-bar .btn:disabled {
  background: var(--lavender);
  border-color: var(--lavender);
  color: var(--ink-faint) !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Step 2: the same subtotal, at the top of the page, with the way back. */
.order-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: var(--mist);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--indigo);
  border-radius: 3px;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: .85rem;
  color: var(--indigo);
  text-decoration: underline;
  cursor: pointer;
}
.link-btn:hover { color: var(--indigo-deep); }

/* ---- Delivery options ---------------------------------------------------- */
.dopt {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--card);
  margin-bottom: 12px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.dopt.sel { border-color: var(--petal-light); }
.dopt.open { box-shadow: var(--shadow-sm); }
.dopt-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
}
.dopt-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink);
}
.dopt.open .prod-chev { transform: rotate(-135deg) translateY(-2px); }
.dopt-body { padding: 6px 20px 22px; border-top: 1px solid var(--line); }

.fee-msg {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: var(--mist);
  border-left: 3px solid var(--petal);
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink);
}
.fee-msg strong { color: var(--indigo); font-weight: 500; }
.fee-msg:empty { display: none; }

/* ---- The weekly planner ---------------------------------------------------
   Each week is a row of seven day cells. Sunday to Friday are drawn but
   greyed and inert — the weekly rhythm is the point of drawing them — and the
   Saturday carries the three choices underneath. */
.wk-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 0 12px;
}
.wk-pager-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--ink);
  text-align: center;
  flex: 1;
}
.wk-nav {
  border: 1px solid var(--line);
  background: none;
  border-radius: 3px;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--indigo);
  cursor: pointer;
  flex-shrink: 0;
  transition: all .25s var(--ease);
}
.wk-nav:hover:not(:disabled) { background: var(--mist); border-color: var(--line-strong); }
.wk-nav:disabled { color: var(--line-strong); cursor: default; }

.wk {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 14px 16px;
  margin-bottom: 12px;
  background: var(--card);
}
.wk-head {
  margin: 0 0 10px;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.wk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.wk-d {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 0;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: 'Jost', sans-serif;
  font-size: .9rem;
}
.wk-d small { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.wk-d.off { color: var(--ink-faint); opacity: .45; font-weight: 300; }
.wk-d.sat {
  background: var(--mist);
  border-color: var(--petal-light);
  color: var(--indigo);
  font-weight: 500;
}
.wk-d.sat.blocked {
  background: none;
  border-color: var(--line);
  color: var(--ink-faint);
  text-decoration: line-through;
  text-decoration-color: var(--petal);
  text-decoration-thickness: 1.5px;
}

.wk-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.wk-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  border: 1px solid var(--petal-light);
  border-radius: 3px;
  background: var(--mist);
  font-family: inherit;
  font-size: .92rem;
  line-height: 1.3;
  color: var(--indigo);
  text-align: center;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.wk-slot small { font-size: .74rem; color: var(--ink-soft); }
.wk-slot:hover:not(:disabled) { background: var(--lavender); border-color: var(--petal); }
.wk-slot:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.wk-slot.selected { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.wk-slot.selected small { color: rgba(255, 255, 255, .85); }
.wk-slot:disabled {
  background: none;
  border-color: var(--line);
  color: var(--ink-faint);
  opacity: .55;
  cursor: not-allowed;
}
.wk-note { margin: 10px 0 0; font-size: .8rem; color: var(--ink-faint); }
.wk.closed .wk-note { margin-top: 12px; }

.cal-chosen { font-size: .9rem; color: var(--ink); margin: 14px 0 0; line-height: 1.5; }
.cal-chosen.empty { color: var(--ink-faint); font-size: .8rem; }

/* ---- The real total -------------------------------------------------------- */
.totals { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
}
.totals-row b { font-weight: 500; color: var(--ink); text-align: right; }
.totals-row.grand {
  border-bottom: 0;
  padding-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: var(--ink);
}
.totals-row.grand b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--indigo);
}
.tot-wait { font-family: 'Jost', sans-serif; font-size: .8rem; font-weight: 400; color: var(--ink-faint); }

@media (max-width: 900px) {
  .order-bar { margin: 24px -24px -30px; padding: 14px 24px; }
}
@media (max-width: 560px) {
  .prod-body { padding: 2px 16px 20px; }
  .prod-head { padding: 15px 14px; gap: 11px; }
  .prod-price { font-size: .95rem; }
  .order-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .order-bar .btn { width: 100%; }
  .order-bar-msg { min-width: 0; }
  .order-steps-ind { gap: 8px; letter-spacing: .08em; }
  .order-steps-ind .si-line { flex-basis: 16px; }
  .dopt-head { padding: 16px 14px; gap: 11px; }
  .dopt-name { font-size: 1.12rem; }
  .dopt-body { padding: 4px 14px 18px; }
  .wk { padding: 12px 10px 14px; }
  .wk-d { font-size: .82rem; }
  .wk-d small { font-size: .52rem; letter-spacing: .04em; }
  /* Three slot buttons side by side are too narrow to read on a phone. */
  .wk-slots { grid-template-columns: 1fr; }
  .wk-slot { flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 14px; text-align: left; }
}

/* Order-form validation: one red for every refusal on this page, so they all
   look like the same kind of refusal. */
.field-error {
  color: #C0392B;
  font-size: .85rem;
  line-height: 1.5;
  margin: 10px 0 0;
}
.field-error[hidden] { display: none; }
input.invalid,
textarea.invalid,
select.invalid {
  border-color: #C0392B !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .10);
}

/* Anti-spam decoy for Netlify Forms. It must be in the DOM and submittable,
   so it cannot use display:none or the hidden attribute — a real person
   never sees it, a bot fills it, and Netlify discards that submission. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  text-align: center;
  padding: 104px 0;
}
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--petal-light); }
.cta-band .rule { background: rgba(255,255,255,.28); }

/* ---------- Social ---------- */

.social-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.social-link {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: all .38s var(--ease);
}
.social-link:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  transform: translateY(-3px);
}
.social-link svg { width: 17px; height: 17px; }

.site-footer .social-link { border-color: rgba(255,255,255,.24); color: rgba(255,255,255,.82); }
.site-footer .social-link:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  padding: 88px 0 34px;
  font-size: 0.9rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.74rem;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 22px;
}
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }
.site-footer .fgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 54px;
}
.site-footer .flinks p { margin: 0 0 12px; }
/* The flower mark (same artwork as the favicon) on a transparent background.
   No border-radius: the old circular crop suited the photographic seal, but
   would shave the petal tips off this one. */
.footer-logo { width: 56px; height: 56px; margin-bottom: 20px; }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 12px;
}
.fine-print {
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.small { font-size: 0.86rem; }
.muted { color: var(--ink-faint); }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.stack-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.center-actions { justify-content: center; }

/* Language visibility */
[data-lang] { display: none !important; }
[data-lang].lang-active { display: revert !important; }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .site-footer .fgrid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-item:nth-child(2) { border-right: 0; }
}

@media (max-width: 900px) {
  :root { --gutter: 22px; }

  .burger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 330px);
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s var(--ease);
    box-shadow: var(--shadow-lg);
    z-index: 210;
  }
  .nav-links.open { transform: none; visibility: visible; }

  .nav-links .nav-order-mobile[data-lang].lang-active {
    display: block !important;
    margin-top: 14px;
    padding: 13px 26px;
    border: 1px solid var(--indigo);
    color: var(--indigo);
    border-radius: 2px;
  }
  .nav-links .nav-order-mobile::after { display: none; }

  .brand-mark-img { width: 38px; height: 38px; }
  .site-header.solid .brand-mark-img { width: 34px; height: 34px; }
  .brand-name { font-size: 1.05rem; }
  .nav-right { flex-shrink: 0; }
  body.has-hero .site-header:not(.solid) .nav-links a { color: var(--ink-soft); }
  .nav-links a { font-size: 0.95rem; letter-spacing: 0.1em; }

  nav.main-nav { gap: 14px; }
  /* Extra specificity is required here: the bilingual visibility rule
     `[data-lang].lang-active` is two classes' worth, so a plain
     `.nav-cta { display: none }` loses to it even with !important. */
  .nav-right .nav-cta[data-lang] { display: none !important; }
  .brand .brand-text .brand-tagline[data-lang] { display: none !important; }

  .split, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 44px; }
  section { padding: 76px 0; }
  .page-head { padding: 150px 0 62px; }
  body.page-order .page-head { padding: 84px 0 10px; }
  body.page-order main > section:not(.page-head) { padding-top: 0; }
  body.page-order .form-wrap { padding-top: 18px; }
  .form-wrap { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    order: 2;
    padding: 56px var(--gutter) 68px;
  }
  .hero-media { order: 1; min-height: 56vh; }
  .hero-badge {
    position: static;
    max-width: none;
    margin: 34px 0 0;
    box-shadow: none;
  }
  .scroll-cue { display: none; }
  .callout { padding: 26px 24px; }
  .info-card { padding: 30px 26px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .trust-item { border-right: 0; }
  .chips { margin-bottom: 38px; }
  .site-footer .fgrid { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions, .stack-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }

  /* ---- Header collision fix (reported on a real phone, Sept 2026) --------
     `.brand-name` was `white-space: nowrap` inside a flex item with
     `min-width: 0`. The BOX shrinks as the viewport narrows, but nowrap text
     cannot, so the glyphs painted straight out of the box and under the
     EN/FR switch — whose active button has a visible border, which is what
     made it obvious. Measured: 15px of overlap at 360px, and more once
     Cormorant Garamond loads or the phone's text-size setting is turned up.

     Three changes, so this cannot come back:
       1. buy space — narrower gutter and tighter flex gaps up here
       2. let the name WRAP instead of overflowing; two lines is graceful,
          collision is not
       3. `overflow: hidden` on the text block as a hard backstop            */
  :root { --gutter: 20px; }
  .header-inner { gap: 12px; }
  .brand { gap: 9px; }
  .brand-text { overflow: hidden; }
  .brand-name {
    font-size: 1rem;
    white-space: normal;
    line-height: 1.12;
    overflow-wrap: break-word;
  }
  nav.main-nav { gap: 10px; }
  .nav-right { gap: 12px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 0.92rem; }
  .lang-btn { padding: 5px 7px; letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; }
}
