/* =========================================================
   Re.Yachts — Architectural Maritime Intelligence & Brokerage
   Midnight Obsidian, Warm Ivory, Brushed Brass & Sea Slate
   ========================================================= */
:root {
  --ivory: #f6f3ec;
  --ivory-2: #ece6da;
  --paper: #fffdf9;
  --ink: #0a1522;
  --ink-2: #243447;
  --muted: #5a6877;
  --faint: #8f9ba8;
  --line: rgba(10, 21, 34, 0.09);
  --line-2: rgba(10, 21, 34, 0.18);

  --navy: #07111e;
  --navy-2: #0c1b2e;
  --navy-3: #132842;
  --on-navy: #f5f1e8;
  --on-navy-muted: #96a5b5;
  --navy-line: rgba(245, 241, 232, 0.11);

  --gold: #b88c4a;
  --gold-2: #d4ad6e;
  --gold-3: #ebd3a7;
  --gold-soft: rgba(184, 140, 74, 0.14);
  --sea: #2d5f7c;
  --emerald: #3d8b6e;

  --radius-lg: 14px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 8px -2px rgba(7, 17, 30, 0.06);
  --shadow: 0 4px 12px -2px rgba(7, 17, 30, 0.06), 0 22px 48px -24px rgba(7, 17, 30, 0.22);
  --shadow-lg: 0 32px 80px -28px rgba(4, 10, 20, 0.55);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 64px;

  /* Naval silhouette palette */
  --ys-hull: #0e2034;
  --ys-keel: rgba(14, 32, 52, 0.18);
  --ys-sheer: rgba(255, 255, 255, 0.38);
  --ys-platform: #1b334d;
  --ys-port: rgba(212, 173, 110, 0.72);
  --ys-sup: #ffffff;
  --ys-sup-stroke: rgba(10, 21, 34, 0.18);
  --ys-deck-line: rgba(10, 21, 34, 0.12);
  --ys-win: #162c44;
  --ys-mullion: rgba(255, 255, 255, 0.55);
  --ys-mast: #1a3048;
  --ys-dome: #ffffff;
  --ys-rail: rgba(14, 32, 52, 0.35);
  --ys-sail: #fcfaf5;
  --ys-water: rgba(45, 95, 124, 0.15);
  --ys-wake: rgba(255, 255, 255, 0.55);
  --ys-stripe: var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
html:has(.dlg[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1, h2 {
  font-family: var(--serif);
  line-height: 1.01;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--ivory);
  padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip:focus { left: 8px; }

.wrap { width: min(1360px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
.fineprint { font-size: 0.74rem; color: var(--muted); line-height: 1.45; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.45rem;
}
.kicker::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.text-link {
  display: inline-flex; gap: 0.5rem; align-items: center;
  font-weight: 600; font-size: 0.84rem; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color 200ms var(--ease), gap 200ms var(--ease);
}
.text-link:hover { color: var(--gold); gap: 0.75rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  height: 40px; padding: 0 1.2rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: all 220ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform 220ms var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { height: 34px; padding: 0 0.95rem; font-size: 0.68rem; }
.btn-lg { height: 44px; padding: 0 1.5rem; }
.btn-gold {
  background: linear-gradient(135deg, #c69a55 0%, #a87b39 100%);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(184, 140, 74, 0.55);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #d1a662 0%, #b58642 100%);
  box-shadow: 0 12px 28px -6px rgba(184, 140, 74, 0.7);
  transform: translateY(-1px);
}
.btn-dark { background: var(--navy); color: var(--on-navy); }
.btn-dark:hover { background: var(--navy-3); transform: translateY(-1px); }
.btn-line, .btn-ghost {
  background: transparent; border-color: var(--line-2); color: var(--ink);
}
.btn-line:hover, .btn-ghost:hover {
  border-color: var(--ink); background: rgba(10, 21, 34, 0.03);
}
.btn-line-light {
  background: transparent; border-color: rgba(245, 241, 232, 0.35); color: var(--on-navy);
}
.btn-line-light:hover { border-color: var(--on-navy); }
.btn.danger { color: #a33a2a; border-color: rgba(163, 58, 42, 0.35); }
.btn.danger:hover { border-color: #a33a2a; background: rgba(163, 58, 42, 0.05); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  color: var(--on-navy);
  transition: background 320ms var(--ease), color 320ms var(--ease), box-shadow 320ms var(--ease), height 320ms var(--ease), border-color 320ms var(--ease);
  border-bottom: 1px solid rgba(245, 241, 232, 0.06);
}
.site-header.scrolled {
  --header-h: 56px;
  background: rgba(246, 243, 236, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  color: var(--ink);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px -12px rgba(7, 17, 30, 0.08);
}
.nav {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none;
}
.brand-mark { width: 32px; height: 32px; transition: transform 320ms var(--ease); }
.brand:hover .brand-mark { transform: scale(1.06); }
.bm-ring { fill: none; stroke: var(--gold); stroke-width: 1.3; }
.bm-hull { fill: currentColor; }
.bm-sup { fill: var(--gold); }
.brand-word {
  font-family: var(--serif); font-size: 1.65rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1;
}
.brand-word i { font-style: normal; color: var(--gold); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  position: relative; text-decoration: none;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.78; transition: opacity 180ms;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 280ms var(--ease);
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: 0.65rem; }

.unit-pills {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 999px; padding: 2px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 240ms;
}
.site-header.scrolled .unit-pills {
  border-color: var(--line-2);
  background: rgba(10, 21, 34, 0.03);
}
.unit-btn {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.32rem 0.65rem; border-radius: 999px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em;
  transition: background 180ms, color 180ms;
}
.unit-btn:hover { background: var(--gold-soft); color: var(--gold-2); }
.site-header.scrolled .unit-btn:hover { color: var(--gold); }
.unit-sep { width: 1px; height: 14px; background: currentColor; opacity: 0.2; }

.shortlist-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  height: 36px; padding: 0 0.75rem;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 999px; background: rgba(255, 255, 255, 0.04);
  cursor: pointer; font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  transition: all 200ms var(--ease);
}
.site-header.scrolled .shortlist-pill {
  border-color: var(--line-2); background: rgba(10, 21, 34, 0.03);
}
.shortlist-pill svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7;
  transition: fill 180ms, stroke 180ms;
}
.shortlist-pill.has-items svg { fill: var(--gold); stroke: var(--gold); }
.shortlist-pill:hover { border-color: var(--gold); }

.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--navy); color: var(--on-navy);
  padding: calc(var(--header-h) + clamp(1.25rem, 2.5vw, 2rem)) 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(65% 75% at 78% 26%, rgba(45, 95, 124, 0.42), transparent 70%),
    radial-gradient(45% 55% at 12% 95%, rgba(184, 140, 74, 0.18), transparent 70%),
    linear-gradient(180deg, #050c16 0%, #07111e 55%, #0c1b2e 100%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; pointer-events: none;
}
.hero-orb-1 {
  width: 480px; height: 480px; top: -120px; right: 10%;
  background: radial-gradient(circle, rgba(59, 118, 154, 0.55), transparent 70%);
  animation: orbFloat 18s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 380px; height: 380px; bottom: 5%; left: 5%;
  background: radial-gradient(circle, rgba(184, 140, 74, 0.35), transparent 70%);
  animation: orbFloat 24s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  to { transform: translate(30px, -20px) scale(1.08); }
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.28;
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center;
}

.hero-status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.28rem 0.75rem; margin-bottom: 0.8rem;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid rgba(245, 241, 232, 0.14);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold-3);
}
.status-dot, .pulse-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 4px rgba(212, 173, 110, 0.2);
  animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  50% { box-shadow: 0 0 0 7px rgba(212, 173, 110, 0.04); }
}

.hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  line-height: 0.96; letter-spacing: -0.02em;
}
.hero h1 em { color: var(--gold-2); }
.hero-sub {
  margin-top: 0.85rem; max-width: 37rem;
  font-size: 0.96rem; line-height: 1.5; color: var(--on-navy-muted);
}

.hero-search {
  margin-top: 1.25rem; max-width: 48rem;
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius); padding: 5px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hs-field {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0.35rem 0.85rem; min-width: 0; border-right: 1px solid var(--line);
}
.hs-field:nth-child(3) { border-right: 0; }
.hs-field span {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.hs-field input, .hs-field select {
  border: 0; background: transparent; padding: 0.15rem 0 0.05rem;
  font-size: 0.88rem; font-weight: 600; outline: none; min-width: 0; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.hs-field input::placeholder { font-weight: 400; color: var(--faint); }
.hs-field select {
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6877' stroke-width='1.5'/%3E%3C/svg%3E") right 2px center / 10px no-repeat;
  padding-right: 1.25rem;
}
.hs-field:focus-within { box-shadow: inset 0 -2px 0 var(--gold); }
.hs-submit { height: auto; min-height: 46px; border-radius: calc(var(--radius) - 3px); }
.hs-submit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.hero-quick {
  margin-top: 0.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.38rem;
}
.quick-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-navy-muted); margin-right: 0.2rem;
}
.quick-chip {
  border: 1px solid rgba(245, 241, 232, 0.16);
  background: rgba(245, 241, 232, 0.05);
  color: var(--on-navy);
  padding: 0.26rem 0.65rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: all 180ms var(--ease);
}
.quick-chip:hover {
  background: rgba(245, 241, 232, 0.14);
  border-color: var(--gold-2);
  transform: translateY(-1px);
}
.quick-chip-gold {
  border-color: rgba(212, 173, 110, 0.45);
  color: var(--gold-3);
  background: rgba(184, 140, 74, 0.12);
}

.hero-plate {
  margin: 0; position: relative; justify-self: end; width: min(100%, 380px);
}
.plate-telemetry {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em;
  color: var(--on-navy-muted); margin-bottom: 0.35rem; padding: 0 0.5rem;
}
.plate-frame {
  position: relative; aspect-ratio: 4 / 4.2; overflow: hidden;
  border-radius: 190px 190px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.plate-frame::after {
  content: ""; position: absolute; inset: 8px; border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.42); pointer-events: none;
}
.plate-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 30, 0.1) 0%, transparent 45%, rgba(7, 17, 30, 0.55) 100%);
  pointer-events: none;
}
.hero-plate img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%;
  transform: scale(1.18); animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.26) translate(-2%, -1%); } }

.plate-chip {
  position: absolute; left: -1.5rem; bottom: 1.15rem;
  display: grid; gap: 2px; min-width: 230px;
  padding: 0.75rem 1rem; border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.95);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: var(--ink); box-shadow: var(--shadow-lg);
  cursor: pointer; border-left: 3px solid var(--gold);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.plate-chip:hover { transform: translateY(-3px); }
.chip-top { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.chip-k {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
}
.chip-price {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600; color: var(--ink);
}
.plate-chip strong {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.05;
}
.chip-meta { font-size: 0.74rem; color: var(--muted); }
.chip-cta {
  margin-top: 0.15rem; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-2);
}
.plate-chip:hover .chip-cta { color: var(--gold); }

.hero-stats {
  margin: clamp(1.5rem, 2.5vw, 2.25rem) 0 0; padding: 1rem 0 1.25rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--navy-line);
}
.hero-stats div { padding: 0 1.25rem; border-left: 1px solid var(--navy-line); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-2);
}
.hero-stats dd {
  margin: 0.2rem 0 0.1rem; font-family: var(--serif);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 500; line-height: 1; color: var(--on-navy);
}
.stat-note {
  display: block; font-size: 0.72rem; color: var(--on-navy-muted);
}
.stat-note b { color: var(--on-navy); font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: clamp(2.25rem, 4vw, 3.5rem) 0; }
.section-head { margin-bottom: clamp(1.25rem, 2vw, 1.75rem); max-width: 46rem; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); }
.section-head-split {
  max-width: none; display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0.75rem 2.5rem; align-items: end;
}
.section-sub { color: var(--muted); font-size: 0.94rem; max-width: 38rem; line-height: 1.5; }
.section-featured { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.section-market { padding-top: clamp(1.5rem, 2.5vw, 2.25rem); }
.section-sell { background: var(--paper); border-block: 1px solid var(--line); }
.section-atlas { background: var(--ivory-2); }

.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 750ms var(--ease), transform 750ms var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- naval silhouettes ---------- */
.yacht-svg { width: 100%; height: 100%; overflow: visible; }
.ys-hull { fill: var(--ys-hull); }
.ys-keel { fill: var(--ys-keel); }
.ys-sheer { stroke: var(--ys-sheer); stroke-width: 1.2; fill: none; }
.ys-platform { fill: var(--ys-platform); }
.ys-port { fill: var(--ys-port); }
.ys-sup { fill: var(--ys-sup); stroke: var(--ys-sup-stroke); stroke-width: 1.2; }
.ys-deck-line { stroke: var(--ys-deck-line); stroke-width: 1; fill: none; }
.ys-win { fill: var(--ys-win); }
.ys-mullion { stroke: var(--ys-mullion); stroke-width: 1.2; }
.ys-mast { fill: var(--ys-mast); }
.ys-dome { fill: var(--ys-dome); stroke: var(--ys-sup-stroke); stroke-width: 1; }
.ys-rail { stroke: var(--ys-rail); stroke-width: 1; stroke-dasharray: 4 3; fill: none; }
.ys-stripe { stroke: var(--ys-stripe); stroke-width: 2.6; fill: none; }
.ys-rig { stroke: var(--ys-hull); stroke-width: 3.2; fill: none; stroke-linecap: round; }
.ys-rig-thin { stroke: var(--ys-hull); stroke-width: 1.2; opacity: 0.55; fill: none; }
.ys-sail { fill: var(--ys-sail); stroke: rgba(10, 21, 34, 0.16); stroke-width: 1.2; }
.ys-jib { opacity: 0.9; }
.ys-water { fill: var(--ys-water); }
.ys-wake { stroke: var(--ys-wake); stroke-width: 1.2; stroke-dasharray: 12 8; fill: none; }
.ys-dim line { stroke: var(--gold); stroke-width: 1.2; opacity: 0.7; }

/* Architectural blueprint backdrop for yacht cards */
.atlas-art, .listing-art, .dlg-art, .feature-art {
  position: relative;
  background:
    radial-gradient(65% 55% at 75% 22%, rgba(235, 211, 167, 0.42), transparent 70%),
    linear-gradient(rgba(10, 21, 34, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 21, 34, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #f1efe9 0%, #e6ecef 63%, #cddce4 63.3%, #bdd0db 100%);
  background-size: 100% 100%, 32px 32px, 32px 32px, 100% 100%;
}
.listing-art, .atlas-art {
  aspect-ratio: 16 / 7.8; padding: 1.5rem 1.15rem 0;
  display: flex; align-items: flex-end; overflow: hidden;
}
.art-loa {
  position: absolute; bottom: 0.45rem; right: 0.75rem;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  color: var(--ink-2); opacity: 0.75; letter-spacing: 0.06em;
  pointer-events: none;
}

/* ---------- featured spotlight ---------- */
.spotlight-tabs {
  justify-self: end; display: inline-flex; gap: 0.25rem; flex-wrap: wrap;
  background: var(--paper); padding: 4px; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.spot-tab {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.4rem 0.85rem; border-radius: calc(var(--radius) - 3px);
  display: flex; align-items: baseline; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
  transition: all 200ms var(--ease);
}
.spot-tab small { font-family: var(--mono); font-size: 0.62rem; opacity: 0.75; }
.spot-tab.active {
  background: var(--navy); color: var(--on-navy);
  box-shadow: 0 4px 12px -2px rgba(7, 17, 30, 0.25);
}
.spot-tab.active small { color: var(--gold-2); opacity: 1; }

.feature {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.feature-art {
  min-height: 290px; padding: 2.75rem 2rem 0; display: flex; align-items: flex-end;
  cursor: pointer; overflow: hidden;
}
.feature-art:hover .yacht-svg { transform: translateX(8px) scale(1.01); }
.feature-art .yacht-svg { transition: transform 700ms var(--ease); }
.feature-art .badge { top: 1rem; left: 1.15rem; }
.feature-telemetry {
  position: absolute; top: 1rem; right: 1.15rem;
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.telemetry-pill {
  padding: 0.24rem 0.55rem; border-radius: 999px;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500; color: var(--ink-2);
}
.feature-body {
  padding: clamp(1.35rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.feature-body .meta {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
}
.feature-body h3 {
  font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1; font-weight: 500;
}
.feature-body .summary { color: var(--ink-2); font-size: 0.92rem; line-height: 1.5; }
.feature-highlights {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.hl-chip {
  padding: 0.22rem 0.55rem; border-radius: var(--radius-sm);
  background: var(--ivory); border: 1px solid var(--line);
  font-size: 0.68rem; font-weight: 600; color: var(--ink-2);
}
.feature-specs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0.15rem 0; border-block: 1px solid var(--line);
}
.feature-specs div { padding: 0.55rem 0; }
.feature-specs div + div { padding-left: 0.75rem; border-left: 1px solid var(--line); }
.feature-specs dt {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
}
.feature-specs dd {
  margin: 0.15rem 0 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.1;
}
.feature-foot {
  margin-top: auto; padding-top: 0.35rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.feature-price { display: grid; gap: 1px; }
.feature-price small {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
}
.feature-price strong {
  font-family: var(--serif); font-size: 1.85rem; font-weight: 600; line-height: 1;
}
.feature-est {
  font-family: var(--mono); font-size: 0.66rem; color: var(--emerald);
}
.feature-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ---------- marketplace ---------- */
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.filters label {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.6rem 0.9rem; min-width: 0; border-left: 1px solid var(--line);
  transition: background 180ms;
}
.filters label:first-child { border-left: 0; }
.filters label:hover { background: rgba(246, 243, 236, 0.45); }
.filters label > span {
  display: flex; justify-content: space-between; gap: 0.4rem;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.filters output { font-family: var(--mono); color: var(--gold); letter-spacing: 0.02em; }
.filters input[type="search"], .filters select {
  border: 0; background: transparent; padding: 0.15rem 0;
  font-size: 0.88rem; font-weight: 600; outline: none; width: 100%; min-width: 0;
  -webkit-appearance: none; appearance: none;
}
.filters input[type="search"]::placeholder { font-weight: 400; color: var(--faint); }
.filters select, .select-line {
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6877' stroke-width='1.5'/%3E%3C/svg%3E") right 2px center / 10px no-repeat;
  padding-right: 1.25rem;
}
.filters label:focus-within { box-shadow: inset 0 -2px 0 var(--gold); background: var(--paper); }
.f-range input { width: 100%; margin: 0.35rem 0 0; accent-color: var(--gold); cursor: pointer; }

.market-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  margin: 1rem 0 0.85rem;
}
.market-bar-left, .market-bar-right {
  display: flex; align-items: center; gap: 0.75rem;
}
.result-count { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.btn-reset-inline {
  border: 1px solid var(--line-2); background: var(--paper);
  padding: 0.24rem 0.65rem; border-radius: 999px; cursor: pointer;
  font-size: 0.68rem; font-weight: 600; color: var(--muted);
  transition: all 160ms;
}
.btn-reset-inline:hover { border-color: var(--ink); color: var(--ink); }

.check {
  display: inline-flex; align-items: center; gap: 0.45rem;
  cursor: pointer; font-size: 0.78rem; font-weight: 600; user-select: none;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color 180ms;
}
.check:hover { border-color: var(--line-2); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check svg {
  width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 1.6;
  transition: fill 160ms, stroke 160ms;
}
.check input:checked ~ svg { fill: var(--gold); stroke: var(--gold); }
.check b {
  display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem;
  margin-left: 0.1rem; padding: 0 0.32rem; border-radius: 999px;
  background: var(--navy); color: var(--on-navy); font-family: var(--mono); font-size: 0.66rem;
}

.view-switch {
  display: inline-flex; padding: 2px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid var(--line);
}
.view-btn {
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 0; border-radius: 4px; background: transparent; cursor: pointer; color: var(--muted);
  transition: all 160ms;
}
.view-btn svg { width: 14px; height: 14px; fill: currentColor; }
.view-btn.active { background: var(--navy); color: var(--on-navy); }

.market-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem;
}
.listing {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.listing:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 140, 74, 0.45);
}
.listing:hover .yacht-svg { transform: translateX(7px); }
.listing .yacht-svg, .atlas-card .yacht-svg { transition: transform 700ms var(--ease); }

.badge {
  position: absolute; top: 0.65rem; left: 0.75rem;
  padding: 0.22rem 0.5rem; border-radius: 4px;
  background: rgba(255, 253, 249, 0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink-2); border: 1px solid var(--line);
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.badge-own { background: var(--navy); color: var(--gold-3); border-color: transparent; }
.badge-val {
  position: absolute; bottom: 0.45rem; left: 0.75rem;
  padding: 0.16rem 0.45rem; border-radius: 4px;
  background: rgba(7, 17, 30, 0.78); color: var(--gold-3);
  font-family: var(--mono); font-size: 0.58rem; font-weight: 500;
}

.fav {
  position: absolute; top: 0.55rem; right: 0.55rem; z-index: 2;
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 253, 249, 0.92); cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms;
}
.fav svg { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.fav:hover { transform: scale(1.08); border-color: var(--gold); }
.fav.on svg { fill: var(--gold); stroke: var(--gold); }

.listing-body {
  padding: 0.95rem 1.15rem 1.05rem;
  display: flex; flex-direction: column; gap: 0.25rem; flex: 1;
}
.listing-kicker {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.listing-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem;
}
.listing h3 {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.05;
}
.loc {
  display: flex; align-items: center; gap: 0.3rem;
  color: var(--muted); font-size: 0.78rem; margin-top: 0.05rem;
}
.loc svg { width: 12px; height: 12px; fill: var(--gold); flex: none; }

.facts {
  list-style: none; margin: 0.55rem 0 0; padding: 0.55rem 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.facts li {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted);
}
.facts li + li { padding-left: 0.55rem; border-left: 1px solid var(--line); }
.facts b {
  display: block; font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: -0.02em; text-transform: none; color: var(--ink); font-weight: 500;
  margin-bottom: 1px;
}
.listing-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem;
  margin-top: auto; padding-top: 0.6rem;
}
.price {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1; color: var(--ink);
}
.more {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); transition: color 180ms, transform 180ms;
}
.listing:hover .more { color: var(--gold); transform: translateX(2px); }

/* Ledger / Table view for Marketplace */
.market-grid.is-ledger {
  grid-template-columns: 1fr; gap: 0.65rem;
}
.market-grid.is-ledger .listing {
  flex-direction: row; align-items: center; padding: 0.6rem 1.25rem 0.6rem 0.6rem;
}
.market-grid.is-ledger .listing-art {
  width: 220px; aspect-ratio: 16 / 9; flex: none;
  border-radius: var(--radius-sm); padding: 1.2rem 0.8rem 0;
}
.market-grid.is-ledger .badge,
.market-grid.is-ledger .badge-val,
.market-grid.is-ledger .art-loa { display: none; }
.market-grid.is-ledger .listing-body {
  flex-direction: row; align-items: center; justify-content: space-between;
  padding: 0 0 0 1.5rem; gap: 1.5rem;
}
.market-grid.is-ledger .facts {
  margin: 0; border: 0; padding: 0; min-width: 310px;
}
.market-grid.is-ledger .listing-foot {
  margin: 0; padding: 0; flex-direction: column; align-items: flex-end; gap: 0.25rem; min-width: 140px;
}

.empty {
  grid-column: 1 / -1; text-align: center; padding: 2.5rem 1.25rem;
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  display: grid; gap: 0.5rem; justify-items: center; background: var(--paper);
}
.empty h3 { font-family: var(--serif); font-size: 1.6rem; }

/* ---------- sell & valuation studio ---------- */
.preset-bar {
  margin-top: 0.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
}
.preset-bar span {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.preset-chip {
  border: 1px solid var(--line-2); background: var(--ivory);
  padding: 0.24rem 0.6rem; border-radius: 999px; cursor: pointer;
  font-size: 0.7rem; font-weight: 600; color: var(--ink-2);
  transition: all 180ms;
}
.preset-chip:hover { border-color: var(--gold); color: var(--gold); background: var(--paper); }

.sell {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start;
}
.sell-form { display: grid; gap: 1.35rem; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
legend {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0 0 0.5rem; margin-bottom: 0.15rem; width: 100%;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
}
legend span {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--gold);
  padding: 0.15rem 0.45rem; border-radius: 4px; background: var(--gold-soft);
}
.row2, .row3 { display: grid; gap: 0.75rem; }
.row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sell-form label, .contact-form label, .enquiry label {
  display: grid; gap: 0.3rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
}
.sell-form input, .sell-form select, .sell-form textarea,
.enquiry input, .enquiry textarea {
  width: 100%; min-width: 0; padding: 0.58rem 0.75rem;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink);
  transition: border-color 160ms, background 160ms, box-shadow 160ms;
}
.sell-form select {
  -webkit-appearance: none; appearance: none;
  background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6877' stroke-width='1.5'/%3E%3C/svg%3E") right 0.75rem center / 10px no-repeat;
}
.sell-form input:focus, .sell-form select:focus, .sell-form textarea:focus,
.enquiry input:focus, .enquiry textarea:focus {
  outline: none; border-color: var(--gold); background: var(--paper);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
textarea { resize: vertical; }
.price-row { align-items: end; }
.price-row .btn { height: 40px; }
.sell-submit { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }

.sticky { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 0.75rem; }
.side-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2);
}
.side-label-ink { color: var(--muted); margin-top: 0.35rem; }
.valuation {
  background: var(--navy); color: var(--on-navy);
  border-radius: var(--radius-lg); padding: 1.35rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(245, 241, 232, 0.1);
  background-image:
    radial-gradient(80% 60% at 100% 0%, rgba(45, 95, 124, 0.45), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(184, 140, 74, 0.14), transparent 70%);
}
.val-header {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem;
}
.val-badge {
  padding: 0.18rem 0.5rem; border-radius: 999px;
  background: rgba(212, 173, 110, 0.16); color: var(--gold-3);
  font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
}
.val-mid {
  font-family: var(--serif); font-size: clamp(2.1rem, 3.2vw, 2.75rem); font-weight: 600; line-height: 1;
}
.val-range { margin-top: 0.3rem; color: var(--on-navy-muted); font-size: 0.82rem; }
.val-range span { color: var(--on-navy); font-family: var(--mono); font-weight: 500; }
.val-meter { --pos: 50%; margin: 0.9rem 0 0.65rem; }
.val-bar {
  position: relative; height: 5px; border-radius: 999px;
  background: linear-gradient(90deg, #569e87 0%, var(--gold-2) 50%, #c96d53 100%);
}
.val-bar i {
  position: absolute; top: 50%; left: var(--pos); width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--on-navy);
  box-shadow: 0 0 0 4px rgba(245, 241, 232, 0.22);
  opacity: 0; transition: left 400ms var(--ease), opacity 300ms;
}
.val-meter.has-price .val-bar i { opacity: 1; }
.val-scale {
  display: flex; justify-content: space-between; margin-top: 0.45rem;
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--on-navy-muted);
}
.val-verdict { font-weight: 600; font-size: 0.84rem; margin-bottom: 0.65rem; color: var(--gold-3); }

.val-factors {
  margin: 0.65rem 0; padding: 0.55rem 0;
  border-block: 1px solid var(--navy-line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem;
}
.val-factors dt {
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--on-navy-muted);
}
.val-factors dd {
  margin: 0.15rem 0 0; font-family: var(--mono); font-size: 0.76rem; color: var(--on-navy);
}
.valuation .fineprint { color: var(--on-navy-muted); }
.sell-preview .listing { cursor: default; pointer-events: none; }

/* ---------- brokerage & advisory ---------- */
.process {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
}
.process li {
  position: relative; padding: 1.2rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), border-color 260ms;
}
.process li:hover { transform: translateY(-3px); border-color: var(--gold); }
.step-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.55rem;
}
.step {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; font-weight: 600; color: var(--gold);
}
.step-tag {
  font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.11em;
  padding: 0.16rem 0.45rem; border-radius: 999px; background: var(--ivory); color: var(--muted);
}
.process h3 {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin: 0 0 0.35rem;
}
.process p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }

.pillars {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--navy); color: var(--on-navy);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pillars div { padding: 1.35rem 1.35rem; border-left: 1px solid var(--navy-line); }
.pillars div:first-child { border-left: 0; }
.pillar-num {
  display: inline-block; font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--gold-2); margin-bottom: 0.3rem;
}
.pillars h3 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-navy); margin-bottom: 0.45rem;
}
.pillars p { color: var(--on-navy-muted); font-size: 0.84rem; line-height: 1.5; }

/* ---------- superyacht atlas ---------- */
.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.seg {
  display: inline-flex; gap: 0.2rem; padding: 3px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper);
}
.seg button {
  border: 0; background: transparent; padding: 0.4rem 0.9rem; border-radius: 999px; cursor: pointer;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted);
  transition: background 180ms, color 180ms;
}
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); }

.atlas-controls { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.atlas-search {
  border: 1px solid var(--line-2); background: var(--paper);
  padding: 0.4rem 0.85rem; border-radius: 999px;
  font-size: 0.82rem; min-width: 210px; outline: none;
  transition: border-color 180ms;
}
.atlas-search:focus { border-color: var(--gold); }
.select-line {
  border: 0; border-bottom: 1px solid var(--line-2); background-color: transparent;
  padding: 0.35rem 1.35rem 0.35rem 0; font-weight: 600; font-size: 0.84rem;
  -webkit-appearance: none; appearance: none;
}

.atlas-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.atlas-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms;
}
.atlas-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(184, 140, 74, 0.45);
}
.atlas-card:hover .yacht-svg { transform: translateX(6px); }
.atlas-art { aspect-ratio: 16 / 7.8; padding: 1.35rem 1rem 0; }
.rank {
  position: absolute; top: 0.55rem; left: 0.75rem;
  font-family: var(--mono); font-size: 0.66rem; font-weight: 500;
  color: var(--gold); background: rgba(255, 253, 249, 0.9);
  padding: 0.14rem 0.42rem; border-radius: 4px; border: 1px solid var(--line);
}
.tag {
  position: absolute; top: 0.65rem; right: 0.75rem;
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.atlas-body { padding: 0.85rem 1.05rem 0.95rem; }
.atlas-body h3 {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.05;
}
.atlas-body .muted { font-size: 0.78rem; margin-top: 0.1rem; }
.atlas-specs-mini {
  margin-top: 0.45rem; padding-top: 0.45rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.68rem; color: var(--muted);
}
.atlas-foot {
  display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.4rem;
}
.atlas-len { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1; }
.atlas-len small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.atlas-ft { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.len-bar { margin-top: 0.4rem; height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; }
.len-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

/* ---------- to scale (dark) ---------- */
.section-dark { background: var(--navy); color: var(--on-navy); }
.section-dark .section-sub { color: var(--on-navy-muted); }
.section-dark h2 em { color: var(--gold-2); }

.ref-toggles {
  margin-top: 0.65rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
}
.ref-label {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--on-navy-muted); margin-right: 0.2rem;
}
.ref-btn {
  border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.04);
  color: var(--on-navy-muted); padding: 0.28rem 0.65rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; cursor: pointer; transition: all 180ms;
}
.ref-btn.active, .ref-btn:hover {
  border-color: var(--gold-2); color: var(--on-navy); background: rgba(184, 140, 74, 0.16);
}

.scale {
  --step: 10%;
  border: 1px solid var(--navy-line); border-radius: var(--radius-lg); padding: 1rem 1.35rem;
  background: var(--navy-2); box-shadow: var(--shadow-lg);
}
.scale-row {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: end;
  gap: 1rem; padding: 6px 6px; border-bottom: 1px solid var(--navy-line);
  border-radius: var(--radius-sm); transition: background 180ms;
}
.scale-row[data-yacht] { cursor: pointer; }
.scale-row[data-yacht]:hover { background: rgba(255, 255, 255, 0.04); }
.scale-row:last-child { border-bottom: 0; }
.scale-label { display: flex; flex-direction: column; gap: 1px; padding-bottom: 2px; }
.scale-label strong {
  font-family: var(--serif); font-size: 1.18rem; font-weight: 500; line-height: 1.1; transition: color 160ms;
}
.scale-label span { font-family: var(--mono); font-size: 0.66rem; color: var(--on-navy-muted); }
.scale-track {
  position: relative; min-height: 28px; display: flex; align-items: flex-end;
  background-image: repeating-linear-gradient(90deg, var(--navy-line) 0 1px, transparent 1px var(--step));
}
.scale-art { min-width: 24px; position: relative; transition: transform 300ms var(--ease); }
.scale-row[data-yacht]:hover .scale-art { transform: translateX(6px); }
.scale-row:not(.scale-axis):hover .scale-label strong { color: var(--gold-2); }
.scale-axis { padding: 0 8px 8px; }
.scale-axis .scale-track {
  height: 20px; min-height: 0; background: none;
  border-bottom: 1px solid rgba(245, 241, 232, 0.2);
}
.scale-axis .scale-track span {
  position: absolute; bottom: 4px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 0.66rem; color: var(--on-navy-muted);
}
.scale-axis .scale-track span:first-child { transform: none; }

.section-dark .yacht-svg {
  --ys-hull: #f5f1e8;
  --ys-keel: transparent;
  --ys-sheer: rgba(11, 26, 43, 0.35);
  --ys-platform: #d4ad6e;
  --ys-port: #0b1a2b;
  --ys-sup: rgba(245, 241, 232, 0.68);
  --ys-sup-stroke: transparent;
  --ys-deck-line: transparent;
  --ys-win: #07111e;
  --ys-mullion: rgba(245, 241, 232, 0.4);
  --ys-mast: #f5f1e8;
  --ys-dome: #d4ad6e;
  --ys-sail: rgba(245, 241, 232, 0.88);
  --ys-water: transparent;
  --ys-wake: transparent;
  --ys-stripe: var(--gold-2);
}
.section-dark .ys-rig, .section-dark .ys-rig-thin { stroke: #f5f1e8; }
.section-dark .ys-sail { stroke: transparent; }

.pitch {
  height: 26px; border: 1.5px solid #8fbf9c; border-radius: 3px;
  position: relative; background: rgba(143, 191, 156, 0.14); margin-bottom: 2px;
}
.pitch span {
  position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px solid #8fbf9c;
}
.pitch span::after {
  content: ""; position: absolute; left: -8.5px; top: 50%;
  width: 16px; height: 16px; margin-top: -8px;
  border: 1.5px solid #8fbf9c; border-radius: 50%;
}
.is-ref .scale-label strong { color: #a9d4b4; }

/* ---------- contact ---------- */
.section-contact { background: var(--ivory); }
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem); align-items: center;
}
.contact-copy h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); margin-bottom: 0.75rem; }
.contact-points {
  list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.45rem; font-size: 0.92rem;
}
.contact-points li { display: flex; align-items: center; gap: 0.65rem; font-weight: 500; }
.contact-points li::before {
  content: ""; width: 14px; height: 1.5px; background: var(--gold); flex: none;
}
.desk-direct {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.desk-direct span {
  display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.15rem;
}
.desk-direct strong { font-size: 0.85rem; font-weight: 600; color: var(--ink); }

.contact-form {
  display: grid; gap: 0.85rem;
  background: var(--navy); color: var(--on-navy);
  padding: clamp(1.35rem, 2.5vw, 1.85rem); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(245, 241, 232, 0.1);
  background-image: radial-gradient(70% 60% at 100% 0%, rgba(45, 95, 124, 0.4), transparent 70%);
}
.form-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 0.55rem; border-bottom: 1px solid var(--navy-line);
}
.form-head h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.form-head span {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.18rem 0.5rem; border-radius: 999px;
  background: rgba(212, 173, 110, 0.16); color: var(--gold-3);
}
.contact-form label { color: var(--on-navy-muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-width: 0; padding: 0.5rem 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(245, 241, 232, 0.22); border-radius: 0;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--on-navy);
  -webkit-appearance: none; appearance: none;
  transition: border-color 180ms;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: rgba(150, 165, 181, 0.55); font-weight: 400;
}
.contact-form select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2396a5b5' stroke-width='1.5'/%3E%3C/svg%3E") right 2px center / 10px no-repeat;
  cursor: pointer;
}
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold-2);
}
.contact-form .btn { justify-self: start; margin-top: 0.25rem; }
.form-note { font-size: 0.84rem; color: var(--gold-3); min-height: 1.1em; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 2.5rem 0 1.5rem; border-top: 1px solid var(--navy-line); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--navy-line);
}
.footer-tag {
  margin-top: 0.55rem; color: var(--on-navy-muted);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
}
.footer-coords {
  margin-top: 0.55rem; font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.14em; color: var(--gold-2); opacity: 0.85;
}
.footer-h {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 0.65rem;
}
.site-footer nav { display: grid; gap: 0.38rem; align-content: start; }
.site-footer nav a {
  text-decoration: none; color: var(--on-navy-muted); font-size: 0.86rem; transition: color 160ms;
}
.site-footer nav a:hover { color: var(--on-navy); }
.footer-fine p:not(.footer-h) { color: var(--on-navy-muted); font-size: 0.8rem; line-height: 1.5; }
.footer-base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.1rem; font-size: 0.78rem; color: var(--on-navy-muted);
}
.footer-base a { text-decoration: none; color: var(--gold-3); }
.footer-base a:hover { color: #fff; }

/* ---------- vessel dossier dialog ---------- */
.dlg {
  --dp: clamp(1.25rem, 2.5vw, 1.85rem);
  width: min(780px, 100% - 32px); max-height: min(880px, 92dvh);
  padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dlg[open] { display: flex; flex-direction: column; animation: pop 280ms var(--ease); }
.dlg::backdrop {
  background: rgba(5, 12, 22, 0.68);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fade 280ms ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@keyframes fade { from { opacity: 0; } }
.dlg-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--dp) var(--dp); }
.dlg-close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 253, 249, 0.92); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform 180ms;
}
.dlg-close:hover { transform: scale(1.06); }
.dlg-close svg { width: 15px; height: 15px; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.dlg-art {
  margin: 0 calc(-1 * var(--dp)) 1.15rem; padding: 2.5rem 1.75rem 0;
  height: 200px; display: flex; align-items: flex-end;
}
.dlg .kicker, .dlg .eyebrow {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.35rem;
}
.dlg h2 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 0.85rem;
}
.dlg-price { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; color: var(--gold); font-style: normal; }
.lead { margin-top: 0.55rem; font-size: 0.94rem; color: var(--ink-2); line-height: 1.5; }

.specs {
  margin: 1rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.specs div { padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--line); }
.specs dt {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
}
.specs dd { margin: 0.12rem 0 0; font-family: var(--mono); font-size: 0.82rem; font-weight: 500; }

.dlg-economics {
  margin: 0.85rem 0; padding: 0.85rem 1.15rem;
  border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem;
}
.dlg-economics dt {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
}
.dlg-economics dd {
  margin: 0.15rem 0 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink);
}

.enquiry {
  display: grid; gap: 0.75rem; margin-top: 1rem; padding: 1.15rem;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
}
.enquiry h3 { font-family: var(--serif); font-size: 1.45rem; }
.enquiry .btn { justify-self: start; }
.enquiry .form-note { color: var(--ink-2); }
.dlg-actions { margin-top: 0.75rem; display: flex; gap: 0.65rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, 160%); transition: transform 360ms var(--ease);
  background: var(--navy); color: var(--on-navy); padding: 0.9rem 1.35rem;
  border-radius: var(--radius-sm); border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-lg); font-size: 0.9rem; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters label:nth-child(4) { border-left: 0; }
  .filters label:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .atlas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: 1.35rem; }
}

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-plate { justify-self: start; width: min(100%, 480px); }
  .plate-frame { aspect-ratio: 16 / 9.5; border-radius: var(--radius-lg); }
  .hero-plate img { object-position: 50% 62%; transform: scale(1.08); }
  .plate-chip { left: 0.85rem; bottom: 0.85rem; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; }
  .feature-art { min-height: 230px; }
  .spotlight-tabs { justify-self: start; }
  .sell { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars div:nth-child(3) { border-left: 0; }
  .pillars div:nth-child(n + 3) { border-top: 1px solid var(--navy-line); }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .market-grid.is-ledger .listing { flex-direction: column; align-items: stretch; padding: 0; }
  .market-grid.is-ledger .listing-art { width: 100%; }
  .market-grid.is-ledger .listing-body { flex-direction: column; align-items: stretch; padding: 1rem; }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 38px; height: 38px;
    border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; opacity: 0.85;
  }
  .nav-toggle span {
    display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 260ms var(--ease);
  }
  .nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.4rem 24px 1rem;
    background: var(--ivory); color: var(--ink);
    box-shadow: 0 30px 50px -20px rgba(7, 17, 30, 0.3);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s 220ms;
  }
  .nav-open .nav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); opacity: 1; font-size: 0.8rem; }
  .nav-links a::after { display: none; }
  .nav-mobile-cta { display: block; color: var(--gold); border-bottom: 0 !important; }
  .nav-cta { display: none; }
  .site-header.nav-open { background: var(--ivory); color: var(--ink); }
  .section-head-split { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 720px) {
  :root { --header-h: 56px; }
  .wrap { width: calc(100% - 28px); }
  .nav-links { padding-inline: 14px; }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.9rem); }
  .hero-sub { font-size: 0.9rem; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hs-q { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .hs-field:nth-child(2) { border-right: 1px solid var(--line); }
  .hs-submit { grid-column: 1 / -1; margin-top: 4px; min-height: 42px; }
  .plate-chip { min-width: 0; right: 0.85rem; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label { border-left: 0; border-top: 1px solid var(--line); }
  .filters label:nth-child(even) { border-left: 1px solid var(--line); }
  .filters .f-search { grid-column: 1 / -1; border-top: 0; }
  .filters .f-search ~ label:nth-child(even) { border-left: 0; }
  .filters .f-search ~ label:nth-child(odd) { border-left: 1px solid var(--line); }
  .market-grid, .atlas-grid { grid-template-columns: 1fr; }
  .feature-art { min-height: 190px; padding: 2.5rem 1rem 0; }
  .feature-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-specs div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .feature-specs div:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-actions, .feature-actions .btn { width: 100%; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .process, .pillars { grid-template-columns: 1fr; }
  .pillars div { border-left: 0 !important; }
  .pillars div + div { border-top: 1px solid var(--navy-line); }
  .scale { padding: 0.85rem; }
  .scale-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .scale-axis .scale-label { display: none; }
  .scale-label { flex-direction: row; gap: 0.5rem; align-items: baseline; padding-bottom: 0; }
  .scale-label strong { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .dlg { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .dlg-art { height: 165px; padding: 2.25rem 1rem 0; }
  .specs, .dlg-economics { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
