/*
  SONO XR — MARKETING SITE DESIGN SYSTEM (Phase 1)
  Clean / precise / data-forward. One accent, generous spacing.
  Used by: index, pricing, showcases, contact, login, demo pages.
  NOT used by showcase-template/prototype/dashboard (they keep css/style.css).
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #05080f;   /* matched to pricing/building ground */
  --bg-raise: #0a0e18;
  --panel: rgba(9, 12, 17, 0.74);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  /* ⚠️ CHROME PASS 2026-08-13 (Michael: "fix pages"). These were the
     pre-chrome cyan — --accent: #00d4ff, referenced 34 times in this file.
     Four pages load this stylesheet (showcases, contact, demo-splat, pilot,
     plus admin), and they were the last surfaces still on the old palette,
     so walking from pricing.html to any of them changed the brand mid-funnel.
     Fixed HERE rather than overridden per page: one shared file, one truth.
     ⚠️ admin.html inherits this too — a builder-lane surface. The change is
     theme-only (no layout, no behaviour), but that lane should know. */
  --accent: #d4dce4;                          /* silver — text + hairlines */
  --accent-dim: rgba(212, 220, 228, 0.12);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-mute: rgba(255, 255, 255, 0.5);
  --text-faint: rgba(255, 255, 255, 0.36);
  --display: 'Barlow Condensed', sans-serif;
  --body: 'Outfit', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --pad-x: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--accent); color: #041018; }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

h1, .h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
h1 span, .h1 span { color: var(--accent); }

h2, .h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3, .h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lede {
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  max-width: 56ch;
}

/* ---------- layout ---------- */

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin-top: 1rem; }

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  background: linear-gradient(180deg, rgba(5,8,16,0.92), rgba(5,8,16,0.75));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-family: var(--display); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); text-decoration: none; transition: color .18s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-burger {
  display: none; background: none; border: 0; color: var(--text);
  cursor: pointer; padding: 6px;
}
.nav-burger i { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(5,8,16,0.98); border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px var(--pad-x); }
  .nav-burger { display: block; }
  .nav-cta .btn { display: none; }
  .nav-cta .nav-burger { display: block; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; border: 0;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn i { width: 16px; height: 16px; }
/* ⚠️ BRONZE, NOT WHITE (2026-08-13). A white primary button read as a
   different product next to pricing.html's bronze CTAs. Bronze is the ONE
   place it belongs: pressable things. */
.btn-solid { background: #B08D57; color: #05080f; }
.btn-solid:hover { background: #B08D57; filter: brightness(1.12) saturate(1.08); }
.btn-solid i { stroke: #05080f; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent { background: var(--accent); color: #041018; }
.btn-accent:hover { background: #33ddff; }
.btn-block { width: 100%; }

/* ---------- hero (poster-frame splat pattern) ---------- */

.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 76px; /* nav */
}
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-media .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.4) saturate(0.9);
  transition: opacity 0.9s ease;
}
.hero-media canvas {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  opacity: 0; transition: opacity 0.9s ease;
  pointer-events: none; /* scroll-safe until Explore mode */
}
.hero-media.splat-live canvas { opacity: 1; }
.hero-media.splat-live .hero-poster { opacity: 0; }
.hero-media.splat-interactive canvas { pointer-events: auto; cursor: grab; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(212,220,228,0.10), transparent 55%),
    linear-gradient(180deg, rgba(5,8,16,0.55) 0%, rgba(5,8,16,0.35) 45%, rgba(5,8,16,0.92) 100%);
}
.hero-media.splat-interactive + .hero-scrim { background: linear-gradient(180deg, rgba(5,8,16,0.35), transparent 30%, transparent 70%, rgba(5,8,16,0.7)); }

.hero-content { position: relative; z-index: 2; width: 100%; transition: opacity .4s ease; }
.hero.explore-mode .hero-content { opacity: 0; pointer-events: none; }
.hero-content .lede { margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* splat loader chrome */
.splat-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 3; transition: width .25s ease;
  box-shadow: 0 0 12px var(--accent);
}
.splat-chip {
  position: absolute; z-index: 3; right: clamp(20px, 4vw, 40px); bottom: clamp(20px, 4vw, 40px);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft); background: rgba(9,12,17,0.8);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 10px 18px; cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .18s ease, color .18s ease;
}
.splat-chip:hover { border-color: var(--accent); color: var(--accent); }
.splat-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.splat-chip[hidden] { display: none; }

.hero-scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: var(--text-faint); animation: cueFloat 2.4s ease-in-out infinite;
}
.hero-scroll-cue i { width: 22px; height: 22px; }
@keyframes cueFloat { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- cards / grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); }
.card i.card-icon { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.5; margin-bottom: 1.1rem; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-mute); font-size: 0.95rem; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid rgba(212,220,228,0.3); border-radius: 999px; padding: 6px 14px;
}
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* showcase gallery cards */
.showcase-card {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-raise);
  transition: border-color .2s ease;
}
.showcase-card:hover { border-color: var(--accent); }
.showcase-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.showcase-card .thumb img, .showcase-card .thumb video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.8); transition: transform .5s ease, filter .3s ease;
}
.showcase-card:hover .thumb img, .showcase-card:hover .thumb video { transform: scale(1.04); filter: brightness(1); }
.showcase-card .meta { padding: 22px 24px; }
.showcase-card .meta h3 { margin-bottom: 0.35rem; }
.showcase-card .meta p { color: var(--text-mute); font-size: 0.92rem; }
.showcase-card .tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
}

/* ---------- pricing ---------- */

.billing-toggle {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute);
  margin-bottom: clamp(30px, 4vw, 50px);
}
.billing-toggle .save { color: var(--accent); font-size: 0.72rem; letter-spacing: 0.14em; }
.toggle-switch {
  position: relative; width: 52px; height: 28px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid var(--line-strong);
  cursor: pointer; transition: background .2s ease;
}
.toggle-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: transform .2s ease;
}
.toggle-switch[aria-checked="true"] { background: var(--accent); }
.toggle-switch[aria-checked="true"]::after { transform: translateX(24px); }
.billing-toggle .on { color: var(--text); }

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.tier.featured { border-color: rgba(212,220,228,0.45); background: linear-gradient(180deg, rgba(212,220,228,0.06), var(--panel) 40%); }
.tier .flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}
.tier h3 { font-size: 1.35rem; letter-spacing: 0.08em; }
.tier .price { font-family: var(--display); font-weight: 900; font-size: 2.9rem; line-height: 1; margin: 1rem 0 0.2rem; }
.tier .price small { font-size: 1rem; font-weight: 600; color: var(--text-mute); letter-spacing: 0.05em; }
.tier .bill-note { font-size: 0.8rem; color: var(--text-faint); min-height: 1.2em; margin-bottom: 1.3rem; }
.tier ul { list-style: none; margin: 0 0 1.6rem; display: grid; gap: 0.55rem; flex: 1; }
.tier ul li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-soft); line-height: 1.4; }
.tier ul li i { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 3px; stroke-width: 2; }
.tier ul li.off { color: var(--text-faint); }
.tier ul li.off i { color: var(--text-faint); }
.tier ul li strong { color: var(--text); }

/* custom builds band */
.custom-band {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(90% 120% at 85% 20%, rgba(212,220,228,0.12), transparent 55%),
    var(--bg-raise);
}
.custom-band h2 { margin-bottom: 0.5rem; }
.custom-band p { color: var(--text-mute); max-width: 52ch; }

/* comparison table */
.compare { overflow-x: auto; margin-top: clamp(48px, 6vw, 80px); }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.92rem; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th { font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.compare td:first-child, .compare th:first-child { text-align: left; color: var(--text-soft); }
.compare td { color: var(--text-mute); }
.compare td i { width: 16px; height: 16px; color: var(--accent); }
.compare .dash { color: var(--text-faint); }

/* FAQ */
.faq { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: 0; color: var(--text); cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em;
  text-align: left; padding: 22px 0;
}
.faq-item button i { width: 18px; height: 18px; color: var(--text-mute); flex: none; transition: transform .25s ease; }
.faq-item.open button i { transform: rotate(45deg); color: var(--accent); }
.faq-item .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item .faq-a p { color: var(--text-mute); font-size: 0.95rem; padding: 0 0 22px; max-width: 64ch; }

/* ---------- forms (extends early-access pattern) ---------- */

.form-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.form-card .form-lede { color: var(--text-mute); font-size: 0.9rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block; font-family: var(--display); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.4rem;
}
.input, .select, .textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); padding: 0.8rem 0.9rem; color: #fff;
  font-size: 0.95rem; font-family: inherit; transition: border-color .18s ease;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); }
.select option { background: #0a0d12; }
.form-note { text-align: center; margin-top: 1rem; font-size: 0.82rem; color: var(--text-faint); }
.form-note a { color: var(--accent); text-decoration: none; }

.form-success { display: none; text-align: center; padding: 1.5rem 0; }
.form-success.show { display: block; animation: fadeUp .5s ease; }
.form-success i { width: 44px; height: 44px; color: var(--accent); }
.form-success h2 { margin: 0.8rem 0 0.4rem; }
.form-success p { color: var(--text-mute); font-size: 0.9rem; }

/* ---------- CTA band / footer ---------- */

.cta-band { text-align: center; }
.cta-band .lede { margin: 1rem auto 2rem; }

.footer {
  border-top: 1px solid var(--line);
  padding: 40px var(--pad-x);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-faint);
}
.footer .foot-links { display: flex; gap: 22px; list-style: none; }
.footer .foot-links a {
  color: var(--text-mute); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.footer .foot-links a:hover { color: var(--text); }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll-cue { animation: none; }
  html { scroll-behavior: auto; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* page hero (interior pages) */
.page-head { padding: clamp(140px, 18vw, 190px) 0 clamp(30px, 4vw, 50px); }
.page-head .lede { margin-top: 1rem; }

/* ---------- showcase simulator (home "end-user experience") ---------- */

.surface-switch {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px;
}
.surface-switch button {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mute); background: transparent;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 10px 18px; cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.surface-switch button i { width: 16px; height: 16px; }
.surface-switch button:hover { color: var(--text); }
.surface-switch button.on { color: #041018; background: var(--accent); border-color: var(--accent); }

.sim-shell { max-width: 1080px; }
.sim-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); background: #05070c;
  transition: border-radius .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

/* web surface: browser chrome */
.sim-chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.sim-chrome .dots { display: flex; gap: 6px; }
.sim-chrome .dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.sim-chrome .dots span:nth-child(1) { background: #ff5f57; }
.sim-chrome .dots span:nth-child(2) { background: #febc2e; }
.sim-chrome .dots span:nth-child(3) { background: #28c840; }
.sim-url {
  flex: 1; text-align: center;
  font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--accent); background: rgba(0,0,0,0.4);
  border: 1px solid var(--line); border-radius: 6px; padding: 6px 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* kiosk surface: tablet bezel, no chrome */
.sim-frame.surface-kiosk { border-radius: 32px; border: 10px solid #14181f; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.sim-frame.surface-kiosk .sim-chrome { display: none; }
.sim-frame.surface-kiosk::after {
  content: ''; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.25); z-index: 12;
}

/* AR/VR surface: lens vignette, no chrome */
.sim-frame.surface-xr { border-radius: 90px; border-color: rgba(212,220,228,0.35); box-shadow: none;  /* BRAND.md: no glows */ }
.sim-frame.surface-xr .sim-chrome { display: none; }
.sim-frame.surface-xr .sim-stage::after {
  content: ''; position: absolute; inset: 0; z-index: 11; pointer-events: none;
  background: radial-gradient(75% 85% at 50% 50%, transparent 55%, rgba(0,0,0,0.85) 100%);
}

.sim-stage { position: relative; aspect-ratio: 16 / 9; background: #000; }
@media (max-width: 700px) { .sim-stage { aspect-ratio: 4 / 5; } }

.sim-layer { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.sim-layer.active { opacity: 1; pointer-events: auto; }
.sim-layer > img, .sim-layer > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sim-layer .dim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,5,9,0.25), rgba(3,5,9,0.55)); }

/* slow pan for the 360 layer */
.sim-pan { position: absolute; inset: 0; background-size: 160% 100%; background-position: 0% 50%; animation: simPan 26s ease-in-out infinite alternate; }
@keyframes simPan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* motion titles (animated property/city info) */
.sim-title {
  position: absolute; left: clamp(16px, 4%, 40px); bottom: clamp(64px, 14%, 110px); z-index: 6; max-width: 62%;
}
.sim-title h4 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.sim-title p { font-size: clamp(0.8rem, 1.4vw, 0.95rem); color: var(--text-soft); }
.sim-layer.active .sim-title h4 { animation: titleIn .6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.sim-layer.active .sim-title p { animation: titleIn .6s .12s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes titleIn { from { opacity: 0; transform: translateY(18px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* info stat chips (city/property info module) */
.sim-stats { position: absolute; left: clamp(16px, 4%, 40px); top: clamp(16px, 6%, 40px); z-index: 6; display: grid; gap: 8px; }
.sim-stats .stat {
  display: flex; justify-content: space-between; gap: 22px;
  background: rgba(5,8,16,0.82); border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 9px 14px; min-width: 230px;
  font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sim-stats .stat span:first-child { color: var(--text-mute); }
.sim-stats .stat span:last-child { color: var(--text); font-weight: 700; }
.sim-layer.active .sim-stats .stat { animation: titleIn .5s both; }
.sim-layer.active .sim-stats .stat:nth-child(2) { animation-delay: .1s; }
.sim-layer.active .sim-stats .stat:nth-child(3) { animation-delay: .2s; }
.sim-layer.active .sim-stats .stat:nth-child(4) { animation-delay: .3s; }

/* persistent overlays: price chip + space details (mirrors the real showcase HUD) */
.sim-price {
  position: absolute; top: clamp(14px, 5%, 30px); right: clamp(14px, 4%, 30px); z-index: 7;
  font-family: var(--display); font-weight: 800; font-size: clamp(0.95rem, 1.8vw, 1.25rem); letter-spacing: 0.06em;
  color: var(--text); background: rgba(5,8,16,0.85); border: 1px solid var(--line-strong);
  border-radius: 8px; padding: 10px 18px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sim-brand {
  position: absolute; top: clamp(14px, 5%, 30px); left: clamp(16px, 4%, 40px); z-index: 7;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft);
}
.sim-brand .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* mission-control dock */
.sim-dock {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; gap: 4px; padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(3,5,9,0.92) 35%);
  overflow-x: auto; scrollbar-width: none;
}
.sim-dock::-webkit-scrollbar { display: none; }
.sim-dock button {
  position: relative; flex: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 86px; padding: 10px 8px 8px;
  background: transparent; border: 1px solid transparent; border-radius: 10px;
  color: var(--text-mute); cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.sim-dock button i { width: 19px; height: 19px; stroke-width: 1.6; }
.sim-dock button:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.sim-dock button.active { color: var(--accent); background: rgba(212,220,228,0.08); border-color: rgba(212,220,228,0.3); }
.sim-dock .tier {
  position: absolute; top: -7px; right: 4px;
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.1em;
  color: #041018; background: var(--accent); border-radius: 4px; padding: 2px 5px;
}
.sim-dock .tier.t-sig { background: #c9a35c; }
.sim-dock .tier.t-ent { background: #b48ef0; }

.sim-caption { margin-top: 16px; color: var(--text-mute); font-size: 0.92rem; max-width: 70ch; }
.sim-caption strong { color: var(--text); }

/* play overlay for video-backed layers */
.sim-play {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: rgba(0,0,0,0.45); border: 0; cursor: pointer; width: 100%;
  color: var(--text); font-family: var(--display); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.sim-play .ring {
  width: 68px; height: 68px; border-radius: 50%;
  border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center;
  box-shadow: none;  /* BRAND.md: no glows */ transition: transform .2s ease;
}
.sim-play:hover .ring { transform: scale(1.08); }
.sim-play .ring i { width: 26px; height: 26px; color: var(--accent); fill: var(--accent); }

/* guided tour cards */
.sim-guided {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 24px; flex-wrap: wrap;
}
.sim-guided .g-card {
  background: rgba(5,8,16,0.88); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 26px; max-width: 300px; text-align: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.sim-guided .g-card i { width: 30px; height: 30px; color: var(--accent); margin-bottom: 12px; }
.sim-guided .g-card h4 { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.sim-guided .g-card p { font-size: 0.85rem; color: var(--text-mute); }

/* ---------- ecosystem (two brands, one pipeline) ---------- */

.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 860px) { .eco-grid { grid-template-columns: 1fr; } }

.eco-card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
/* ⚠️ THE ONE OFF-PALETTE COLOUR LEFT IN THIS FILE, AND IT IS DEAD (2026-08-13).
   rgba(125,201,94) is MBB 3D's green, which DESIGN.md §9 says must never appear
   on SONO XR. It survives here only because these two rules are an ECOSYSTEM
   pair — one card for MBB, one for SONO — where the green is representing MBB
   deliberately rather than leaking into our palette.
   NO PAGE USES .eco-card. Verified: zero references across every HTML file in
   the repo. Both rules are dead, along with the whole .sim-* block above.
   Left rather than deleted because removing dead CSS is a sweep of its own and
   should be a decision, not a side effect of a palette fix. If .eco-card is
   ever revived, the SONO side is now silver and the MBB side needs Michael's
   call. */
.eco-card.eco-mbb {
  border-color: rgba(125, 201, 94, 0.28);
  background: radial-gradient(120% 100% at 15% 0%, rgba(125, 201, 94, 0.07), transparent 55%), var(--panel);
}
.eco-card.eco-sono {
  border-color: rgba(212, 220, 228, 0.32);
  background: radial-gradient(120% 100% at 15% 0%, rgba(212, 220, 228, 0.08), transparent 55%), var(--panel);
}
.eco-card .eco-logo { height: 30px; width: auto; align-self: flex-start; }
.eco-card .intro { color: var(--text-soft); font-size: 1rem; }
.eco-card .intro strong { color: var(--text); font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-bottom: 0.3rem; }
.eco-card ul { list-style: none; display: grid; gap: 0.7rem; flex: 1; }
.eco-card ul li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--text-soft); font-size: 0.95rem; line-height: 1.45; }
.eco-card ul li i { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--accent); stroke-width: 2; }
.eco-card.eco-mbb ul li i { color: #7dc95e; }
.eco-card .btn { align-self: flex-start; }

.eco-note {
  margin-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--text-mute); font-size: 0.92rem;
}
.eco-note a { color: var(--accent); text-decoration: none; }
.eco-note i { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* gallery thumbs */
.sim-gallery-main { width: 100%; height: 100%; object-fit: cover; }
.sim-thumbs {
  position: absolute; right: clamp(12px, 3%, 26px); bottom: 74px; z-index: 6;
  display: flex; flex-direction: column; gap: 8px;
}
.sim-thumb {
  width: 86px; height: 54px; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--line-strong); cursor: pointer; opacity: 0.7;
  transition: opacity .18s ease, border-color .18s ease;
}
.sim-thumb:hover { opacity: 1; }
.sim-thumb.active { opacity: 1; border-color: var(--accent); box-shadow: none;  /* BRAND.md: no glows */ }
@media (max-width: 700px) { .sim-thumbs { display: none; } }

/* floor plan svg */
.sim-plan { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #070a11; }
.sim-plan svg { width: min(72%, 560px); height: auto; }
.sim-plan .room { fill: rgba(212,220,228,0.05); stroke: rgba(212,220,228,0.55); stroke-width: 1.5; transition: fill .2s ease; }
.sim-plan .room:hover { fill: rgba(212,220,228,0.18); cursor: pointer; }
.sim-plan text { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.12em; fill: rgba(255,255,255,0.65); text-transform: uppercase; }
