/* ============================================================
   Omerta RolePlay - MTA page, cinematic GTA V look
   ============================================================ */

@font-face {
    font-family: "Pricedown";
    src: url("../assets/pricedown.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "ChaletLondon";
    src: url("../assets/chaletlondon.ttf") format("truetype");
    font-display: swap;
}

/* ---------------- Tokens (brand palette) ---------------- */

:root {
    --blue: #3776bd;
    --blue-deep: #286b9f;
    --blue-light: #65b9e7;
    --green: #79ce79;
    --red: #e13b3b;
    --gold: #f0cb57;

    --night: #070809;
    --dark: #0d0e10;

    --text: rgba(255, 255, 255, 0.95);
    --text-mid: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.45);
    --hair: rgba(255, 255, 255, 0.14);

    --band: linear-gradient(100deg, #0f2238 0%, #1d4a7a 35%, #3776bd 70%, #65b9e7 100%);
    --ease-out: cubic-bezier(0.2, 0.9, 0.3, 1);

    --font: "ChaletLondon", "Segoe UI", Arial, sans-serif;
    --font-title: "Pricedown", Impact, sans-serif;
}

/* ---------------- Base ---------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
    margin: 0;
    background: var(--night);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.wrap { width: min(1280px, 100% - 32px); margin: 0 auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--blue-light);
}

.title {
    margin-top: 14px;
    font-family: var(--font-title);
    font-size: clamp(46px, 7vw, 96px);
    font-weight: normal;
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.lead { margin-top: 22px; max-width: 540px; font-size: 19px; color: var(--text-mid); }

.dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; }
.dot.live { background: var(--green); animation: live 2s infinite; }

@keyframes live {
    0% { box-shadow: 0 0 0 0 rgba(121, 206, 121, 0.65); }
    70% { box-shadow: 0 0 0 9px rgba(121, 206, 121, 0); }
    100% { box-shadow: 0 0 0 0 rgba(121, 206, 121, 0); }
}

/* ---------------- Buttons: square, white on hover like the game ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 26px;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.2s var(--ease-out);
}

.btn-lg { height: 58px; padding: 0 36px; font-size: 15px; }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #f2f2f2; color: var(--blue-deep); transform: translateY(-2px); }

.btn-line { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7); color: #fff; background: rgba(0, 0, 0, 0.25); }
.btn-line:hover { background: #f2f2f2; color: #0d0d0d; box-shadow: none; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------------- Loading screen ---------------- */

.loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    background: #050506;
    transition: opacity 0.7s ease, visibility 0.7s;
}

.loader.show { display: block; }
.loader.done { opacity: 0; visibility: hidden; }

.loader-bg {
    position: absolute;
    inset: 0;
    background: url("../assets/bg.png") center / cover no-repeat;
    background-image: image-set(url("../assets/bg.webp") type("image/webp"), url("../assets/bg.png") type("image/png"));
    animation: loader-zoom 4s ease-out both;
}

@keyframes loader-zoom { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1.02); opacity: 1; } }

.loader-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 6, 0.35) 0%, rgba(5, 5, 6, 0.1) 45%, rgba(5, 5, 6, 0.9) 100%); }

.loader-title {
    position: absolute;
    left: 6vw;
    bottom: 120px;
    font-family: var(--font-title);
    font-size: clamp(54px, 9vw, 120px);
    line-height: 0.9;
    text-transform: uppercase;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.85);
    animation: rise 0.9s ease 0.25s both;
}

.loader-title span { display: block; color: var(--blue-light); }

.loader-tip {
    position: absolute;
    left: 6vw;
    bottom: 50px;
    max-width: 70vw;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.72);
    border-left: 3px solid var(--blue);
    font-size: 15px;
    color: var(--text-mid);
    animation: rise 0.9s ease 0.5s both;
}

.loader-tip b { margin-right: 8px; font-weight: normal; letter-spacing: 2px; text-transform: uppercase; color: #fff; }

.loader-spin { position: absolute; right: 5vw; bottom: 54px; display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.loader-spin i { width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, 0.25); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------------- Top bar ---------------- */

.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s ease; }

body.scrolled .topbar {
    background: rgba(7, 8, 9, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.topbar-inner {
    width: min(1280px, 100% - 32px);
    height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; }
.brand-name { font-family: var(--font-title); font-size: 26px; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--blue-light); }

.nav { display: flex; gap: 22px; margin-left: auto; }

.nav-link {
    position: relative;
    padding: 6px 0;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.2s ease;
}

/* The game's tab bar: a blue bar on the active one */
.nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out);
}

.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::before { transform: scaleX(1); }

/* Music toggle */
.sound {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    width: 44px;
    height: 44px;
    padding-bottom: 14px;
    flex-shrink: 0;
    margin-right: -14px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.sound:hover { background: #f2f2f2; box-shadow: none; }
.sound:hover i { background: #0d0d0d; }
.sound:focus-visible, .chapter:focus-visible, .q:focus-visible, .arrow:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

/* Resting bars still read as an equalizer when the music is off */
.sound i { width: 3px; height: 6px; background: rgba(255, 255, 255, 0.55); }
.sound i:nth-child(2) { height: 11px; }
.sound i:nth-child(3) { height: 8px; }
.sound i:nth-child(4) { height: 4px; }
.sound.on { box-shadow: inset 0 0 0 2px var(--blue); }
.sound.on i { background: #fff; animation: bars 1s ease-in-out infinite; }
.sound.on i:nth-child(2) { animation-delay: -0.3s; }
.sound.on i:nth-child(3) { animation-delay: -0.6s; }
.sound.on i:nth-child(4) { animation-delay: -0.15s; }

@keyframes bars { 0%, 100% { height: 4px; } 50% { height: 14px; } }

html:not(.js) .sound { display: none; }

/* ---------------- Hero ---------------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -4%;
    background: url("../assets/bg.png") center 40% / cover no-repeat;
    background-image: image-set(url("../assets/bg.webp") type("image/webp"), url("../assets/bg.png") type("image/png"));
    will-change: transform;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 8, 9, 0.55) 0%, rgba(7, 8, 9, 0) 25%, rgba(7, 8, 9, 0) 45%, rgba(7, 8, 9, 0.8) 82%, var(--night) 100%),
        linear-gradient(90deg, rgba(7, 8, 9, 0.75) 0%, rgba(7, 8, 9, 0) 65%);
}

.hero-inner { position: relative; z-index: 1; padding-top: 140px; }

.hero-title {
    margin: 22px 0 0 -4px;
    font-family: var(--font-title);
    font-weight: normal;
    font-size: clamp(76px, 13vw, 200px);
    line-height: 0.86;
    text-transform: uppercase;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
    animation: rise 1.1s var(--ease-out) both;
}

.hero-title span { color: var(--blue-light); }

.hero-lead { max-width: 560px; margin-top: 26px; font-size: 20px; color: rgba(255, 255, 255, 0.85); animation: rise 1.1s var(--ease-out) 0.15s both; }
.hero .actions { animation: rise 1.1s var(--ease-out) 0.3s both; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.8); }

/* Facts laid on the scene, split by hairlines */
.hero-facts {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 64px;
    margin-bottom: 34px;
    border-top: 1px solid var(--hair);
}

.fact { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 0 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--hair); }

.fact-label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-dim); }
.fact-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 19px; }
.fact-value.live { color: var(--green); }
.fact-value small { font-size: 13px; color: var(--text-dim); }
.fact-value small.online { color: var(--green); }
a.fact:hover .fact-value { color: var(--blue-light); }

.copy {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-light);
    border-bottom: 1px solid rgba(101, 185, 231, 0.4);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.copy:hover { color: #fff; border-color: #fff; }
.copy.copied { color: var(--green); border-color: var(--green); }

/* ---------------- The city band ---------------- */

.band { position: relative; padding: 130px 0; background: var(--band); overflow: hidden; }

.band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--night) 0%, rgba(7, 8, 9, 0.2) 30%, rgba(7, 8, 9, 0.1) 70%, var(--dark) 100%);
}

.band-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.band .eyebrow { color: #fff; }
.band .lead { color: rgba(255, 255, 255, 0.88); }

.numbers { display: grid; gap: 24px; }
.number { display: flex; align-items: baseline; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.number:last-child { border-bottom: 0; padding-bottom: 0; }

.number b {
    min-width: 2.35em;
    font-family: var(--font-title);
    font-weight: normal;
    font-size: clamp(64px, 8vw, 108px);
    line-height: 0.9;
    text-shadow: 0 6px 30px rgba(7, 8, 9, 0.35);
}

.number span { font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; }
.number small { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.1em; text-transform: none; color: rgba(255, 255, 255, 0.75); }

/* ---------------- Life: chapters over a shifting scene ---------------- */

.life { position: relative; padding: 130px 0; overflow: hidden; background: var(--dark); }

.life-bg {
    position: absolute;
    inset: -4%;
    background: url("../assets/bg.png") var(--pos, 20% 40%) / cover no-repeat;
    background-image: image-set(url("../assets/bg.webp") type("image/webp"), url("../assets/bg.png") type("image/png"));
    background-position: var(--pos, 20% 40%);
    filter: blur(10px) saturate(1.1);
    opacity: 0.5;
    transition: background-position 1.2s var(--ease-out);
}

/* Each chapter frames a different part of the night */
.life[data-cat="character"] { --pos: 15% 30%; }
.life[data-cat="work"]      { --pos: 60% 80%; }
.life[data-cat="state"]     { --pos: 95% 10%; }
.life[data-cat="crime"]     { --pos: 5% 5%; }
.life[data-cat="vehicles"]  { --pos: 80% 95%; }
.life[data-cat="tech"]      { --pos: 45% 55%; }

.life-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--dark) 0%, rgba(13, 14, 16, 0.5) 25%, rgba(13, 14, 16, 0.5) 75%, var(--night) 100%); }

.life-inner { position: relative; }
.life-head { margin-bottom: 64px; }

.life-body { display: grid; grid-template-columns: 400px 1fr; gap: 70px; }

.chapters { display: flex; flex-direction: column; }

.chapter {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 12px 0 12px 16px;
    border-left: 3px solid transparent;
    text-align: left;
    font-size: clamp(20px, 2.2vw, 27px);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.32);
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease-out);
}

.chapter b { width: 30px; flex-shrink: 0; font-family: var(--font-title); font-size: 16px; font-weight: normal; color: rgba(255, 255, 255, 0.32); transition: color 0.3s ease; }

.chapter:hover { color: rgba(255, 255, 255, 0.75); }
.chapter.active { color: #fff; border-left-color: var(--blue); transform: translateX(8px); }
.chapter.active b { color: var(--blue-light); }

.story h3 {
    font-family: var(--font-title);
    font-size: clamp(36px, 4.4vw, 62px);
    font-weight: normal;
    line-height: 0.95;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff 35%, var(--blue-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.items { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 44px; margin-top: 44px; }
.items li { padding-top: 18px; border-top: 1px solid var(--hair); font-size: 16px; color: var(--text-mid); }
.items b { display: block; margin-bottom: 6px; font-weight: normal; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }

.js .story { display: none; }
.js .story.shown { display: block; animation: fade-up 0.6s var(--ease-out) both; }
.js .story.shown li { animation: fade-up 0.6s var(--ease-out) both; }
.js .story.shown li:nth-child(2) { animation-delay: 0.06s; }
.js .story.shown li:nth-child(3) { animation-delay: 0.12s; }
.js .story.shown li:nth-child(4) { animation-delay: 0.18s; }
.story + .story { margin-top: 60px; }
.js .story + .story { margin-top: 0; }

@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------------- Story timeline ---------------- */

.section { position: relative; padding: 130px 0; }
.section-dark { background: var(--dark); }

.history { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.story-head { position: sticky; top: 120px; }

.timeline { position: relative; padding-left: 34px; }

/* The line the dates hang from */
.timeline::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--hair), var(--blue) 85%); }

.timeline li { position: relative; display: flex; flex-direction: column; padding: 0 0 46px; }
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before { content: ""; position: absolute; left: -33px; top: 10px; width: 12px; height: 12px; background: var(--night); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4); }

.timeline time { font-family: var(--font-title); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: rgba(255, 255, 255, 0.35); }
.timeline b { margin-top: 10px; font-weight: normal; font-size: 21px; letter-spacing: 0.06em; text-transform: uppercase; }
.timeline span { margin-top: 4px; color: var(--text-mid); }

/* Today's chapter lights up */
.timeline li.now::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(55, 118, 189, 0.3), 0 0 24px var(--blue); }
.timeline li.now time { color: var(--blue-light); }

/* ---------------- Gallery strip ---------------- */

.gallery { padding: 120px 0 100px; background: var(--night); overflow: hidden; }

.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.gallery-nav { display: flex; align-items: center; gap: 10px; }
.gallery-count { margin-right: 12px; font-family: var(--font-title); font-size: 22px; letter-spacing: 0.1em; color: var(--text-dim); }
.gallery-count b { font-weight: normal; color: #fff; }

.arrow { display: grid; place-items: center; width: 56px; height: 56px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; }
.arrow:hover { background: #f2f2f2; color: #0d0d0d; box-shadow: none; }

.strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 max(16px, (100vw - 1280px) / 2);
    scrollbar-width: none;
    cursor: grab;
}

.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

.shot {
    position: relative;
    flex: 0 0 min(1000px, 82vw);
    margin: 0;
    aspect-ratio: 16 / 9;
    scroll-snap-align: center;
    overflow: hidden;
    background: var(--dark);
    opacity: 0.4;
    transform: scale(0.94);
    transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
}

/* The centred shot gets the tab bar */
.shot::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform 0.5s var(--ease-out); }
.shot.current { opacity: 1; transform: none; }
.shot.current::after { transform: none; }
.shot picture { display: block; width: 100%; height: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }

.gallery-foot { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.gallery-progress { flex: 1; height: 3px; background: var(--hair); overflow: hidden; }
.gallery-progress i { display: block; width: 25%; height: 100%; background: var(--blue); transition: transform 0.5s var(--ease-out); }
.gallery-credit { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }

html:not(.js) .shot { opacity: 1; transform: none; }

/* ---------------- Team ---------------- */

.team-head { margin-bottom: 60px; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.person { display: flex; flex-direction: column; }

.person-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #111; }

.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) brightness(0.8); transition: filter 0.4s ease, transform 0.6s var(--ease-out); }

/* Tab bar across the top on hover */
.person-photo::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }

.person-name { margin-top: 18px; font-family: var(--font-title); font-size: clamp(30px, 3vw, 40px); line-height: 1; text-transform: uppercase; transition: color 0.2s ease; }
.person-role { margin-top: 8px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }

.person:hover .person-photo img { filter: none; transform: scale(1.05); }
.person:hover .person-photo::after { transform: none; }
.person:hover .person-name { color: var(--blue-light); }

/* ---------------- FAQ ---------------- */

.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }

.faq-list { border-top: 1px solid var(--hair); }
.qa { border-bottom: 1px solid var(--hair); }

.q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0;
    text-align: left;
    font-size: clamp(18px, 1.9vw, 22px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.q:hover { color: var(--blue-light); }

.q i { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.q i::before, .q i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.q i::after { transform: rotate(90deg); }
.qa.open .q i::after { transform: none; }

.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease-out); }
.a p { overflow: hidden; max-width: 640px; color: var(--text-mid); }
.qa.open .a { grid-template-rows: 1fr; }
.qa.open .a p { padding-bottom: 26px; }

html:not(.js) .a { grid-template-rows: 1fr; }
html:not(.js) .a p { padding-bottom: 26px; }

/* ---------------- Join: the closing scene ---------------- */

.finale { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0; overflow: hidden; }

.finale-bg {
    position: absolute;
    inset: 0;
    background: url("../assets/bg.png") center 70% / cover no-repeat;
    background-image: image-set(url("../assets/bg.webp") type("image/webp"), url("../assets/bg.png") type("image/png"));
    background-position: 30% 70%;
    transform: scaleX(-1);
}

.finale-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(7, 8, 9, 0.35), transparent 75%), linear-gradient(180deg, var(--night) 0%, rgba(7, 8, 9, 0.35) 30%, rgba(7, 8, 9, 0.35) 65%, var(--night) 100%); }

.finale-inner { position: relative; text-align: center; }
.finale .eyebrow { color: #fff; }

.finale-title {
    margin-top: 16px;
    font-family: var(--font-title);
    font-weight: normal;
    font-size: clamp(60px, 11vw, 170px);
    line-height: 0.88;
    text-transform: uppercase;
    text-shadow: 0 8px 50px rgba(0, 0, 0, 0.6);
}

.finale-ip { margin-top: 30px; }
.finale-ip span { display: inline-block; padding: 10px 20px; background: rgba(0, 0, 0, 0.6); border-left: 3px solid var(--blue); font-size: 18px; letter-spacing: 0.12em; }
.finale .actions { justify-content: center; }

/* ---------------- Footer ---------------- */

.footer { padding: 34px 0; background: var(--night); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; font-size: 13px; color: rgba(255, 255, 255, 0.35); }
.footer .brand-name { font-size: 22px; color: #fff; }
.footer .brand-logo { height: 34px; }

/* ---------------- Reveal ---------------- */

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1100px) {
    .nav { display: none; }
    .sound { margin-left: auto; }
    .team { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
    .band-inner, .faq, .history { grid-template-columns: 1fr; gap: 50px; }
    .story-head { position: static; }
    .life-body { grid-template-columns: 1fr; gap: 40px; }
    .chapters { flex-direction: row; flex-wrap: wrap; gap: 4px 20px; }
    .chapter { font-size: 18px; padding: 6px 0 6px 12px; }
    .chapter.active { transform: none; }
    .hero-facts { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(3) { padding-left: 0; border-left: 0; }
    .fact:nth-child(n+3) { margin-top: 20px; border-top: 1px solid var(--hair); }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .topbar-inner { gap: 18px; }
    .brand-logo { height: 34px; }
    .brand-name { font-size: 20px; }
    .topbar-cta { height: 40px; padding: 0 16px; font-size: 13px; }
    .sound { width: 38px; height: 38px; padding-bottom: 12px; margin-right: -8px; }
    .items { grid-template-columns: 1fr; gap: 24px; }
    .band, .life, .section, .finale { padding: 90px 0; }
    .finale { min-height: 0; }
    .hero-facts { margin-top: 48px; }
    .fact { padding-right: 10px; }
    .fact + .fact { padding-left: 14px; }
    .fact:nth-child(3) { padding-left: 0; }
    .fact-value { font-size: 16px; }
    .chapter b { display: none; }
    .team { gap: 18px; }
    .gallery { padding: 90px 0 80px; }
    .gallery-head { margin-bottom: 34px; }
    .gallery-count { display: none; }
    .arrow { width: 46px; height: 46px; }
    .shot { flex-basis: 86vw; }
    .loader-spin { right: 6vw; bottom: auto; top: 30px; }
    .btn-lg { height: 54px; padding: 0 26px; }
}

@media (max-width: 400px) {
    .brand-name em { display: none; }
}
