:root {
  --bg: #0e0e0d;
  --bg-2: #161514;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --ink: #efe8dc;
  --ink-soft: rgba(239, 232, 220, 0.9);
  --muted: #9c958a;
  --gold: #d9b97a;
  --gold-hi: #f3dfb8;
  --gold-hover: #e6c98f;
  --gold-ink: #17140e;
  --shade: 10, 10, 9;
  --sea: #0b1a26;
  --sky-low: #24364a;
  --sky-high: #c9a7c4;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; }
p, figure { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.display { font-size: clamp(40px, 7vw, 92px); line-height: 1; letter-spacing: -0.035em; font-weight: 300; }
.title { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 300; }
.title--md { font-size: clamp(28px, 3.4vw, 44px); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; margin-top: 18px; }
.tag { position: absolute; z-index: 3; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239,232,220,.78); right: 16px; bottom: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink); border: 1px solid var(--gold);
  font: 500 15px/1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--gold-hover); }
.btn--ghost { background: rgba(var(--shade), .25); color: var(--ink); border-color: rgba(239,232,220,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--gold); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--full { width: 100%; }

.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s ease, border-color .4s ease; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(var(--shade), .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 18px; height: auto; }
.brand__word { font: 500 12.5px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; }
.nav__links { display: flex; gap: 28px; font-size: 14px; }
.nav__links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 110px 0 130px; }
.hero__glow { position: absolute; inset: -20%; background:
  radial-gradient(40% 35% at 50% 38%, rgba(217,185,122,.16), rgba(217,185,122,0) 70%),
  radial-gradient(60% 50% at 80% 90%, rgba(201,167,196,.08), rgba(201,167,196,0) 70%); pointer-events: none; }
.hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__mark { width: clamp(64px, 8vw, 92px); margin-bottom: 26px; position: relative; animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both; filter: drop-shadow(0 18px 40px rgba(217,185,122,.25)); }
.hero__mark img { width: 100%; height: auto; }
.hero__mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,248,230,.75) 50%, transparent 65%); background-size: 250% 100%; -webkit-mask: url('assets/brand/solavista-s.svg') center / contain no-repeat; mask: url('assets/brand/solavista-s.svg') center / contain no-repeat; animation: sheen 5s ease-in-out 1.2s infinite; }
.hero__word { letter-spacing: .42em; margin-bottom: 26px; animation: fade 1.2s ease .3s both; }
.hero .display { animation: rise 1.2s cubic-bezier(.2,.7,.2,1) .4s both; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 64px; animation: fade 1.2s ease .9s both; }
.hero__scroll { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(239,232,220,.78); text-decoration: none; white-space: nowrap; animation: fade 1.2s ease 1.2s both; }
.hero__scroll::after { content: ""; display: block; width: 1px; height: 34px; margin: 12px auto 0; background: linear-gradient(var(--gold), transparent); animation: drip 1.8s ease-in-out infinite; }
.hero__scroll:hover { color: var(--ink); }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheen { 0%, 60% { background-position: 150% 0; } 100% { background-position: -50% 0; } }

.estate { padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.estate__top { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 28px; }
.estate__film { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0b0b0a; }
.estate__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.film { position: relative; height: 700vh; }
.film__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b0b0a; }
.film__poster, .film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__video { opacity: 0; transition: opacity .8s ease; }
.film__video.is-live { opacity: 1; }
.film__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(var(--shade), .6) 0%, rgba(var(--shade), 0) 26%, rgba(var(--shade), 0) 52%, rgba(var(--shade), .75) 100%),
  linear-gradient(90deg, rgba(var(--shade), .72) 0%, rgba(var(--shade), .3) 40%, rgba(var(--shade), 0) 65%),
  radial-gradient(ellipse 60% 45% at 50% 50%, rgba(var(--shade), .35), rgba(var(--shade), 0)); }
.scene {
  position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 120px; max-width: var(--wrap); margin-inline: auto;
  opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1);
  pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 2px 34px rgba(0,0,0,.55);
}
.scene.is-on { opacity: 1; transform: none; }
.scene--center { align-items: center; text-align: center; }
.scene--left { align-items: flex-start; }
.scene .lede { color: var(--ink-soft); }
.tag--film { right: var(--gutter); bottom: 26px; }
.film__progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.film__progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.is-autoplay .film { height: 100vh; height: 100svh; }
.is-autoplay .film__progress { display: none; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s; }
.card:hover { border-color: rgba(217,185,122,.45); transform: translateY(-3px); }
.card__num { font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.card h3 { font-size: 21px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; }
.card__more { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.card__more:not([target])::after { content: " →"; color: var(--gold); }
.card__more:hover { color: var(--gold); }

.auto { position: relative; }
.auto__stage { border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.auto__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #120f10; }
.auto__stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(var(--shade), .6) 0%, rgba(var(--shade), .05) 32%, rgba(var(--shade), 0) 70%, rgba(var(--shade), .55) 100%); pointer-events: none; }
.auto__still, .auto__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.auto__canvas { opacity: 0; transition: opacity .4s ease; cursor: grab; touch-action: pan-y; outline: none; }
.auto__stage.is-ready .auto__canvas { opacity: 1; }
.auto__stage.is-dragging .auto__canvas { cursor: grabbing; }
.swatch:disabled { opacity: .35; cursor: progress; }
.auto__still { object-fit: cover; object-position: 50% 60%; }
.auto__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(var(--shade), .55), rgba(var(--shade), 0) 45%); }
.auto__head { position: absolute; z-index: 4; left: 0; right: 0; top: 96px; pointer-events: none; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.auto__panel { position: absolute; z-index: 3; left: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; padding: 14px 12px; border-radius: 999px; background: rgba(var(--shade), .45); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.auto__panel[hidden] { display: none; }
.swatch { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: var(--c); cursor: pointer; padding: 0; transition: transform .2s; }
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold); }
.swatch span { position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); font-size: 12px; letter-spacing: .08em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.swatch:hover span, .swatch:focus-visible span { opacity: 1; }
.auto__hint { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding: 10px 16px; border-radius: 999px; background: rgba(var(--shade), .45); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; transition: opacity .5s; }
.auto__hint::before { content: "⟲"; color: var(--gold); font-size: 14px; letter-spacing: 0; }
.auto__hint.is-hidden { opacity: 0; }
.tag--stage { z-index: 3; right: var(--gutter); bottom: 22px; }

.dealers { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(70px, 10vw, 120px); }
.dealers__text p:not(.eyebrow) { color: var(--muted); margin-top: 18px; }
.dealers__text .btn { margin-top: 28px; }
.dealers__gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.dealers__gallery figure { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.dealers__gallery figure:first-child { grid-row: 1 / 3; }
.dealers__gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.dealers__gallery figure:first-child img { aspect-ratio: auto; }


.section { padding: clamp(80px, 12vw, 140px) 0; border-top: 1px solid var(--line); }
.section--tight { padding-top: clamp(60px, 9vw, 110px); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px 28px; border-top: 1px solid var(--line); }
.step__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 15px; margin-bottom: 22px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pack { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.pack--accent { border-color: rgba(217,185,122,.5); background: linear-gradient(180deg, rgba(217,185,122,.08), rgba(217,185,122,0)); }
.pack h3 { font-size: 21px; }
.pack p { color: var(--muted); font-size: 15px; }
.pack__cta { margin-top: auto; padding-top: 14px; font-size: 14px; text-decoration: none; color: var(--gold); }
.pack__cta::after { content: " →"; }

.contact { padding: clamp(80px, 12vw, 140px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--ink);
  font: 400 16px/1.4 var(--text); transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { grid-column: 1 / -1; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand img { width: 22px; height: auto; margin-top: 2px; }
.footer__word { font: 500 12.5px/1.4 var(--display); letter-spacing: .3em; text-transform: uppercase; margin-bottom: 6px; }
.footer__links { display: flex; gap: 20px; font-size: 15px; }
.footer__links a { text-decoration: none; color: var(--ink); }
.footer__links a:hover { color: var(--gold); }
.footer__legal { grid-column: 1 / -1; font-size: 12.5px; padding-top: 18px; border-top: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

.thanks { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.thanks .lede { margin-inline: auto; }
.thanks .btn { margin-top: 32px; }

@media (max-width: 1000px) {
  .packs { grid-template-columns: repeat(2, 1fr); }
  .nav__links { gap: 20px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .estate__top, .cards, .steps, .contact__grid, .dealers { grid-template-columns: 1fr; }
  .step { padding: 28px 0; }
  .scene { padding-bottom: 110px; justify-content: flex-end; }
  .scene--center { justify-content: center; }
  .auto__stage { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .auto__stage::before { background: linear-gradient(180deg, rgba(var(--shade), 0) 70%, rgba(var(--shade), .5) 100%); }
  .auto__shade { display: none; }
  .auto__head { position: static; padding-top: 64px; padding-bottom: 24px; text-shadow: none; }
  .auto__panel { flex-direction: row; top: 12px; bottom: auto; left: auto; right: 12px; transform: none; padding: 8px 10px; gap: 10px; }
  .swatch { width: 26px; height: 26px; }
  .swatch span { display: none; }
  .tag--stage { right: auto; left: var(--gutter); bottom: 16px; }
  .auto__hint { bottom: 12px; padding: 7px 12px; font-size: 9px; letter-spacing: .14em; white-space: nowrap; }
  .tag--stage { display: none; }
  }
@media (max-width: 560px) {
  .packs, .form { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .brand__word { font-size: 11px; letter-spacing: .24em; }
  .nav .btn--sm { padding: 0 14px; font-size: 13px; }
  .tag--film { left: var(--gutter); right: auto; }
  .dealers__gallery { grid-template-columns: 1fr 1fr; }
  .dealers__gallery figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .dealers__gallery figure:first-child img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; transform: none; }
  .hero__mark, .hero__word, .hero .display, .hero__cta, .hero__scroll { animation: none; }
  .hero__scroll::after { animation: none; }
  .scene { transition: none; transform: none; }
  .hero__mark::after { display: none; }
}
.film__cue { position: absolute; z-index: 4; left: 50%; bottom: 64px; transform: translate(-50%, 10px); display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .7s ease, transform .7s ease; }
.film__cue.is-on { opacity: 1; transform: translate(-50%, 0); }
.film__cue span { font: 500 15px/1 var(--text); letter-spacing: .28em; text-transform: uppercase; color: var(--ink); padding: 14px 24px; border-radius: 999px; background: rgba(var(--shade), .55); border: 1px solid rgba(217,185,122,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.film__cue i { width: 22px; height: 34px; border: 1.5px solid var(--gold); border-radius: 12px; position: relative; }
.film__cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .film__cue i::after { animation: none; } }
#process { border-top: 2px solid var(--gold); }
