﻿:root {
  --night: #050706;
  --ink: #101312;
  --fog: #f2f5f1;
  --muted: #a8b5ae;
  --line: rgba(255,255,255,.16);
  --panel-solid: #111715;
  --teal: #22e6ad;
  --amber: #d7a36b;
  --red: #ef3b2d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--fog); font-family: Arial, Helvetica, sans-serif; font-size: 16px; letter-spacing: 0; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; padding: 24px clamp(20px,5vw,86px); color: white; background: linear-gradient(180deg, rgba(3,5,5,.78), rgba(3,5,5,0)); }
.brand { justify-self: center; font-size: clamp(22px,2.3vw,36px); font-weight: 800; letter-spacing: 9px; line-height: 1; }
.menu-trigger { display: inline-flex; align-items: center; justify-self: start; gap: 12px; border: 0; background: transparent; color: white; cursor: pointer; }
.menu-trigger span:first-child { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-trigger span:first-child::after { content: ""; position: absolute; left: 0; top: 4px; width: 18px; border-top: 2px solid currentColor; }
.quick-nav { display: flex; justify-self: end; gap: 24px; color: rgba(255,255,255,.82); font-size: 14px; }
.quick-nav a { position: relative; padding: 8px 0; }
.quick-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.quick-nav a:hover::after { transform: scaleX(1); }
.hero { position: relative; min-height: 94vh; overflow: hidden; display: grid; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 50%; transform: scale(1.03); animation: heroMove 9s ease-out both; }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(2,4,4,.84), rgba(2,4,4,.36) 48%, rgba(2,4,4,.5)), linear-gradient(0deg, rgba(2,4,4,.9), rgba(2,4,4,.08) 56%, rgba(2,4,4,.34)); }
@keyframes heroMove { to { transform: scale(1); } }
.hero-content { position: relative; z-index: 2; align-self: end; width: min(820px, calc(100% - 48px)); margin: 0 0 clamp(140px,18vh,220px) clamp(24px,6vw,112px); }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(58px,8vw,132px); line-height: .95; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(34px,4.8vw,76px); line-height: 1.02; }
h3 { margin-bottom: 8px; font-size: 24px; line-height: 1.1; }
p { line-height: 1.65; }
.hero-copy { max-width: 560px; color: rgba(255,255,255,.78); font-size: clamp(17px,1.6vw,23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; padding: 0 24px; font-weight: 800; cursor: pointer; }
.button.primary { background: var(--fog); color: var(--night); }
.button.primary:hover { background: var(--teal); }
.button.ghost { border-color: rgba(255,255,255,.74); background: rgba(255,255,255,.04); color: white; }
.hero-panel { position: absolute; right: clamp(20px,5vw,86px); bottom: 42px; z-index: 2; display: grid; grid-template-columns: repeat(3,minmax(120px,1fr)); width: min(560px, calc(100% - 40px)); border: 1px solid var(--line); background: rgba(5,7,6,.58); backdrop-filter: blur(18px); }
.hero-panel div { padding: 18px 20px; border-right: 1px solid var(--line); }
.hero-panel div:last-child { border-right: 0; }
.hero-panel span, .hero-panel strong { display: block; }
.hero-panel span { margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.hero-panel strong { font-size: clamp(22px,2.6vw,34px); color: white; }
body.text-pending .site-header, body.text-pending .hero-content > *, body.text-pending .hero-panel { opacity: 0; transform: translateY(18px); filter: blur(7px); }
body.text-ready .site-header, body.text-ready .hero-content > *, body.text-ready .hero-panel { animation: reveal .76s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--delay,0ms); }
.hero-content > *:nth-child(1) { --delay: 80ms; } .hero-content > *:nth-child(2) { --delay: 220ms; } .hero-content > *:nth-child(3) { --delay: 360ms; } .hero-content > *:nth-child(4) { --delay: 500ms; } .hero-panel { --delay: 680ms; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.marquee { display: flex; gap: 1px; overflow: hidden; background: var(--fog); color: var(--night); }
.marquee span { flex: 1 0 auto; min-width: 240px; padding: 18px 28px; border-right: 1px solid rgba(5,7,6,.18); font-size: 13px; font-weight: 800; text-align: center; text-transform: uppercase; }
.overview, .models, .drive, .interior, .gallery, .reserve { padding: clamp(62px,8vw,124px) clamp(20px,5vw,86px); }
.section-copy { max-width: 780px; } .section-copy.wide { max-width: 1120px; }
.section-copy p:not(.eyebrow), .drive-copy p, .reserve-copy p { color: var(--muted); font-size: 17px; }
.overview { display: grid; grid-template-columns: minmax(300px,.88fr) minmax(420px,1.12fr); gap: clamp(36px,6vw,96px); align-items: end; background: radial-gradient(circle at 82% 18%, rgba(34,230,173,.12), transparent 34%), var(--night); }
.overview-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.overview-grid article { min-height: 220px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.overview-grid span { display: inline-block; margin-bottom: 42px; color: var(--teal); font-size: 13px; font-weight: 800; }
.overview-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.models { background: var(--fog); color: var(--night); }
.models .eyebrow, .drive .eyebrow { color: var(--red); }
.models .section-copy p:not(.eyebrow) { color: #52615c; }
.model-grid { display: grid; gap: 18px; margin-top: 34px; }
.model-card { border: 1px solid rgba(5,7,6,.14); background: white; color: var(--night); overflow: hidden; }
.model-card.feature { display: grid; grid-template-columns: minmax(380px,1.05fr) minmax(320px,.72fr); }
.model-card.compact { display: grid; grid-template-columns: minmax(280px,.54fr) 1fr; align-items: stretch; }
.model-media { position: relative; width: 100%; min-height: 380px; border: 0; padding: 0; overflow: hidden; background: var(--ink); color: white; cursor: pointer; text-align: left; }
.model-media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; transition: transform .36s ease; }
.model-media:hover img, .model-gallery-strip button:hover img { transform: scale(1.035); }
.model-media span { position: absolute; left: 22px; bottom: 22px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.72); background: rgba(5,7,6,.54); font-size: 13px; font-weight: 800; backdrop-filter: blur(14px); }
.model-body { padding: clamp(24px,4vw,58px); }
.model-body h3 { margin-bottom: 14px; font-size: clamp(42px,5vw,82px); line-height: .96; }
.model-body p:not(.eyebrow) { color: #52615c; font-size: 16px; }
.model-specs { display: grid; gap: 1px; margin-top: 34px; border-top: 1px solid rgba(5,7,6,.16); }
.model-specs span { padding: 16px 0; border-bottom: 1px solid rgba(5,7,6,.16); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.model-gallery-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(5,7,6,.16); }
.model-gallery-strip button { min-height: 154px; border: 0; padding: 0; overflow: hidden; background: var(--night); cursor: pointer; }
.model-gallery-strip img { width: 100%; height: 154px; object-fit: cover; transition: transform .36s ease; }
.drive { display: grid; grid-template-columns: minmax(340px,1.15fr) minmax(300px,.85fr); gap: clamp(32px,6vw,92px); align-items: center; background: #eef2ee; color: var(--night); }
.drive img { width: 100%; min-height: 560px; object-fit: cover; }
.drive-copy p { color: #52615c; }
dl { display: grid; gap: 1px; margin: 34px 0 0; } dl div { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 18px 0; border-top: 1px solid rgba(5,7,6,.18); } dt { font-size: 24px; font-weight: 800; } dd { margin: 0; color: #52615c; }
.interior { background: radial-gradient(circle at 20% 18%, rgba(215,163,107,.18), transparent 32%), #080a09; }
.salon-models { display: grid; gap: 18px; margin-top: 34px; }
.salon-model { display: grid; grid-template-columns: minmax(240px,.42fr) minmax(420px,1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.035); }
.salon-model-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px,4vw,48px); }
.salon-model-copy h3 { margin-bottom: 0; font-size: clamp(26px,3vw,44px); line-height: 1.04; }
.salon-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); }
figure { position: relative; margin: 0; overflow: hidden; background: var(--panel-solid); }
figure img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: transform .36s ease; }
figure:hover img, .gallery-grid img:hover { transform: scale(1.035); }
figcaption { position: absolute; left: 18px; bottom: 18px; padding: 9px 12px; background: rgba(5,7,6,.7); color: white; font-size: 12px; font-weight: 800; backdrop-filter: blur(14px); }
.gallery { background: #111715; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 34px; }
.gallery-grid img { width: 100%; min-height: 340px; height: 42vw; max-height: 520px; object-fit: cover; transition: transform .36s ease; }
.reserve { display: grid; grid-template-columns: minmax(300px,.9fr) minmax(320px,.72fr); gap: clamp(32px,7vw,110px); align-items: start; background: linear-gradient(90deg, rgba(5,7,6,.92), rgba(5,7,6,.58)), url("assets/optimized/terra-exterior-front.jpg") center / cover; }
.lead-form { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); background: rgba(5,7,6,.72); backdrop-filter: blur(18px); }
label { display: grid; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
input, select { width: 100%; min-height: 48px; border: 1px solid var(--line); padding: 0 14px; background: rgba(255,255,255,.08); color: var(--fog); } option { color: var(--night); }
.form-note { min-height: 22px; margin: 0; color: var(--teal); font-size: 14px; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 26px clamp(20px,5vw,86px); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer span:first-child { color: var(--fog); font-weight: 800; letter-spacing: 4px; }
.model-lightbox { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: clamp(16px,4vw,42px); }
.model-lightbox.open { display: flex; }
.model-lightbox__backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,4,4,.82); cursor: pointer; }
.model-lightbox__panel { position: relative; display: grid; gap: 14px; width: min(1180px,100%); max-height: calc(100vh - 48px); padding: 18px; border: 1px solid var(--line); overflow: auto; background: #0b0f0e; box-shadow: 0 28px 90px rgba(0,0,0,.45); }
.model-lightbox__top { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.model-lightbox__top h2 { margin-bottom: 0; font-size: clamp(32px,4vw,58px); }
.model-lightbox__close { min-height: 44px; border: 1px solid var(--line); padding: 0 16px; background: rgba(255,255,255,.04); color: white; font-weight: 800; cursor: pointer; }
.model-lightbox__stage { position: relative; display: grid; place-items: center; min-height: 320px; background: #050706; }
.model-lightbox__image { width: 100%; height: min(62vh,650px); object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 58px; border: 1px solid rgba(255,255,255,.64); background: rgba(5,7,6,.62); color: white; font-size: 38px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
.model-lightbox__caption { margin: 0; color: var(--muted); font-size: 14px; }
.model-lightbox__thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.model-lightbox__thumbs button { border: 1px solid transparent; padding: 0; overflow: hidden; background: transparent; cursor: pointer; }
.model-lightbox__thumbs button.active { border-color: var(--teal); }
.model-lightbox__thumbs img { width: 100%; height: 104px; object-fit: cover; }
@media (max-width: 980px) { .site-header { padding: 22px 24px; } .quick-nav { display: none; } .brand { font-size: 24px; letter-spacing: 6px; } .hero-content { margin-left: 32px; margin-bottom: 230px; } .hero-panel { left: 32px; right: 32px; width: auto; } .overview, .drive, .reserve { grid-template-columns: 1fr; } .overview-grid { grid-template-columns: 1fr; } .model-card.feature, .model-card.compact, .salon-model { grid-template-columns: 1fr; } .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .site-header { padding: 18px; } .menu-trigger span:last-child { display: none; } .brand { font-size: 20px; letter-spacing: 4px; } .hero { min-height: 92vh; } .hero-content { width: calc(100% - 36px); margin: 0 18px 270px; } h1 { font-size: clamp(50px,18vw,86px); } h2 { font-size: clamp(34px,11vw,52px); } .hero-actions, .site-footer { flex-direction: column; } .button { width: 100%; } .hero-panel { left: 18px; right: 18px; bottom: 62px; grid-template-columns: 1fr 1fr; } .hero-panel div { border-bottom: 1px solid var(--line); } .hero-panel div:nth-child(2) { border-right: 0; } .marquee span { min-width: 210px; } .overview, .models, .drive, .interior, .gallery, .reserve { padding-left: 18px; padding-right: 18px; } .drive img, .model-media, .model-media img { min-height: 310px; } .model-gallery-strip, .salon-gallery, .gallery-grid, .model-lightbox__thumbs { grid-template-columns: 1fr; } figure img, .gallery-grid img { min-height: 260px; height: auto; } dl div { grid-template-columns: 1fr; gap: 6px; } .model-lightbox { padding: 10px; } .model-lightbox__panel { max-height: calc(100vh - 20px); padding: 12px; } .model-lightbox__image { height: 48vh; } .gallery-nav { width: 40px; height: 48px; } }
