/* =========================================================
   Fruitfulness Initiative
   Tokens → base → layout → sections → components → motion
   ========================================================= */

:root {
  /* Brand palette (client) */
  --purple: #6A1091;        /* primary. White on it = 10.0:1 */
  --purple-deep: #4E0A6B;   /* pressed states, footer */
  --cream: #F8F5F1;         /* page background. Ink on it = 18:1, purple on it = 9.2:1 */
  --grey: #D9D9D9;          /* alternate panels. Purple on it = 7.1:1 */
  --white: #FFFFFF;
  --ink: #141014;           /* "black" text with a hint of the brand */
  --lavender: #A271A2;      /* decorative only: 3.6:1 on cream, never for body text */

  /* Derived */
  --ink-soft: #3D3540;      /* secondary text: 10.8:1 on cream, 8.4:1 on grey */
  --on-purple-soft: #E4D4EB;/* secondary text on purple: 7.0:1 */
  --lavender-tint: #EFE5F2; /* badge fill; purple text on it = 8.3:1 */
  --line: rgba(20, 16, 20, 0.12);
  --line-strong: #8C828F;   /* form borders: 3.7:1 on white */
  --danger: #A3122A;        /* 7.2:1 on cream */
  --danger-tint: #FBEDEF;

  /* Type */
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: 1.0625rem;     /* 17px touch-first body */
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.6vw, 1.3125rem);
  --fs-h1: clamp(3.5rem, 2rem + 9vw, 7.25rem);
  --fs-h2: clamp(2.375rem, 1.6rem + 3.6vw, 4rem);
  --fs-h3: clamp(1.875rem, 1.5rem + 1.6vw, 2.625rem);

  /* Space (8pt grid) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: 16px;
  --max: 1200px;
  --header-h: 64px;

  /* Shape */
  --r-sm: 8px; --r-md: 12px; --r-lg: 24px; --r-pill: 999px;
  --r-arch: 999px 999px var(--r-lg) var(--r-lg);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-micro: 150ms; --t-small: 250ms; --t-medium: 500ms; --t-reveal: 700ms;

  --shadow-soft: 0 1px 2px rgba(40, 10, 50, 0.06), 0 12px 32px -16px rgba(40, 10, 50, 0.22);
  --shadow-lift: 0 2px 4px rgba(40, 10, 50, 0.06), 0 24px 48px -20px rgba(40, 10, 50, 0.32);

  color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure, blockquote { margin: 0; }
p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:target, section[id], article[id], aside[id] { scroll-margin-top: calc(var(--header-h) + var(--s4)); }

h1, h2, h3 {
  margin: 0 0 var(--s5);
  font-family: var(--font-serif);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--heading, var(--purple));
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: 0.04em; }
h3 { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: 0.05em; }

:focus-visible { outline: 3px solid var(--focus, var(--purple)); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: fixed; left: var(--s4); top: var(--s4); z-index: 100;
  padding: var(--s3) var(--s4); border-radius: var(--r-md);
  background: var(--purple); color: var(--white); font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; outline-color: var(--ink); }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- Section themes ---------- */
.section { padding-block: var(--s8); position: relative; }
@media (min-width: 768px) { .section { padding-block: var(--s9); } }
@media (min-width: 1200px) { .section { padding-block: var(--s10); } }

.section--cream, .section--grey {
  --heading: var(--purple); --fg-soft: var(--ink-soft); --eyebrow: var(--purple);
  --focus: var(--purple); --btn-bg: var(--purple); --btn-fg: var(--white); --btn-bg-hover: var(--purple-deep);
  --rule: rgba(106, 16, 145, 0.2);
  color: var(--ink);
}
.section--cream { background: var(--cream); }
.section--grey { background: var(--grey); }
.section--purple {
  --heading: var(--white); --fg-soft: var(--on-purple-soft); --eyebrow: var(--on-purple-soft);
  --focus: var(--white); --btn-bg: var(--white); --btn-fg: var(--purple); --btn-bg-hover: var(--cream);
  --rule: rgba(255, 255, 255, 0.24);
  background: var(--purple);
  color: var(--white);
}

.eyebrow {
  margin-bottom: var(--s3);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eyebrow, var(--purple));
}
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.scripture {
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-soft);
}
.section-head { max-width: 62ch; margin-bottom: var(--s7); }
.section-head p:not(.eyebrow) { color: var(--fg-soft); }

/* Decorative line-art grapes, echoing the PDF's background illustrations */
.deco-grape { position: absolute; pointer-events: none; color: currentColor; opacity: 0.1; height: auto; aspect-ratio: 120 / 112; }

/* PDF motif: solid purple bar on the page edge */
.about::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 12px; height: clamp(96px, 16vw, 200px); background: var(--purple);
}

/* ---------- Buttons & links ---------- */
.btn {
  --_bg: var(--btn-bg, var(--purple));
  --_fg: var(--btn-fg, var(--white));
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  background: var(--_bg); color: var(--_fg);
  font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; text-align: center;
  touch-action: manipulation;
  transition: transform var(--t-small) var(--ease-out), box-shadow var(--t-small) var(--ease-out), background-color var(--t-micro) ease;
}
.btn:hover { background: var(--btn-bg-hover, var(--purple-deep)); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:active { transform: scale(0.98); transition-duration: 60ms; box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 var(--s4); font-size: 0.9375rem; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--purple); --btn-bg-hover: var(--cream); }
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-bg-hover: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--purple); --btn-bg-hover: rgba(106, 16, 145, 0.08);
  border-color: currentColor;
}

.text-link {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; font-weight: 600; text-decoration: none;
  color: var(--purple);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size var(--t-small) var(--ease-out);
}
.text-link .icon { transition: transform var(--t-small) var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link--light { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgba(248, 245, 241, 0.94);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow var(--t-small) ease;
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; min-height: 44px; border-radius: var(--r-sm); }
.brand img { width: auto; height: 38px; }
@media (min-width: 768px) { .brand img { height: 46px; } }
.site-header__actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }

.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(106, 16, 145, 0.1), 0 8px 24px -18px rgba(40, 10, 50, 0.4); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: 0 var(--s4);
  border: 1.5px solid rgba(106, 16, 145, 0.35); border-radius: var(--r-pill);
  background: rgba(248, 245, 241, 0.9); color: var(--purple);
  font-weight: 600; font-size: 0.9375rem; touch-action: manipulation;
}
.nav-toggle:active { transform: scale(0.97); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 16px; height: 1.75px; border-radius: 2px; background: currentColor;
  transition: transform var(--t-small) var(--ease-out), opacity var(--t-micro) ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav-menu { list-style: none; }
.nav-menu a {
  display: flex; align-items: center; min-height: 48px; padding: 0 var(--s4);
  border-radius: var(--r-md); text-decoration: none; font-weight: 500; color: var(--ink);
}

@media (max-width: 1023.98px) {
  .js .nav-menu {
    position: absolute; top: calc(100% + var(--s2)); left: var(--gutter); right: var(--gutter);
    padding: var(--s2); border-radius: var(--r-lg);
    background: var(--cream); box-shadow: var(--shadow-lift); border: 1px solid rgba(106, 16, 145, 0.12);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top right;
    transition: opacity var(--t-small) var(--ease-out), transform var(--t-small) var(--ease-out), visibility 0s linear var(--t-small);
  }
  .js .site-nav.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-menu a:hover, .nav-menu a:focus-visible { background: rgba(106, 16, 145, 0.08); color: var(--purple); }
  .site-nav { position: static; }
  /* Without JavaScript the links simply wrap under the header */
  .no-js .nav-toggle { display: none; }
  .no-js .site-header { position: absolute; height: auto; }
  .no-js .nav-menu { display: flex; flex-wrap: wrap; gap: 0 var(--s2); }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; align-items: center; gap: var(--s1); }
  .nav-menu a { position: relative; padding: 0 var(--s3); font-size: 0.9375rem; }
  .nav-menu a::after {
    content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 10px; height: 1.5px;
    background: var(--purple); transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-small) var(--ease-out);
  }
  .nav-menu a:hover { color: var(--purple); }
  .nav-menu a:hover::after, .nav-menu a[aria-current="true"]::after { transform: scaleX(1); }
}

.order-pill {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: 0 var(--s2) 0 var(--s4); border-radius: var(--r-pill);
  background: var(--purple); color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.9375rem;
}
.order-pill__count {
  display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 var(--s2);
  border-radius: var(--r-pill); background: var(--white); color: var(--purple); font-size: var(--fs-small);
}
.order-pill.is-bumped .order-pill__count { animation: bump 400ms var(--ease-out); }

/* ---------- Hero (boutique) ---------- */
.hero { position: relative; }
.hero__band {
  position: relative; overflow: hidden;
  /* Over the flower texture the worst case for white is 6.3:1, so secondary text stays white here */
  --heading: var(--white); --focus: var(--white); --eyebrow: var(--white);
  background: var(--purple) url("../assets/texture-lilac.webp") center / cover no-repeat;
  color: var(--white);
  padding: calc(var(--header-h) + env(safe-area-inset-top) + var(--s6)) 0 var(--s8);
}
.hero__grid { display: grid; gap: var(--s7); position: relative; }
.hero__eyebrow { letter-spacing: 0.14em; }
.hero__title {
  margin: 0 0 var(--s5);
  font-size: var(--fs-h1); line-height: 0.92; letter-spacing: 0.035em; font-weight: 500;
}
.hero__title span { display: block; }
/* "Boutique" set like "INITIATIVE" in the logo: small, widely spaced */
.hero__title-sub {
  margin-top: var(--s3);
  font-family: var(--font-sans); font-weight: 500; font-size: 0.24em; line-height: 1.2;
  letter-spacing: 0.62em; margin-right: -0.62em;
}
.hero__lead { max-width: 36ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--white); margin-bottom: var(--s6); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }

.hero__photo {
  position: relative; width: 100%; max-width: 420px; margin-inline: auto;
  aspect-ratio: 2 / 3; border-radius: var(--r-arch); overflow: hidden;
  background: var(--purple-deep);
  box-shadow: 0 40px 80px -40px rgba(20, 0, 30, 0.75);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
  content: ""; position: absolute; inset: 10px; border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35); pointer-events: none;
}
.deco-grape--hero { width: 360px; right: -80px; bottom: -40px; color: var(--white); opacity: 0.08; }

@media (min-width: 900px) {
  .hero__band { padding: calc(var(--header-h) + var(--s8)) 0 var(--s9); }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s7); align-items: center; }
  .hero__photo { margin: 0 0 0 auto; }
}

/* ---------- About ---------- */
.about__grid { display: grid; gap: var(--s7); align-items: center; }
.about__copy { max-width: 60ch; }
.about__copy p:not(.eyebrow):not(.lead) { color: var(--ink-soft); }
.about__photo {
  aspect-ratio: 4 / 5; max-height: 560px; border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s9); }
  .about__photo { max-height: none; }
}

/* ---------- Vision & mission ---------- */
.purpose { overflow: hidden; }
.deco-grape--purpose { width: 420px; left: -120px; top: -60px; color: var(--white); opacity: 0.07; }
.purpose__grid { display: grid; gap: var(--s8); position: relative; }
.purpose__statement {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); line-height: 1.2; margin-bottom: var(--s4);
}
.mission-list { list-style: none; counter-reset: mission; }
.mission-list li {
  counter-increment: mission;
  display: grid; grid-template-columns: 2.5rem 1fr; column-gap: var(--s3);
  padding: var(--s5) 0; border-top: 1px solid var(--rule); color: var(--on-purple-soft);
}
.mission-list li:last-child { border-bottom: 1px solid var(--rule); }
.mission-list li::before {
  content: counter(mission, decimal-leading-zero);
  grid-row: span 2; padding-top: 0.6em;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; color: var(--on-purple-soft);
}
.mission-list strong {
  display: block; margin-bottom: var(--s1);
  font-family: var(--font-serif); font-weight: 500; font-size: 1.875rem; line-height: 1.15;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--white);
}
@media (min-width: 900px) {
  .purpose__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s9); align-items: start; }
  .purpose__vision { position: sticky; top: calc(var(--header-h) + var(--s7)); }
}

/* ---------- What we do ---------- */
.wwd-intro { padding-bottom: var(--s7); }
.wwd-intro__grid { display: grid; gap: var(--s4); }
.wwd-intro h2 { margin-bottom: var(--s2); }
@media (min-width: 900px) {
  .wwd-intro__grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--s9); align-items: start; }
  .wwd-intro { padding-bottom: var(--s9); }
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4);
  border: 1px solid rgba(106, 16, 145, 0.3); border-radius: var(--r-pill);
  text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--purple);
  transition: background-color var(--t-micro) ease, border-color var(--t-micro) ease;
}
.chips a:hover { background: rgba(106, 16, 145, 0.08); border-color: var(--purple); }

.offering { padding-block: var(--s8); position: relative; }
@media (min-width: 768px) { .offering { padding-block: var(--s9); } }
.offering__grid { display: grid; gap: var(--s6); align-items: center; }
.offering__copy { max-width: 56ch; }
.offering__copy p:not(.eyebrow) { color: var(--fg-soft); }
.offering__media { position: relative; border-radius: var(--r-lg); aspect-ratio: 4 / 3; }
.offering__media img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; position: relative; }
.offering__media--arch { aspect-ratio: 4 / 5; max-width: 420px; border-radius: var(--r-arch); overflow: hidden; }
/* Offset brand block behind a photo (echoes the PDF's purple bars) */
.offering__media--frame::before {
  content: ""; position: absolute; inset: var(--s4) calc(-1 * var(--s3)) calc(-1 * var(--s3)) var(--s4);
  border-radius: inherit; background: var(--purple); opacity: 0.9;
}
.offering__media--frame-alt::before { inset: calc(-1 * var(--s3)) var(--s4) var(--s4) calc(-1 * var(--s3)); background: var(--lavender); }
@media (min-width: 768px) {
  .offering__grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .offering__grid--flip .offering__media { order: 2; justify-self: end; }
  .offering__media--frame::before { inset: var(--s5) calc(-1 * var(--s5)) calc(-1 * var(--s5)) var(--s5); }
  .offering__media--frame-alt::before { inset: calc(-1 * var(--s5)) var(--s5) var(--s5) calc(-1 * var(--s5)); }
}

.offering--quote { overflow: hidden; }
.deco-grape--quote { width: 220px; right: -64px; bottom: -48px; color: var(--white); opacity: 0.08; }
@media (min-width: 900px) {
  .deco-grape--quote { width: 340px; right: 7%; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-8deg); }
  .deco-grape--flip { transform: translateY(-50%) scaleX(-1) rotate(-8deg); }
}
.offering__narrow { position: relative; }
.offering__narrow > * { max-width: 44rem; }
.offering--quote p:not(.eyebrow) { color: var(--on-purple-soft); }

/* Event posters: shown small, tap to open full size */
.posters { margin-top: var(--s7); }
.posters__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); max-width: 46rem; align-items: start; }
.poster {
  display: block; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform var(--t-small) var(--ease-out), box-shadow var(--t-small) var(--ease-out);
}
.poster img { display: block; width: 100%; height: auto; }
.poster:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.poster:focus-visible { outline-offset: 4px; }
.poster__caption { margin: var(--s3) 0 0; font-size: var(--fs-small); line-height: 1.45; color: var(--fg-soft); }
.poster__caption strong { display: block; font-weight: 600; color: var(--ink); }
.poster-feature { margin: var(--s6) 0; max-width: 26rem; }
.offering--quote .poster__caption { color: var(--on-purple-soft); }
/* "Up next" trip note under the latest trip poster */
.offering--quote .next-trip {
  display: grid; gap: 2px; width: fit-content; max-width: 26rem; margin: 0 0 var(--s6); padding: var(--s3) var(--s5);
  border-radius: var(--r-md); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); color: var(--white);
}
.next-trip__label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-purple-soft); }
.next-trip strong { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: var(--white); }
.pull-quote {
  margin: var(--s6) 0; padding-left: var(--s5); border-left: 2px solid var(--lavender);
}
.pull-quote p {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.375rem); line-height: 1.2;
  color: var(--white) !important; margin-bottom: var(--s3);
}

/* ---------- Choice cards (variant, delivery, payment) ---------- */
.variant { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s2); min-width: 0; }
.variant__opt, .choice__opt { position: relative; display: block; cursor: pointer; }
.variant__opt input, .choice__opt input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
}
.variant__body {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--s2);
  min-height: 44px; padding: var(--s2) var(--s3); border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong); background: var(--white);
  font-size: 0.875rem; line-height: 1.25;
  transition: border-color var(--t-micro) ease, background-color var(--t-micro) ease, box-shadow var(--t-micro) ease;
}
.variant__label { font-weight: 500; color: var(--ink); }
.variant__price { font-weight: 600; color: var(--purple); }
.variant__note { flex-basis: 100%; font-size: 0.8125rem; font-weight: 400; color: var(--ink-soft); }
.variant__opt:hover .variant__body { border-color: var(--purple); }
.variant__opt input:checked + .variant__body {
  border-color: var(--purple); background: var(--lavender-tint); box-shadow: inset 0 0 0 1px var(--purple);
}
.variant__opt input:checked + .variant__body .variant__label { font-weight: 600; }
.variant__opt input:focus-visible + .variant__body, .choice__opt input:focus-visible + .choice__body { outline: 3px solid var(--purple); outline-offset: 2px; }
.variant__opt input:disabled + .variant__body { opacity: 0.55; cursor: not-allowed; }

.choice { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s2); min-width: 0; }
.choice__legend { padding: 0; margin-bottom: var(--s2); font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.choice__body {
  display: grid; gap: 2px; padding: var(--s3) var(--s4) var(--s3) 48px; min-height: 56px;
  border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--white);
  transition: border-color var(--t-micro) ease, background-color var(--t-micro) ease;
}
.choice__body::before {
  content: ""; position: absolute; left: var(--s4); top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; border: 2px solid var(--line-strong); background: var(--white);
  transition: border-color var(--t-micro) ease, box-shadow var(--t-micro) ease;
}
.choice__title { font-weight: 600; color: var(--ink); }
.choice__desc { font-size: var(--fs-small); color: var(--ink-soft); }
.choice__opt:hover .choice__body { border-color: var(--purple); }
.choice__opt input:checked + .choice__body { border-color: var(--purple); background: var(--lavender-tint); }
.choice__opt input:checked + .choice__body::before { border-color: var(--purple); box-shadow: inset 0 0 0 4px var(--white); background: var(--purple); }

.summary:empty { display: none; }
.summary__rows { margin: 0; padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--cream); display: grid; gap: var(--s1); }
.summary__rows > div { display: flex; justify-content: space-between; gap: var(--s3); font-size: 0.9375rem; }
.summary__rows dt { color: var(--ink-soft); }
.summary__rows dd { margin: 0; font-weight: 600; }
.summary__total { padding-top: var(--s2); margin-top: var(--s1); border-top: 1px solid var(--line); }
.summary__total dt, .summary__total dd { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.summary__note { margin: 0; padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--cream); font-size: var(--fs-small); color: var(--ink-soft); }

.order__status {
  display: grid; gap: var(--s2); max-width: 44rem; margin-bottom: var(--s6); padding: var(--s4) var(--s5);
  border-radius: var(--r-lg); background: var(--cream); border: 1px solid var(--line);
}
.order__status:focus { outline: none; }
.order__status.is-paid { background: var(--lavender-tint); border-color: rgba(106, 16, 145, 0.25); }
.order__status p { margin: 0; }
.order__status a { color: var(--purple); font-weight: 600; }
.order__status-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.03em; color: var(--purple); }

/* ---------- Perks ---------- */
.perks { padding-block: var(--s8); }
.perks__list { list-style: none; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.perks__list li { display: grid; gap: var(--s1); align-content: start; }
.perks__list p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }
.perks__emoji { font-size: 1.75rem; line-height: 1; margin-bottom: var(--s2); }
.perks__list .perks__title { color: var(--purple); font-family: var(--font-serif); font-size: 1.375rem; font-weight: 600; letter-spacing: 0.02em; }
.lookbook-wrap { margin-top: var(--s8); }

/* ---------- Forms ---------- */
.form-stack { display: grid; gap: var(--s4); }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.field__hint { margin: 0; font-size: var(--fs-small); color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s3) 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--white); color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color var(--t-micro) ease, box-shadow var(--t-micro) ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236A1091' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid rgba(106, 16, 145, 0.35); outline-offset: 0; border-color: var(--purple); border-radius: var(--r-md);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error {
  display: flex; align-items: flex-start; gap: 6px; margin: 0;
  font-size: var(--fs-small); font-weight: 500; color: var(--danger);
}
.field__error::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px;
  border-radius: 50%; background: var(--danger); color: var(--white); font-size: 0.75rem; font-weight: 700;
}
.privacy { display: flex; align-items: flex-start; gap: var(--s2); margin: 0; font-size: var(--fs-small); color: var(--ink-soft); }
.privacy .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--purple); }
.form-alert {
  display: flex; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-md);
  background: var(--danger-tint); border-left: 4px solid var(--danger); color: var(--ink); font-size: 0.9375rem;
}
.form-alert .icon { color: var(--danger); margin-top: 2px; }
.form-alert p { margin: 0; }
.form-alert a { color: var(--purple); font-weight: 600; }

.success {
  display: grid; gap: var(--s2); padding: var(--s5); border-radius: var(--r-lg);
  background: var(--lavender-tint); color: var(--ink); text-align: left;
}
.success:focus { outline: none; }
.success:focus-visible { outline: 3px solid var(--purple); }
.success__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple); color: var(--white); margin-bottom: var(--s2);
}
.success__title { margin: 0; font-family: var(--font-serif); font-size: 1.75rem; line-height: 1.1; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--purple); }
.success p { margin: 0; }
.success__ref { font-size: 0.9375rem; color: var(--ink-soft); }
.success__total { font-size: 1.125rem; font-weight: 600; }
.success__items { list-style: none; display: grid; gap: var(--s1); padding: var(--s3) 0; border-block: 1px solid rgba(106, 16, 145, 0.18); font-weight: 500; }
.success__note { font-size: var(--fs-small); color: var(--ink-soft); }
.success__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }


/* ---------- Notices, loading ---------- */
.notice {
  grid-column: 1 / -1; display: grid; gap: var(--s3); justify-items: start;
  padding: var(--s5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
}
.notice__title { margin: 0; font-family: var(--font-serif); font-size: 1.625rem; font-weight: 600; color: var(--purple); line-height: 1.2; }
.notice p { margin: 0; color: var(--ink-soft); }
.notice a { color: var(--purple); font-weight: 600; }

.skeleton { width: 100%; padding: var(--s6) var(--s5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: var(--s3); }
.skeleton i { display: block; height: 14px; border-radius: 7px; background: #ECE6EE; animation: pulse 1.4s ease-in-out infinite; }
.skeleton i:nth-child(1) { width: 40%; }
.skeleton i:nth-child(2) { width: 75%; height: 28px; }
.skeleton i:nth-child(3) { width: 90%; }
.skeleton i:nth-child(4) { width: 60%; }
.skeleton--product { padding: var(--s3); }
.skeleton--product i:first-child { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 80px 80px 12px 12px; }

/* ---------- Shop ---------- */
/* Qhamisa's slogan above the collection: italic serif line + spaced brand line, like the logo's "INITIATIVE" */
.slogan { text-transform: none; letter-spacing: 0; }
.slogan__line {
  display: block; font-style: italic; font-weight: 500;
  font-size: clamp(2rem, 1.45rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.005em;
}
.slogan__brand {
  display: block; margin-top: var(--s4);
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.42em; text-transform: uppercase;
}
@media (max-width: 359px) { .slogan__brand { letter-spacing: 0.28em; } }

.shop__layout { display: grid; gap: var(--s6); align-items: start; }

/* Lookbook: native horizontal scroll with snap points (no custom gestures) */
.lookbook { margin: 0 calc(-1 * var(--gutter)); }
.lookbook__scroller {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: rgba(106, 16, 145, 0.4) transparent;
  border-radius: var(--r-md);
}
.lookbook__scroller:focus-visible { outline-offset: -3px; }
.lookbook__track { list-style: none; display: flex; gap: var(--s3); padding: var(--s2) var(--gutter) var(--s4); width: max-content; }
.lookbook__track li { width: min(62vw, 300px); scroll-snap-align: start; flex: none; }
.lookbook__track img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 12%;
  border-radius: 140px 140px var(--r-lg) var(--r-lg); background: #E6E7EE;
}
.lookbook__nav { display: none; justify-content: flex-end; gap: var(--s2); padding: 0 var(--gutter); }
.lookbook__btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(106, 16, 145, 0.4); background: var(--white); color: var(--purple); touch-action: manipulation;
  transition: background-color var(--t-micro) ease, transform var(--t-micro) ease;
}
.lookbook__btn:hover { background: var(--cream); }
.lookbook__btn:active { transform: scale(0.94); }
.lookbook__btn[disabled] { opacity: 0.4; cursor: default; transform: none; }
.icon--flip { transform: scaleX(-1); }
@media (min-width: 768px) {
  .js .lookbook__nav { display: flex; }
  .lookbook__track li { width: 260px; }
}
@media (min-width: 1100px) { .shop__layout { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s6); } }

.product-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); align-items: start; }
@media (min-width: 640px) { .product-list { gap: var(--s5); } }
@media (min-width: 840px) { .product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.product {
  display: flex; flex-direction: column; gap: var(--s3);
  padding: var(--s3) var(--s3) var(--s4); border-radius: var(--r-lg); background: var(--white);
  transition: box-shadow var(--t-small) var(--ease-out), transform var(--t-small) var(--ease-out);
}
.product:hover { box-shadow: var(--shadow-soft); }
.product__media {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 5; border-radius: 80px 80px var(--r-md) var(--r-md);
  background: var(--cream); overflow: hidden;
}
.product__soon {
  position: absolute; left: 50%; bottom: var(--s3); transform: translateX(-50%); white-space: nowrap;
  padding: 2px var(--s3); border-radius: var(--r-pill); background: var(--white);
  font-size: 0.75rem; font-weight: 600; color: var(--ink-soft);
}
.product__media svg { width: 56%; height: auto; filter: drop-shadow(0 6px 8px rgba(40, 10, 50, 0.18)); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__body { display: flex; flex-direction: column; gap: var(--s3); min-width: 0; flex: 1; }
.product__body .btn { margin-top: auto; padding: 0 var(--s3); }
.product__name { margin: 0; font-size: 1.375rem; line-height: 1.1; font-weight: 600; letter-spacing: 0.05em; }
.product__price { margin: 0; font-weight: 600; font-size: 1rem; color: var(--purple); }
.product__size:empty { display: none; }
.product__fixed { margin: 0; font-size: 0.9375rem; color: var(--ink-soft); }
.product__fixed strong { color: var(--ink); }
.product__added {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; min-height: 20px;
  font-size: var(--fs-small); font-weight: 600; color: var(--purple);
}
.product__added .icon { width: 16px; height: 16px; }
.product .field label { font-size: var(--fs-small); }
@media (min-width: 640px) {
  .product { padding: var(--s4) var(--s4) var(--s5); }
  .product__media { border-radius: 140px 140px var(--r-md) var(--r-md); }
  .product__media svg { width: 50%; }
  .product__name { font-size: 1.5rem; }
  .product__body .btn { padding: 0 var(--s4); }
  .variant__body { font-size: 0.9375rem; }
}

.order {
  padding: var(--s5); border-radius: var(--r-lg); background: var(--white);
  border-top: 4px solid var(--purple); box-shadow: var(--shadow-soft);
}
@media (min-width: 1100px) { .order { position: sticky; top: calc(var(--header-h) + var(--s5)); } }
.order__title { font-size: 1.875rem; margin-bottom: var(--s3); }
.order__empty { color: var(--ink-soft); font-size: 0.9375rem; }
.order__lines { list-style: none; margin-bottom: var(--s4); }
.order__lines li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s3); align-items: center;
  padding: var(--s3) 0; border-bottom: 1px solid var(--line);
}
.order__lines li:first-child { border-top: 1px solid var(--line); }
.line__name { margin: 0; font-weight: 600; line-height: 1.3; }
.line__meta { margin: 0; font-size: var(--fs-small); color: var(--ink-soft); }
.line__controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); }
.qty button {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--purple); touch-action: manipulation;
}
.qty button:hover { background: rgba(106, 16, 145, 0.08); }
.qty button:active { transform: scale(0.92); }
.qty button[disabled] { color: #B9B1BC; cursor: not-allowed; background: none; transform: none; }
.qty .icon { width: 18px; height: 18px; }
.qty output { min-width: 2.5ch; text-align: center; font-weight: 600; }
.line__remove {
  min-height: 44px; padding: 0 var(--s2); border: 0; background: none;
  color: var(--ink-soft); font-size: var(--fs-small); font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
.line__remove:hover { color: var(--danger); }
.order__form { display: grid; gap: var(--s4); }
.no-js .order { display: none; }

/* ---------- Founder ---------- */
.founder__grid { display: grid; gap: var(--s7); align-items: center; }
.founder__photo {
  position: relative; width: min(340px, 82%); margin-inline: auto; padding-top: var(--s7);
}
.founder__photo::before {
  content: ""; position: absolute; inset: 0 0 0 0; top: 18%;
  border-radius: var(--r-arch); background: var(--lavender);
}
.founder__photo::after {
  content: ""; position: absolute; inset: 18% -14px -14px 14px; z-index: -0;
  border-radius: var(--r-arch); border: 1px solid rgba(255, 255, 255, 0.35); pointer-events: none;
}
.founder__photo img { position: relative; z-index: 1; width: 100%; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.founder__role { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-purple-soft); margin-top: calc(-1 * var(--s3)); margin-bottom: var(--s5); }
.founder__copy p:not(.eyebrow):not(.founder__role) { color: var(--on-purple-soft); max-width: 62ch; }
@media (min-width: 900px) {
  .founder__grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--s9); }
  .founder__photo { width: 100%; max-width: 380px; }
}

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: var(--s7); }
.contact__intro p:not(.eyebrow) { color: var(--ink-soft); max-width: 44ch; margin-bottom: var(--s5); }
.contact-list { list-style: none; display: grid; }
.contact-list a {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: var(--s4); align-items: center;
  min-height: 72px; padding: var(--s3) var(--s2); border-bottom: 1px solid var(--rule);
  text-decoration: none; color: var(--ink); border-radius: var(--r-sm);
  transition: background-color var(--t-micro) ease;
}
.contact-list li:first-child a { border-top: 1px solid var(--rule); }
.contact-list a:hover { background: rgba(106, 16, 145, 0.06); }
.contact-list .icon { grid-row: span 2; width: 24px; height: 24px; color: var(--purple); }
.contact-list__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list__value { font-size: 1.0625rem; font-weight: 500; overflow-wrap: anywhere; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: var(--s9); align-items: start; } }

/* ---------- Footer ---------- */
.site-footer {
  --focus: var(--white);
  background: var(--purple-deep); color: var(--white);
  padding: var(--s8) 0 calc(var(--s10) + env(safe-area-inset-bottom));
}
.site-footer__inner { display: grid; gap: var(--s4); justify-items: start; }
.site-footer__logo { width: 220px; }
.site-footer__tag { margin: 0; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-purple-soft); }
.site-footer__nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--s2); margin-left: calc(-1 * var(--s3)); }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); text-decoration: none; color: var(--white); }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal { margin: 0; font-size: var(--fs-small); color: var(--on-purple-soft); }
@media (min-width: 900px) { .site-footer { padding-bottom: var(--s8); } }

/* ---------- Chat ---------- */
.no-js .chat { display: none; }
.chat {
  --focus: var(--purple);
  position: fixed; z-index: 60;
  right: max(var(--s4), env(safe-area-inset-right)); bottom: max(var(--s4), env(safe-area-inset-bottom));
}
.chat__launcher {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  width: 56px; height: 56px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: var(--purple); color: var(--white); font-weight: 600; font-size: 0.9375rem;
  /* Cream ring keeps the bubble distinct when it floats over the purple sections */
  box-shadow: 0 0 0 3px var(--cream), 0 12px 30px -8px rgba(40, 10, 50, 0.55);
  touch-action: manipulation;
  transition: transform var(--t-small) var(--ease-out), background-color var(--t-micro) ease;
}
.chat__launcher .icon { width: 26px; height: 26px; }
/* Visually hidden on phones but still the button's accessible name */
.chat__launcher-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.chat__launcher:hover { background: var(--purple-deep); transform: translateY(-2px); }
.chat__launcher:active { transform: scale(0.95); transition-duration: 60ms; }
.chat__launcher:focus-visible { outline-color: var(--purple); outline-offset: 4px; }
@media (min-width: 768px) {
  .chat__launcher { width: auto; padding: 0 var(--s5) 0 var(--s4); }
  .chat__launcher .icon { width: 22px; height: 22px; }
  .chat__launcher-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
.chat.is-open .chat__launcher { opacity: 0; pointer-events: none; transform: scale(0.9); }

.chat__panel {
  position: fixed; z-index: 61;
  left: max(var(--s2), env(safe-area-inset-left)); right: max(var(--s2), env(safe-area-inset-right));
  bottom: max(var(--s2), env(safe-area-inset-bottom));
  height: min(640px, calc(var(--vvh, 100dvh) - var(--s4) - env(safe-area-inset-top)));
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); background: var(--cream); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(40, 10, 50, 0.55), 0 0 0 1px rgba(106, 16, 145, 0.12);
  overflow: hidden;
  transform-origin: bottom right;
}
@media (min-width: 768px) {
  .chat__panel {
    left: auto; right: max(var(--s5), env(safe-area-inset-right)); bottom: max(var(--s5), env(safe-area-inset-bottom));
    width: 392px; height: min(620px, calc(100dvh - 120px));
  }
}
.chat.is-open .chat__panel { animation: panel-in var(--t-small) var(--ease-out); }
.chat__panel.is-closing { animation: panel-out 180ms ease forwards; pointer-events: none; }

.chat__head {
  --focus: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s4) var(--s3) var(--s4) var(--s5);
  background: var(--purple) url("../assets/texture-lilac.webp") center / cover; color: var(--white);
}
.chat__title { margin: 0; font-size: 1.625rem; letter-spacing: 0.06em; color: var(--white); }
.chat__sub { margin: 0; font-size: var(--fs-small); color: var(--white); }
.chat__close {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: var(--white); flex: none;
}
.chat__close:hover { background: rgba(255, 255, 255, 0.24); }

.chat__log {
  list-style: none; flex: 1; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5) var(--s4);
}
.msg { max-width: 86%; padding: var(--s3) var(--s4); border-radius: 18px; font-size: 0.9875rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.msg a { color: inherit; font-weight: 600; }
.msg--assistant { align-self: flex-start; background: var(--white); border: 1px solid rgba(106, 16, 145, 0.14); border-bottom-left-radius: 6px; }
.msg--assistant a { color: var(--purple); }
.msg--user { align-self: flex-end; background: var(--purple); color: var(--white); border-bottom-right-radius: 6px; }
.msg--error { align-self: flex-start; background: var(--danger-tint); border: 1px solid rgba(163, 18, 42, 0.25); border-bottom-left-radius: 6px; }
.msg--error a { color: var(--purple); }
@media (prefers-reduced-motion: no-preference) { .msg { animation: msg-in var(--t-small) var(--ease-out); } }

.chat__typing { padding: 0 var(--s4) var(--s3); }
.chat__dots {
  display: inline-flex; gap: 5px; padding: var(--s3) var(--s4); border-radius: 18px; border-bottom-left-radius: 6px;
  background: var(--white); border: 1px solid rgba(106, 16, 145, 0.14);
}
.chat__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); opacity: 0.35; animation: dot 1.2s ease-in-out infinite; }
.chat__dots i:nth-child(2) { animation-delay: 0.15s; }
.chat__dots i:nth-child(3) { animation-delay: 0.3s; }

.chat__form {
  display: flex; align-items: flex-end; gap: var(--s2);
  padding: var(--s3); border-top: 1px solid rgba(106, 16, 145, 0.12); background: var(--white);
}
.chat__form textarea {
  flex: 1; min-height: 48px; max-height: 132px; padding: var(--s3) var(--s4); resize: none;
  border: 1.5px solid var(--line-strong); border-radius: 22px; background: var(--white);
  font-size: 1rem; line-height: 1.4;
}
.chat__form textarea:focus-visible { outline: 3px solid rgba(106, 16, 145, 0.35); outline-offset: 0; border-color: var(--purple); border-radius: 22px; }
.chat__send {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%;
  background: var(--purple); color: var(--white); touch-action: manipulation;
  transition: transform var(--t-micro) ease, background-color var(--t-micro) ease;
}
.chat__send:hover { background: var(--purple-deep); }
.chat__send:active { transform: scale(0.92); }
.chat__send[disabled] { background: #B9B1BC; cursor: not-allowed; transform: none; }
.chat__foot { margin: 0; padding: var(--s2) var(--s4) var(--s3); background: var(--white); font-size: 0.8125rem; color: var(--ink-soft); }
.chat__foot a { color: var(--purple); font-weight: 600; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes panel-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(12px) scale(0.96); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(-5%) scale(1.1); } to { transform: translateY(5%) scale(1.1); } }

/* Hero entrance: the one large moment on the page */
.hero__title span, .hero__eyebrow, .hero__lead, .hero__actions { animation: rise 900ms var(--ease-out) both; }
.hero__eyebrow { animation-delay: 80ms; }
.hero__title span:nth-child(1) { animation-delay: 140ms; }
.hero__title span:nth-child(2) { animation-delay: 220ms; }
.hero__lead { animation-delay: 320ms; }
.hero__actions { animation-delay: 400ms; }
.hero__photo { animation: fade 900ms ease both 100ms; }
.hero__photo img { animation: settle 1400ms var(--ease-out) both 100ms; }

/* Scroll reveals: hidden only when JavaScript is running */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* Gentle depth on two photos, compositor-driven where supported */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about__photo img, .offering__media--arch img {
      animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%;
    }
  }
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .poster:hover { transform: none; }
  .hero__title span, .hero__eyebrow, .hero__lead, .hero__actions, .hero__photo, .hero__photo img,
  .skeleton i, .chat__dots i, .order-pill.is-bumped .order-pill__count { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .chat.is-open .chat__panel { animation: fade 200ms ease; }
  .chat__panel.is-closing { animation: none; }
  .btn:hover, .chat__launcher:hover { transform: none; }
  .js .nav-menu { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-soft: var(--ink); --on-purple-soft: var(--white); --line: rgba(20, 16, 20, 0.4); --line-strong: var(--ink); }
  .site-header.is-scrolled { background: var(--cream); backdrop-filter: none; border-bottom: 1px solid var(--ink); }
  .product, .order, .notice, .variant__body, .choice__body { border: 1px solid var(--ink); }
  .deco-grape { display: none; }
}
@media (forced-colors: active) {
  .btn, .chat__launcher, .chat__send, .order-pill { border: 1px solid ButtonText; }
}
