/* ============================================================
   Miró — Fine Jewelry · Design System
   Palette: black type and controls on white, neutral greys only.
   Mobile-first. Base styles target ~375px.
   ============================================================ */

:root {
  /* Palette — client feedback 2026-07-24: black & white only, no blue.
     All type, buttons and rules are black; greys are neutral (no blue
     cast). Legacy variable names kept so page styles keep resolving. */
  --raspberry: #000000;
  --raspberry-dark: #262626;
  --raspberry-tint: #f2f2f2;
  --cream: #f4f4f4;
  --cream-soft: #fafafa;
  --navy: #000000;
  --navy-soft: #1a1a1a;
  --teal: #000000;
  --teal-text: #000000;
  --teal-tint: #f2f2f2;
  --copper: #000000;
  --maroon: #000000;

  /* Derived neutrals */
  --paper: #ffffff;
  --ink: #000000;
  --ink-soft: #333333;
  --line: #dcdcdc;
  --line-soft: #ececec;
  --white: #ffffff;

  /* Type — client feedback: Georgia Regular in place of Playfair Display */
  --font-title: Georgia, "Times New Roman", serif;
  --font-body: "Avenir Next", "Avenir", "Mulish", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Monsieur La Doulaise", "Snell Roundhand", cursive;

  /* Rhythm */
  --space-1: 4px;  --space-2: 8px;  --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 64px; --space-8: 96px;
  --radius: 2px;
  --radius-lg: 4px;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 18px 60px rgba(0, 0, 0, 0.14);
  --header-h: 64px;
  --announce-h: 38px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--cream-soft); }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--raspberry); outline-offset: 3px; border-radius: 1px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .h-serif {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(28px, 4.5vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 24px); }
h4 { font-size: 18px; }
.display { font-size: clamp(40px, 8vw, 72px); font-weight: 400; line-height: 1.06; }
.h-serif-italic { font-family: var(--font-title); font-style: italic; font-weight: 400; }
p { color: var(--ink-soft); }
.lede { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.7; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--raspberry);
}
.eyebrow--navy { color: var(--navy); }
.eyebrow--teal { color: var(--teal-text); }
.measure { max-width: 62ch; }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }

.logo-script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  letter-spacing: 0.01em;
}

/* Official Miró wordmark (client brand assets, 2026-07) */
.logo-mark {
  display: block; width: auto; height: 34px;
  background: none;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1440px; }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(36px, 6vw, 72px); }
.section--cream { background: var(--cream); }
.section--cream-soft { background: var(--cream-soft); }
.section--navy { background: var(--navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--paper); }
.section--navy p { color: rgba(255, 255, 255, 0.75); }
.grid { display: grid; gap: 20px; }
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 28px; }
}
.hairline { border: 0; border-top: 1px solid var(--line); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -64px; left: 16px; z-index: 200;
  background: var(--navy); color: var(--paper);
  padding: 12px 20px; border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons (large tap targets — client priority) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 34px;
  background: var(--raspberry); color: var(--white);
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--raspberry); border-radius: var(--radius);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--raspberry-dark); border-color: var(--raspberry-dark); }
.btn:active { transform: translateY(1px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.65); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--paper); }
.btn--block { width: 100%; }
.btn--lg { min-height: 60px; padding: 16px 42px; font-size: 14px; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; pointer-events: none; }
.btn--text {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 8px 2px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); border-bottom: 1px solid var(--navy);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.btn--text:hover { color: var(--raspberry); border-color: var(--raspberry); gap: 12px; }
.btn--text.on-dark { color: var(--paper); border-color: rgba(255,255,255,.6); }
.btn--text.on-dark:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--teal); color: var(--white); border-radius: var(--radius);
}
.badge--new { background: var(--raspberry); }
.badge--bestseller { background: var(--navy); }
.badge--sale { background: var(--maroon); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy);
}
.field .hint { font-size: 13px; color: var(--ink-soft); }
.field .error-msg { font-size: 13px; color: var(--maroon); display: none; }
.field.has-error .error-msg { display: block; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--maroon); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--raspberry);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.input::placeholder, .textarea::placeholder { color: #8c8c8c; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000000' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 44px;
}
.checkbox-row { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checkbox-row input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px; accent-color: var(--raspberry); flex: none;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy); color: var(--cream);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; padding: 11px 16px; line-height: 1.45;
}
.announce a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header — white strip per client mockup:
   links left · logo centre · icons right ---------- */

/* The injected chrome wrapper must not box the header in: a sticky element
   can only travel inside its parent, and this wrapper is only as tall as the
   header itself (drawer + search overlay are fixed). Without this the header
   scrolls straight off, and anything pinned below it — e.g. the collections
   category bar — ends up floating mid-page. */
#site-chrome-top { display: contents; }

.site-header {
  position: sticky; top: 0; z-index: 120;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px; min-height: var(--header-h);
  max-width: 1440px; margin-inline: auto; padding-inline: 16px;
}
.site-header__logo {
  grid-column: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 10px;
}
/* Client feedback 2026-07-28: the wordmark stands alone — no "Fine Jewelry
   · Est. 2025" strapline under it in the header. It still runs in the footer. */
.site-header__logo .logo-mark { height: 30px; }
.site-nav { display: none; grid-column: 1; justify-self: start; }
.site-header__icons { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 2px; }
.hamburger { grid-column: 1; justify-self: start; }
.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  color: var(--navy);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--cream); color: var(--raspberry); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 5px; right: 3px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--raspberry); color: var(--white);
  font-size: 10px; font-weight: 700; border-radius: 999px;
  transform: scale(0); transition: transform 0.25s var(--ease);
}
.cart-count.is-visible { transform: scale(1); }
.hamburger { display: inline-flex; }

@media (min-width: 900px) {
  /* Keep --header-h in step with the real header height so sticky
     elements (e.g. the collections toolbar) pin flush beneath it */
  :root { --header-h: 76px; }
  .site-header__inner { padding-inline: 32px; min-height: var(--header-h); }
  .hamburger { display: none; }
  .site-nav { display: flex; gap: 4px; }
  .site-nav a {
    display: inline-flex; align-items: center;
    padding: 12px 14px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--navy); position: relative;
  }
  .site-nav a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
    height: 1px; background: var(--raspberry);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { color: var(--raspberry); }
  .site-header__logo .logo-mark { height: 38px; }
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 160;
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: min(86vw, 380px);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(-102%);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow-lift);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 12px 14px 24px; border-bottom: 1px solid var(--line-soft);
}
.drawer__head .logo-mark { height: 30px; }
.drawer__nav { display: flex; flex-direction: column; padding: 16px 8px; }
.drawer__nav a {
  padding: 16px 18px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); border-radius: var(--radius);
}
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] { background: var(--cream); color: var(--raspberry); }
.drawer__foot {
  margin-top: auto; padding: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 14px;
  font-size: 14px; color: var(--ink-soft);
}
.drawer__foot a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 500; min-height: 48px; }
.drawer__foot svg { width: 18px; height: 18px; color: var(--teal); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 170;
  background: var(--paper);
  visibility: hidden; opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0s 0.3s;
  overflow-y: auto;
}
.search-overlay.is-open { visibility: visible; opacity: 1; transition: opacity 0.3s var(--ease); }
.search-overlay__inner { max-width: 960px; margin-inline: auto; padding: 20px; }
.search-overlay__bar {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 10px; margin-top: 26px;
}
.search-overlay__bar svg { width: 24px; height: 24px; color: var(--navy); flex: none; }
.search-overlay__input {
  flex: 1; min-width: 0; border: none; background: transparent; outline: none;
  font-family: var(--font-title); font-size: clamp(22px, 5vw, 34px); color: var(--navy);
}
.search-overlay__input::placeholder { color: #8c8c8c; }
.search-overlay__close { position: absolute; top: 14px; right: 14px; }
.search-overlay__hint {
  margin-top: 14px; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.search-overlay__results { margin-top: 30px; padding-bottom: 60px; }
.search-overlay__results .grid { gap: 16px; }
.search-overlay__empty { padding: 48px 0; text-align: center; color: var(--ink-soft); }
.search-overlay__empty .h-serif-italic { font-size: 24px; color: var(--navy); display: block; margin-bottom: 8px; }

/* ---------- Product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; gap: 12px; }
.pcard__media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4; background: var(--cream-soft);
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.pcard:hover .pcard__media img, .pcard:focus-within .pcard__media img { transform: scale(1.05); }
.pcard__badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pcard__body { display: flex; flex-direction: column; gap: 3px; }
.pcard__cat {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
}
.pcard__name { font-family: var(--font-title); font-size: 18px; font-weight: 500; color: var(--navy); line-height: 1.3; }
.pcard__price { font-size: 15px; font-weight: 600; color: var(--ink); }
.pcard__price s { color: var(--ink-soft); font-weight: 400; margin-left: 8px; }
.pcard__link::after { content: ""; position: absolute; inset: 0; }
.pcard__link:focus-visible::after { outline: 2px solid var(--raspberry); outline-offset: 4px; }

/* Minimal listing card — name + secondary photo on hover only */
.pcard--minimal:hover .pcard__media img, .pcard--minimal:focus-within .pcard__media img { transform: none; }
.pcard__alt {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.pcard--minimal:hover .pcard__alt, .pcard--minimal:focus-within .pcard__alt { opacity: 1; }
.pcard__hovername {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: 13px 16px; text-align: center;
  font-family: var(--font-title); font-size: 16px; color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.pcard--minimal:hover .pcard__hovername, .pcard--minimal:focus-within .pcard__hovername { opacity: 1; transform: none; }

/* ---------- Quantity stepper ---------- */
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.qty button {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--navy); transition: background 0.2s var(--ease);
}
.qty button:hover { background: var(--cream-soft); }
.qty input {
  width: 44px; height: 48px; text-align: center; border: none; background: transparent;
  font-weight: 600; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- Option chips (metal / size selectors) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; min-width: 52px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  font-size: 13px; font-weight: 500;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"], .chip.is-selected {
  border-color: var(--navy); background: var(--navy); color: var(--paper);
}

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; text-align: left;
  font-family: var(--font-title); font-size: 17px; font-weight: 500; color: var(--navy);
  transition: color 0.2s var(--ease);
}
.accordion__trigger:hover { color: var(--raspberry); }
.accordion__icon { flex: none; width: 22px; height: 22px; position: relative; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: currentColor; transition: transform 0.3s var(--ease);
}
.accordion__icon::before { width: 14px; height: 1.5px; }
.accordion__icon::after { width: 1.5px; height: 14px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(90deg); }
.accordion__panel { overflow: hidden; max-height: 0; transition: max-height 0.35s var(--ease); }
.accordion__content { padding: 2px 4px 24px; color: var(--ink-soft); }
.accordion__content p + p { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); }
.site-footer a { transition: color 0.2s var(--ease); }
.site-footer a:hover { color: var(--cream); }
.site-footer__main {
  display: grid; gap: 40px;
  padding: clamp(48px, 7vw, 80px) 0 40px;
}
.site-footer__brand .logo-mark { height: 44px; }
.site-footer__brand .logo-tag {
  display: block; margin-top: 2px;
  font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); font-weight: 600;
}
.site-footer__brand p { margin-top: 18px; max-width: 34ch; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.66); }
.site-footer__social { display: flex; gap: 6px; margin-top: 22px; }
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%;
  color: var(--cream);
}
.site-footer__social a:hover { border-color: var(--cream); background: rgba(255,255,255,.08); }
.site-footer__social svg { width: 19px; height: 19px; }
.site-footer__col h4 {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream);
  margin-bottom: 18px;
}
.site-footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; }
.site-footer__col li a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14.5px; }
.site-footer__col address { font-style: normal; font-size: 14.5px; line-height: 2; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px 0 28px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.5);
}
.site-footer__pay { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer__pay span { border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 5px 10px; }
@media (min-width: 700px) {
  .site-footer__main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1fa855; color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 40px rgba(0, 0, 0,.34); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 900px) { .wa-float { right: 28px; bottom: 28px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Page hero (shared inner-page banner) ---------- */
.page-hero { background: var(--cream); text-align: center; padding: clamp(44px, 7vw, 84px) 0; }
.page-hero .eyebrow { margin-bottom: 14px; }
/* raspberry at 11px on cream is 4.28:1 — darken inside cream heroes for AA */
.page-hero .eyebrow:not(.eyebrow--navy):not(.eyebrow--teal) { color: var(--raspberry-dark); }
.page-hero p { max-width: 56ch; margin: 14px auto 0; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--raspberry); }
.crumbs span[aria-hidden] { color: var(--line); }
.crumbs .current { color: var(--navy); font-weight: 600; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 180;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--navy); color: var(--paper);
  padding: 14px 26px; border-radius: var(--radius-lg);
  font-size: 14px; box-shadow: var(--shadow-lift);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  max-width: calc(100vw - 40px); text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; pointer-events: auto; }

/* ---------- Utility ---------- */
.no-scroll { overflow: hidden; }
.flow > * + * { margin-top: var(--space-3); }
.mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
