/* ===== TOKENS ===== */
:root {
    --black: #070707;
    --carbon: #101112;
    --gunmetal: #17191b;
    --line: rgba(255, 255, 255, .08);
    --text: #e9e6e1;
    --muted: #8d8a85;
    --gold: #c9995a;
    --gold-hi: #e6c58e;
    --copper: #a8663a;
    --grad: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--copper));
    --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --f-body: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
    background: var(--black);
    color: var(--text);
    font: 400 1rem/1.7 var(--f-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ===== GRAIN + PROGRESS ===== */
.grain {
    position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120;
    background: var(--grad); transform: scaleX(0); transform-origin: left;
}

/* ===== TYPE ===== */
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: .98; letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h3 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.eyebrow {
    font: 600 .75rem/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase;
    color: var(--gold); display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.gold { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== BUTTONS ===== */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 34px; border-radius: 2px; overflow: hidden; isolation: isolate;
    font: 700 .85rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
    color: var(--black); background: var(--grad);
    box-shadow: 0 10px 40px -10px rgba(201, 153, 90, .55);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    will-change: transform;
}
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 16px 50px -8px rgba(201, 153, 90, .75); }
.btn-sm { padding: 12px 22px; font-size: .75rem; }
.btn-lg { padding: 20px 42px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.link-arrow { font-weight: 500; letter-spacing: .08em; color: var(--text); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: .3s; }
.link-arrow i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--gold-hi); border-color: var(--gold); }
.link-arrow:hover i { transform: translateX(6px); }

/* ===== NAV ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 7, 7, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font: 700 1.5rem/1 var(--f-display); letter-spacing: .08em; }
.brand em { font-style: normal; color: var(--gold); }
.brand-logo { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { position: relative; font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 110; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: -8% 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(.85) contrast(1.1) brightness(.55); transform: scale(1.1); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(7,7,7,.65) 0%, rgba(7,7,7,.2) 40%, var(--black) 100%),
    radial-gradient(60% 50% at 20% 80%, rgba(201,153,90,.14), transparent 70%); }
.hero-inner { position: relative; }
.hero-title { font-size: clamp(4.2rem, 17vw, 11.5rem); line-height: .86; margin-bottom: 30px; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line-in { display: block; transform: translateY(110%); animation: lineUp 1.2s var(--ease) forwards; }
.line:nth-child(2) .line-in { animation-delay: .15s; }
@keyframes lineUp { to { transform: none; } }
.hero-sub { max-width: 520px; font-size: 1.1rem; color: #bdb9b3; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.scroll-cue { position: absolute; right: 28px; bottom: 36px; width: 1px; height: 70px; background: var(--line); overflow: hidden; }
.scroll-cue span { display: block; width: 100%; height: 40%; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ===== MARQUEE ===== */
.marquee { border-block: 1px solid var(--line); background: var(--carbon); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 32s linear infinite; font: 700 1.6rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.marquee-track span { color: var(--text); white-space: nowrap; }
.marquee-track b { color: var(--gold); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section { padding: clamp(90px, 14vw, 180px) 0; }
.section-alt { background: linear-gradient(180deg, var(--carbon), var(--black)); border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(48px, 7vw, 90px); }

/* ===== VERSUS ===== */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { position: relative; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: 4px; background: var(--carbon); overflow: hidden; transition: transform .6s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-6px); }
.card .tag { display: inline-block; font: 600 .7rem/1 var(--f-body); letter-spacing: .25em; text-transform: uppercase; padding: 8px 12px; border: 1px solid currentColor; margin-bottom: 26px; }
.card h3 { margin-bottom: 28px; }
.card li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line); color: #b5b1ab; }
.card li::before { position: absolute; left: 0; top: 14px; font-weight: 700; }
.card-bad .tag, .card-bad li::before { color: #6c6a67; }
.card-bad li::before { content: "✕"; }
.card-bad h3 { color: #7c7a76; }
.card-bad li { color: #7c7a76; }
.card-good { background: linear-gradient(160deg, #1b1a18, var(--carbon)); border-color: rgba(201, 153, 90, .4); box-shadow: 0 30px 80px -40px rgba(201, 153, 90, .4); }
.card-good::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); }
.card-good .tag, .card-good li::before { color: var(--gold); }
.card-good li::before { content: "✓"; }
.card-good li { color: var(--text); }
.statement { max-width: 820px; margin: clamp(60px, 9vw, 120px) auto 0; text-align: center; font: 600 clamp(1.6rem, 4.4vw, 2.8rem)/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.statement em { font-style: normal; color: var(--gold); }

/* ===== SPECS ===== */
.specs { display: grid; gap: clamp(70px, 10vw, 130px); }
.spec { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.spec-rev .spec-media { order: 2; }
.spec-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); transition: transform .3s ease-out; transform-style: preserve-3d; will-change: transform; }
.spec-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,7,7,.7)); pointer-events: none; }
.spec-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spec:hover .spec-media img { transform: scale(1.06); }
.num { display: block; font: 700 clamp(4rem, 10vw, 7rem)/1 var(--f-display); -webkit-text-stroke: 1px var(--gold); color: transparent; margin-bottom: 8px; opacity: .8; }
.spec-body h3 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 24px; }
.spec-body p { color: #b5b1ab; max-width: 460px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }

.cta-band { margin-top: clamp(80px, 11vw, 140px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(30px, 5vw, 56px); border: 1px solid rgba(201,153,90,.35); border-radius: 4px; background: radial-gradient(80% 160% at 0% 0%, rgba(201,153,90,.14), transparent 60%), var(--carbon); }
.cta-band h3 { font-size: clamp(2rem, 5vw, 3.4rem); }

/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.g-item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--gunmetal); display: block; padding: 0; }
.g-item:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) brightness(.85); transition: transform 1s var(--ease), filter .6s; }
.g-item::after { content: "+"; position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--black); font: 700 1.3rem/1 var(--f-body); opacity: 0; transform: scale(.5); transition: .45s var(--ease); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); filter: none; }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; transform: none; }

/* ===== LOCAL ===== */
.local { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.local-info h2 { margin-bottom: 44px; }
.info-list { display: grid; gap: 4px; }
.info-list li { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(201,153,90,.4); border-radius: 50%; color: var(--gold); transition: .4s var(--ease); }
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.info-list li:hover .ico { background: var(--gold); color: var(--black); }
.info-list small { display: block; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-list a { transition: color .3s; }
.info-list a:hover { color: var(--gold-hi); }
.book { text-align: center; padding: clamp(32px, 5vw, 56px); border: 1px solid rgba(201,153,90,.35); border-radius: 4px; background: radial-gradient(100% 80% at 50% 0%, rgba(201,153,90,.16), transparent 70%), var(--carbon); position: sticky; top: calc(var(--nav-h) + 20px); }
.book-logo { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 22px; border-radius: 50%; }
.book h3 { font-size: 3rem; margin-bottom: 12px; }
.book p { color: #b5b1ab; margin-bottom: 30px; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand { color: var(--text); font-size: 1.3rem; }
.credit a { color: var(--gold); }

/* ===== STICKY CTA ===== */
.sticky-cta { display: none; }

/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(5,5,5,.96); backdrop-filter: blur(10px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 86svh; object-fit: contain; border-radius: 3px; animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-close, .lb-nav { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 2rem; line-height: 1; transition: .3s; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-count { position: absolute; bottom: 22px; font-size: .78rem; letter-spacing: .3em; color: var(--muted); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { animation: fadeUp 1s var(--ease) var(--d, .3s) forwards; transition: none; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .burger { display: block; }
    .nav-links {
        position: fixed; inset: 0; z-index: 105; flex-direction: column; justify-content: center; gap: 28px;
        background: rgba(7,7,7,.98); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
    }
    .nav-links.open { opacity: 1; visibility: visible; }
    .nav-links a:not(.btn) { font: 700 2.4rem/1 var(--f-display); letter-spacing: .06em; color: var(--text); transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
    .nav-links.open a:not(.btn) { transform: none; opacity: 1; }
    .nav-links.open a:nth-child(2) { transition-delay: .06s; }
    .nav-links.open a:nth-child(3) { transition-delay: .12s; }
    .nav-links.open a:nth-child(4) { transition-delay: .18s; }
    .nav-cta { display: none; }

    .versus, .spec, .local { grid-template-columns: 1fr; }
    .spec-rev .spec-media { order: 0; }
    .spec-media { aspect-ratio: 1 / 1; }
    .book { position: static; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .scroll-cue { display: none; }
    .hero { padding-bottom: 70px; }
    .hero-actions .btn { width: 100%; }

    .sticky-cta {
        display: flex; align-items: center; justify-content: center; position: fixed; z-index: 95;
        left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
        padding: 18px; border-radius: 2px; background: var(--grad); color: var(--black);
        font: 700 .85rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
        box-shadow: 0 14px 40px rgba(0,0,0,.6);
        transform: translateY(160%); transition: transform .6s var(--ease);
    }
    .sticky-cta.show { transform: none; }
    .footer { padding-bottom: 110px; }
    .lb-nav { top: auto; bottom: 14px; }
    .lb-prev { left: 20px; }
    .lb-next { right: 20px; }
    .lb-count { bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .line-in { transform: none; }
}
