/* ============================================================
   Cee's Itinerary Club — Design System (Worker A)
   Tokens · Fonts · Shared components per SPEC.md class contract
   Shared by ALL pages. Do not add page-specific rules here.
   ============================================================ */

/* ── Fonts (self-hosted in assets/fonts/, SIL Open Font License) ──
   Great Vibes © TypeSETit · Playfair Display © Claus Eggers Sørensen ·
   Lato © Łukasz Dziedzic. Critical faces are preloaded in each page;
   remaining weights and sister-brand fonts load only when used. */
@font-face { font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/great-vibes-400.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/playfair-display-400.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/playfair-display-500.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/playfair-display-600.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/playfair-display-700.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/playfair-display-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/lato-300.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato-400.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato-700.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/lato-400-italic.woff2') format('woff2'); }
/* Jazzman's sister-brand typefaces (used by .jazz-* classes in pages.css —
   index promo card + jazzmans.html) */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-600.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/jost-300.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jost-400.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jost-600.woff2') format('woff2'); }

/* ── Design tokens (exact per SPEC — no deviation) ────────── */
:root {
  --wa-green: #25D366;   /* functional exception (SPEC): WhatsApp CTA only */
  --error-red: #C00000;  /* functional exception (SPEC): form validation errors only */
  --black: #000000;        /* primary text, hero statements */
  --gold: #D4AF37;         /* accent: CTAs, links, dividers, icons */
  --gold-dark: #B8860B;    /* hover states, gold on dark backgrounds */
  --white: #FFFFFF;        /* page background */
  --grey-light: #F5F5F5;   /* cards, subtle section backgrounds */
  --charcoal: #333333;     /* secondary text */

  /* Tonal extensions (approved at Checkpoint 1) */
  --ivory: #FBF7EC;                    /* gold tint over white — light section background */
  --sand: #F3EBD3;                     /* deeper gold tint — alternating light sections */
  --gold-tint: rgba(212, 175, 55, 0.10); /* subtle washes, hover states, focus rings */
  --ink: #1A1A1A;                      /* near-black section background */
  --charcoal-soft: #2A2A2A;            /* dark band cards on ink backgrounds */
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }

body {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

/* Gold (#D4AF37, ~2.1:1 on white) never carries text on light backgrounds (CP3 §2).
   Body links use charcoal; hover may go gold-dark (~3.3:1, CP3-approved hover state).
   Gold text stays on ink/charcoal-soft via .section-ink / .site-footer overrides below. */
a { color: var(--charcoal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

/* Visible gold focus ring on ALL interactive elements (CP3 release blocker).
   --gold-tint is the existing approved token (rgba of --gold), reused per T2. */
:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
  background-color: var(--gold-tint);
}

/* Keyboard users can bypass the repeated navigation without JavaScript. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(calc(-100% - 24px));
  padding: 12px 18px;
  border: 2px solid var(--gold-dark);
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-decoration: underline;
}
.skip-link:focus { transform: translateY(0); background: var(--white); color: var(--black); }
@media print { .skip-link { display: none; } }

/* Typography scale — Great Vibes ONLY on H1/H2 display titles */
h1, h2 {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  color: var(--black);
  line-height: 1.15;
}
h1 { font-size: clamp(42px, 7vw, 56px); }
h2 { font-size: clamp(34px, 5vw, 40px); }

h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--black);
  line-height: 1.3;
}
h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 600; }
h4 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h5 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p { color: var(--charcoal); }

.small { font-size: 14px; }
.text-center { text-align: center; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }
.section-tight { padding: 40px 0; }

/* ── Tonal section utilities (SPEC "Tonal extensions") ────── */
.section-ivory { background: var(--ivory); }
.section-sand  { background: var(--sand); }
.section-ink {
  background: var(--ink);
  color: var(--white);
}
/* Dark (ink) bands: white/gold text, gold accents */
.section-ink .section-label { color: var(--gold); }
.section-ink h1,
.section-ink h2,
.section-ink h3,
.section-ink h4,
.section-ink h5 { color: var(--white); }
.section-ink p { color: rgba(255, 255, 255, 0.7); }
.section-ink .divider-gold { color: var(--gold); }
.section-ink a { color: var(--gold); }
.section-ink a:hover { color: var(--gold-dark); }
.section-ink .btn-outline {
  color: var(--white);
  border-color: var(--white);
}
.section-ink .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Subtle gold radial glow — place behind hero titles */
.hero-glow { position: relative; }
.hero-glow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.16), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-glow > * { position: relative; z-index: 1; }

/* ── Buttons — premium boutique CTA system (Checkpoint 2) ─── */
.btn-gold,
.btn-outline {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 16px 34px;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  min-height: 48px;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #E3C566 0%, var(--gold) 45%, var(--gold-dark) 100%);
  color: var(--black);
  border: 1px solid var(--gold-dark);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}
/* Diagonal gold sheen sweep on hover (R5) — boutique, ~400ms, action-driven */
.btn-gold::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 45%;
  transform: translateX(-260%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
  transition: transform 0.4s ease;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  border-color: var(--gold-dark);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover::after { transform: translateX(340%) skewX(-20deg); }
.btn-gold:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25); }
.btn-gold:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.45);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--gold-tint);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }

/* WhatsApp CTA — functional color exception (SPEC) */
.btn-wa {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 16px 34px;
  border-radius: 2px;
  min-height: 48px;
  text-align: center;
  background: var(--wa-green);
  color: var(--black);
  border: 1px solid var(--wa-green);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-wa:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-wa:active { transform: translateY(0); }

/* WhatsApp inline links — functional color exception (SPEC) */
.link-wa { color: var(--wa-green) !important; }
.link-wa:hover { color: #1DA851 !important; }

/* Form validation errors — functional color exception (SPEC) */
.form-group .error-msg {
  display: none;
  font-size: 12px;
  color: var(--error-red);
  margin-top: 6px;
}
.form-group.show-error .error-msg { display: block; }
.form-group.show-error input,
.form-group.show-error select,
.form-group.show-error textarea { border-color: var(--error-red); }
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid { border-color: var(--error-red); }
.form-group input:focus.invalid,
.form-group select:focus.invalid,
.form-group textarea:focus.invalid {
  border-color: var(--error-red);
  box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.12);
}

/* Full-width CTAs on mobile */
@media (max-width: 640px) {
  .btn-gold,
  .btn-outline,
  .btn-wa {
    display: block;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Gold divider with center flourish ────────────────────── */
.divider-gold {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
  margin: 28px auto;
  color: var(--gold);
  border: none;
  background: none;
}
.divider-gold::before,
.divider-gold::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.divider-gold::after { background: linear-gradient(to right, var(--gold), transparent); }

/* Thin left-aligned variant for inline use */
.divider-gold.left {
  margin-left: 0;
  max-width: 160px;
}

/* ── Section label (CP3 amendment: sentence-case Playfair eyebrow) ──
   Restyled per SPEC "Checkpoint 3 amendments" — NO tracked-out ALL-CAPS.
   Gold-dark on light sections; gold only on dark (.section-ink override below).
   Used at most once per page, only where a section genuinely needs an eyebrow. */
.section-label {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 6px;
}
.section-label.left { text-align: left; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--grey-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 28px;
}
.card-white {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 28px;
}

/* ── Price badge — ALWAYS "Starting at" before the price ──── */
.price-badge {
  display: inline-block;
  border: 1px solid var(--gold-dark);
  padding: 8px 18px;
  border-radius: 2px;
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  font-family: 'Playfair Display', serif;
  color: var(--black);
  white-space: nowrap;
}
.price-badge .price-prefix {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  line-height: 1.2;
}
.price-badge .price-amount {
  /* Lining figures: Lato's tabular-height numerals read far better for
     prices than Playfair Display's old-style (varying-height) figures. */
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.price-badge .price-unit {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.3;
  margin-top: 4px;
}
/* Inline (single-line) variant */
.price-badge.inline { padding: 6px 14px; }
.price-badge.inline .price-prefix,
.price-badge.inline .price-amount,
.price-badge.inline .price-unit {
  display: inline;
  font-size: 15px;
  margin-right: 4px;
}
.price-badge.inline .price-prefix { color: var(--black); font-weight: 700; }
.price-badge.inline .price-amount { font-weight: 600; }

/* ── Placeholder image blocks (NO external images) ────────── */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  width: 100%;
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal-soft) 100%);
  border-radius: 4px;
  position: relative;
  padding: 24px;
}
.placeholder-img::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 2px;
  pointer-events: none;
}
.placeholder-img span {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  z-index: 1;
}
.placeholder-img.gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.placeholder-img.gold span { color: rgba(0, 0, 0, 0.8); }
/* Light sand → gold-tint variant */
.placeholder-img.light {
  background: linear-gradient(135deg, var(--sand) 0%, var(--gold-tint) 100%);
}
.placeholder-img.light span { color: rgba(0, 0, 0, 0.7); }
.placeholder-img.short { min-height: 160px; }
.placeholder-img.tall { min-height: 340px; }

/* ── Shared header ────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 50;
  transition: padding 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
/* R4 nav scroll state — slight shrink + blur + border (class toggled by motion.js) */
.site-header.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(0, 0, 0, 0.12);
}
/* R4 thin gold scroll-progress bar — B's motion.js drives transform: scaleX */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo a {
  text-decoration: none;
  color: var(--black);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 72px;
  width: auto;
  display: block;
}
/* Footer sits on ink — the transparent black/gold logo needs a light tile
   to stay readable on the dark section. */
.footer-brand img {
  height: 56px;
  width: auto;
  display: block;
  background: var(--ivory);
  padding: 6px;
  border-radius: 6px;
  border: 1px solid var(--gold);
}
.logo .lockup { display: block; }
/* R13 airplane mark — fill follows currentColor (black on light header,
   white on ink footer); outline stays brand gold */
.plane-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.logo .cees {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  display: block;
  color: var(--black);
}
.logo .club {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  display: block;
  color: var(--black);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: var(--charcoal);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav a:hover { color: var(--gold-dark); }
/* Active page: charcoal/black text + gold-dark underline — NOT gold text on
   white (CP3 §2 contrast rule). aria-current="page" ships in markup (T1). */
.nav a.active {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--gold-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.nav a.nav-cta { color: var(--black); font-weight: 700; }
.nav a.nav-cta:hover { color: var(--gold-dark); }
/* Stable centered desktop slots; account labels cannot move other links. */
@media (min-width: 861px) {
  .site-header .container { flex-wrap: nowrap; justify-content: flex-start; gap: 24px; }
  .site-header .logo { flex: 0 0 62px; }
  .nav { flex: 1; min-width: 0; display: grid; grid-template-columns: 6fr 10fr 13fr 8fr 7fr 11fr 9fr 5fr 12fr 10fr; gap: 8px; }
  .nav a { text-align: center; white-space: nowrap; }
  .nav a:nth-child(9) { grid-column: 9; }
  .nav a:nth-child(10) { grid-column: 10; }
}
/* Compact desktop labels retain those same positions. */
@media (min-width: 861px) and (max-width: 1100px) {
  .nav { gap: 4px; }
  .nav a { font-size: 12px; letter-spacing: 0.03em; }
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--black);
  color: var(--black);
  padding: 8px 12px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
}

/* ── Shared footer (sits seamlessly on ink backgrounds) ───── */
.site-footer {
  border-top: 2px solid var(--gold);
  margin-top: 0;
  padding: 48px 0 40px;
  text-align: center;
  background: var(--ink);
  color: var(--white);
}
/* R13 footer brand lockup — airplane mark + wordmark (unified across all pages) */
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--white);
}
.footer-brand .lockup { display: block; text-align: left; }
.footer-brand .cees {
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  line-height: 1.1;
  display: block;
  color: var(--white);
}
.footer-brand .club {
  font-family: 'Playfair Display', serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  color: rgba(255, 255, 255, 0.8);
}
.site-footer .tagline {
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 10px;
}
.site-footer .contact-info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.site-footer .contact-info a { color: var(--gold); }
.site-footer .contact-info a:hover { color: var(--gold-dark); }
.site-footer .social {
  margin: 14px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.site-footer .social a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-footer .social a:hover { color: var(--gold); }
.site-footer .location {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}
.footer-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 16px;
}

/* ── Responsive nav (collapse at 860px only after controls initialize) ── */
@media (max-width: 860px) {
  .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 14px;
    gap: 0;
  }
  .nav-ready .nav:not(.open) { display: none; }
  .nav a {
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--grey-light);
  }
  .nav-ready .nav-toggle { display: block; }
  html:not(.nav-ready) .site-header { position: static; }
}

/* ── Wishlist heart (L0) — overlaid top-right of card photos ──
   Injected by flows.js inside [data-wishlist-id] .placeholder-img wrappers.
   Outlined = unsaved, gold-filled = saved. Translucent ink disc keeps the
   control readable over any photo. */
.wish-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.45);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.wish-heart:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.wish-heart:active { transform: scale(0.88); }
.wish-heart.saved {
  background: var(--ink);
  color: var(--gold);
  border-color: var(--gold);
}
.wish-heart svg { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .wish-heart { transition: none; }
  .wish-heart:active { transform: none; }
}

/* ── WhatsApp widget (2026-09-29) ─────────────────────────────
   Floating chat FAB + expandable card, bottom-right on every page.
   Green limited to --wa-green (SPEC functional exception: WhatsApp only). */
.wa-widget {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px;
  /* Keep chat layout changes local, including on the long media gallery.
     Paint containment belongs on the card: the panel extends outside the FAB. */
  contain: layout style;
  isolation: isolate;
}
.wa-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-card {
  contain: layout paint;
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 300px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.wa-card[hidden] { display: none; }
.wa-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
  padding: 14px 16px;
}
.wa-card-title { font-family: 'Playfair Display', serif; font-size: 16px; }
.wa-card-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
}
.wa-card-close:hover { color: var(--white); }
.wa-card-body { padding: 16px; background: var(--ivory); }
.wa-bubble {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--black);
}
.wa-card-foot { padding: 14px 16px 16px; }
.wa-start {
  display: block;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 18px;
  background: var(--wa-green);
  color: var(--black);
  text-decoration: none;
  border-radius: 4px;
  transition: filter 0.2s ease;
}
.wa-start:hover { filter: brightness(1.08); color: var(--black); }

/* Keep fixed chat controls clear of the expanded mobile navigation. The nav
   script owns .open; CSS restores both widgets automatically when it closes. */
@media (max-width: 860px) {
  body:has(.nav.open) .wa-widget,
  body:has(.nav.open) .cee-guide { display: none !important; }
}

/* Fragment targets and validation summaries must clear the fixed header. */
:target,
.form-error-summary,
#q-error,
.q-step h3,
.q-step input,
.q-step select,
.q-step textarea { scroll-margin-top: 120px; }
@media (max-width: 640px) {
  .wa-widget { right: 14px; bottom: 14px; }
  .wa-card { width: min(300px, calc(100vw - 44px)); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab, .wa-start { transition: none; }
  .wa-fab:hover { transform: none; }
}

/* ── Gold cursor ────────────────────────────────────────────
   Embed the existing local PNGs so each new document has the cursor images
   with its render-blocking stylesheet, without a later image fetch/repaint.
   Cover the root canvas too; preserve native text/disabled cursors.
   File URLs remain fallbacks for hosts that disallow data images in CSP.
   Hotspots: arrow tip (3,3); ring center (16,16). */
@media (hover: hover) and (pointer: fine) {
  html {
    --cursor-gold: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAACLklEQVRYhe2WzWsTQRTAFyt48SjiRfCk4LXtvEYL9aBY6MGD1oIHURRPgic/buJJz970T1jIvLQ2flA11hWjIBj7JtmamLYWiwRrNK2aaJo8mexuTKAVD9kpSH8w7O7s4f3m8d7MWNYGPoTCIQQijOyz1gOFwHoQQo2kuKnsga3rIpAe3e+LiDkV7Rs0LlAuveP8k9PckhF7eqx7mzGBBvUaF2eRM3cO+CKiQDFx0pyAz89vH3j22flmNhTCOGHPTmMCHnX+Mh9nN34okPhKEi7wVWuTIQGPanmR519eaakN4byJ9ewxJhCw9NHh6XtDQW38UAiXbXu4y5iAZuXXEi+8vs4K+4KMpKYQuo0JBCwXkvz2wRFPQooqSXEje3dwSygCM0/PtXbDmoMQkqEI5B6O/KOAcDoiUK0UOZ84xTOTZ7lerzVa0Q+Q7UjR/U2gWily7tGJ5qpKC48bEtmJY55EGLui8oO1BicJJf3MT55piIWaBeULNIMjkIuwiyR80t/fF1PhZkG1FZNwld27Q88TwjU99/7FxfYsSJFLJAY2d1yAECgVjWwP5vU7oSirWIQry3PhZYFQOArhVWvwP//glg6od7/Qa2E1MrJ3t76qpUf7G4eSzkJu4nh4HbEahBDTAQvu7XBrYS2UhH4d0I0f5tpKmauVz5wZ825MhDBimYAQkl5HXGJ3/GDzEJqKiiFTAkfb2lXCfRUTey1T2PZwl0J4ThLSxla9wX/Pb5A8WJjCKza+AAAAAElFTkSuQmCC') 3 3, url('../img/cursor.png') 3 3, auto;
    --cursor-gold-link: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAACcUlEQVRYhe1WwW7TQBC1KAq/AOUPciRkN+qFEyXciQoUSIGvgAv/QUmTs4V3LYE5obi3HpGy6xjVoTFCIk3VoDYN50XjZGs3xI7tOBJIHWmklb3e9zyzM28U5dL+RzPNO1dtfW21RXEBHNaqWllZKuj+p/I1TopVRjDlBP/mFIsLDs8IJkxHz7iaz2UKzmnxMSOo+xdomBN8wAl6lMlfM4obwcNtY124e69Fz6qLI4d6Dmt4Bu+CexlBO3BGanBO0a487KtxX/TaDTEcfBdnv37M9OHA9cjYRjkYjWaqlHCCtuUhTrMqTg55KPC0n/bbomO+9CNBcSMZuFbalB93zOdieNyNDX4ejeOucJpbQRIb8UNP8ME432Vx2rcSg0s/ObSEbdyTJL7FSgWDMpqwhpynBZfes2qBKKCn8wkQTL2//7geeeFip2LgCtu4OyGBtEhwVa2syCYDZbUouHR375WsiFFkx/zyoXQzy/DPSkNbK9wIJdDSi7flxiNHz4wANCt5LmhHOAGKCz4BuhQCba10K5SAra+tnqfA2llKCrhavB4ps5zg0bIuIaPoTLxRrihRxgkmfhm62ZYhQe+VRI3Iqi9M4Cd/54dfK23OJcDVfM5rm5NWDO00LTgIGERyIs1ObFVkGn7oK+HWAmJU9f9eRw9igUtjFL29IMf9JHJsiY75IjiY1JWktj9WxaY/CZW90oy6mPAOci7DPgbHn1PPiHx8H2qzR7JaYCSreaXmi46chtB2JgMqo3iDU9SJO5TChbMIqihZGlfzuRbBT6CWZbOamoRH8M7bk/VYPm3QzUDVQDugt8N6boe7tH/V/gAqao7mHwf3vgAAAABJRU5ErkJggg==') 16 16, url('../img/cursor-hover.png') 16 16, pointer;
  }
  html, body { cursor: var(--cursor-gold); }
  html body :is(a, button, .btn-gold, .btn-outline, input[type="submit"], input[type="button"], input[type="reset"], summary, [role="button"]) {
    cursor: var(--cursor-gold-link);
  }
}

/* Preserve native feedback for disabled controls. */
@media (hover: hover) and (pointer: fine) {
  html body :is(button:disabled, input:disabled, select:disabled, textarea:disabled, [aria-disabled="true"]) { cursor: not-allowed; }
}
