/* ═══════════════════════════════════════════════════════════════
   WEST COAST WHOLESALE — Minimal editorial luxury
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Light theme (default) */
  --bg:          oklch(97% 0.008 75);
  --bg-2:        oklch(94% 0.012 75);
  --bg-panel:    oklch(99% 0.006 75);
  --ink:         oklch(18% 0.01 60);
  --ink-2:       oklch(32% 0.01 60);
  --ink-3:       oklch(52% 0.008 60);
  --ink-4:       oklch(70% 0.006 60);
  --hairline:    oklch(82% 0.008 60);
  --hairline-2:  oklch(88% 0.008 60);

  /* Accent — ember (generic) */
  --accent:      oklch(46% 0.12 40);
  --accent-soft: oklch(46% 0.12 40 / 0.08);
  --accent-ink:  oklch(96% 0.02 40);

  /* Section-coded accents */
  --wholesale:      oklch(45% 0.14 150);
  --wholesale-soft: oklch(45% 0.14 150 / 0.10);
  --inventory:      oklch(58% 0.17 48);
  --inventory-soft: oklch(58% 0.17 48 / 0.10);
  --sold:           oklch(52% 0.19 25);
  --sold-soft:      oklch(52% 0.19 25 / 0.10);

  /* Status */
  --green: oklch(48% 0.14 150);
  --amber: oklch(62% 0.16 60);
  --red:   oklch(52% 0.19 25);
  --violet:oklch(56% 0.14 280);

  /* Black Sapphire metallic gradient — deep blue-black with cool sheen */
  --sapphire-1: oklch(14% 0.025 255);
  --sapphire-2: oklch(26% 0.06 250);
  --sapphire-3: oklch(48% 0.10 245);
  --sapphire-4: oklch(78% 0.06 235);

  /* Type */
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-sans:  'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --gutter: clamp(20px, 4vw, 64px);
  --sec-y:  clamp(64px, 8vw, 112px);

  --radius: 2px;
}

[data-theme="dark"] {
  --bg:          oklch(14% 0.012 60);
  --bg-2:        oklch(18% 0.012 60);
  --bg-panel:    oklch(11% 0.01 60);
  --ink:         oklch(96% 0.008 75);
  --ink-2:       oklch(82% 0.008 60);
  --ink-3:       oklch(62% 0.008 60);
  --ink-4:       oklch(42% 0.008 60);
  --hairline:    oklch(28% 0.01 60);
  --hairline-2:  oklch(22% 0.01 60);
  --accent-soft: oklch(60% 0.15 40 / 0.15);
}
[data-theme="dark"][data-accent="ember"]  { --accent: oklch(65% 0.15 40); }
[data-theme="dark"][data-accent="slate"]  { --accent: oklch(70% 0.08 240); }
[data-theme="dark"][data-accent="forest"] { --accent: oklch(68% 0.11 150); }
[data-theme="dark"][data-accent="ink"]    { --accent: oklch(90% 0.008 60); }

[data-accent="slate"]  { --accent: oklch(40% 0.07 240); --accent-soft: oklch(40% 0.07 240 / 0.08); }
[data-accent="forest"] { --accent: oklch(38% 0.09 150); --accent-soft: oklch(38% 0.09 150 / 0.08); }
[data-accent="ink"]    { --accent: oklch(22% 0.01 60);  --accent-soft: oklch(22% 0.01 60 / 0.08); }

[data-density="compact"] { --sec-y: clamp(48px, 6vw, 80px); }

/* ── Reset ──────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
@media (pointer: fine) { body { cursor: none; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; color: inherit; }
select, input, textarea { font-family: inherit; color: inherit; }

/* ── Cursor ─────────────────────────────────────────────────── */
.cur, .cur-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); will-change: transform;
}
.cur {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink);
  transition: width .15s, height .15s, background .15s;
}
.cur-ring {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--ink-4);
  transition: width .2s, height .2s, border-color .2s, background .2s;
}
.cur-ring.hov { width: 52px; height: 52px; border-color: var(--accent); background: var(--accent-soft); }
@media (pointer: coarse), (max-width: 900px) { .cur, .cur-ring { display: none !important; } }
/* Touch: show card actions on active press */
@media (pointer: coarse) {
  .ws-card:active .gal-ctrl, .inv-card:active .gal-ctrl { opacity: 1; }
  .ws-card .ws-action, .inv-card .inv-action { opacity: 1; }
  .ws-card { -webkit-tap-highlight-color: transparent; }
  .inv-card { -webkit-tap-highlight-color: transparent; }
}

/* ── Progress ───────────────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 1px; width: 0;
  background: var(--accent); z-index: 500; transition: width .1s;
}

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--gutter);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav > .brand { justify-self: start; }
.nav > .nav-links { justify-self: center; }
.nav > .nav-right { justify-self: end; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { display: inline-flex; width: 30px; height: 30px; border: 1px solid var(--hairline); align-items: center; justify-content: center; color: var(--ink-2); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--f-serif); font-size: 1.6rem; letter-spacing: -0.01em; }
.brand-name .bold-w { font-weight: 700; font-style: normal; }
.brand-sub { font-size: .66rem; color: var(--ink-3); letter-spacing: .04em; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: .82rem; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.nav-phone:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 18px; background: var(--ink); color: var(--bg);
  font-size: .78rem; letter-spacing: .01em; font-weight: 500;
  border-radius: var(--radius); transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

.ham { display: none; width: 28px; height: 22px; flex-direction: column; justify-content: center; gap: 5px; }
.ham span { display: block; height: 1.5px; background: var(--ink); width: 22px; transition: transform .25s, opacity .25s; }
.ham.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.ham.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-links, .nav-phone { display: none; }
  .ham { display: flex; }
  /* Hero stats wrap on mobile */
  .hero-stats { flex-wrap: wrap; gap: 20px 32px; }
  .hero-stats .stat { min-width: 100px; }
  .nav.menu-open + .hero::before { content: ''; }
  .nav.menu-open ~ .mobile-menu { display: flex; }
}
.mobile-menu {
  display: none;
  position: fixed; top: 62px; left: 0; right: 0; z-index: 99;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  padding: 8px var(--gutter) 20px;
}
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--hairline-2); font-size: 1rem; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(48px, 8vw, 112px);
}
.hero-inner { max-width: 880px; }


.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 28px;
}
.hero .eyebrow { margin-top: 8px; margin-bottom: 10px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); display: inline-block; }
.eyebrow-dot--live { background: var(--green); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: .98; letter-spacing: -0.02em;
  font-weight: 400; color: var(--ink);
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-lede {
  font-size: 1.05rem; line-height: 1.6; color: var(--ink-2);
  max-width: 48ch; margin-bottom: 22px; text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; font-size: .86rem; font-weight: 500;
  border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--hairline); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-wide { width: 100%; justify-content: center; padding: 14px; }
.btn-wa { background: oklch(62% 0.16 145); color: white; }
.btn-wa:hover { background: oklch(56% 0.16 145); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  padding-top: 16px; gap: 16px;
}
.hero-stats dt { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.hero-stats dd { font-family: var(--f-serif); font-size: 1.8rem; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }

.hero-feature {
  display: flex; flex-direction: column;
  border: 1px solid var(--hairline);
  background: var(--bg-panel);
}
.hero-img {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background: var(--bg-2);
}
.placeholder-img {
  background-image:
    repeating-linear-gradient(
      135deg,
      var(--bg-2) 0 14px,
      color-mix(in oklab, var(--bg-2) 70%, var(--ink-3) 30%) 14px 15px
    );
  display: flex; align-items: flex-end; padding: 16px;
}
.ph-label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .62rem; letter-spacing: .06em;
  color: var(--ink-3);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  padding: 5px 9px; border: 1px solid var(--hairline);
}
.hero-feature-meta { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.hff-tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hff-title { font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.hff-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-3); }
.hff-row span { position: relative; padding-right: 16px; }
.hff-row span::after { content: ''; position: absolute; right: 0; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); transform: translateY(-50%); }
.hff-row span:last-child { padding-right: 0; }
.hff-row span:last-child::after { display: none; }
.hff-price { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--hairline-2); }
.hff-was { font-size: .86rem; color: var(--ink-4); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.hff-now { font-family: var(--f-serif); font-size: 1.6rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.hff-link { margin-top: 8px; font-size: .86rem; color: var(--accent); font-weight: 500; align-self: flex-start; }
.hff-link:hover { color: var(--ink); }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── Brand strip ────────────────────────────────────────────── */
.brand-strip {
  border-block: 1px solid var(--hairline);
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-panel);
}
.brand-strip-track {
  display: flex; align-items: center; gap: 28px;
  white-space: nowrap; width: max-content;
  animation: bs 50s linear infinite;
  font-family: var(--f-serif);
  font-size: 1.3rem; color: var(--ink-3);
}
.brand-strip-track:hover { animation-play-state: paused; }
.bs-dot { color: var(--ink-4); font-size: 1.5rem; }
@keyframes bs { to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: var(--sec-y) var(--gutter);
  position: relative;
}
.section--panel { background: var(--bg-panel); border-block: 1px solid var(--hairline); }
.section--contact { background: var(--bg-panel); border-top: 1px solid var(--hairline); }

.section-head {
  display: flex; flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid var(--hairline);
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.section-title {
  font-family: var(--f-serif);
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--ink); font-weight: 400;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-note {
  font-size: .95rem; line-height: 1.6; color: var(--ink-3);
  max-width: 52ch; text-wrap: pretty;
}
@media (max-width: 900px) {
  .section-head { gap: 8px; }
}

.rule { height: 1px; background: var(--hairline); margin: 0 var(--gutter); }

/* ── Wholesale grid ─────────────────────────────────────────── */
.ws-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}
.ws-card {
  grid-column: span 4;
  display: flex; flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  transition: border-color .25s, transform .25s;
  position: relative;
}
.ws-card:first-child { grid-column: span 8; grid-row: span 2; }
.ws-card:first-child .ws-img { aspect-ratio: 16/10; }
.ws-card:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.ws-img {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--bg-2);
}
.ws-img.placeholder-img { display: flex; align-items: flex-end; }

.status-chip {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; background: var(--bg);
  border: 1px solid var(--hairline); color: var(--ink-2);
  font-weight: 500;
}
.status-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.status-chip.available::before { background: var(--green); }
.status-chip.pending::before   { background: var(--amber); }
.status-chip.reserved::before  { background: var(--violet); }
.status-chip.sold::before      { background: var(--red); }

.gal-ctrl {
  position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 0 10px; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.ws-card:hover .gal-ctrl, .inv-card:hover .gal-ctrl { opacity: 1; pointer-events: auto; }
.gal-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  border: 1px solid var(--hairline); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; backdrop-filter: blur(4px);
}
.gal-btn:hover { background: var(--bg); }
.gal-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.gal-dot { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in oklab, var(--bg) 60%, transparent); border: 1px solid var(--hairline); }
.gal-dot.on { background: var(--accent); border-color: var(--accent); }

.ws-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ws-meta { display: flex; gap: 14px; font-size: .74rem; color: var(--ink-3); margin-bottom: 10px; letter-spacing: .02em; }
.ws-meta span { position: relative; padding-right: 14px; }
.ws-meta span::after { content: ''; position: absolute; right: 0; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); transform: translateY(-50%); }
.ws-meta span:last-child { padding-right: 0; }
.ws-meta span:last-child::after { display: none; }
.ws-name {
  font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.1;
  color: var(--ink); margin-bottom: 8px;
}
.ws-card:first-child .ws-name { font-size: 2rem; }
.ws-colors {
  font-size: .76rem; color: var(--ink-3); margin-bottom: 14px;
}
.ws-desc { font-size: .86rem; line-height: 1.65; color: var(--ink-2); flex: 1; margin-bottom: 20px; }

.ws-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid var(--hairline-2);
  gap: 14px; flex-wrap: wrap;
}
.price-block { display: flex; flex-direction: column; gap: 2px; }
.price-was { font-size: .78rem; color: var(--ink-4); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price-now { font-family: var(--f-serif); font-size: 1.65rem; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.ws-card:first-child .price-now { font-size: 2rem; }
.price-save { font-size: .68rem; color: var(--green); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.ws-buttons { display: flex; gap: 8px; }
.btn-inq { padding: 9px 16px; border: 1px solid var(--hairline); color: var(--ink-2); font-size: .76rem; }
.btn-inq:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa-sm { padding: 9px 14px; background: oklch(62% 0.16 145); color: white; font-size: .76rem; display: inline-flex; align-items: center; gap: 5px; }
.btn-wa-sm:hover { background: oklch(56% 0.16 145); }

@media (max-width: 1100px) {
  .ws-card, .ws-card:first-child { grid-column: span 6; grid-row: auto; }
  .ws-card:first-child .ws-img { aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .ws-grid { gap: 18px; }
  .ws-card, .ws-card:first-child { grid-column: span 12; }
}

/* ── Inventory ──────────────────────────────────────────────── */
.inv-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
  padding-bottom: 16px; border-bottom: 1px solid var(--hairline-2);
}
.inv-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 14px; border: 1px solid var(--hairline);
  font-size: .78rem; color: var(--ink-2);
  border-radius: 100px; transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip--on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-count { font-size: .68rem; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.chip--on .chip-count { color: color-mix(in oklab, var(--bg) 60%, var(--ink)); }

.inv-sort { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--ink-3); }
.inv-sort select {
  padding: 7px 10px; border: 1px solid var(--hairline);
  background: var(--bg-panel); font-size: .82rem;
  border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
}

.inv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.inv-card {
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  overflow: hidden; position: relative;
  transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.inv-card:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.inv-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); }
.inv-img.placeholder-img { display: flex; align-items: flex-end; }
.inv-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.inv-meta { display: flex; gap: 12px; font-size: .7rem; color: var(--ink-3); margin-bottom: 6px; }
.inv-meta span { position: relative; padding-right: 12px; }
.inv-meta span::after { content: ''; position: absolute; right: 0; top: 50%; width: 2.5px; height: 2.5px; border-radius: 50%; background: var(--ink-4); transform: translateY(-50%); }
.inv-meta span:last-child { padding-right: 0; }
.inv-meta span:last-child::after { display: none; }
.inv-name { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.15; color: var(--ink); margin-bottom: 4px; }
.inv-colors { font-size: .72rem; color: var(--ink-3); margin-bottom: 14px; }
.inv-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hairline-2);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.inv-price { font-family: var(--f-serif); font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.inv-price-was { font-size: .7rem; color: var(--ink-4); text-decoration: line-through; display: block; margin-bottom: 2px; }
.inv-cta { font-size: .72rem; color: var(--ink-3); transition: color .2s; display: inline-flex; align-items: center; gap: 4px; }
.inv-card:hover .inv-cta { color: var(--accent); }

[data-cards="gallery"] .inv-card .inv-body { padding: 12px 14px 14px; }
[data-cards="gallery"] .inv-name { font-family: var(--f-sans); font-size: .95rem; font-weight: 500; }
[data-cards="gallery"] .inv-foot { border-top: none; padding-top: 6px; }

@media (max-width: 1200px) { .inv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .inv-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 520px)  { .inv-grid { grid-template-columns: 1fr; } }

/* ── Finance ────────────────────────────────────────────────── */
.finance-wrap { max-width: 1200px; margin: 0 auto; }
.finance-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  align-items: start;
}
.finance-form { display: flex; flex-direction: column; gap: 26px; }
.ff { display: flex; flex-direction: column; gap: 8px; }
.ff-label { display: flex; justify-content: space-between; align-items: baseline; font-size: .82rem; color: var(--ink-3); }
.ff-label strong { font-family: var(--f-serif); font-size: 1.15rem; color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ff-minmax { display: flex; justify-content: space-between; font-size: .66rem; color: var(--ink-4); font-style: italic; }
.ff-minmax em { font-style: normal; }

.ff input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px; background: var(--hairline); border-radius: 2px;
  outline: none;
}
.ff input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  transition: transform .15s;
}
.ff input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.ff input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); cursor: pointer; border: none;
}
.ff-fine { font-size: .74rem; color: var(--ink-4); font-style: italic; }

.finance-out { display: flex; flex-direction: column; gap: 18px; }
.fo-card {
  border: 1px solid var(--hairline); padding: 28px 28px 24px;
  background: var(--bg);
}
.fo-lbl { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.fo-big { font-family: var(--f-serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.fo-hint { font-size: .82rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fo-break { display: flex; flex-direction: column; gap: 10px; padding: 0 4px; }
.fo-break > div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--hairline-2); font-size: .86rem; }
.fo-break > div:last-child { border-bottom: none; }
.fo-break dt { color: var(--ink-3); }
.fo-break dd { color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .finance-grid { grid-template-columns: 1fr; gap: 32px; }
  .ff-row { grid-template-columns: 1fr; }
}

/* ── Testimonials ───────────────────────────────────────────── */
.tst-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.tst {
  background: var(--bg);
  padding: 36px 40px;
  display: flex; flex-direction: column; gap: 24px;
}
.tst blockquote {
  font-family: var(--f-serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35; color: var(--ink);
  text-wrap: pretty;
  font-style: italic;
}
.tst blockquote::before { content: none; }
.tst blockquote::after { content: none; }
.tst figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 1px solid var(--hairline-2); }
.tst-name { font-weight: 500; color: var(--ink); font-size: .92rem; }
.tst-role { font-size: .78rem; color: var(--ink-3); }
.tst-stars { font-size: .82rem; color: var(--amber); letter-spacing: .1em; margin-top: 4px; }
@media (max-width: 900px) { .tst-grid { grid-template-columns: 1fr; } .tst { padding: 28px 24px; } }

/* ── Sold ticker ────────────────────────────────────────────── */
.sold { padding: var(--sec-y) 0; background: var(--bg-panel); border-block: 1px solid var(--hairline); }
.sold-head {
  padding: 0 var(--gutter) 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end;
}
.sold-h { font-family: var(--f-serif); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; color: var(--ink); }
.sold-h em { font-style: italic; color: var(--accent); }
.sold-note { font-size: .95rem; color: var(--ink-3); line-height: 1.6; max-width: 52ch; }
.sold-marquee {
  overflow: hidden; position: relative;
  border-block: 1px solid var(--hairline);
}
.sold-marquee::before, .sold-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.sold-marquee::before { left: 0; background: linear-gradient(to right, var(--bg-panel), transparent); }
.sold-marquee::after  { right: 0; background: linear-gradient(to left, var(--bg-panel), transparent); }
.sold-track {
  display: flex; width: max-content;
  animation: sold-scroll 60s linear infinite;
}
.sold-track:hover { animation-play-state: paused; }
@keyframes sold-scroll { to { transform: translateX(-50%); } }
.sold-item {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 34px; border-right: 1px solid var(--hairline-2);
  flex-shrink: 0;
}
.sold-item-thumb {
  width: 100px; height: 75px; flex-shrink: 0;
  border: 1px solid var(--hairline);
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 6px;
  position: relative;
}
.sold-item-init {
  font-family: var(--f-serif);
  font-size: .9rem; color: var(--ink-3);
  font-style: italic; letter-spacing: .02em;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  padding: 1px 6px;
  border: 1px solid var(--hairline-2);
}
.sold-item-text { display: flex; flex-direction: column; gap: 6px; }
.sold-item-name { font-family: var(--f-serif); font-size: 1.35rem; color: var(--ink); white-space: nowrap; }
.sold-item-chip {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid color-mix(in oklab, var(--red) 40%, transparent);
  color: var(--red);
}
@media (max-width: 900px) { .sold-head { grid-template-columns: 1fr; gap: 18px; } }

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1200px; margin: 0 auto;
}
.contact-intro { font-size: 1rem; color: var(--ink-3); line-height: 1.6; max-width: 44ch; margin: 20px 0 32px; text-wrap: pretty; }
.contact-people { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.person {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border: 1px solid var(--hairline);
  background: var(--bg); transition: border-color .2s, transform .2s;
}
.person:hover { border-color: var(--ink-2); transform: translateX(2px); }
.person-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif); font-size: .95rem; letter-spacing: .02em;
  flex-shrink: 0;
}
.person-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.person-name { font-weight: 500; color: var(--ink); font-size: .95rem; }
.person-role { font-size: .76rem; color: var(--ink-3); }
.person-phone { font-size: .95rem; color: var(--accent); font-variant-numeric: tabular-nums; margin-top: 2px; }

.contact-details { display: flex; flex-direction: column; }
.contact-details > div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--hairline-2); }
.contact-details > div:last-child { border-bottom: none; }
.contact-details dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.contact-details dd { font-size: .92rem; color: var(--ink); }
.contact-details a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf { display: flex; flex-direction: column; gap: 6px; }
.cf > span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cf input, .cf textarea, .cf select {
  padding: 12px 14px; border: 1px solid var(--hairline);
  background: var(--bg); color: var(--ink); font-size: .92rem;
  border-radius: var(--radius); outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.cf input:focus, .cf textarea:focus, .cf select:focus { border-color: var(--ink); }
.cf textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.cf-submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.cf-or { color: var(--ink-4); font-size: .82rem; font-style: italic; }
.cf-hint { font-size: .76rem; color: var(--ink-4); font-style: italic; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
}

/* ── Footer ─────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--hairline); padding: 40px var(--gutter) 32px; background: var(--bg); }
.foot-grid { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; max-width: 1400px; margin: 0 auto; }
.foot-brand { font-family: var(--f-serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; }
.foot-small { font-size: .78rem; color: var(--ink-3); line-height: 1.6; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.foot-links a { font-size: .82rem; color: var(--ink-2); }
.foot-links a:hover { color: var(--accent); }
.foot-meta { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.foot-admin { font-size: .74rem; color: var(--ink-4); font-style: italic; }
.foot-admin:hover { color: var(--ink-2); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr; text-align: center; }
  .foot-links { justify-content: center; }
  .foot-meta { text-align: center; align-items: center; }
}

/* ── WhatsApp float ─────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 80;
  width: 52px; height: 52px; border-radius: 50%;
  background: oklch(62% 0.16 145); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px oklch(62% 0.16 145 / 0.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 32px oklch(62% 0.16 145 / 0.55); }
@media (max-width: 520px) { .wa-float { bottom: 16px; right: 16px; width: 48px; height: 48px; } }

/* ── Admin overlay (stub) ───────────────────────────────────── */
.admin-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  backdrop-filter: blur(6px);
  padding: 40px;
  align-items: center; justify-content: center;
}
.admin-overlay.open { display: flex; }
.admin-panel {
  width: min(900px, 100%); max-height: 90vh; overflow: auto;
  background: var(--bg); border: 1px solid var(--hairline);
}
.admin-hd {
  display: flex; align-items: start; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid var(--hairline);
}
.admin-kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.admin-hd h3 { font-family: var(--f-serif); font-size: 1.6rem; color: var(--ink); font-weight: 400; }
.admin-close { font-size: 1.2rem; color: var(--ink-3); padding: 4px 8px; }
.admin-close:hover { color: var(--ink); }
.admin-body { padding: 24px 28px 28px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--hairline); border: 1px solid var(--hairline); margin-bottom: 20px; }
.admin-stats > div { background: var(--bg-panel); padding: 18px; }
.admin-stats dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.admin-stats dd { font-family: var(--f-serif); font-size: 1.8rem; color: var(--ink); line-height: 1; }
.admin-note { font-size: .88rem; color: var(--ink-3); line-height: 1.6; margin-bottom: 20px; padding: 16px; background: var(--bg-panel); border-left: 2px solid var(--accent); }
.admin-log { display: flex; flex-direction: column; border: 1px solid var(--hairline); }
.log-row { display: grid; grid-template-columns: 90px 80px 1fr 80px; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--hairline-2); font-size: .82rem; align-items: center; }
.log-row:last-child { border-bottom: none; }
.log-t { font-variant-numeric: tabular-nums; color: var(--ink-4); font-size: .76rem; }
.log-a { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.log-u { font-size: .76rem; color: var(--ink-3); text-align: right; }
@media (max-width: 700px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .log-row { grid-template-columns: 70px 1fr; gap: 8px; }
  .log-row .log-a, .log-row .log-u { display: none; }
}

/* ── Tweaks panel ───────────────────────────────────────────── */
.tweaks {
  position: fixed; bottom: 22px; left: 22px; z-index: 90;
  width: 280px; background: var(--bg);
  border: 1px solid var(--hairline);
  font-size: .85rem;
  box-shadow: 0 10px 40px oklch(0% 0 0 / 0.12);
}
.tweaks[hidden] { display: none; }
.tweaks-hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--hairline); font-family: var(--f-serif); font-size: 1rem; }
.tweaks-close { color: var(--ink-3); }
.tweaks-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.tk-row { display: flex; flex-direction: column; gap: 8px; }
.tk-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tk-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tk-opts button {
  padding: 6px 12px; font-size: .76rem; border: 1px solid var(--hairline);
  color: var(--ink-2); border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
}
.tk-opts button:hover { border-color: var(--ink-2); color: var(--ink); }
.tk-opts button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.swatch span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--ink) 20%, transparent); }

/* ── Reveal ─────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.rv.on { opacity: 1; transform: none; }

/* ── Misc ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .sold-track, .brand-strip-track, .metallic, .metallic-shine { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   BLACK SAPPHIRE METALLIC + SECTION ACCENTS + MOTION
   ═══════════════════════════════════════════════════════════════ */

/* Metallic title treatment — Black Sapphire paint */
.metallic {
  background: linear-gradient(
    100deg,
    var(--sapphire-1) 0%,
    var(--sapphire-2) 28%,
    var(--sapphire-3) 44%,
    var(--sapphire-4) 50%,
    var(--sapphire-3) 56%,
    var(--sapphire-2) 72%,
    var(--sapphire-1) 100%
  );
  background-size: 220% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: sheen 14s linear infinite;
  filter: drop-shadow(0 1px 0 oklch(100% 0 0 / 0.4));
}
@keyframes sheen {
  from { background-position: 200% 50%; }
  to   { background-position: -100% 50%; }
}

/* Full-title metallic sheen — applied to the whole title, em is just italicised */
.hero-title,
.section-title,
.sold-h {
  color: transparent;
  background: linear-gradient(100deg, var(--sapphire-1) 0%, var(--sapphire-2) 30%, var(--sapphire-3) 46%, var(--sapphire-4) 52%, var(--sapphire-3) 58%, var(--sapphire-2) 72%, var(--sapphire-1) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  animation: sheen 14s linear infinite;
  padding: 0.05em 0.05em 0.1em 0;
}
.hero-title em,
.section-title em,
.sold-h em {
  font-style: italic;
  color: transparent;
  background: inherit;
  background-size: inherit;
  -webkit-background-clip: text;
          background-clip: text;
  padding-right: 0.05em;
}

/* Dark theme metallic — brighter ramp so it stays visible */
[data-theme="dark"] .hero-title,
[data-theme="dark"] .section-title,
[data-theme="dark"] .sold-h,
[data-theme="dark"] .metallic {
  background: linear-gradient(100deg, oklch(40% 0.08 245) 0%, oklch(55% 0.10 245) 30%, oklch(78% 0.08 240) 46%, oklch(95% 0.02 240) 52%, oklch(78% 0.08 240) 58%, oklch(55% 0.10 245) 72%, oklch(40% 0.08 245) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
}

/* Section color coding */
#wholesale .section-eyebrow { color: var(--wholesale); }
#wholesale .eyebrow-dot--live { background: var(--wholesale); box-shadow: 0 0 0 4px var(--wholesale-soft); }
#wholesale .section-title { background: linear-gradient(100deg, var(--sapphire-1) 0%, var(--sapphire-2) 28%, var(--wholesale) 46%, oklch(72% 0.16 150) 52%, var(--wholesale) 58%, var(--sapphire-2) 72%, var(--sapphire-1) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: sheen 14s linear infinite; }
#wholesale .section-title em { background: inherit; background-size: inherit; }

/* Sold section — all-red animated gradient */
.sold-h {
  background: linear-gradient(100deg,
    oklch(35% 0.14 28) 0%,
    oklch(48% 0.18 28) 30%,
    oklch(62% 0.20 28) 46%,
    oklch(72% 0.18 30) 52%,
    oklch(62% 0.20 28) 58%,
    oklch(48% 0.18 28) 72%,
    oklch(35% 0.14 28) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
}
.sold-h em { background: inherit; background-size: inherit; }

/* Inventory section — all-orange animated gradient */
#inventory .section-title {
  background: linear-gradient(100deg,
    oklch(42% 0.14 48) 0%,
    oklch(55% 0.17 48) 30%,
    oklch(68% 0.18 50) 46%,
    oklch(78% 0.15 52) 52%,
    oklch(68% 0.18 50) 58%,
    oklch(55% 0.17 48) 72%,
    oklch(42% 0.14 48) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
}
#inventory .section-title em { background: inherit; background-size: inherit; }
[data-theme="dark"] #inventory .section-title {
  background: linear-gradient(100deg,
    oklch(52% 0.16 48) 0%,
    oklch(65% 0.19 48) 30%,
    oklch(76% 0.20 50) 46%,
    oklch(85% 0.15 52) 52%,
    oklch(76% 0.20 50) 58%,
    oklch(65% 0.19 48) 72%,
    oklch(52% 0.16 48) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
}
[data-theme="dark"] .sold-h {
  background: linear-gradient(100deg,
    oklch(45% 0.16 28) 0%,
    oklch(60% 0.20 28) 30%,
    oklch(72% 0.22 28) 46%,
    oklch(82% 0.18 30) 52%,
    oklch(72% 0.22 28) 58%,
    oklch(60% 0.20 28) 72%,
    oklch(45% 0.16 28) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
}
#wholesale .ws-card:hover { border-color: var(--wholesale); }
#wholesale .status-chip.available::before { background: var(--wholesale); }
#wholesale .price-save { color: var(--wholesale); }
#wholesale .btn-inq:hover { border-color: var(--wholesale); color: var(--wholesale); }

#inventory .section-eyebrow { color: var(--inventory); }
#inventory .section-title em { background: linear-gradient(100deg, var(--sapphire-1) 0%, var(--sapphire-2) 28%, var(--inventory) 46%, oklch(80% 0.16 55) 52%, var(--inventory) 58%, var(--sapphire-2) 72%, var(--sapphire-1) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: sheen 14s linear infinite; }
#inventory .chip--on { background: var(--sapphire-1); border-color: var(--sapphire-1); }
#inventory .chip:hover { border-color: var(--inventory); color: var(--inventory); }
#inventory .chip--on:hover { color: var(--bg); }
#inventory .inv-card:hover { border-color: var(--inventory); }
#inventory .inv-card:hover .inv-cta { color: var(--inventory); }

#sold .section-eyebrow { color: var(--sold); }
#sold .sold-h em { background: linear-gradient(100deg, var(--sapphire-1) 0%, var(--sapphire-2) 28%, var(--sold) 46%, oklch(74% 0.18 25) 52%, var(--sold) 58%, var(--sapphire-2) 72%, var(--sapphire-1) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: sheen 14s linear infinite; }
.sold-item-chip { color: var(--sold); border-color: color-mix(in oklab, var(--sold) 40%, transparent); }

/* Status chip colors aligned with section palette */
.status-chip.available::before { background: var(--wholesale); }
.status-chip.pending::before   { background: var(--inventory); }
.status-chip.sold::before      { background: var(--sold); }

/* Headlight sweep on section-head on enter */
.section-head { position: relative; overflow: hidden; }
.section-head::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 40%, oklch(100% 0 0 / 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  pointer-events: none;
}
.section-head.lit::after { animation: headlight 1.2s cubic-bezier(.22,1,.36,1) 1 forwards; }
@keyframes headlight { to { transform: translateX(120%); } }

/* Odometer-style counter — monospace tabular */
.count-up { font-variant-numeric: tabular-nums; display: inline-block; }

/* Hero lede & CTAs — subtle entry */
.hero-feature {
  position: relative;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg) 100%);
}
.hero-feature::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, oklch(100% 0 0 / 0.06) 0%, transparent 40%);
}

/* Placeholder tile — add a "paint" sheen so images feel premium */
.placeholder-img {
  background-image:
    linear-gradient(135deg, oklch(100% 0 0 / 0.04) 0%, transparent 50%),
    repeating-linear-gradient(135deg, var(--bg-2) 0 14px, color-mix(in oklab, var(--bg-2) 70%, var(--sapphire-1) 30%) 14px 15px);
}

/* Button — metallic primary option */
.btn-primary {
  background: linear-gradient(180deg, var(--sapphire-2), var(--sapphire-1));
  color: oklch(98% 0.005 240);
  border: 1px solid var(--sapphire-1);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 45%, oklch(100% 0 0 / 0.25) 50%, transparent 55%);
  transform: translateX(-120%);
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { background: linear-gradient(180deg, var(--sapphire-3), var(--sapphire-2)); }
.nav-cta { background: linear-gradient(180deg, var(--sapphire-2), var(--sapphire-1)); color: oklch(98% 0.005 240); }
.nav-cta:hover { background: linear-gradient(180deg, var(--sapphire-3), var(--sapphire-2)); }

/* Hero feature card hover: subtle lift + headlight sweep */
.hero-feature { transition: transform .35s, box-shadow .35s; }
.hero-feature:hover { transform: translateY(-3px); box-shadow: 0 20px 60px oklch(0% 0 0 / 0.08); }

/* Finance "big" monthly — metallic */
.fo-big {
  background: linear-gradient(100deg, var(--sapphire-1) 0%, var(--sapphire-2) 30%, var(--sapphire-3) 46%, var(--sapphire-4) 52%, var(--sapphire-3) 58%, var(--sapphire-2) 72%, var(--sapphire-1) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; animation: sheen 14s linear infinite;
}

/* Brand strip — metallic brand names */
.brand-strip-track span:not(.bs-dot) {
  background: linear-gradient(180deg, var(--sapphire-2) 0%, var(--sapphire-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Hero feature tag uses section accent */
.hff-tag { color: var(--wholesale); }

/* Diagonal tread loader (optional, on section enter) */
.tread-rule {
  height: 4px; background: repeating-linear-gradient(-45deg, var(--sapphire-1) 0 6px, transparent 6px 10px);
  opacity: .15; margin: 0 var(--gutter);
}

/* Cursor — metallic ring on hover */
.cur-ring.hov { border-color: var(--sapphire-3); background: oklch(48% 0.10 245 / 0.08); }

/* Testimonial quote marks — metallic */
.tst blockquote::before, .tst blockquote::after {
  background: linear-gradient(180deg, var(--sapphire-2), var(--sapphire-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Person avatars — metallic */
.person-av {
  background: linear-gradient(180deg, var(--sapphire-2), var(--sapphire-1));
  color: oklch(98% 0.005 240);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.2);
}
.person-phone { color: var(--sapphire-3); }

/* WhatsApp float — keep green, fine */

/* Hero stats numerals — subtle metallic on hover of the block */
.hero-stats > div:hover dd {
  background: linear-gradient(100deg, var(--sapphire-1) 0%, var(--sapphire-3) 50%, var(--sapphire-1) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 14s linear infinite;
}

/* Smooth page fade-in on load */
body { animation: fadeIn .5s ease-out .05s backwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


/* ═══════════════════════════════════════════════════════════════
   HERO GLOBE + FINANCE SPLIT BAR + MISC (v4)
   ═══════════════════════════════════════════════════════════════ */
.hero-globe { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 32px; min-height: 520px; }
.globe-stage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1/1; }
.globe { width: 100%; height: 100%; animation: globeIntro 1.4s cubic-bezier(.22,1,.36,1) both, globeFloat 9s ease-in-out 1.4s infinite; transform-origin: 50% 55%; }
@keyframes globeIntro { 0% { opacity: 0; transform: scale(.6) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes globeFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(.5deg); } }
.globe-long { animation: longSpin 18s linear infinite; transform-origin: 200px 200px; }
@keyframes longSpin { to { transform: rotate(360deg); } }
.pin-pulse { fill: oklch(78% 0.14 45 / 0.35); animation: pinPulse 2.2s ease-out infinite; transform-origin: 135px 158px; }
.pin-pulse--2 { animation-delay: 1.1s; }
@keyframes pinPulse { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
.arc { stroke-dasharray: 220; stroke-dashoffset: 220; animation: arcDraw 3.2s ease-in-out infinite; }
.arc1 { animation-delay: 0.0s; } .arc2 { animation-delay: 0.6s; } .arc3 { animation-delay: 1.2s; } .arc4 { animation-delay: 1.8s; }
@keyframes arcDraw { 0% { stroke-dashoffset: 220; opacity: 0; } 20% { opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -220; opacity: 0; } }
.dest { opacity: 0; animation: destPop 3.2s ease-in-out infinite; }
.d1 { animation-delay: .6s; } .d2 { animation-delay: 1.2s; } .d3 { animation-delay: 1.8s; } .d4 { animation-delay: 2.4s; }
@keyframes destPop { 0%,50% { opacity: 0; transform: scale(.2); } 55%,90% { opacity: 1; transform: scale(1.3); } 100% { opacity: 0; } }
.globe-label { position: absolute; left: 8%; bottom: 16%; text-align: left; background: oklch(from var(--bg) l c h / 0.88); backdrop-filter: blur(6px); border: 1px solid var(--hairline); padding: 10px 14px; border-radius: 2px; animation: labelIn 1.2s cubic-bezier(.22,1,.36,1) .8s both; }
@keyframes labelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gl-kicker { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.gl-city { font-family: var(--f-serif); font-size: 1.4rem; line-height: 1.1; color: var(--ink); }
.gl-addr { font-size: .72rem; color: var(--ink-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.globe-dests-list { position: absolute; right: 6%; top: 10%; display: flex; flex-direction: column; gap: 6px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.globe-dests-list span { position: relative; padding-left: 14px; opacity: 0; animation: destFade .5s ease-out forwards; }
.globe-dests-list span::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--ink-3); transform: translateY(-50%); }
.globe-dests-list span:nth-child(1) { animation-delay: 1.2s; }
.globe-dests-list span:nth-child(2) { animation-delay: 1.5s; }
.globe-dests-list span:nth-child(3) { animation-delay: 1.8s; }
.globe-dests-list span:nth-child(4) { animation-delay: 2.1s; }
@keyframes destFade { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }

/* Finance split bar */
.fo-split { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.fo-split-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--bg-2); }
.fos-principal { background: linear-gradient(90deg, var(--sapphire-2), var(--sapphire-3)); transition: width .4s cubic-bezier(.22,1,.36,1); }
.fos-interest  { background: linear-gradient(90deg, oklch(68% 0.14 45), oklch(78% 0.14 45)); transition: width .4s cubic-bezier(.22,1,.36,1); }
.fo-split-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: .72rem; color: var(--ink-2); }
.fo-split-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.fo-split-legend .dot-p { background: var(--sapphire-3); }
.fo-split-legend .dot-i { background: oklch(72% 0.14 45); }
.fo-split-legend em { font-style: normal; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; margin-left: 4px; }

/* Remove now-obsolete ph-label */
.ph-label { display: none; }

/* All-caps for inv/ws meta & section notes */
.ws-meta, .inv-meta { text-transform: uppercase; letter-spacing: .12em; }

/* Responsive hero globe */
@media (max-width: 1100px) {
  .hero-globe { min-height: 380px; padding: 24px; }
  .globe-stage { max-width: 340px; }
}
@media (max-width: 780px) {
  .hero-globe { min-height: 320px; }
  .globe-stage { max-width: 280px; }
  .globe-label { left: 4%; bottom: 8%; padding: 8px 10px; }
  .globe-dests-list { right: 4%; top: 6%; }
}


/* ═══════════════════════════════════════════════════════════════
   v5 — HERO MONTAGE · THEME TOGGLE · MOBILE POLISH · ADMIN→PUBLIC
   ═══════════════════════════════════════════════════════════════ */

/* ── Theme toggle button ───────────────────────────────────── */
.theme-toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  background: transparent;
  transition: border-color .2s, color .2s, transform .2s, background .2s;
  position: relative;
}
.theme-toggle:hover { border-color: var(--ink); color: var(--ink); transform: rotate(-8deg); }
.theme-toggle .ti-sun, .theme-toggle .ti-moon {
  position: absolute; inset: 0; margin: auto;
  transition: opacity .3s, transform .3s;
}
[data-theme="light"] .theme-toggle .ti-sun  { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .ti-moon { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-theme="dark"]  .theme-toggle .ti-sun  { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="dark"]  .theme-toggle .ti-moon { opacity: 1; transform: rotate(0) scale(1); }

/* ── Mobile polish: hero, nav, sections ────────────────────── */
@media (max-width: 900px) {
  .brand-name { font-size: 1.25rem; }
  .nav-cta { padding: 8px 14px; font-size: .74rem; }
  .theme-toggle { width: 32px; height: 32px; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.6rem); }
  .hero-lede { font-size: .98rem; margin-bottom: 26px; }
  .hero-ctas { margin-bottom: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
  .hero-stats dd { font-size: 1.5rem; }
  .section-head { gap: 14px; margin-bottom: 28px; padding-bottom: 18px; }
  .section-title { font-size: clamp(1.75rem, 6vw, 2.6rem); }
  .sold-head { padding-bottom: 24px; }
  .foot { padding: 32px var(--gutter) 24px; }
  .tst { padding: 24px 22px; }
  .tst blockquote { font-size: 1.1rem; }
  .contact-details > div { grid-template-columns: 90px 1fr; gap: 14px; padding: 12px 0; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { flex: 1; justify-content: center; }
  .ws-foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .ws-buttons { justify-content: flex-start; }
}


/* ── Mobile touch & final fixes ─────────────────────────────── */
@media (pointer: coarse) {
  /* Hide custom cursor on touch */
  .cur, .cur-ring { display: none !important; }
  /* Always show card CTAs on touch (no hover) */
  .ws-card .ws-action { opacity: 1 !important; }
  /* Bigger tap targets for chips */
  .chip { padding: 10px 16px; }
  /* Finance sliders easier to grab */
  .fc-slider { height: 6px; touch-action: pan-y; }
  .fc-slider::-webkit-slider-thumb { width: 22px; height: 22px; }
  /* Nav contact button full width on small phone */
}
@media (max-width: 380px) {
  /* Very small phones (iPhone SE) */
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
  .ws-card .ws-name { font-size: 1rem; }
  .price-now { font-size: 1.1rem; }
  .contact-grid { gap: 32px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
