/* ==========================================================================
   BILLSIN YACHTS — Design System
   Edit the tokens in :root to restyle or rebrand the entire site.
   ========================================================================== */

/* Self-hosted variable fonts (latin subset). Paths are literal (no ?v=) so the
   base.html preloads match these URLs byte-for-byte — a mismatch double-downloads. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/static/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("/static/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ====================================================================
     PETROL & HONEY — dark-filmic palette (reinvented 2026-06-28).
     Near-black petrol-teal canvas; honey-champagne behaves as LIGHT
     (edge-light, foil, hairlines, glow) — never a flat fill on large areas.
     Token NAMES are preserved so every existing component restyles from here.
     Default surface is now DARK; light "intermission" is the rare exception.
     ==================================================================== */
  --color-primary: #0A1417;        /* petrol near-black — the canvas */
  --color-primary-dark: #060E10;
  --color-primary-soft: #0E1A1D;
  --color-accent: #DDB07F;         /* honey-champagne — the brand metal/light */
  --color-accent-deep: #9A7748;    /* deep honey — borders / large / pressed (4.5:1, not small text) */
  --color-accent-light: #F2D6AE;   /* edge-light / foil highlight */
  --color-accent-text: #E8C49A;    /* AA-safe honey for small text on the dark canvas (~11.4:1) */

  --color-bg: #0A1417;             /* dark canvas (was ivory) */
  --color-surface: #101E22;        /* elevated dark surface (cards) */
  --color-surface-alt: #17292E;    /* alt dark surface (section alternation) */
  --color-surface-dark: #0C171A;

  --color-ink: #F6F1E8;            /* headings — now LIGHT (sit on dark) */
  --color-text: #F2ECE3;           /* body text on dark (~15.9:1) */
  --color-text-muted: #9AA9A8;     /* muted text on dark (~7.6:1) */
  --color-line: rgba(242, 236, 227, 0.10);
  --color-line-strong: rgba(242, 236, 227, 0.20);

  --color-on-dark: #F2ECE3;
  --color-on-dark-muted: #9AA9A8;
  --color-on-dark-line: rgba(242, 236, 227, 0.16);

  --color-success: #6FC79A;
  --color-error: #E8806F;

  /* ---- Light "intermission" surface (the rare bright slab) --- */
  --color-intermission: #EFE7D7;
  --color-intermission-ink: #14242A;
  --color-intermission-muted: #4A5A5C;
  --color-intermission-accent: #7A5A30;   /* AA honey for small text on intermission */
  --color-intermission-line: rgba(20, 36, 42, 0.14);
  --color-success-on-light: #1F6B43;
  --color-error-on-light: #B23A28;

  /* ---- Cinematic surface tokens (NEW) --- */
  --color-bg-gradient: radial-gradient(125% 100% at 50% 0%, #0E1A1D 0%, #0A1417 48%, #060E10 100%);
  --grade-shadow: #060E10;                 /* photo grade: shadow tint */
  --grade-highlight: #F2D6AE;              /* photo grade: highlight tint */
  --grade-overlay: linear-gradient(180deg, rgba(10,20,23,0) 52%, rgba(6,14,16,0.72) 100%);
  --hairline-accent: linear-gradient(90deg, rgba(221,176,127,0) 0%, rgba(221,176,127,0.55) 50%, rgba(221,176,127,0) 100%);
  --edge-light: linear-gradient(90deg, rgba(242,214,174,0) 0%, #F2D6AE 28%, #DDB07F 50%, #F2D6AE 72%, rgba(242,214,174,0) 100%);
  --foil-gradient: linear-gradient(168deg, #9A7748 0%, #DDB07F 44%, #F2D6AE 78%, #DDB07F 100%);
  --shadow-gold-glow: 0 0 64px -12px rgba(221, 176, 127, 0.34);
  --grain-tint: rgba(247, 242, 232, 0.022);

  /* ---- Typography --- */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: clamp(3.5rem, 7vw, 5.25rem);   /* cinematic display */
  --text-8xl: clamp(4.25rem, 10vw, 7.5rem);

  --tracking-tight: -0.02em;
  --tracking-snug: -0.01em;
  --tracking-wide: 0.14em;
  --tracking-eyebrow: 0.26em;

  /* ---- Spacing --- */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 20px;  /* was missing → 26 uses collapsed to 0 (form gaps, specs, reviews). DO NOT remove. */
  --space-6: 24px;  --space-8: 32px;  --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --space-20: 80px; --space-24: 96px;

  /* ---- Radius & shadow (dark canvas: separate by LIGHT, not heavy boxes) --- */
  --radius-sm: 5px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow: 0 20px 56px -22px rgba(0, 0, 0, 0.72);
  --shadow-lg: 0 44px 96px -32px rgba(0, 0, 0, 0.82);

  /* ---- Motion --- */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
  --duration-cine: 1100ms;                 /* slow, filmic reveals */
  --easing-default: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --easing-reveal: cubic-bezier(0.22, 1, 0.36, 1);   /* soft, luxurious ease-out */
  --easing-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  /* ---- Layout --- */
  --container: 1200px;
  --container-wide: 1340px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--color-primary-dark); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Cinematic canvas: a fixed radial glow + static film grain sit behind all content. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: var(--color-bg-gradient);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select, button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--color-accent); color: var(--color-primary-dark); }
/* Native option menus render on a system surface — keep them dark-on-light for legibility. */
option { color: var(--color-intermission-ink); background: var(--color-intermission); }

/* ==========================================================================
   Typography helpers
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-size: clamp(2.6rem, 6vw, var(--text-6xl));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-text);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--color-accent);
}
.eyebrow--center::before { display: none; }
.eyebrow--on-dark { color: var(--color-accent-light); }

.lead {
  font-size: clamp(var(--text-lg), 2.2vw, var(--text-xl));
  color: var(--color-text-muted);
  line-height: 1.7;
}

.text-gold { color: var(--color-accent-deep); }
.italic-accent { font-style: italic; color: var(--color-accent-deep); }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: clamp(var(--space-16), 9vw, var(--space-24)); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
/* Dark-filmic: the canvas is the default; sections differ by faint value shifts. */
.section--alt { background: var(--color-primary-soft); }
.section--surface { background: var(--color-surface-dark); }
.section--dark {
  background: var(--color-primary-dark);
  color: var(--color-on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-ink); }

/* Light "intermission" — the rare bright, held-breath slab (bone paper). */
.section--intermission { background: var(--color-intermission); color: var(--color-intermission-ink); }
.section--intermission h1, .section--intermission h2,
.section--intermission h3, .section--intermission h4 { color: var(--color-intermission-ink); }
.section--intermission .eyebrow { color: var(--color-intermission-accent); }
.section--intermission .eyebrow::before { background: var(--color-intermission-accent); }
.section--intermission .lead { color: var(--color-intermission-muted); }

.section-head { max-width: 640px; margin-bottom: var(--space-12); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  margin-top: var(--space-3);
}
.section-head p { margin-top: var(--space-4); }

.grid { display: grid; gap: var(--space-6); }

/* ==========================================================================
   Cinematic utilities (dark-filmic layer)
   ========================================================================== */
/* Honey foil text — the metal gradient clipped to glyphs (with a visible fallback). */
.foil { color: var(--color-accent-light); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .foil {
    background: var(--foil-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
/* Unified cinematic grade on content photography. */
.split__media img, .exp-card img, .dest-card img, .cta-band img, .page-hero img {
  filter: saturate(0.82) contrast(1.06) brightness(0.95);
}
/* Cards separate by LIGHT, not heavy boxes: a honey edge-light hairline along the top. */
.yacht-card, .feature-card, .review-card, .exp-card, .dest-card { position: relative; }
.yacht-card::before, .feature-card::before, .review-card::before,
.exp-card::before, .dest-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; z-index: 4;
  background: var(--edge-light); opacity: 0.32; pointer-events: none;
  transition: opacity var(--duration-normal) var(--easing-default);
}
.yacht-card:hover::before, .feature-card:hover::before, .review-card:hover::before,
.exp-card:hover::before, .dest-card:hover::before { opacity: 1; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--color-accent);
  --btn-fg: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform var(--duration-fast) var(--easing-default),
              box-shadow var(--duration-normal) var(--easing-default),
              color var(--duration-normal) var(--easing-default);
  white-space: nowrap;
}
/* Gold/ink sweep that wipes in on hover — one signature CTA motion site-wide. */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-sweep, var(--color-accent-deep));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-normal) var(--easing-smooth);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(12, 31, 46, 0.5); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn--primary { --btn-bg: var(--color-accent); --btn-fg: var(--color-primary-dark); --btn-sweep: var(--color-accent-deep); }
.btn--dark { --btn-bg: var(--color-primary); --btn-fg: #fff; --btn-sweep: var(--color-primary-dark); }

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1.5px var(--color-line-strong);
  --btn-sweep: var(--color-accent);
}
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--color-primary-dark); box-shadow: inset 0 0 0 1.5px var(--color-accent); }

.btn--on-dark {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--color-on-dark-line);
  --btn-sweep: rgba(255, 255, 255, 0.96);
}
.btn--on-dark:hover, .btn--on-dark:focus-visible { color: var(--color-primary-dark); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.7); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--text-xs); }
.btn--block { width: 100%; }
/* Keep per-card actions at the 44px minimum tap target on touch viewports. */
@media (max-width: 720px) { .btn--sm { min-height: 44px; } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-ink);
}
.link-arrow svg { transition: transform var(--duration-normal) var(--easing-default); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--gold { color: var(--color-accent-text); }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.topbar {
  background: var(--color-primary-dark);
  color: var(--color-on-dark);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  min-height: 40px;
  padding-block: 6px;
  text-align: center;
}
.topbar a { display: inline-flex; align-items: center; gap: var(--space-2); transition: color var(--duration-fast); }
.topbar a:hover { color: var(--color-accent-light); }
.topbar__divider { color: var(--color-on-dark-line); }
.topbar__pill { color: var(--color-accent-light); }
@media (max-width: 720px) {
  .topbar__inner { gap: var(--space-3); font-size: 11px; }
  .topbar .hide-sm { display: none; }
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 20, 23, 0.55);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--duration-normal), border-color var(--duration-normal),
              box-shadow var(--duration-normal);
}
.header.is-scrolled {
  background: rgba(8, 16, 19, 0.92);
  border-bottom-color: var(--color-on-dark-line);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.8);
}
/* Drop the per-frame backdrop blur on touch devices (scroll/INP cost) — use a solid fill instead. */
@media (pointer: coarse) {
  .header { background: rgba(8, 16, 19, 0.94); backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* 44px minimum touch targets (project quality bar) */
  .yacht-card__nav { width: 44px; height: 44px; }
  .fleet-toolbar__reset { min-height: 44px; }
  .yd-grat__btn { min-height: 44px; }
  .co-modal__close { width: 44px; height: 44px; }
  .co-sig__tab { min-height: 44px; }
  .fleet-chip { min-height: 44px; display: inline-flex; align-items: center; }
  .footer__social a { width: 44px; height: 44px; }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: var(--space-3); }
.brand__logo { height: 52px; width: auto; display: block; transition: opacity var(--duration-fast); }
.brand:hover .brand__logo { opacity: 0.85; }
.brand__logo--footer { height: 60px; }
@media (max-width: 560px) { .brand__logo { height: 44px; } }
.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav__list { display: flex; align-items: center; gap: var(--space-8); }
.nav__link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  padding-block: 4px;
  transition: color var(--duration-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--easing-default);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--color-ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--space-4); }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink);
}
.header__phone svg { color: var(--color-accent-deep); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 22px; height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: background var(--duration-fast);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 22px; height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--easing-default);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-primary);
  color: var(--color-on-dark);
  padding: calc(var(--header-h) + 40px) var(--space-6) var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--duration-normal) var(--easing-default),
              visibility var(--duration-normal) var(--easing-default);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav__link {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: #fff;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-on-dark-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav__link span { color: var(--color-accent-light); font-size: var(--text-base); }
.mobile-nav__footer { margin-top: auto; padding-top: var(--space-8); }
.mobile-nav__footer .btn { width: 100%; }
.mobile-nav__contact {
  margin-top: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-2);
  color: var(--color-on-dark-muted); font-size: var(--text-sm);
}
.mobile-nav__contact a { color: var(--color-accent-light); }

body.nav-open { overflow: hidden; }

@media (max-width: 980px) {
  .nav__list, .header__phone { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 981px) {
  .mobile-nav { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  /* Subtract the sticky topbar + header so the whole hero (incl. search bar) fits above the fold. */
  min-height: clamp(600px, calc(100vh - 116px), 900px);
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* Poster paints first (LCP); video fades in over it once it can play (desktop only, via JS). */
.hero__video { z-index: 2; opacity: 0; transition: opacity 0.8s var(--easing-default); }
.hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__media::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  /* Strong overlay sitting ABOVE the video so centered text stays readable on any frame. */
  background:
    linear-gradient(180deg, rgba(6,16,26,0.72) 0%, rgba(6,16,26,0.62) 42%, rgba(6,16,26,0.9) 100%),
    radial-gradient(ellipse 74% 60% at 50% 46%, rgba(6,16,26,0.34) 0%, rgba(6,16,26,0.6) 100%);
}
.hero__inner {
  position: relative; z-index: 4;
  width: 100%; padding-block: clamp(var(--space-12), 7vh, var(--space-16));
  display: flex; flex-direction: column; align-items: center; gap: clamp(var(--space-10), 5vh, var(--space-20));
}
.hero__content { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-6); }
.hero__content .eyebrow { justify-content: center; }
.hero__content .eyebrow::before { display: none; }
.hero h1 {
  color: var(--color-ink);
  font-size: clamp(3rem, 7.2vw, 5.9rem);
  margin: 0;
  line-height: 1.02;
  letter-spacing: var(--tracking-tight);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.4);
}
.hero h1 em { font-style: italic; }
/* Foil headline — the honey gradient clipped to the glyphs, with a visible fallback. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: var(--foil-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 3px 28px rgba(0, 0, 0, 0.55));
  }
}

/* Letterbox bars removed — they read as a meaningless dark band between the
   header and the hero image. Hero media is now full-bleed under the header. */
.scroll-hint { z-index: 6; }
.hero__sub { font-size: clamp(var(--text-lg), 2.1vw, var(--text-xl)); color: rgba(255,255,255,0.95); max-width: 600px; margin: 0 auto; line-height: 1.7; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-2) 0 0; justify-content: center; }
.hero__cta .btn { padding: 1.05rem 2.1rem; font-size: var(--text-base); }

/* Glassmorphic hero search bar */
.hero-search {
  display: flex; align-items: stretch; flex-wrap: wrap; gap: var(--space-2);
  margin: 0 auto; padding: var(--space-3); text-align: left; width: 100%;
  background: rgba(12, 24, 28, 0.55);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(242, 214, 174, 0.22);
  border-radius: var(--radius-pill);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.7), var(--shadow-gold-glow);
  max-width: 980px;
}
.hero-search__field { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); flex: 1 1 130px; border-radius: var(--radius-pill); transition: background var(--duration-fast); }
.hero-search__field:hover { background: rgba(242, 236, 227, 0.06); }
.hero-search__icon { color: var(--color-accent); flex-shrink: 0; }
.hero-search__group { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.hero-search__group label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; }
.hero-search__group select, .hero-search__group input {
  background: transparent; border: none; color: var(--color-ink); font-size: var(--text-sm); font-weight: 600;
  padding: 0; appearance: none; width: 100%; cursor: pointer;
}
.hero-search__group select option { color: var(--color-intermission-ink); background: var(--color-intermission); }
.hero-search__group input::placeholder { color: var(--color-text-muted); font-weight: 500; }
.hero-search__group input::-webkit-calendar-picker-indicator { opacity: 0.5; cursor: pointer; }
.hero-search__group select:focus-visible { outline: none; }
.hero-search__group input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: var(--radius-sm); }
.hero-search__sep { width: 1px; background: var(--color-line); margin-block: var(--space-3); }
.hero-search__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  flex: 0 0 auto; min-height: 56px; padding: 0 var(--space-6);
  background: var(--color-accent); color: var(--color-primary-dark); font-weight: 700; letter-spacing: 0.02em;
  border-radius: var(--radius-pill); white-space: nowrap;
  transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-normal);
}
.hero-search__btn:hover { background: var(--color-accent-light); color: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(221, 176, 127, 0.65); }
.hero-search__btn svg { transition: transform var(--duration-normal); }
.hero-search__btn:hover svg { transform: translateX(4px); }
@media (max-width: 820px) {
  .hero-search { flex-direction: column; gap: var(--space-1); padding: var(--space-3); border-radius: var(--radius-lg); }
  .hero-search__sep { display: none; }
  .hero-search__field { border-radius: var(--radius); border-bottom: 1px solid var(--color-line); flex: 1 1 auto; }
  .hero-search__field:last-of-type { border-bottom: none; }
  .hero-search__btn { margin-top: var(--space-2); width: 100%; border-radius: var(--radius); min-height: 52px; }
}

.scroll-hint {
  position: absolute;
  right: var(--space-8); bottom: var(--space-8);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl;
}
@media (max-width: 760px) { .scroll-hint { display: none; } }

/* ==========================================================================
   Marquee / partners
   ========================================================================== */
.marquee {
  background: var(--color-primary-dark);
  color: var(--color-on-dark-muted);
  padding-block: var(--space-6);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: var(--space-16);
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: rgba(221, 176, 127, 0.52);
  display: inline-flex; align-items: center; gap: var(--space-4);
}
.marquee__item::after { content: "✦"; color: var(--color-accent); font-style: normal; font-size: var(--text-sm); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.stat { text-align: center; padding: var(--space-4); }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  color: var(--color-accent-deep);
  line-height: 1;
}
.section--dark .stat strong { color: var(--color-accent-light); }
.stat span {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.section--dark .stat span { color: var(--color-on-dark-muted); }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Split feature
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%; height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split__media-badge {
  position: absolute;
  bottom: var(--space-6); left: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: var(--space-4);
}
.split__media-badge strong { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--color-accent-deep); line-height: 1; }
.split__media-badge span { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.4; }
.split__body h2 { font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl)); margin-block: var(--space-3) var(--space-5); }
.split__list { margin-top: var(--space-6); display: grid; gap: var(--space-4); }
.split__list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.split__list li svg { flex-shrink: 0; color: var(--color-accent-deep); margin-top: 3px; }
.split__list li strong { color: var(--color-ink); display: block; }
.split__list li p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 2px; }
.split__cta { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-4); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ==========================================================================
   Yacht cards
   ========================================================================== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--space-8);
}
/* Featured fleet on the homepage — wider container + 4-across on desktop so more vessels show. */
.container--fleet { max-width: min(1560px, 95vw); }
.fleet-grid--featured { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
@media (max-width: 1180px) { .fleet-grid--featured { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .fleet-grid--featured { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .fleet-grid--featured { grid-template-columns: 1fr; } }
.yacht-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-normal) var(--easing-default),
              box-shadow var(--duration-normal) var(--easing-default);
}
/* Filter hides non-matching cards via the [hidden] attribute (main.js). Author display:flex
   above outranks the UA [hidden]{display:none}, so this restores it — without it the fleet
   filter updates the count but never actually shows/hides cards. */
.yacht-card[hidden] { display: none; }
.yacht-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: rgba(194, 161, 91, 0.5); }
.yacht-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary-dark));
  overflow: hidden;
  cursor: pointer;
}
/* Soft gradient so the price/badges/dots stay legible over any photo. */
.yacht-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,21,31,0.22) 0%, transparent 24%, transparent 60%, rgba(7,21,31,0.42) 100%);
}
/* Swipeable photo carousel (scroll-snap; native swipe on touch) */
/* Desktop: no native scroll (nav buttons drive it programmatically) so the mouse wheel
   scrolls the PAGE, not the carousel. Touch keeps native swipe. */
.yacht-card__track { display: flex; height: 100%; overflow: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.yacht-card__track::-webkit-scrollbar { display: none; }
/* Touch devices keep native horizontal swipe; desktop is programmatic-only (no wheel capture). */
@media (hover: none) and (pointer: coarse) { .yacht-card__track { overflow-x: auto; overscroll-behavior-x: contain; } }
.yacht-card__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; transition: transform 0.9s var(--easing-reveal); }
/* Cinematic slow-zoom inside the fixed frame on hover. */
@media (hover: hover) { .yacht-card:hover .yacht-card__track img { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .yacht-card__track img { transition: none; } .yacht-card:hover .yacht-card__track img { transform: none; } }
.yacht-card__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10, 20, 23, 0.6); color: var(--color-on-dark); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--color-on-dark-line);
  display: grid; place-items: center; font-size: 1.25rem; line-height: 1;
  box-shadow: var(--shadow); opacity: 0;
  transition: opacity var(--duration-fast), background var(--duration-fast); z-index: 3;
}
.yacht-card__nav:hover { background: rgba(10, 20, 23, 0.85); border-color: var(--color-accent); }
.yacht-card__nav--prev { left: 10px; }
.yacht-card__nav--next { right: 10px; }
.yacht-card__media:hover .yacht-card__nav { opacity: 1; }
@media (hover: none) { .yacht-card__nav { opacity: 0.85; } }
.yacht-card__dots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.yacht-card__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.55); transition: width var(--duration-fast), background var(--duration-fast); }
.yacht-card__dot.is-active { background: #fff; width: 18px; border-radius: var(--radius-pill); }
.img-fallback::after { content: "⚓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: rgba(255, 255, 255, 0.5); z-index: 1; }
.yacht-card__price {
  position: absolute; top: var(--space-3); right: var(--space-3); z-index: 2;
  background: rgba(7, 21, 31, 0.78); color: rgba(255, 255, 255, 0.82);
  padding: 5px 13px; border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.01em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.yacht-card__price strong { color: var(--color-accent-light); font-size: var(--text-sm); font-weight: 700; margin-left: 3px; }
.yacht-card__badges { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-primary-dark); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); }
.badge--ghost { background: rgba(255, 255, 255, 0.92); color: var(--color-primary); }

.yacht-card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); flex: 1; position: relative; }
/* Whole-card tap targets (fleet + featured): the photo is a real anchor even before JS loads
   (display:contents keeps the img a flex item of the carousel track), and the body is covered by a
   stretched link off the yacht name. Buttons/WhatsApp sit above the overlay. Scoped to the body so
   the media keeps its native touch-swipe carousel. */
.yacht-card__medialink { display: contents; }
.yacht-card__name a::after { content: ""; position: absolute; inset: 0; }
.yacht-card__actions, .yacht-card__wa, .yacht-card__msg { position: relative; z-index: 1; }
.yacht-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.yacht-card__title { min-width: 0; }
.yacht-card__name { font-size: var(--text-2xl); line-height: 1.15; }
.yacht-card__name a { transition: color var(--duration-fast); }
.yacht-card__name a:hover { color: var(--color-accent-text); }
.yacht-card__cat { display: block; margin-top: var(--space-1); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-text); font-weight: 600; }
.yacht-card__rate { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; font-size: var(--text-sm); font-weight: 700; color: var(--color-ink); }
.yacht-card__rate svg { color: var(--color-accent); }
.yacht-card__specs { display: flex; flex-wrap: wrap; gap: var(--space-5); font-size: var(--text-sm); padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-line); }
.yacht-card__spec { display: flex; align-items: center; gap: 6px; color: var(--color-text-muted); }
.yacht-card__spec svg { color: var(--color-accent-deep); }
.yacht-card__pricing-label { display: block; margin-bottom: var(--space-3); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 700; }
.yacht-card__pricing ul { display: grid; gap: var(--space-2); }
.yacht-card__pricing li { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-sm); }
.yacht-card__pricing li span { color: var(--color-text); }
.yacht-card__pricing li strong { color: var(--color-accent-text); font-weight: 700; }
.yacht-card__actions { display: flex; gap: var(--space-3); margin-top: auto; }
.yacht-card__actions .btn { flex: 1; min-height: 46px; }
.yacht-card__msg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; border-radius: var(--radius-pill);
  background: rgba(37, 211, 102, 0.1); color: #25D366;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.02em;
  transition: background var(--duration-fast), color var(--duration-fast), box-shadow var(--duration-fast);
}
.yacht-card__msg svg { color: #25D366; flex-shrink: 0; transition: color var(--duration-fast); }
.yacht-card__msg:hover { background: #0c6b3a; color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 211, 102, 0.6); }
.yacht-card__msg:hover svg { color: #fff; }

/* ==========================================================================
   /fleet ads-landing — slim compact cards + denser 5-up grid. id-scoped to
   #fleet-grid so the homepage featured grid (.fleet-grid--featured) is unaffected.
   ========================================================================== */
#fleet-grid { grid-template-columns: repeat(5, 1fr); gap: var(--space-5); }
@media (max-width: 1300px) { #fleet-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1000px) { #fleet-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { #fleet-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); } }
@media (max-width: 460px)  { #fleet-grid { grid-template-columns: 1fr; } }
#fleet-grid .yacht-card__media { aspect-ratio: 3 / 2; }
#fleet-grid .yacht-card__body { padding: var(--space-4); gap: var(--space-3); }
#fleet-grid .yacht-card__name { font-size: var(--text-lg); }
#fleet-grid .yacht-card__specs { gap: var(--space-4); padding-bottom: var(--space-3); }
.yacht-card__from { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); }
.yacht-card__from strong { margin-left: 4px; font-size: var(--text-xl); font-weight: 700; color: var(--color-accent-text); }
.yacht-card__trust { display: flex; align-items: center; gap: 6px; margin: 0; font-size: var(--text-xs); color: var(--color-text-muted); }
.yacht-card__trust svg { flex: 0 0 auto; color: var(--color-accent); }
.yacht-card__actions--compact { display: flex; gap: var(--space-2); margin-top: auto; }
.yacht-card__actions--compact .btn { flex: 1; min-height: 44px; }
.yacht-card__wa {
  flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; border-radius: var(--radius);
  background: rgba(37, 211, 102, 0.12); color: #25D366;
  transition: background var(--duration-fast), color var(--duration-fast), box-shadow var(--duration-fast);
}
.yacht-card__wa:hover { background: #25D366; color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 211, 102, 0.6); }

/* ==========================================================================
   Fleet toolbar (filters)
   ========================================================================== */
.fleet-toolbar {
  display: flex; align-items: stretch; flex-wrap: wrap; gap: var(--space-1);
  padding: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-4);
}
.fleet-toolbar__field { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); flex: 1 1 160px; border-radius: var(--radius); transition: background var(--duration-fast); }
.fleet-toolbar__field--search { flex: 1.6 1 200px; }
.fleet-toolbar__field:hover { background: var(--color-bg); }
.fleet-toolbar__icon { color: var(--color-accent-deep); flex-shrink: 0; }
.fleet-toolbar__group { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.fleet-toolbar__group label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; }
.fleet-toolbar__group select, .fleet-toolbar__group input {
  appearance: none; border: none; background: transparent; padding: 0;
  font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); width: 100%; cursor: pointer;
}
.fleet-toolbar__group 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 fill='%23a8863f' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; padding-right: 1.2rem;
}
.fleet-toolbar__group input::placeholder { color: var(--color-text-muted); font-weight: 500; }
.fleet-toolbar__group select:focus-visible { outline: none; }
.fleet-toolbar__group input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: var(--radius-sm); }
.fleet-toolbar__sep { width: 1px; background: var(--color-line); margin-block: var(--space-2); }
.fleet-toolbar__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-6); }
.fleet-toolbar__count { font-size: var(--text-sm); color: var(--color-text-muted); }
.fleet-toolbar__count strong { color: var(--color-ink); font-family: var(--font-display); font-size: var(--text-2xl); margin-right: 4px; }
.fleet-toolbar__reset {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 var(--space-4);
  font-size: var(--text-sm); color: var(--color-text); font-weight: 600;
  border: 1px solid var(--color-line); border-radius: var(--radius-pill);
  transition: border-color var(--duration-fast), color var(--duration-fast);
}
.fleet-toolbar__reset:hover { border-color: var(--color-accent); color: var(--color-accent-text); }
.fleet-toolbar__reset svg { color: var(--color-accent-deep); }
@media (max-width: 760px) {
  .fleet-toolbar { flex-direction: column; gap: 0; }
  .fleet-toolbar__sep { display: none; }
  .fleet-toolbar__field { border-bottom: 1px solid var(--color-line); flex: 1 1 auto; }
  .fleet-toolbar__field:last-child { border-bottom: none; }
}

/* Custom dropdown (premium select replacement) */
.csel { position: relative; }
.csel__native { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip: rect(0, 0, 0, 0); }
.csel__toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); width: 100%; cursor: pointer; text-align: left; }
.csel__value { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csel__chev { flex-shrink: 0; color: var(--color-accent-deep); transition: transform var(--duration-normal) var(--easing-spring); }
.csel--open .csel__chev { transform: rotate(180deg); }
.csel__menu {
  position: absolute; top: calc(100% + 14px); left: -12px; min-width: calc(100% + 24px); max-width: 320px;
  max-height: 340px; overflow-y: auto; z-index: 60;
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: var(--space-2);
  animation: csel-in 0.22s var(--easing-reveal);
}
.csel__menu::-webkit-scrollbar { width: 8px; }
.csel__menu::-webkit-scrollbar-thumb { background: var(--color-line-strong); border-radius: 8px; }
@keyframes csel-in { from { opacity: 0; transform: translateY(-10px) scale(0.98); } to { opacity: 1; transform: none; } }
.csel__opt { display: block; width: 100%; text-align: left; padding: 11px 14px; border-radius: var(--radius-sm); font-size: var(--text-sm); color: var(--color-text); white-space: nowrap; transition: background var(--duration-fast), color var(--duration-fast), padding-left var(--duration-fast); }
.csel__opt:hover, .csel__opt:focus-visible { background: var(--color-bg); outline: none; padding-left: 18px; }
.csel__opt.is-sel { background: var(--color-primary); color: #fff; font-weight: 600; }
.csel__opt.is-sel:hover { padding-left: 14px; }
/* Hero search bar sits low in the hero (which clips downward) — open its menus upward. */
.hero-search .csel__menu { top: auto; bottom: calc(100% + 14px); animation: csel-up 0.22s var(--easing-reveal); }
@keyframes csel-up { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Location filter chips (quick-filter tabs) */
.fleet-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.fleet-chip { padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--color-line); background: var(--color-surface); font-size: var(--text-sm); font-weight: 600; color: var(--color-text); transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast); }
.fleet-chip:hover { border-color: var(--color-accent); color: var(--color-ink); transform: translateY(-1px); }
.fleet-chip.is-active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); box-shadow: var(--shadow-sm); }

.fleet-empty { text-align: center; padding: var(--space-20) 0; color: var(--color-text-muted); }
.fleet-empty svg { color: var(--color-line-strong); margin-bottom: var(--space-4); }

/* Skeleton loader */

/* ==========================================================================
   Experience / image cards
   ========================================================================== */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.exp-grid--feature { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); }
/* Experience/destination cards render as real links (they always looked clickable — hover glow and
   all — but were inert <article>s, the site's top dead/rage-click source). */
a.exp-card, a.dest-card { color: inherit; text-decoration: none; }
/* Inside the bento, let the grid tracks govern height so single cards don't overflow a fixed row. */
.exp-grid--feature .exp-card { min-height: 0; }
.exp-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.exp-card.is-tall { grid-row: span 2; }
.exp-card.is-wide { grid-column: span 2; }
.exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--duration-slow) var(--easing-default); }
.exp-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,21,31,0) 30%, rgba(7,21,31,0.86) 100%); z-index: -1; }
.exp-card:hover img { transform: scale(1.07); }
.exp-card__body { padding: var(--space-6); }
.exp-card__body h3 { color: #fff; font-size: var(--text-2xl); }
.exp-card__body p { font-size: var(--text-sm); color: rgba(255,255,255,0.82); margin-top: var(--space-2); }
.exp-card__tag { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-light); }
@media (max-width: 980px) { .exp-grid, .exp-grid--feature { grid-template-columns: repeat(2, 1fr); } .exp-grid--feature { grid-auto-rows: minmax(200px, auto); } }
@media (max-width: 560px) {
  .exp-grid, .exp-grid--feature { grid-template-columns: 1fr; }
  .exp-grid--feature { grid-auto-rows: auto; }
  .exp-grid--feature .exp-card { min-height: 260px; }
  .exp-card.is-wide, .exp-card.is-tall { grid-column: auto; grid-row: auto; }
}

/* ==========================================================================
   Services / feature cards
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--color-surface-alt);
  color: var(--color-accent-deep);
  margin-bottom: var(--space-5);
}
.section--dark .feature-card { background: var(--color-primary-soft); border-color: var(--color-on-dark-line); }
.section--dark .feature-card__icon { background: rgba(255,255,255,0.06); color: var(--color-accent-light); }
.feature-card h3 { font-size: var(--text-2xl); }
.section--dark .feature-card h3 { color: #fff; }
.feature-card p { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
.section--dark .feature-card p { color: var(--color-on-dark-muted); }
.feature-card__price { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-accent-text); font-weight: 600; }
.section--dark .feature-card__price { color: var(--color-accent-light); }
@media (max-width: 880px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Number-led "why us" list */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-12); }
.principle { display: flex; gap: var(--space-5); }
.principle__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
}
.principle h3 { font-size: var(--text-xl); }
.principle p { margin-top: var(--space-2); font-size: var(--text-sm); color: inherit; opacity: 0.8; }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

/* ==========================================================================
   Destinations
   ========================================================================== */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--duration-slow); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,21,31,0.1), rgba(7,21,31,0.8)); z-index: -1; }
.dest-card:hover img { transform: scale(1.06); }
.dest-card__body { padding: var(--space-8); width: 100%; }
.dest-card__body h3 { color: #fff; font-size: var(--text-3xl); }
.dest-card__body p { font-size: var(--text-sm); color: rgba(255,255,255,0.82); margin-top: var(--space-2); }
.dest-card__meta { margin-top: var(--space-4); display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-light); }
@media (max-width: 880px) { .dest-grid { grid-template-columns: 1fr; } }

/* Reviews — Google-style cards */
.reviews__rating { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
.reviews__stars { color: var(--color-accent); letter-spacing: 1px; }
.reviews__rating strong { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); }
.reviews__g { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--color-ink); }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--space-5); margin-top: var(--space-12); }
.review-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); transition: transform var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card__top { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: #fff; flex-shrink: 0; }
.review-card__avatar[data-tone="0"] { background: linear-gradient(135deg, #0E1A1D, #17292E); }
.review-card__avatar[data-tone="1"] { background: linear-gradient(135deg, #9A7748, #DDB07F); }
.review-card__avatar[data-tone="2"] { background: linear-gradient(135deg, #1F6B43, #6FC79A); }
.review-card__avatar[data-tone="3"] { background: linear-gradient(135deg, #14334A, #2A5A7A); }
.review-card__avatar[data-tone="4"] { background: linear-gradient(135deg, #7A5A30, #DDB07F); }
.review-card__avatar[data-tone="5"] { background: linear-gradient(135deg, #0C171A, #2E3A3E); }
.review-card__id { flex: 1; min-width: 0; }
.review-card__id strong { display: block; font-size: var(--text-sm); color: var(--color-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-card__id span { font-size: var(--text-xs); color: var(--color-text-muted); }
.review-card__src { flex-shrink: 0; }
.review-card__stars { color: var(--color-accent); letter-spacing: 2px; font-size: var(--text-sm); margin-bottom: var(--space-3); }
.review-card__text { font-size: var(--text-sm); color: var(--color-text); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.g-icon { display: inline-block; vertical-align: middle; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-align: center;
  padding: clamp(var(--space-16), 9vw, var(--space-24)) var(--space-6);
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,21,31,0.78), rgba(7,21,31,0.86)); z-index: -1; }
.cta-band h2 { color: #fff; font-size: clamp(var(--text-4xl), 5.5vw, var(--text-6xl)); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: var(--space-4) auto 0; font-size: var(--text-lg); }
.cta-band__actions { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 4vw, var(--space-16));
  box-shadow: var(--shadow);
  border: 1px solid var(--color-line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.field label .req { color: var(--color-accent-text); }
.field input, .field select, .field textarea {
  background: var(--color-surface);
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  font-size: var(--text-base);
  color: var(--color-ink);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-muted); opacity: 0.8; }
/* color-scheme:dark makes the native date text + calendar popup render light-on-dark (was invisible). */
.field input[type="date"] { color-scheme: dark; cursor: pointer; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.9; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-line-strong); }
.field select { appearance: none; cursor: pointer; 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 fill='%23a8863f' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(194,161,91,0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--color-text-muted); }
/* Custom gold checkbox */
.consent input { appearance: none; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--color-line-strong); border-radius: 6px; flex-shrink: 0; cursor: pointer; position: relative; transition: background var(--duration-fast), border-color var(--duration-fast); }
.consent input:checked { background: var(--color-accent); border-color: var(--color-accent); }
.consent input:checked::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--color-primary-dark); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.consent input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.form-note { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-3); }

.form-alert { padding: var(--space-4) var(--space-5); border-radius: var(--radius); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.form-alert--ok { background: rgba(47,125,93,0.1); color: var(--color-success); border: 1px solid rgba(47,125,93,0.3); }
.form-alert--err { background: rgba(180,69,47,0.08); color: var(--color-error); border: 1px solid rgba(180,69,47,0.3); }
.form-alert ul { margin-top: var(--space-2); padding-left: var(--space-4); list-style: disc; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.is-invalid { border-color: var(--color-error) !important; box-shadow: 0 0 0 3px rgba(180,69,47,0.12) !important; }
.field__error { font-size: var(--text-xs); color: var(--color-error); }

/* ==========================================================================
   Contact info cards
   ========================================================================== */
.info-list { display: grid; gap: var(--space-6); }
.info-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.info-item__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius); background: var(--color-surface-alt); color: var(--color-accent-deep); display: grid; place-items: center; }
.info-item h3 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; }
.info-item p, .info-item a { font-size: var(--text-lg); color: var(--color-ink); margin-top: 2px; display: block; }
.info-item a:hover { color: var(--color-accent); }

/* Map embed — tint Google's light map into the dark-filmic palette. */
.map-embed { position: relative; border-top: 1px solid var(--color-on-dark-line); }
.map-embed iframe { filter: invert(0.92) hue-rotate(180deg) saturate(0.78) brightness(0.92) contrast(0.96); }
.map-embed::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 120px 10px rgba(6, 14, 16, 0.55); }
.map-embed::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2; background: var(--hairline-accent); pointer-events: none; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  color: #fff;
  padding-block: clamp(var(--space-20), 16vh, calc(var(--space-24) * 1.4)) clamp(var(--space-16), 10vh, var(--space-24));
  isolation: isolate;
  text-align: center;
  overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 0.8s var(--easing-default); }
.page-hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .page-hero__video { display: none; } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,21,31,0.55), rgba(7,21,31,0.78)); z-index: -1; }
.page-hero h1 { color: #fff; font-size: clamp(var(--text-4xl), 6.5vw, var(--text-6xl)); margin-top: var(--space-3); }
.page-hero p { color: rgba(255,255,255,0.86); max-width: 620px; margin: var(--space-5) auto 0; font-size: var(--text-lg); }
.breadcrumb { display: flex; justify-content: center; gap: var(--space-2); font-size: var(--text-xs); color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }
.breadcrumb a:hover { color: var(--color-accent-light); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--color-primary-dark); color: var(--color-on-dark-muted); padding-top: var(--space-24); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--space-12); padding-bottom: var(--space-16); }
.footer__brand .brand__name { color: #fff; }
.footer__tagline { margin-top: var(--space-5); max-width: 320px; font-size: var(--text-sm); line-height: 1.7; }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--color-on-dark-line); color: var(--color-on-dark); transition: all var(--duration-fast); }
.footer__social a:hover { background: var(--color-accent); color: var(--color-primary-dark); border-color: var(--color-accent); transform: translateY(-2px); }
.footer__col h2 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-5); }
.footer__col ul { display: grid; gap: var(--space-3); }
.footer__col a { font-size: var(--text-sm); transition: color var(--duration-fast); }
.footer__col a:hover { color: var(--color-accent-light); }
.footer__contact li { display: flex; gap: var(--space-3); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.footer__contact svg { color: var(--color-accent); flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid var(--color-on-dark-line);
  padding-block: var(--space-6);
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  align-items: center; justify-content: space-between;
  font-size: var(--text-xs);
}
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: var(--space-5); }
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating contact bubble
   ========================================================================== */
.fab {
  position: fixed;
  right: clamp(var(--space-4), 4vw, var(--space-8));
  bottom: clamp(var(--space-4), 4vw, var(--space-8));
  z-index: 90;
  display: inline-flex; align-items: center; gap: var(--space-3);
  background: #0a7d43;
  color: #fff;
  padding: 0.85rem 1.4rem 0.85rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm); font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-normal) var(--easing-spring);
}
.fab:hover { transform: scale(1.05); }
.fab svg { flex-shrink: 0; }
/* Lift the WhatsApp FAB clear of the sticky reserve bar when it's visible (resp-2) */
body.reserve-bar-on .fab { bottom: calc(clamp(var(--space-4), 4vw, var(--space-8)) + 78px); }
@media (max-width: 560px) { .fab span { display: none; } .fab { padding: 0.95rem; } }

/* Above-the-fold hero trust strip (conv-3) */
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-5); color: rgba(255,255,255,0.94); font-size: var(--text-sm); font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero-trust > span { display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
.hero-trust .hero-trust__star { color: var(--color-accent); }
.hero-trust .hero-trust__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); opacity: 0.8; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
/* Only hide reveal elements when JS is present (html.js set before paint). With no JS the
   IntersectionObserver never runs, so content must stay visible. */
.js [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.85s var(--easing-reveal), transform 0.85s var(--easing-reveal), filter 0.85s var(--easing-reveal);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="up"] { transform: translateY(44px); }
.js [data-reveal="left"] { transform: translateX(-44px); }
.js [data-reveal="right"] { transform: translateX(44px); }
.js [data-reveal="zoom"] { transform: scale(0.92); }
.js [data-reveal="blur"] { transform: translateY(24px); filter: blur(14px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
/* Fleet-page cards are server-rendered and re-rendered in place by JS — show them immediately. */
.js #fleet-grid [data-reveal] { opacity: 1; transform: none; }

/* Hero is above the fold: animate via pure CSS (no IntersectionObserver dependency) so the
   headline can be the LCP element and stays visible even if main.js fails to load. */
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.js .hero__content > * { opacity: 0; animation: hero-in 0.7s var(--easing-default) forwards; }
.js .hero__content > *:nth-child(2) { animation-delay: 0.08s; }
.js .hero__content > *:nth-child(3) { animation-delay: 0.16s; }
.js .hero__content > *:nth-child(4) { animation-delay: 0.24s; }
.js .hero__content > *:nth-child(5) { animation-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero__content > * { opacity: 1; animation: none; }
}

/* ==========================================================================
   Yacht detail page
   ========================================================================== */
.yd { padding-block: var(--space-8) var(--space-24); }
.breadcrumb--left { justify-content: flex-start; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.breadcrumb--left a { color: var(--color-accent-text); font-weight: 600; }

.yd-head { margin-bottom: var(--space-6); }
.yd-head h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); margin-top: var(--space-2); }
.yd-metaline { margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--text-sm); display: flex; flex-wrap: wrap; gap: 6px; }
.yd-rate { color: var(--color-accent-text); font-weight: 600; }

/* Gallery */
.yd-gallery { display: grid; grid-template-columns: 1fr; gap: var(--space-2); margin-bottom: var(--space-12); }
.yd-gallery__main { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; }
.yd-gallery__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.9s var(--easing-reveal); }
.yd-gallery__main:hover img { transform: scale(1.05); }
/* Expand hint that fades in on hover (the gallery feels interactive). */
.yd-gallery__main::after {
  content: "⤢"; position: absolute; top: var(--space-4); right: var(--space-4);
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(7, 21, 31, 0.55); color: #fff; font-size: 1.25rem; line-height: 1;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: scale(0.8); transition: opacity var(--duration-fast), transform var(--duration-fast);
}
.yd-gallery__main:hover::after { opacity: 1; transform: scale(1); }
.yd-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.yd-gallery__thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.yd-gallery__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--easing-reveal); }
.yd-gallery__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(7, 21, 31, 0); transition: background var(--duration-fast); }
.yd-gallery__thumb:hover img { transform: scale(1.08); }
.yd-gallery__thumb:hover::after { background: rgba(7, 21, 31, 0.12); }
.yd-gallery__more {
  grid-column: 1 / -1; padding: var(--space-3); border-radius: var(--radius);
  background: var(--color-surface-alt); color: var(--color-ink); font-weight: 600; font-size: var(--text-sm);
}
.yd-gallery__more:hover { background: var(--color-line); }
@media (min-width: 860px) {
  .yd-gallery { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
  .yd-gallery__main img { height: 100%; aspect-ratio: auto; min-height: 420px; }
  .yd-gallery__grid { grid-template-rows: 1fr 1fr; }
  .yd-gallery__more { grid-column: auto; display: grid; place-items: center; }
}

/* Two-column layout */
.yd-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-12); }
@media (min-width: 960px) { .yd-layout { grid-template-columns: 1.7fr 1fr; gap: var(--space-16); align-items: start; } }
.yd-section { margin-bottom: var(--space-12); }
.yd-section h2 { font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl)); margin-bottom: var(--space-5); }
.yd-section h3 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.yd-desc { color: var(--color-text); line-height: 1.8; }

/* Duration tiles */
.yd-durations { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--space-3); }
.yd-duration {
  text-align: center; padding: var(--space-4) var(--space-3);
  border: 1.5px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1);
  cursor: pointer;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast);
}
.yd-duration:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.yd-duration.is-selected { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(221,176,127,0.28); background: rgba(221,176,127,0.13); }
/* In normal flow at the top of the tile — no longer overflows onto the heading. */
.yd-duration__tag { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--color-accent); color: var(--color-primary-dark); padding: 3px 9px; border-radius: var(--radius-pill); font-weight: 700; margin-bottom: var(--space-1); }
.yd-duration__h { font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.yd-duration__p { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-ink); }
/* Selected tile sits on a gold-tint dark bg (was #fffdf8 white = unreadable light-on-white) — keep text light. */
.yd-duration.is-selected .yd-duration__h { color: var(--color-text); }
.yd-duration.is-selected .yd-duration__p { color: var(--color-accent-light); }

/* Specs */
.yd-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-4); }
.yd-spec { display: flex; flex-direction: column; gap: 2px; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-line); border-radius: var(--radius); }
.yd-spec span { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.yd-spec strong { font-size: var(--text-base); color: var(--color-ink); }

/* Included / not included */
.yd-incl { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 560px) { .yd-incl { grid-template-columns: 1fr 1fr; } }
.yd-list { display: grid; gap: var(--space-2); }
.yd-list li { position: relative; padding-left: var(--space-6); font-size: var(--text-sm); }
.yd-list--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success); font-weight: 700; }
.yd-list--no li::before { content: "✕"; position: absolute; left: 0; color: var(--color-text-muted); }

/* Add-on tiles — icon + body + price, alive on hover */
.yd-section__sub { margin-top: calc(var(--space-3) * -1); margin-bottom: var(--space-5); color: var(--color-text-muted); font-size: var(--text-sm); }
.yd-addons { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-3); }
.yd-addon {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-4); border: 1px solid var(--color-line); border-radius: var(--radius);
  background: var(--color-surface);
  transition: transform var(--duration-normal) var(--easing-default), box-shadow var(--duration-normal), border-color var(--duration-fast);
}
.yd-addon:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(194, 161, 91, 0.45); }
.yd-addon__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--color-surface-alt); color: var(--color-accent-deep); flex-shrink: 0; transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast); }
.yd-addon:hover .yd-addon__icon { background: var(--color-accent); color: var(--color-primary-dark); transform: scale(1.05) rotate(-3deg); }
.yd-addon__body { flex: 1; min-width: 0; }
.yd-addon__body strong { display: block; font-size: var(--text-base); color: var(--color-ink); }
.yd-addon__desc { display: block; font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 2px; }
.yd-addon__price { display: block; margin-top: var(--space-2); font-size: var(--text-xs); font-weight: 700; color: var(--color-accent-text); }
/* One-click add-on cards: the whole card is a label; a visually-hidden checkbox stays keyboard-focusable. */
.yd-addon--pick { cursor: pointer; position: relative; }
.yd-addon__check { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.yd-addon__btn { align-self: center; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 0.5rem 0.85rem; border-radius: 999px; border: 1px solid var(--color-accent); color: var(--color-accent-text); font-size: var(--text-xs); font-weight: 700; white-space: nowrap; transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast); }
.yd-addon__btn-added { display: none; }
.yd-addon--pick:hover .yd-addon__btn { background: rgba(194, 161, 91, 0.14); }
.yd-addon.is-added { border-color: var(--color-accent); background: rgba(221, 176, 127, 0.10); box-shadow: 0 0 0 2px rgba(221, 176, 127, 0.22); }
.yd-addon.is-added .yd-addon__icon { background: var(--color-accent); color: var(--color-primary-dark); }
.yd-addon.is-added .yd-addon__btn { background: var(--color-accent); color: var(--color-primary-dark); border-color: var(--color-accent); }
.yd-addon.is-added .yd-addon__btn-add { display: none; }
.yd-addon.is-added .yd-addon__btn-added { display: inline; }
.yd-addon__check:focus-visible ~ .yd-addon__btn { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.yd-addon--request .yd-addon__req { align-self: center; flex-shrink: 0; font-size: var(--text-xs); font-weight: 700; color: var(--color-accent-text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
/* Hour-priced add-on (jet ski): compact hours picker inside the card. */
.yd-addon__hours, .co-addon__hours { display: block; margin-top: var(--space-2); max-width: 120px; padding: 6px 8px; font-size: var(--text-xs); font-weight: 600; color: var(--color-ink); background: var(--color-surface-alt); border: 1px solid rgba(194, 161, 91, 0.45); border-radius: var(--radius); cursor: pointer; color-scheme: dark; }
.yd-addon__hours:focus-visible, .co-addon__hours:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Booking widget */
.yd-widget { position: static; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow); }
@media (min-width: 960px) { .yd-widget { position: sticky; top: calc(var(--header-h) + var(--space-4)); } }
.yd-widget__price { margin-bottom: var(--space-5); }
.yd-widget__price strong { font-family: var(--font-display); font-size: var(--text-4xl); color: var(--color-ink); }
.yd-widget__price span { color: var(--color-text-muted); font-size: var(--text-sm); }
.yd-field { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-3); }
.yd-field > label { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; }
.yd-field input, .yd-field select { background: var(--color-bg); color: var(--color-text); color-scheme: dark; border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: 0.7rem 0.85rem; font-size: var(--text-sm); min-height: 44px; }
/* color-scheme:dark makes the native date text + calendar popup render light-on-dark (was invisible). */
.yd-field input[type="date"] { cursor: pointer; }
.yd-field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.9; }
.yd-field input:focus, .yd-field select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(194,161,91,0.18); }
.yd-grat { display: flex; gap: 6px; }
.yd-grat__btn { flex: 1; min-height: 40px; border: 1px solid var(--color-line); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 600; transition: all var(--duration-fast); }
.yd-grat__btn.is-selected { border-color: var(--color-accent); background: rgba(221,176,127,0.14); color: var(--color-accent-light); box-shadow: 0 0 0 2px rgba(221,176,127,0.22); }
.yd-widget__extras-note { margin: var(--space-4) 0; font-size: var(--text-xs); color: var(--color-text-muted); }
.yd-widget__extras-note a { color: var(--color-accent-text); font-weight: 600; }
.yd-widget__summary { border-top: 1px solid var(--color-line); margin-top: var(--space-4); padding-top: var(--space-4); display: grid; gap: var(--space-2); }
.yd-sum { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--color-text); }
.yd-sum[hidden] { display: none; }
.yd-sum--total { border-top: 1px solid var(--color-line); margin-top: var(--space-2); padding-top: var(--space-3); font-size: var(--text-base); }
.yd-sum--total strong { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-ink); }
.yd-widget #w-checkout { margin-top: var(--space-5); }
.yd-widget__note { font-size: var(--text-xs); color: var(--color-text-muted); text-align: center; margin-top: var(--space-3); }
.yd-widget__call { display: block; text-align: center; font-size: var(--text-sm); color: var(--color-accent-text); font-weight: 600; margin-top: var(--space-3); }

/* ==========================================================================
   "Need help deciding?" fast-human card + trust badges (single yacht page)
   ========================================================================== */
.yd-help {
  display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap;
  padding: var(--space-5) var(--space-6); margin-bottom: var(--space-8);
  border: 1px solid rgba(221,176,127,0.34); border-radius: var(--radius-lg);
  background: radial-gradient(130% 150% at 0% 0%, rgba(221,176,127,0.12), transparent 58%), var(--color-surface);
  box-shadow: var(--shadow);
}
.yd-help__avatar {
  flex: 0 0 auto; position: relative; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-size: var(--text-2xl);
  color: var(--color-primary-dark); background: linear-gradient(145deg, var(--color-accent-light), var(--color-accent));
  box-shadow: 0 6px 18px -8px rgba(221,176,127,0.75);
}
.yd-help__avatar::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 14px; height: 14px; border-radius: 50%; background: #25D366; border: 3px solid var(--color-surface); }
.yd-help__body { flex: 1 1 220px; min-width: 0; }
.yd-help__title { font-size: var(--text-xl); margin: 0; line-height: 1.15; }
.yd-help__sub { margin: 3px 0 0; font-size: var(--text-sm); color: var(--color-text); }
.yd-help__sub strong { color: var(--color-accent-text); }
.yd-help__meta { display: flex; align-items: center; gap: 7px; margin: var(--space-2) 0 0; font-size: var(--text-xs); color: var(--color-text-muted); }
.yd-help__pulse { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #25D366; animation: yd-pulse 2s infinite; }
@keyframes yd-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); } 70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) { .yd-help__pulse { animation: none; } }
.yd-help__actions { flex: 0 0 auto; display: flex; gap: var(--space-3); }
.yd-help__actions .btn { gap: 7px; }
@media (max-width: 560px) { .yd-help__actions { flex: 1 1 100%; } .yd-help__actions .btn { flex: 1; } }

/* Trust badge strip (booking widget + reusable) */
.yd-trust { list-style: none; display: grid; gap: 9px; margin: var(--space-4) 0 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--color-line); }
.yd-trust li { display: flex; align-items: center; gap: 9px; font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.3; }
.yd-trust svg { flex: 0 0 auto; color: var(--color-accent); }
.yd-trust strong { color: var(--color-text); font-weight: 600; }
.yd-related { margin-top: var(--space-12); }

/* Lightbox */
.yd-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(7,21,31,0.94); display: grid; place-items: center; }
.yd-lightbox[hidden] { display: none; }
.yd-lightbox__img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: var(--radius); }
.yd-lightbox__close { position: absolute; top: var(--space-4); right: var(--space-4); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.2rem; }
.yd-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.14); color: #fff; font-size: 1.8rem; line-height: 1; }
.yd-lightbox__nav:hover, .yd-lightbox__close:hover { background: rgba(255,255,255,0.28); }
.yd-lightbox__nav--prev { left: var(--space-4); }
.yd-lightbox__nav--next { right: var(--space-4); }
.yd-lightbox__counter { position: absolute; bottom: var(--space-6); left: 50%; transform: translateX(-50%); color: #fff; font-size: var(--text-sm); background: rgba(0,0,0,0.4); padding: 4px 12px; border-radius: var(--radius-pill); }

/* Sticky reserve bar */
/* visibility toggles with the transform so the hidden bar's Reserve link is not a keyboard tab stop */
.yd-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--color-primary); color: var(--color-on-dark); transform: translateY(100%); visibility: hidden; transition: transform var(--duration-normal) var(--easing-default), visibility 0s var(--duration-normal); box-shadow: 0 -8px 30px -12px rgba(0,0,0,0.5); }
.yd-stickybar.is-visible { transform: translateY(0); visibility: visible; transition: transform var(--duration-normal) var(--easing-default), visibility 0s; }
.yd-stickybar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); }
.yd-stickybar__info strong { color: #fff; display: block; font-family: var(--font-display); font-size: var(--text-lg); }
.yd-stickybar__info span { font-size: var(--text-xs); color: var(--color-on-dark-muted); }
.yd-stickybar__cta { display: flex; align-items: center; gap: var(--space-4); }
.yd-stickybar__price { font-size: var(--text-sm); color: var(--color-on-dark-muted); }
.yd-stickybar__price strong { color: #fff; font-size: var(--text-lg); }
@media (max-width: 480px) { .yd-stickybar__info span { display: none; } }

/* ==========================================================================
   Checkout (2-step)
   ========================================================================== */
.co { padding-block: var(--space-8) var(--space-24); }
.co-back { display: inline-block; margin-bottom: var(--space-5); font-weight: 600; color: var(--color-accent-text); font-size: var(--text-sm); }
.co-hold { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; background: rgba(194,161,91,0.12); border: 1px solid rgba(194,161,91,0.4); border-radius: var(--radius); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.co-hold strong { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-accent-text); }
.co-hold--expired { background: rgba(180,69,47,0.1); border-color: rgba(180,69,47,0.4); }
.co-hold--expired strong { color: var(--color-error); }
/* Calm/neutral state when the hold timer gracefully expires (reassurance, not alarm) — INT-1 */
.co-hold--done { background: var(--color-surface-alt, rgba(12,31,46,0.05)); border-color: var(--color-line); color: var(--color-text-muted); }

.co-steps { display: flex; gap: var(--space-3); margin-bottom: var(--space-8); flex-wrap: wrap; }
.co-steps li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); }
.co-steps__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-line); color: var(--color-text-muted); font-size: var(--text-xs); }
.co-steps li.is-active { color: var(--color-ink); }
.co-steps li.is-active .co-steps__n { background: var(--color-accent); color: var(--color-primary-dark); }
.co-steps li.is-done .co-steps__n { background: var(--color-success); color: #fff; }

.co-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 920px) { .co-grid { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.co-main .form-card { margin-bottom: var(--space-6); }
.co-main h2 { font-size: var(--text-2xl); margin-bottom: var(--space-5); }
.co-subhead { font-size: var(--text-lg); margin: var(--space-6) 0 var(--space-4); }
.co-note { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.co-note--center { text-align: center; margin-top: var(--space-3); }
.co-link { color: var(--color-accent-text); font-weight: 600; text-decoration: underline; }
.co-continue { margin-top: var(--space-4); }

/* Signature */
.co-sig { margin: var(--space-5) 0; border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-4); }
.co-sig__tabs { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); }
.co-sig__tab { flex: 1; padding: var(--space-2); border: 1px solid var(--color-line); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); }
.co-sig__tab.is-active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.co-sig [data-sigpane] input { width: 100%; background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: 0.75rem 1rem; }
.co-sig__preview { display: block; min-height: 40px; margin-top: var(--space-2); font-family: "Cormorant Garamond", cursive; font-style: italic; font-size: var(--text-3xl); color: var(--color-ink); }
/* The draw pane must be the positioned ancestor, or the absolute Clear button escapes to the page corner. */
.co-sig [data-sigpane="draw"] { position: relative; }
#co-sig-canvas { width: 100%; height: 150px; background: var(--color-bg); border: 1px dashed var(--color-line-strong); border-radius: var(--radius-sm); touch-action: none; cursor: crosshair; }
.co-sig__clear { position: absolute; top: var(--space-2); right: var(--space-2); font-size: var(--text-xs); color: var(--color-text-muted); text-decoration: underline; }
.co-sig__status { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-success); font-weight: 600; min-height: 20px; }

/* Agreement modal */
.co-modal { position: fixed; inset: 0; z-index: 300; background: rgba(7,21,31,0.7); display: grid; place-items: center; padding: var(--space-4); }
.co-modal[hidden] { display: none; }
.co-modal__panel { background: var(--color-surface); border-radius: var(--radius-lg); max-width: 640px; width: 100%; max-height: 86vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.co-modal__head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--color-line); }
.co-modal__head h3 { font-size: var(--text-2xl); }
.co-modal__close { width: 36px; height: 36px; border-radius: 50%; background: var(--color-surface-alt); }
.co-modal__body { padding: var(--space-6); overflow-y: auto; }
.co-modal__body p { font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--space-4); }
.co-modal__note { color: var(--color-text-muted); }
.co-modal__foot { padding: var(--space-4) var(--space-6); border-top: 1px solid var(--color-line); text-align: right; }

/* Payment method tabs / options */
.co-paytabs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-4); }
.co-paytab { padding: var(--space-4); text-align: center; border: 1.5px solid var(--color-line); border-radius: var(--radius); font-weight: 600; font-size: var(--text-sm); color: var(--color-text); }
.co-paytab.is-active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.co-save { display: inline-block; font-size: 10px; background: var(--color-success); color: var(--color-primary-dark); font-weight: 700; padding: 1px 6px; border-radius: var(--radius-pill); margin-left: 4px; }
.co-payoptions { display: grid; grid-template-columns: 1fr; gap: var(--space-2); margin-bottom: var(--space-5); }
@media (min-width: 520px) { .co-payoptions { grid-template-columns: 1fr 1fr; } }
.co-payopt { display: block; padding: var(--space-4); border: 1.5px solid var(--color-line); border-radius: var(--radius); }
.co-payopt strong { display: block; }
.co-payopt span { font-size: var(--text-xs); color: var(--color-text-muted); }
.co-payopt.is-active { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(194,161,91,0.16); }
.co-demo { background: rgba(20,51,74,0.06); border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-4); font-size: var(--text-sm); margin-bottom: var(--space-5); }
.co-secure-note { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-5); }
.co-zelle, .co-linkflow { background: var(--color-surface-alt); border-radius: var(--radius); padding: var(--space-5); font-size: var(--text-sm); }
.co-linkflow .co-next { margin: var(--space-4) 0; }

/* ID upload */
.co-upload { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-8) var(--space-4); border: 1.5px dashed var(--color-line-strong); border-radius: var(--radius); text-align: center; cursor: pointer; transition: border-color var(--duration-fast); }
.co-upload:hover { border-color: var(--color-accent); }
.co-upload.is-filled { border-color: var(--color-success); border-style: solid; }
.co-upload__icon { font-size: 1.6rem; color: var(--color-accent-deep); }
.co-upload__text { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Booking summary */
/* The WHOLE aside sticks as one unit (summary + add-ons). Sticking only .co-summary made it
   slide down over the add-on card while scrolling (the step-1 overlap bug). If the sidebar is
   taller than the viewport it scrolls internally instead of overlapping anything. */
.co-summary { position: static; }
@media (min-width: 920px) {
  .co-aside {
    position: sticky; top: calc(var(--header-h) + var(--space-4));
    max-height: calc(100vh - var(--header-h) - var(--space-6));
    overflow-y: auto;
    scrollbar-width: none;            /* scrolls if ever taller than the screen, but no visible bar */
    -ms-overflow-style: none;
  }
  .co-aside::-webkit-scrollbar { display: none; }
}
.co-summary h3 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.co-summary__yacht { display: flex; gap: var(--space-3); padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-line); margin-bottom: var(--space-4); }
.co-summary__yacht img { width: 84px; height: 63px; object-fit: cover; border-radius: var(--radius-sm); }
.co-summary__yacht strong { display: block; }
.co-summary__yacht span { display: block; font-size: var(--text-xs); color: var(--color-text-muted); }
/* Second and third hulls on a multi-yacht booking stack under the first, tighter. */
.co-summary__yacht--more { padding-bottom: var(--space-3); margin-bottom: var(--space-3); }
.co-leg__n { display: inline-block; font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent); margin-right: var(--space-2); }
.co-summary__lines { display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.co-summary__lines > div { display: flex; justify-content: space-between; }
/* #co-sum-addons is a JS-managed wrapper; display:contents lets its rows join the grid + inherit spacing */
#co-sum-addons { display: contents; }
#co-sum-addons > div { display: flex; justify-content: space-between; }
.co-summary__disc { color: var(--color-success); }
.co-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-line); }
.co-summary__total strong { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--color-ink); }
.co-summary__due { display: flex; justify-content: space-between; margin-top: var(--space-2); font-size: var(--text-sm); }
.co-summary__due strong { color: var(--color-accent-text); }
.co-summary__secure { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-4); text-align: center; }
.co-upgrade { margin-top: var(--space-4); }
.co-upgrade h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.co-upgrade__list { display: grid; gap: var(--space-2); margin-top: var(--space-3); font-size: var(--text-sm); }
/* One-click add-on toggle rows (whole row is a label; a visually-hidden checkbox stays keyboard-focusable). */
.co-addon { position: relative; display: flex; align-items: center; gap: var(--space-3); padding: 0.7rem 0.85rem; border: 1px solid var(--color-line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--duration-fast), background var(--duration-fast); }
.co-addon:hover { border-color: rgba(194, 161, 91, 0.45); }
.co-addon__check { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.co-addon__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.co-addon__name { color: var(--color-text); }
.co-addon__price { color: var(--color-text-muted); font-size: var(--text-xs); }
.co-addon__btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 0.4rem 0.75rem; border-radius: 999px; border: 1px solid var(--color-accent); color: var(--color-accent-text); font-size: var(--text-xs); font-weight: 700; white-space: nowrap; transition: background var(--duration-fast), color var(--duration-fast); }
.co-addon__btn-added { display: none; }
.co-addon:hover .co-addon__btn { background: rgba(194, 161, 91, 0.14); }
.co-addon.is-added { border-color: var(--color-accent); background: rgba(221, 176, 127, 0.10); }
.co-addon.is-added .co-addon__btn { background: var(--color-accent); color: var(--color-primary-dark); border-color: var(--color-accent); }
.co-addon.is-added .co-addon__btn-add { display: none; }
.co-addon.is-added .co-addon__btn-added { display: inline; }
.co-addon__check:focus-visible ~ .co-addon__btn { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Confirmation */
.co-confirm__hero { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); }
.co-confirm__check { font-size: 3rem; color: var(--color-accent-deep); }
.co-confirm__hero h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); margin: var(--space-3) 0; }
.co-confirm__ref { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); }
.co-confirm__ref strong { font-family: var(--font-mono, monospace); color: var(--color-ink); }
.co-next { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); padding-left: var(--space-5); list-style: decimal; }
.co-next li { font-size: var(--text-sm); }

/* Admin */
.co-detail-grid { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 760px) { .co-detail-grid { grid-template-columns: 1fr 1fr; } .co-detail-grid section:last-child { grid-column: 1 / -1; } }
.co-badge--card { background: rgba(221, 176, 127, 0.16); color: var(--color-accent-light); }
.co-badge--zelle { background: rgba(111, 199, 154, 0.16); color: var(--color-success); }
.co-admin-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0; border-bottom: 1px solid var(--color-line); }
.co-admin-tabs a { padding: var(--space-2) var(--space-4); font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.co-admin-tabs a:hover { color: var(--color-text); }
.co-admin-tabs a.is-active { color: var(--color-accent-text); border-bottom-color: var(--color-accent); }
.co-admin-forgot { background: none; border: none; padding: 0; cursor: pointer; font-size: var(--text-sm); color: var(--color-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.co-admin__msg { max-width: 420px; white-space: pre-line; overflow-wrap: anywhere; }
.co-admin { overflow-x: auto; }
.co-admin__table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.co-admin__table th, .co-admin__table td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--color-line); vertical-align: top; }
.co-admin__table th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); }
.co-badge { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600; text-transform: capitalize; }
.co-badge--pending { background: rgba(194,161,91,0.18); color: var(--color-accent-text); }
.co-badge--approved { background: rgba(96,150,201,0.16); color: #8FBCE6; }   /* link sent, awaiting payment */
/* approved hold — promise, not money (rule moved below pay-state colors; see cascade note) */
.co-badge--confirmed { background: rgba(47,125,93,0.15); color: var(--color-success); }
.co-badge--charged { background: var(--color-success); color: #fff; }
.co-badge--charge_failed { background: rgba(180,69,47,0.12); color: var(--color-error); }
.co-badge--needs_payment { background: rgba(180,69,47,0.12); color: var(--color-error); }
.co-badge--completed { background: rgba(221,176,127,0.22); color: var(--color-accent-light); }
.co-badge--declined, .co-badge--cancelled { background: rgba(154,169,168,0.14); color: var(--color-text-muted); }
/* Derived payment state (Rezdy-style color coding): red unpaid, orange partial, green paid. */
.co-pay { font-weight: 700; font-size: var(--text-sm); }
.co-pay--unpaid { color: var(--color-error); }
.co-pay--partial { color: var(--color-accent-text); }
.co-pay--paid { color: var(--color-success); }
.co-pay--refunded { color: var(--color-text-muted); }
/* Payment/auth error lines — must read as ERRORS, not muted body copy. */
.co-error { color: var(--color-error); font-size: var(--text-sm); font-weight: 600; }
/* CRM: custom add-on rows on create/edit forms */
.nb-custom-row { display: flex; gap: var(--space-2); align-items: center; margin-bottom: var(--space-2); }
.nb-custom-row input[type="text"] { flex: 2 1 160px; }
.nb-custom-row input[type="number"] { flex: 1 1 90px; }
.nb-custom-row .nb-custom-del { flex: 0 0 auto; color: var(--color-error); }
/* CRM: owner & profit panel — backend-only surfaces get a distinct dashed accent border. */
.crm-panel { border: 1px dashed rgba(221, 176, 127, 0.45); }
.crm-badge { background: rgba(221, 176, 127, 0.16); color: var(--color-accent-light); text-transform: none; }
.crm-settle { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); margin-bottom: var(--space-4); }
.crm-settle strong { display: block; font-size: var(--text-lg); }
.crm-settle small { color: var(--color-text-muted); }
.crm-settle--in { background: rgba(47, 125, 93, 0.14); border: 1px solid rgba(47, 125, 93, 0.4); }
.crm-settle--in strong { color: var(--color-success); }
.crm-settle--out { background: rgba(180, 69, 47, 0.10); border: 1px solid rgba(180, 69, 47, 0.35); }
.crm-settle--out strong { color: var(--color-error); }
.crm-settle--even { background: rgba(221, 176, 127, 0.10); border: 1px solid rgba(221, 176, 127, 0.35); }
.crm-settle--even strong { color: var(--color-accent-light); }
/* CRM calendar — mobile gets stacked days; the 7-col grid starts at 760px. */
.cal-bar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; margin-top: var(--space-2); }
.cal-bar__nav, .cal-bar__views { display: flex; gap: var(--space-2); }
.cal-bar__title { font-size: var(--text-xl); margin: 0; }
.cal-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
.cal-grid--head { display: none; }
.cal-dow { padding: var(--space-2); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); text-align: center; }
.cal-day { min-height: 92px; padding: var(--space-2); border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-surface); }
.cal-day--out { opacity: 0.45; }
.cal-day--today { border-color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.cal-day__num { display: inline-block; font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); margin-bottom: var(--space-1); }
.cal-day__num:hover { color: var(--color-accent-text); }
@media (min-width: 760px) {
  .cal-grid { grid-template-columns: repeat(7, 1fr); }
  .cal-grid--head { display: grid; }
}
/* Mobile month view = agenda: only days that HAVE charters (plus today) render — a full
   6-week wall of empty 92px boxes is unusable on a phone. */
@media (max-width: 759px) {
  .cal-day:not(:has(.cal-chip)):not(.cal-day--today) { display: none; }
  .cal-chip { padding: 9px 10px; font-size: var(--text-sm); }
}
.cal-chip { position: relative; display: block; margin-top: 2px; padding: 3px 6px; border-radius: var(--radius-sm); font-size: 11px; line-height: 1.35; background: rgba(221, 176, 127, 0.12); color: var(--color-text); border-left: 3px solid var(--color-accent); }
.cal-chip__line { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-chip--paid { border-left-color: var(--color-success); background: rgba(47, 125, 93, 0.12); }
.cal-chip--partial { border-left-color: var(--color-accent); background: rgba(194, 161, 91, 0.14); }
.cal-chip--unpaid { border-left-color: var(--color-error); background: rgba(180, 69, 47, 0.10); }
.cal-chip--dead { opacity: 0.4; text-decoration: line-through; }
.cal-chip__warn { color: var(--color-error); font-weight: 700; }
.cal-chip__pend { color: var(--color-accent-light); }
/* "2/3" — this chip is hull 2 of a 3-yacht booking. */
.cal-chip__leg { font-size: 0.7em; opacity: 0.75; border: 1px solid currentColor; border-radius: var(--radius-sm); padding: 0 3px; }
.cal-chip:hover { filter: brightness(1.15); }
.cal-pop { display: none; position: absolute; z-index: 30; left: 0; top: calc(100% + 4px); min-width: 260px; max-width: 320px; padding: var(--space-3); border-radius: var(--radius-sm); background: var(--color-bg); border: 1px solid var(--color-accent); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.cal-pop span, .cal-pop strong { display: block; font-size: var(--text-xs); margin-top: 2px; white-space: normal; }
.cal-pop strong { font-size: var(--text-sm); }
.cal-pop__pay--paid { color: var(--color-success); }
.cal-pop__pay--partial { color: var(--color-accent-text); }
.cal-pop__pay--unpaid { color: var(--color-error); }
@media (hover: hover) { .cal-chip:hover .cal-pop { display: block; } }
.cal-chip:focus-visible .cal-pop { display: block; }   /* keyboard reveal works on any device */
.cal-grid .cal-day:nth-child(7n) .cal-pop, .cal-grid .cal-day:nth-child(7n-1) .cal-pop { left: auto; right: 0; }
.cal-rows { display: flex; flex-direction: column; gap: var(--space-2); }
.cal-row { display: grid; gap: 2px var(--space-4); padding: var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-bg); }
.cal-row:hover { border-color: var(--color-accent); }
.cal-row__time { font-weight: 700; font-size: var(--text-sm); }
.cal-row__who, .cal-row__pay, .cal-row__biz { font-size: var(--text-sm); }
.cal-row__biz { color: var(--color-accent-light); }
@media (min-width: 900px) { .cal-row { grid-template-columns: 170px 1fr auto; } .cal-row__biz { grid-column: 2 / -1; } }
/* Admin stats bar + filters */
.co-admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: var(--space-4) 0; }
@media (min-width: 760px) { .co-admin-stats { grid-template-columns: repeat(4, 1fr); } }
.co-stat { padding: var(--space-4); border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface); }
.co-stat strong { display: block; font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-ink); }
.co-stat span { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Finance stat cards open "how is this number made?" panels (payment-link plan follow-up). */
.co-stat--btn { cursor: pointer; transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
.co-stat--btn:hover, .co-stat--btn:focus-visible { border-color: var(--color-accent); }
.co-stat--btn.is-open { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(194, 161, 91, 0.16); }
.co-stat__how { display: block; margin-top: var(--space-1); font-size: var(--text-xs); font-style: normal; color: var(--color-accent-text); }
.co-stat--btn.is-open .co-stat__how::after { content: " ▴"; }
.co-explain { background: var(--color-surface-alt); border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-4) var(--space-5); margin: var(--space-3) 0; font-size: var(--text-sm); }
.co-explain h4 { margin-bottom: var(--space-2); }
.co-explain__list { list-style: none; padding: 0; margin: var(--space-2) 0; display: grid; gap: var(--space-1); }
.co-explain__list li { padding: var(--space-1) 0; border-bottom: 1px dashed var(--color-line); }
.co-explain__list li:last-child { border-bottom: 0; }
.co-explain__sum { font-weight: 600; color: var(--color-ink); border-top: 1px solid var(--color-line-strong); }
.co-explain__why { color: var(--color-text-muted); }
.co-explain--warn { border-color: rgba(180, 69, 47, 0.4); }

/* Attention panel — the CRM chases Samar with specifics (truth plan, Phase 4). */
.att-panel { border-color: var(--color-accent); }
.att-item { display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; padding: var(--space-3) 0; border-bottom: 1px dashed var(--color-line); }
.att-item:last-of-type { border-bottom: 0; }
.att-item__body { flex: 1 1 240px; }
.att-item__acts { display: flex; gap: var(--space-2); align-items: flex-start; flex-wrap: wrap; }
.att-item--act-now { border-left: 3px solid var(--color-error); padding-left: var(--space-3); }
.att-item--soon { border-left: 3px solid var(--color-accent); padding-left: var(--space-3); }
.att-item--info { border-left: 3px solid var(--color-line-strong); padding-left: var(--space-3); }
/* Plain-word severity tag so a Note reads differently from an action (Samar, 2026-07-12). */
.att-tag { display: inline-block; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 1px 7px; border-radius: 999px; margin-right: var(--space-2); vertical-align: 1px; }
.att-tag--red { background: rgba(180,69,47,0.16); color: var(--color-error); }
.att-tag--gold { background: rgba(194,161,91,0.20); color: var(--color-accent-text); }
.att-tag--grey { background: rgba(154,169,168,0.16); color: var(--color-text-muted); }
.att-item--hidden { opacity: 0.55; }
.att-item__links { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.att-dup-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; width: 100%; }
.att-dup-archive { color: var(--color-error); border-color: rgba(180,69,47,0.4); }
.crm-cap-toggle { flex-basis: 100%; font-size: var(--text-sm); color: var(--color-text-muted); display: flex; gap: var(--space-2); align-items: center; }
.crm-cap-box { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-line-strong); border-radius: var(--radius-sm); background: var(--color-surface-alt); }
.crm-cap-box[hidden] { display: none; }
.crm-cap-box > select, .crm-cap-box > input { flex: 1 1 160px; }
.crm-owner-form { flex-direction: column; align-items: stretch; }
.crm-owner-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.crm-owner-toggle { display: flex; gap: var(--space-2); align-items: center; font-size: var(--text-sm); color: var(--color-text-muted); white-space: nowrap; }
.crm-owner-toggle:has(input:checked) { color: var(--color-success); font-weight: 600; }
.crm-owner-body { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.crm-owner-body[hidden] { display: none; }
.crm-cap-box__lbl { flex-basis: 100%; font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.crm-zelle-adv summary { cursor: pointer; font-size: var(--text-sm); color: var(--color-text-muted); }
/* When "broker handles the captain" is ticked, read it as done — the fields are gone, so the
   toggle itself must confirm the state (Samar, 2026-07-12). */
.crm-cap-toggle:has(.crm-cap-cb:checked) { color: var(--color-success); font-weight: 600; }
.crm-cap-toggle:has(.crm-cap-cb:checked)::after { content: " ✓"; }
.att-badge { text-decoration: none; }
.att-badge--act-now { background: rgba(180,69,47,0.16); color: var(--color-error); }
.att-badge--soon { background: rgba(194,161,91,0.18); color: var(--color-accent-text); }
.att-badge--info { background: rgba(154,169,168,0.14); color: var(--color-text-muted); }
.co-stat__flag { display: block; margin-top: var(--space-1); font-size: var(--text-xs); font-style: normal; color: var(--color-error); }

/* pulse on act-now items so the eye lands where the money problem is */
@keyframes att-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(180,69,47,0.0); } 50% { box-shadow: 0 0 0 4px rgba(180,69,47,0.18); } }
.att-item--act-now { animation: att-pulse 2.4s ease-in-out 3; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) { .att-item--act-now { animation: none; } }

/* slim CRM chrome — admin pages carry no marketing header/footer */
.crm-topbar { background: var(--color-surface); border-bottom: 1px solid var(--color-line); }
.crm-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; }
.crm-topbar__brand { font-family: var(--font-display); color: var(--color-ink); text-decoration: none; font-size: var(--text-lg); }
.crm-topbar__hint { font-size: var(--text-xs); color: var(--color-text-muted); }

/* Row state colors — see what's clean vs what needs you at a glance (truth plan, guidance). */
.co-admin__table tr.row-att--act-now td:first-child { box-shadow: inset 3px 0 0 var(--color-error); }
.co-admin__table tr.row-att--soon td:first-child, .co-admin__table tr.row-att--info td:first-child { box-shadow: inset 3px 0 0 var(--color-accent); }
.co-admin__table tr.row-clean td:first-child { box-shadow: inset 3px 0 0 var(--color-success); }
.co-admin__table tr.row-done { opacity: 0.62; }
.co-admin__table tr.row-done td:first-child { box-shadow: inset 3px 0 0 var(--color-line-strong); }
.co-admin__table tr.row-dead { opacity: 0.45; }
.row-legend { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.row-key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: middle; }
.row-key--att-red { background: var(--color-error); }
.row-key--att-gold { background: var(--color-accent); }
.row-key--clean { background: var(--color-success); }
.row-key--done { background: var(--color-line-strong); }
.row-key--dead { background: var(--color-line); }
/* Held + attention chip styling. Declared AFTER the base .cal-chip/pay-state rules so the
   dashed held edge actually wins the cascade (review 2026-07-12); ⚠ is absolutely positioned
   so it never adds a wrap line to the chip. */
.cal-chip--held { border-left-style: dashed !important; border-left-color: rgba(96,150,201,0.85) !important; opacity: 0.9; }
.cal-chip--att { box-shadow: inset 3px 0 0 var(--color-error); position: relative; }
.cal-chip--att::after { content: "⚠"; color: var(--color-error); position: absolute; top: 1px; right: 3px; font-size: var(--text-xs); line-height: 1; }

/* pinpoint highlight: the EXACT element an attention item is about */
.att-flag { outline: 2px dashed var(--color-error); outline-offset: 3px; border-radius: var(--radius-sm); }
.att-flag:focus-visible { outline: 2px solid var(--color-accent); }   /* the flag must not eat the keyboard focus ring */
.co-ded-del { background: none; border: none; cursor: pointer; color: var(--color-error); padding: 10px 12px; margin: -10px -6px; }   /* 44px-ish touch target */
.row-legend__item { display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
@keyframes att-flash-kf { 0%, 100% { outline-color: var(--color-error); } 50% { outline-color: transparent; } }
.att-flash { animation: att-flash-kf 0.8s ease-in-out 4; }
@media (prefers-reduced-motion: reduce) { .att-flash { animation: none; } }
.co-admin-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-bottom: var(--space-4); }
.co-admin-filters input[type="search"], .co-admin-filters input[type="date"], .co-act__form input {
  background: var(--color-bg); color: var(--color-text); color-scheme: dark; border: 1px solid var(--color-line);
  border-radius: var(--radius-sm); padding: 0.45rem 0.7rem; font-size: var(--text-sm); min-height: 38px; }
.co-admin-filters input[type="search"] { flex: 1 1 220px; }
.co-admin-filters__chk { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--color-text-muted); }
/* Detail action bar */
.co-actions { margin-top: var(--space-4); }
.co-actions__row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: flex-start; }
.co-act summary { list-style: none; cursor: pointer; }
.co-act summary::-webkit-details-marker { display: none; }
.co-act__form { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-top: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius-sm); }
.co-act__form label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); color: var(--color-text-muted); min-height: 38px; }
tr.is-archived { opacity: 0.55; }
/* New manual booking request form (admin) */
.co-newbk { display: grid; gap: var(--space-4); margin: var(--space-4) 0 var(--space-12); }
.co-newbk .form-card h3 { margin-bottom: var(--space-4); }
.co-newbk__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 640px) { .co-newbk__grid { grid-template-columns: repeat(3, 1fr); }
  .co-newbk__grid .field--full { grid-column: 1 / -1; } }
/* The [hidden] attribute loses to author display rules (.field is flex) — enforce it. */
.co-newbk [hidden] { display: none !important; }

/* ---------------- Modern form controls — ADMIN surfaces only ----------------
   Scope: .co-newbk (create/edit forms), .co-act__form (detail-page action forms),
   .co-admin-filters (list/finance bars), .crm-page (partners & captains).
   Native widgets are fully redrawn: no classic radios/checkboxes/select arrows. */
.co-newbk input[type="checkbox"], .co-act__form input[type="checkbox"], .crm-page input[type="checkbox"],
.co-newbk input[type="radio"], .co-act__form input[type="radio"], .crm-page input[type="radio"] {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; min-height: 20px;
  margin: 0; flex: 0 0 auto; cursor: pointer; background: var(--color-bg);
  border: 1.5px solid var(--color-line-strong, var(--color-line)); border-radius: 6px;
  transition: border-color var(--duration-fast) var(--easing-default),
              background var(--duration-fast) var(--easing-default),
              box-shadow var(--duration-fast) var(--easing-default); }
.co-newbk input[type="radio"], .co-act__form input[type="radio"], .crm-page input[type="radio"] { border-radius: 50%; }
.co-newbk input[type="checkbox"]:hover, .co-act__form input[type="checkbox"]:hover, .crm-page input[type="checkbox"]:hover,
.co-newbk input[type="radio"]:hover, .co-act__form input[type="radio"]:hover, .crm-page input[type="radio"]:hover {
  border-color: var(--color-accent); }
.co-newbk input[type="checkbox"]:checked, .co-act__form input[type="checkbox"]:checked, .crm-page input[type="checkbox"]:checked {
  background: var(--color-accent) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1.5 5.5l3 3 6-7' fill='none' stroke='%231b140a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--color-accent); }
.co-newbk input[type="radio"]:checked, .co-act__form input[type="radio"]:checked, .crm-page input[type="radio"]:checked {
  background: var(--color-accent); border-color: var(--color-accent);
  box-shadow: inset 0 0 0 4.5px var(--color-bg); }
.co-newbk input[type="checkbox"]:focus-visible, .co-act__form input[type="checkbox"]:focus-visible, .crm-page input[type="checkbox"]:focus-visible,
.co-newbk input[type="radio"]:focus-visible, .co-act__form input[type="radio"]:focus-visible, .crm-page input[type="radio"]:focus-visible {
  outline: 2px solid var(--color-accent); outline-offset: 2px; }
/* Dropdowns: kill the OS arrow, draw a gold chevron, roomy hit area. */
.co-newbk select, .co-act__form select, .co-admin-filters select, .crm-page select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-color: var(--color-bg); color: var(--color-text); color-scheme: dark;
  border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  padding: 0.5rem 2.3rem 0.5rem 0.75rem; min-height: 40px; font-size: var(--text-sm);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23C2A15B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
  transition: border-color var(--duration-fast) var(--easing-default); }
.co-newbk select:hover, .co-act__form select:hover, .co-admin-filters select:hover, .crm-page select:hover { border-color: var(--color-accent); }
.co-newbk select:focus-visible, .co-act__form select:focus-visible, .co-admin-filters select:focus-visible, .crm-page select:focus-visible {
  outline: 2px solid var(--color-accent); outline-offset: 1px; }

/* Add-on chips: the CHIP is the control — no square box, a ✓ appears when on. */
.co-newbk__addons { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.co-newbk__addon { position: relative; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-bg);
  padding: 0.55rem 1rem; cursor: pointer;
  transition: border-color var(--duration-fast) var(--easing-default),
              background var(--duration-fast) var(--easing-default); }
.co-newbk__addon input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.co-newbk__addon span { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--color-text); white-space: nowrap; }
.co-newbk__addon span::before { content: "+"; display: inline-block; width: 1em; margin-right: 4px;
  color: var(--color-text-muted); font-weight: 700; transition: color var(--duration-fast) var(--easing-default); }
.co-newbk__addon small { color: var(--color-text-muted); font-weight: 400; margin-left: 2px; }
.co-newbk__hours { width: 58px !important; min-width: 0; padding: 2px 22px 2px 8px !important;
  min-height: 26px !important; font-size: var(--text-xs) !important;
  background-color: var(--color-surface-alt); border-color: rgba(194, 161, 91, 0.45) !important;
  background-position: right 7px center !important; background-size: 10px 7px !important; }
/* Per-add-on price: appears inside the chip once it's selected. (.co-newbk__addon prefix
   outranks the generic .field input sizing rules.) */
.co-newbk__addon .co-newbk__addonprice { display: none; width: 92px; flex: 0 0 92px;
  min-height: 26px; height: 26px; padding: 2px 8px; font-size: var(--text-xs);
  background: var(--color-surface-alt); color: var(--color-ink);
  border: 1px solid rgba(194, 161, 91, 0.45); border-radius: var(--radius); color-scheme: dark; }
.co-newbk__addon:has(input[type="checkbox"]:checked) .co-newbk__addonprice { display: inline-block; }
/* Discount control: fixed-width type select + the value input gets the rest. */
.nb-discount { display: flex; gap: var(--space-2); }
.nb-discount select { flex: 0 0 96px; }

/* ---- Multi-yacht legs (admin create + edit) ------------------------------- */
.nb-leg__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.nb-leg__head h3 { margin: 0; }
.nb-leg__del { flex: 0 0 auto; color: var(--color-error); font-size: var(--text-sm); }
.nb-addleg { width: 100%; margin-bottom: var(--space-6); }

/* The owner/cost panel nests inside each leg — dashed border already reads as "backend". */
.crm-panel--inset {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md, 10px);
}
.crm-panel--inset h4 {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

/* Total is derived from the legs — present it as a figure, not an input. */
.nb-total {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.nb-total__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.nb-total__value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-accent);
  line-height: 1.1;
}

/* One row per yacht in the backend owner/cost panel. */
.crm-legrow {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  border: 0;
  border-top: 1px solid rgba(221, 176, 127, 0.2);
  margin: 0;
  padding: var(--space-3) 0 0;
}
.crm-legrow legend {
  padding: 0;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.crm-legrow > * { flex: 1 1 100%; }
.crm-legrow { align-items: flex-start; }   /* inputs keep their own height, never stretch to the tallest sibling */
.crm-legrow > .crm-cap-box { flex: 1 1 100%; }   /* the captain box gets its own full-width row, not squeezed beside the cost */
.crm-settle__note { margin: calc(var(--space-2) * -1) 0 var(--space-3); }

@media (min-width: 720px) {
  .nb-addleg { width: auto; }
  .nb-total__value { font-size: var(--text-4xl); }
  .crm-legrow > * { flex: 1 1 160px; }
}
.nb-discount input { flex: 1 1 70px; min-width: 0; }
.co-newbk__addon:hover { border-color: var(--color-accent); }
.co-newbk__addon:has(input:checked) { border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg)); }
.co-newbk__addon:has(input:checked) span::before { content: "✓"; color: var(--color-accent-text); }
.co-newbk__addon:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Segmented pills (plan, send-via): the whole option is a pill, no visible circle/box. */
.co-newbk__seg { display: inline-flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; min-height: 48px; }
.co-newbk__seg label { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.co-newbk__seg label input { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important;
  min-height: 0 !important; pointer-events: none; }
.co-newbk__seg label span { font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; text-transform: none;
  color: var(--color-text-muted); border: 1px solid var(--color-line); border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem; transition: all var(--duration-fast) var(--easing-default); }
.co-newbk__seg label:hover span { border-color: var(--color-accent); color: var(--color-text); }
.co-newbk__seg label:has(input:checked) span { background: var(--color-accent); border-color: var(--color-accent);
  color: #1b140a; }
.co-newbk__seg label:has(input:checked) span::before { content: "✓ "; }
.co-newbk__seg label:has(input:focus-visible) span { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Payment method cards: card IS the radio — dot hidden, a gold ✓ badge marks the choice. */
.co-newbk__methods { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .co-newbk__methods { grid-template-columns: 1fr 1fr; } }
.co-newbk__method { position: relative; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-bg);
  padding: 0.8rem 2.4rem 0.8rem 1rem; cursor: pointer;
  transition: border-color var(--duration-fast) var(--easing-default),
              background var(--duration-fast) var(--easing-default); }
.co-newbk__method input[type="radio"] { position: absolute !important; opacity: 0; width: 1px !important;
  height: 1px !important; min-height: 0 !important; pointer-events: none; }
.co-newbk__method::after { content: "✓"; position: absolute; top: 50%; right: 12px; transform: translateY(-50%) scale(0.6);
  width: 22px; height: 22px; display: grid; place-content: center; border-radius: 50%;
  background: var(--color-accent); color: #1b140a; font-size: 13px; font-weight: 700; opacity: 0;
  transition: opacity var(--duration-fast) var(--easing-default), transform var(--duration-fast) var(--easing-spring); }
.co-newbk__method:hover { border-color: var(--color-accent); }
.co-newbk__method:has(input:checked) { border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 8%, var(--color-bg)); }
.co-newbk__method:has(input:checked)::after { opacity: 1; transform: translateY(-50%) scale(1); }
.co-newbk__method:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.co-newbk__method span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.co-newbk__method strong { font-size: var(--text-sm); font-weight: 600; letter-spacing: 0;
  text-transform: none; color: var(--color-text); }
.co-newbk__method small { font-size: var(--text-xs); letter-spacing: 0; text-transform: none;
  color: var(--color-text-muted); overflow-wrap: anywhere; }
.nb-hint { display: block; margin-top: 4px; font-size: var(--text-xs); font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--color-text-muted); }

/* Partners & captains: row cards — Edit + Archive sit side by side on the right,
   the edit form expands full-width UNDER the row (JS-toggled [hidden]). */
.crm-page [hidden] { display: none !important; }   /* the project's [hidden]-vs-display gotcha */
.crm-cards { display: flex; flex-direction: column; }
.crm-card { padding: var(--space-3) 0; border-bottom: 1px solid var(--color-line); }
.crm-card:last-child { border-bottom: none; }
.crm-card--archived .crm-card__main { opacity: 0.45; }
.crm-card__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.crm-card__main { flex: 1 1 300px; display: grid; gap: 3px; min-width: 0; }
.crm-card__name { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.crm-card__main small { color: var(--color-text-muted); overflow-wrap: anywhere; }
.crm-card__actions { display: flex; gap: var(--space-2); align-items: center; flex: 0 0 auto; }
.crm-card > .crm-edit-form { margin-top: var(--space-2); }

/* NO REFUNDS clause — must stand out in the modal and on the standalone agreement page. */
.agreement-norefunds { border: 1px solid rgba(180,69,47,0.45); background: rgba(180,69,47,0.08);
  border-radius: var(--radius-sm); padding: var(--space-4); }
.agreement-page p { margin-bottom: var(--space-4); line-height: 1.65; }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.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; }
/* Reveal the skip link when it receives keyboard focus. */
.sr-only:focus, .sr-only:focus-visible {
  position: fixed; top: 8px; left: 8px;
  width: auto; height: auto; margin: 0; padding: 10px 16px;
  overflow: visible; clip: auto; clip-path: none; white-space: nowrap;
  background: var(--color-primary); color: #fff;
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  z-index: 200;
}

/* ==========================================================================
   SEO landing pages (events / occasions / locations)
   ========================================================================== */
.container--narrow { max-width: 820px; }
.prose > p { color: var(--color-text); font-size: var(--text-lg); line-height: 1.75; margin-bottom: var(--space-5); }
.prose > p:last-child { margin-bottom: 0; }
/* When / Where / Charters meta row */
.landing-meta { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin-bottom: var(--space-8); padding: 0; list-style: none; }
.landing-meta li { display: flex; flex-direction: column; gap: 2px; padding: var(--space-4) var(--space-5); background: var(--color-surface-alt); border: 1px solid var(--color-line); border-radius: var(--radius); }
.landing-meta span { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-text); }
.landing-meta strong { font-size: var(--text-base); color: var(--color-ink); }
.landing-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
/* Highlights checklist */
.landing-highlights { display: grid; grid-template-columns: 1fr; gap: var(--space-3); padding: 0; list-style: none; max-width: 820px; margin-inline: auto; }
.landing-highlights li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-base); color: var(--color-text); line-height: 1.5; }
.landing-highlights svg { flex-shrink: 0; color: var(--color-accent); margin-top: 3px; }
/* FAQ (native <details>, no JS) */
.faq { display: grid; gap: var(--space-2); }
.faq__item { border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface-alt); overflow: hidden; }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); cursor: pointer; padding: var(--space-4) var(--space-5); font-weight: 600; color: var(--color-ink); list-style: none; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: var(--text-xl); color: var(--color-accent); line-height: 1; transition: transform var(--duration-normal) var(--easing-default); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.faq__a { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); line-height: 1.7; }
/* Related links */
.landing-related { display: grid; grid-template-columns: 1fr; gap: var(--space-2); padding: 0; list-style: none; max-width: 820px; margin-inline: auto; }
.landing-related a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); color: var(--color-ink); font-weight: 600; transition: border-color var(--duration-fast), transform var(--duration-fast); }
.landing-related a:hover { border-color: var(--color-accent); transform: translateY(-1px); }
.landing-related a span { color: var(--color-accent); }
@media (min-width: 700px) {
  .landing-meta { grid-template-columns: repeat(3, 1fr); }
  .landing-highlights { grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-8); }
  .landing-related { grid-template-columns: 1fr 1fr; }
}

/* Blog / guides */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.post-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--duration-fast), transform var(--duration-fast); }
.post-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.post-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--easing-default); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.post-card__meta { font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent-text); }
.post-card__body h2 { font-size: var(--text-xl); }
.post-card__body h2 a { color: var(--color-ink); }
.post-card__body h2 a:hover { color: var(--color-accent-text); }
.post-card__body > p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; }
.post-card__link { color: var(--color-accent-text); font-weight: 600; font-size: var(--text-sm); margin-top: auto; }
.post-body h2 { margin-top: var(--space-8); margin-bottom: var(--space-3); font-size: var(--text-2xl); }
.post-body h2:first-child { margin-top: 0; }
.post-list { margin: 0 0 var(--space-5); padding-left: 0; list-style: none; display: grid; gap: var(--space-2); }
.post-list li { position: relative; padding-left: var(--space-6); color: var(--color-text); line-height: 1.6; }
.post-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }

/* Inline editorial links (linkify filter output) */
.prose a, .post-body a, .faq__a a, .post-keyfacts a { color: var(--color-accent-text); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color var(--duration-fast) var(--easing-default); }
.prose a:hover, .post-body a:hover, .faq__a a:hover, .post-keyfacts a:hover { color: var(--color-accent); }
.prose a:focus-visible, .post-body a:focus-visible, .faq__a a:focus-visible, .post-keyfacts a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 2px; }

/* Byline */
.post-byline { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); }

/* Key-facts / TL;DR box */
.post-keyfacts { background: var(--color-surface-alt); border: 1px solid var(--color-line); border-left: 3px solid var(--color-accent); border-radius: var(--radius); padding: var(--space-5) var(--space-6); margin-bottom: var(--space-8); }
.post-keyfacts__title { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-text); font-weight: 700; margin-bottom: var(--space-3); }
.post-keyfacts ul { list-style: none; padding-left: 0; display: grid; gap: var(--space-2); margin: 0; }
.post-keyfacts li { position: relative; padding-left: var(--space-6); color: var(--color-text); line-height: 1.6; font-size: var(--text-base); }
.post-keyfacts li::before { content: "•"; position: absolute; left: var(--space-2); color: var(--color-accent); font-weight: 700; }

/* Inline article figure */
.post-figure { margin: var(--space-8) 0; }
.post-figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.post-figure figcaption { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); text-align: center; font-style: italic; }

@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
