:root {
    --bg: #0b0f0c;
    --bg-alt: #101612;
    --surface: #151c17;
    --line: rgba(232, 237, 230, 0.09);
    --text: #e8ede6;
    --muted: #9aa79c;
    --accent: #b6e388;
    --accent-ink: #0d140e;
    --radius: 14px;
    --serif: "Fraunces", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
p { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
    font: 600 0.95rem/1 var(--sans);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); background: #c8ee9f; }
.btn-ghost { background: rgba(11, 15, 12, 0.35); color: var(--text); border-color: rgba(232, 237, 230, 0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(232, 237, 230, 0.1); }
.btn-small { padding: 10px 18px; font-size: 0.85rem; }

/* Header */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(11, 15, 12, 0.85); backdrop-filter: blur(12px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.92rem; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(to top, var(--bg) 0%, rgba(11, 15, 12, 0.45) 30%, rgba(11, 15, 12, 0) 60%, rgba(11, 15, 12, 0.35) 100%);
}
.hero-content { position: relative; padding-bottom: 14vh; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); line-height: 1; font-weight: 300; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero h1 em { color: var(--accent); }
.lead { max-width: 52ch; font-size: 1.12rem; color: #cfd8cd; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.scroll-cue { position: absolute; bottom: 32px; left: 50%; translate: -50% 0; width: 24px; height: 38px; border: 1px solid rgba(232, 237, 230, 0.4); border-radius: 12px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Sections */
.section { padding: 120px 0; }
.section-tight { padding-top: 40px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head p { color: var(--muted); max-width: 46ch; }

/* Pack */
.pack { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.pack-cover { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.pack-body > * + * { margin-top: 22px; }
.pack-body p { color: #c3cdc1; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--accent); }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(182, 227, 136, 0.18); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 32px 0 0; }
.stats div { background: var(--bg); padding: 16px 14px; }
.stats dt { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.stats dd { margin: 4px 0 0; font-size: 0.78rem; color: var(--muted); }
.features { list-style: none; padding: 0; display: grid; gap: 10px; }
.features li { position: relative; padding-left: 26px; color: #c3cdc1; }
.features li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pack-body .btn { margin-top: 32px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-item { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.g-item.g-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.3s; }
.g-item:hover img { transform: scale(1.04); filter: brightness(1.08); }

/* Under the hood */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo figure { margin: 0; }
.duo a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.duo img { transition: transform 0.6s ease; }
.duo a:hover img { transform: scale(1.03); }
.duo figcaption { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }
.duo figcaption strong { display: block; color: var(--text); font-weight: 500; margin-bottom: 2px; }

/* Specs */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.spec-group h3 { margin-bottom: 18px; }
.spec-group dl { margin: 0; }
.spec-group dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.spec-group dt { font-size: 0.8rem; color: var(--muted); }
.spec-group dd { margin: 2px 0 0; }

/* Trailer */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text); }
.video-play img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); transition: filter 0.3s; }
.video-play:hover img { filter: brightness(0.85); }
.play-icon { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); padding-left: 4px; transition: transform 0.2s; }
.video-play:hover .play-icon { transform: scale(1.06); }
.video-note { position: absolute; bottom: 16px; right: 18px; font-size: 0.78rem; color: rgba(232, 237, 230, 0.7); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact p { color: var(--muted); margin-top: 18px; max-width: 42ch; }
.contact-links { display: grid; gap: 12px; }
.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.contact-card:hover { border-color: rgba(182, 227, 136, 0.5); transform: translateX(2px); }
.cc-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cc-value { font-weight: 500; text-align: right; word-break: break-all; }

/* Footer */
.site-footer { padding: 48px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 0.88rem; }
.footer-inner img { height: 40px; width: auto; opacity: 0.85; }
.to-top { margin-left: auto; text-decoration: none; }
.to-top:hover { color: var(--text); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(5, 8, 6, 0.94); padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.lb-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 0.9rem; padding: 0 24px; }
.lightbox button { position: absolute; border: 0; background: rgba(232, 237, 230, 0.08); color: var(--text); width: 48px; height: 48px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background 0.2s; }
.lightbox button:hover { background: rgba(232, 237, 230, 0.18); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
    .pack, .contact { grid-template-columns: 1fr; gap: 40px; }
    .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .nav { display: none; }
    .scroll-cue { display: none; }
    .hero-content { padding-bottom: 10vh; }
    .header-inner { justify-content: space-between; height: 64px; }
    .brand img { height: 38px; }
    .section { padding: 80px 0; }
    .section-tight { padding-top: 24px; }
    .wrap { padding: 0 16px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
    .g-item.g-wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
    .duo { grid-template-columns: 1fr; }
    .specs { grid-template-columns: 1fr; gap: 32px; }
    .lightbox { padding: 56px 8px; }
    .lb-prev, .lb-next { top: auto !important; bottom: 14px; translate: none !important; }
    .lb-caption { bottom: 80px; }
    .play-icon { width: 64px; height: 64px; }
    .to-top { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .scroll-cue span { animation: none; }
}
