/* OBSIDIAN — dark luxury car hire. Obsidian black, bone text, champagne accent. */
:root {
  --bg: #0A0A0B;
  --panel: #101012;
  --ink: #ECE7DD;
  --accent: #C9A96A;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.overline { font-size: 0.62rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--accent); }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(4rem, 13vw, 11rem); line-height: 0.95; letter-spacing: 0.04em; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; }
.fine { display: block; font-size: 0.66rem; letter-spacing: 0.18em; opacity: 0.45; margin-top: 2.5rem; text-align: center; }

/* nav */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 4vw; transition: background 0.4s ease, padding 0.4s ease;
}
#nav.scrolled { background: rgba(10,10,11,0.88); backdrop-filter: blur(12px); padding: 0.9rem 4vw; }
.logo { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.35em; }
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a { font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.75; }
.nav-links a:hover { opacity: 1; }
.nav-cta { border: 1px solid var(--accent); color: var(--accent) !important; padding: 0.55rem 1.1rem; opacity: 1 !important; }
@media (max-width: 767px) { .nav-links a:not(.nav-cta) { display: none; } }

/* loader */
body.locked { overflow: hidden; height: 100vh; }
#loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.3rem;
  transition: opacity 0.9s ease 0.15s, visibility 0.9s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.5em; opacity: 0.8; }
#loader-track { width: min(38vw, 300px); height: 1px; background: rgba(236,231,221,0.14); }
#loader-bar { width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform 0.2s ease; }
#loader-pct { font-size: 0.62rem; letter-spacing: 0.35em; color: var(--accent); }

/* scrub chapters */
.chapter { position: relative; }
.chapter .pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.chapter canvas, .fallback-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter .overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.no-scrub .chapter { height: 100vh !important; }
.no-scrub .callout { position: static; margin: 1rem 6vw; }

.callout { position: absolute; max-width: 230px; opacity: 0; transform: translateY(12px); transition: opacity 0.8s ease, transform 0.8s ease; }
.callout.visible { opacity: 1; transform: none; }
.callout .line { display: block; width: 56px; height: 1px; background: var(--accent); margin-bottom: 0.7rem; opacity: 0.8; }
.callout strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.05em; margin-bottom: 0.25rem; text-shadow: 0 1px 18px rgba(0,0,0,0.55); }
.callout span { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; text-shadow: 0 1px 14px rgba(0,0,0,0.55); }

.chapter-line {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding: 0 8vw 14vh; text-align: center;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 4vw, 3rem);
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s ease;
}
.chapter-line.visible { opacity: 1; transform: none; }

/* hero overlay */
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0.12) 40%, rgba(10,10,11,0.7) 100%); }
.hero-copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 6vw; }
body.ready .hero-copy .display { animation: heroIn 2.2s cubic-bezier(.16,1,.3,1) both 0.2s; }
body.ready .hero-copy .overline, body.ready .hero-sub { animation: fadeIn 2s ease both 1s; }
.hero-copy .overline { display: block; margin-bottom: 1.2rem; opacity: 0; }
.hero-copy .display { opacity: 0; }
.hero-sub { font-size: 0.85rem; letter-spacing: 0.12em; line-height: 2; opacity: 0; margin: 1.6rem 0 0; text-shadow: 0 1px 16px rgba(0,0,0,0.5); }
body.ready .hero-copy .overline { opacity: 1; }
body.ready .hero-copy .display { opacity: 1; }
body.ready .hero-sub { opacity: 0.85; }
@keyframes heroIn { from { opacity: 0; letter-spacing: 0.3em; } to { opacity: 1; letter-spacing: 0.04em; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.scroll-cue { position: absolute; bottom: 2.6rem; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; opacity: 0.5; }

.btn {
  display: inline-block; background: var(--accent); color: #0A0A0B; font-weight: 500;
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 1rem 2.2rem; animation: fadeIn 2s ease both 1.5s; transition: filter 0.3s;
}
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: none; border: 1px solid var(--accent); color: var(--accent); animation: none; }

/* ticker */
.ticker { overflow: hidden; border-top: 1px solid rgba(236,231,221,0.08); border-bottom: 1px solid rgba(236,231,221,0.08); padding: 1.1rem 0; }
.ticker-track { display: flex; white-space: nowrap; animation: tick 40s linear infinite; }
.ticker-track span { font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.3em; opacity: 0.5; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* sections */
.section { padding: 16vh 6vw; max-width: 1400px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 5rem; }
.section-head .overline { display: block; margin-bottom: 1rem; }

/* fleet */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 3.5rem 2.5rem; }
.car-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--panel); }
.car-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s ease, transform 0.8s ease; }
.car-media img.alt { opacity: 0; }
.car:hover .car-media img.alt { opacity: 1; }
.car:hover .car-media img { transform: scale(1.04); }
.car-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1.3rem 0 0.6rem; }
.car h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; }
.price { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.08em; white-space: nowrap; }
.price em { font-style: normal; opacity: 0.6; font-size: 0.65rem; }
.car-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.car-tags span { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.5; border: 1px solid rgba(236,231,221,0.14); padding: 0.3rem 0.6rem; }

/* spotlight */
.spotlight { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 82vh; align-items: center; gap: 5vw; padding: 8vh 6vw; max-width: 1500px; margin: 0 auto; }
.spotlight.flip { grid-template-columns: 1fr 1.2fr; }
.spotlight.flip .spot-media { order: 2; }
.spot-media { overflow: hidden; }
.spot-media img { width: 100%; height: 70vh; object-fit: cover; will-change: transform; }
.spot-copy p { font-size: 0.88rem; line-height: 2; opacity: 0.72; margin: 1.6rem 0 2.4rem; max-width: 44ch; }
.spot-copy .overline { display: block; margin-bottom: 1rem; }
@media (max-width: 900px) { .spotlight, .spotlight.flip { grid-template-columns: 1fr; } .spotlight.flip .spot-media { order: 0; } .spot-media img { height: 48vh; } }

/* interiors strip */
.interiors { max-width: none; padding-left: 0; padding-right: 0; }
.strip { display: flex; gap: 1.4rem; overflow-x: auto; padding: 0 6vw 1.5rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: 0 0 clamp(260px, 32vw, 420px); scroll-snap-align: center; }
.strip img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.strip figcaption { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.5; margin-top: 0.8rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.step em { display: block; font-family: var(--serif); font-style: normal; color: var(--accent); letter-spacing: 0.3em; margin-bottom: 1rem; }
.step strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 0.8rem; }
.step span { font-size: 0.78rem; line-height: 1.9; opacity: 0.62; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } }

/* terms */
.terms { padding-top: 4vh; }
.terms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid rgba(236,231,221,0.1); padding-top: 3.5rem; }
.term strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--accent); margin-bottom: 0.6rem; }
.term span { font-size: 0.7rem; line-height: 1.8; opacity: 0.55; }
@media (max-width: 767px) { .terms-grid { grid-template-columns: 1fr 1fr; } }

/* contact */
.cta { text-align: center; }
.contact-actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.cta .btn { animation: none; }
.cta form { max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid rgba(236,231,221,0.3); }
.cta input { flex: 1 1 200px; background: none; border: 0; outline: 0; color: var(--ink); font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.06em; padding: 1rem 0.4rem; }
.cta input::placeholder { color: rgba(236,231,221,0.35); }
.cta button { background: none; border: 0; color: var(--accent); cursor: pointer; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; padding: 0 0.6rem; }

footer { display: flex; justify-content: space-between; padding: 3rem 6vw 4rem; }
footer span { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.35; }

/* reveals */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  .ticker-track { animation: none; }
}
