:root {
    color-scheme: dark;
    --bg: #0e1515;
    --panel: #162120;
    --panel-raised: #1a2825;
    --accent: #edc885;
    --line: #414c40;
    --gold-line: #8b7048;
    --text: #f2ead8;
    --muted: #bdc5b9;
    --display: Georgia, 'Times New Roman', serif;
    font: 15px/1.5 'Segoe UI', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: #ffe4a5; }
:focus-visible { outline: 2px solid #a7e9d7; outline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { opacity: .6; cursor: not-allowed; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2 { font: 600 clamp(1.6rem, 2.8vw, 2.3rem)/1.14 var(--display); letter-spacing: -.015em; }
h3 { font-size: 1.07rem; line-height: 1.35; }
img { display: block; max-inline-size: 100%; }
svg { flex: none; }
.shell { width: min(100% - 64px, 1280px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-170%); padding: .7rem; background: var(--panel); z-index: 5; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid #3f4031; background: #111b19; }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 76px; gap: 1.1rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; font: 600 1.35rem/1.1 var(--display); flex: none; }
.brand small { display: block; margin-top: .29rem; color: var(--accent); font: 600 .63rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .2em; }
.brand-mark { color: var(--accent); display: grid; place-items: center; width: 39px; height: 42px; border: 1px solid var(--gold-line); background: #252d22; border-radius: 5px 5px 11px 11px; }
.brand-mark svg { width: 25px; height: 25px; }
.navigation { display: flex; align-items: center; gap: .35rem; }
.navigation > a:not(.button) { color: var(--muted); padding: .75rem .64rem; text-decoration: none; white-space: nowrap; }
.navigation > a:hover, .navigation > a[aria-current] { color: var(--accent); }
.navigation > a[aria-current] { box-shadow: inset 0 -2px var(--gold-line); }
.button, .menu-button {
    display: inline-flex; justify-content: center; align-items: center; gap: .45rem;
    min-height: 44px; padding: .62rem .95rem; border: 1px solid #66705c; border-radius: 5px;
    background: #202e29; color: var(--text); font-weight: 650; text-decoration: none; line-height: 1.22;
}
.button svg { width: 17px; height: 17px; }
.button:hover, .menu-button:hover { background: #303d34; color: var(--text); }
.button-gold { background: #dbb475; border-color: #efce94; color: #1a1913; box-shadow: inset 0 -2px #957445; }
.button-gold:hover { background: #f0cc8a; color: #1a1913; }
.button-outline { background: #15201fe0; border-color: #9a8763; }
.button-danger { background: #442928; border-color: #a05e55; }
.button-danger:hover { background: #633531; }
.header-action { margin-left: .5rem; white-space: nowrap; }
.content { min-height: calc(100vh - 175px); padding-block: 1.55rem 2.7rem; }
.hero, .banner { position: relative; isolation: isolate; border: 1px solid var(--gold-line); border-radius: 9px; overflow: hidden; background: #242e26; }
.hero { min-height: clamp(355px, 36vw, 475px); display: grid; align-items: center; }
.scene { position: absolute; z-index: -3; inset: 0; }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero::before, .banner::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #111a18f7 0%, #111a18e0 24%, #141e1a80 59%, #15211a22 100%), linear-gradient(0deg, #151c1cd0, transparent 50%); }
.hero-character { position: absolute; z-index: -1; right: 12%; bottom: 0; width: min(35%, 420px); }
.hero-character img { width: 100%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 11px 20px #050a06cf); }
.hero-banner { position: absolute; z-index: -2; top: 10%; right: 8%; width: min(13%, 135px); height: auto; image-rendering: pixelated; }
.hero-copy { padding: clamp(1.4rem, 4.4vw, 4rem); max-width: min(60%, 720px); }
.hero h1 { font-size: clamp(3rem, 6.8vw, 6.25rem); font-weight: 600; line-height: .98; letter-spacing: -.047em; }
.hero h1 span { display: block; color: var(--accent); font-size: .33em; text-transform: uppercase; letter-spacing: .23em; margin: .5em 0 .8em; }
.hero p { max-width: 35ch; font-size: 1.1rem; color: #e4e3d7; margin-bottom: 1.45rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.dashboard { display: grid; grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr); gap: 1.45rem; margin-top: 1.65rem; align-items: start; }
.rail, .editor-content { display: grid; gap: 1rem; min-width: 0; }
.section-head { display: flex; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.section-head h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.text-action { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; }
.text-action svg { width: 17px; height: 17px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.news-card, .panel { min-width: 0; border: 1px solid var(--line); background: var(--panel); border-radius: 7px; }
.news-card { overflow: hidden; }
.news-card:focus-within { border-color: var(--gold-line); }
.cover { overflow: hidden; background: linear-gradient(135deg, #374033, #232c25 55%, #514435); aspect-ratio: 16 / 9; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover img[hidden] { visibility: hidden; }
.news-card-body { padding: .92rem; }
.news-card h3 { margin: .6rem 0 .36rem; overflow-wrap: anywhere; }
.news-card h3 a { color: var(--text); text-decoration: none; }
.news-card h3 a:hover { color: var(--accent); text-decoration: underline; }
.news-card p, .muted { color: var(--muted); }
.news-card p { font-size: .94rem; overflow-wrap: anywhere; }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .78rem; }
.tag { border: 1px solid #72634a; border-radius: 4px; color: #f4d4a1; background: #362b21; padding: .07rem .42rem; font-weight: 700; }
.tag[data-category='update'] { color: #c3e2d9; background: #243931; border-color: #547669; }
.tag[data-category='event'] { color: #e8c9e6; background: #392d3c; border-color: #705772; }
.panel { padding: clamp(.95rem, 1.65vw, 1.3rem); }
.panel-heading { display: flex; align-items: center; gap: .55rem; margin-bottom: .75rem; }
.panel-heading svg { color: var(--accent); }
.panel-heading h2 { font-size: 1.38rem; overflow-wrap: anywhere; }
.rail .panel { border-top-color: var(--gold-line); }
.rows { padding: 0; list-style: none; }
.rows li { display: flex; justify-content: space-between; align-items: center; gap: .65rem; min-height: 43px; padding-block: .43rem; border-bottom: 1px solid #35433c; overflow-wrap: anywhere; }
.rows li:last-child { border-bottom: 0; }
.status-list { margin: -.15rem 0 .45rem; }
.status-list li { font-size: .87rem; }
.status-state { display: inline-flex; align-items: center; gap: .34rem; color: #d4c6ad; white-space: nowrap; }
.status-state i { width: .5rem; height: .5rem; background: currentColor; border-radius: 50%; }
.status-state[data-state='online'] { color: #a0dac1; }
.status-state[data-state='offline'] { color: #f6a89c; }
.status-state[data-state='degraded'] { color: #edc885; }
.shortcut p { color: var(--muted); margin-bottom: .6rem; }
.agenda { margin-top: 1.15rem; }
.agenda time { color: var(--muted); font-size: .87rem; }
.banner { min-height: 205px; padding: 1.6rem 2rem; display: flex; align-items: end; margin-bottom: 1.3rem; }
.banner h1, .page-heading h1 { font-size: clamp(2.25rem, 4.8vw, 3.65rem); }
.banner p, .page-heading p { margin-top: .35rem; color: #e5e4d6; }
.article { max-width: 810px; margin: .8rem auto 0; padding: 0; overflow: hidden; }
.article-heading { padding: clamp(1.05rem, 3vw, 2.2rem); }
.article-heading h1 { font-size: clamp(2rem, 5vw, 3.65rem); margin: .6rem 0 .7rem; overflow-wrap: anywhere; }
.article-heading p { color: var(--muted); overflow-wrap: anywhere; }
.event-time { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.prose { max-width: 810px; padding: clamp(1.1rem, 3.1vw, 2.1rem); }
.prose > * + * { margin-top: .8rem; }
.plain-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.guide { padding-left: 1.25rem; }
.guide li { margin-bottom: 1.1rem; padding-left: .35rem; }
.guide h2 { font-size: 1.45rem; margin-bottom: .35rem; }
.pagination { margin-top: 1rem; }
.editor-grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.6fr); gap: 1.15rem; align-items: start; }
.editor-grid details summary { color: var(--accent); font-weight: 650; }
.preview-inner { margin-top: 1rem; display: grid; gap: .65rem; overflow-wrap: anywhere; }
.editorial-list li a { display: grid; gap: .15rem; width: 100%; padding: .3rem; text-decoration: none; }
.editorial-list li a[aria-current] { border-inline-start: 2px solid var(--accent); padding-left: .5rem; }
.editorial-list small { color: var(--muted); }
.notice { border: 1px solid var(--gold-line); border-radius: 5px; background: #352d21; padding: .75rem 1rem; margin-bottom: 1rem; }
.form-stack { display: grid; gap: .85rem; }
.form-stack button { justify-self: start; }
.form-stack label { display: grid; gap: .26rem; font-weight: 600; min-width: 0; }
.form-stack input, .form-stack textarea, .form-stack select {
    width: 100%; min-width: 0; min-height: 43px; color: var(--text); background: #101918; border: 1px solid #596759; border-radius: 5px;
    padding: .48rem .62rem; font-weight: 400;
}
.form-stack input[readonly] { background: #26302a; }
.form-stack textarea { resize: vertical; }
.form-stack fieldset { min-width: 0; padding: .65rem; margin: 0; border: 1px solid var(--line); border-radius: 4px; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.account-panel { max-width: 645px; }
.site-footer { background: #121c19; border-top: 1px solid var(--line); padding: 1rem 0; }
.site-footer .shell { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.25rem; }
.site-footer strong { margin-right: auto; }
.site-footer span { color: var(--muted); font-weight: 400; }

@media (max-width: 1000px) {
    .masthead { flex-wrap: wrap; gap: .5rem; padding-block: .65rem; }
    .navigation { justify-content: center; flex: 1 1 auto; flex-wrap: wrap; }
    .news-section .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    .shell { width: min(100% - 34px, 1280px); }
    .masthead { min-height: 62px; }
    .navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex-basis: 100%; gap: .25rem .75rem; }
    .navigation .header-action { margin: 0; }
    .dashboard { grid-template-columns: minmax(0, 1fr); }
    .news-section .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-copy { max-width: 65%; }
    .hero-character { right: 3%; width: 39%; }
    .hero-banner { right: 13%; }
    .editor-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .shell { width: calc(100% - 26px); }
    .content { padding-top: .85rem; }
    .hero { min-height: 440px; align-items: end; }
    .hero::before { background: linear-gradient(0deg, #121c1bf9 1%, #15201de0 36%, #15211a18 84%); }
    .hero::after { content: ''; position: absolute; z-index: -1; inset: 33% 0 0; background: linear-gradient(0deg, #121c1bf5 10%, #121c1b9c 60%, transparent 94%); pointer-events: none; }
    .hero-character { right: 3%; bottom: auto; top: 3.1rem; width: 48%; }
    .hero-banner { right: 58%; width: 22%; top: 7%; }
    .hero-copy { max-width: none; padding: 1.2rem; }
    .hero h1 { font-size: clamp(2.8rem, 12.5vw, 4.1rem); }
    .hero p { font-size: .96rem; margin-bottom: .85rem; }
    .hero-copy .actions .button { padding-inline: .6rem; font-size: .9rem; }
    .news-section .news-grid, .news-index, .rail, .form-pair { grid-template-columns: minmax(0, 1fr); }
    .section-head { align-items: baseline; flex-wrap: wrap; }
    .banner { padding: 1rem; min-height: 165px; }
    .agenda li { align-items: flex-start; flex-direction: column; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }


/* Approved Oathverge v001, preserve original 2:1 proportions. */
.brand .oathverge-logo { width: 148px; height: 74px; object-fit: contain; }
.hero h1 { margin-bottom: 1rem; }
.hero-logo { width: min(100%, 460px); height: auto; object-fit: contain; }
.footer-logo { width: 116px; height: 58px; object-fit: contain; }
@media (max-width: 600px) {
    .brand .oathverge-logo { width: 128px; height: 64px; }
    .hero-logo { width: min(100%, 360px); }
}


/* ===== Visual polish v2 (4 Des 2026): depth, rhythm, gallery, demo ===== */
:root {
    --accent-strong: #f6d89e;
    --gold-soft: #8b704866;
    --shadow: 0 22px 48px -24px #000000d9;
    --radius: 10px;
}
html { scroll-behavior: smooth; }
body {
    background:
        radial-gradient(1100px 520px at 12% -8%, #20322c 0%, transparent 62%),
        radial-gradient(900px 480px at 100% 30%, #1c2420 0%, transparent 60%),
        var(--bg);
    background-attachment: fixed;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pill {
    display: inline-block; padding: .08rem .42rem; border: 1px solid #a7e9d766; border-radius: 99px;
    color: #a7e9d7; background: #a7e9d714; font: 700 .62rem/1.4 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow {
    display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem;
    color: var(--accent); font: 700 .74rem/1.2 system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: .5rem; height: .5rem; transform: rotate(45deg); background: var(--accent); box-shadow: 0 0 12px #edc88599; flex: none; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 30; border-bottom: 0;
    background: #0f1817e8; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--gold-soft), 0 12px 30px -24px #000;
}
.navigation > a:not(.button) { position: relative; transition: color .18s; }
.navigation > a:not(.button)::after {
    content: ''; position: absolute; left: .64rem; right: .64rem; bottom: .35rem; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: scaleX(0); transition: transform .22s;
}
.navigation > a:not(.button):hover::after, .navigation > a[aria-current]::after { transform: scaleX(1); }
.navigation > a[aria-current] { box-shadow: none; }
.nav-demo { display: inline-flex; align-items: center; gap: .4rem; }
.navigation > a.nav-discord { display: inline-flex; align-items: center; gap: .35rem; }
.nav-discord svg { width: 18px; height: 18px; color: #aab4ff; }
.button-discord { background: linear-gradient(180deg, #6873f5, #4c56d8); border-color: #8f97ff; color: #fff; box-shadow: inset 0 -2px #343db0, 0 8px 22px -12px #5865f2b3; }
.button-discord:hover { background: linear-gradient(180deg, #7983ff, #5865f2); color: #fff; }
.community { border-top-color: #6d76e8; }
.community .button-discord { width: 100%; }

/* Buttons */
.button { transition: transform .16s, background .18s, box-shadow .18s, border-color .18s; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: none; }
.button .pill { margin-left: .1rem; }
.button-gold {
    background: linear-gradient(180deg, #f4d79f 0%, #ddb472 55%, #c99a55 100%); border-color: #f6dcaa;
    box-shadow: inset 0 -2px #93703f, 0 8px 22px -12px #edc885b3;
}
.button-gold:hover { background: linear-gradient(180deg, #fbe2b0 0%, #e8c07f 55%, #d3a45d 100%); box-shadow: inset 0 -2px #93703f, 0 10px 26px -10px #edc885cc; }
.button-gold .pill { color: #2a2416; border-color: #2a241666; background: #2a24161a; }
.button-outline { background: #131d1ccc; border-color: #b39566; backdrop-filter: blur(4px); }
.button-outline:hover { border-color: var(--accent); background: #22302bdd; }
.button-ghost { background: transparent; border-color: transparent; color: var(--text); }
.button-ghost:hover { background: #ffffff10; border-color: #ffffff1a; }

/* Hero */
.hero { box-shadow: var(--shadow); border-color: #a88a57; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 8px; border: 1px solid #edc88526; border-radius: 6px; pointer-events: none; }
.hero-copy .eyebrow { text-shadow: 0 1px 8px #000; }
.preview-note {
    display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; padding: .55rem .85rem;
    border: 1px solid #a7e9d72e; border-radius: 8px; background: #a7e9d70d; color: var(--muted); font-size: .88rem;
}

/* Section rhythm */
.features, .showcase, .demo-band, .gallery, .guide-steps { margin-top: clamp(2.2rem, 5vw, 3.6rem); }
.section-title { text-align: center; margin-bottom: 1.5rem; }
.section-title .eyebrow { justify-content: center; }
.section-title h2, .section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head { align-items: end; margin-bottom: 1.1rem; }
.section-head .eyebrow { margin-bottom: .4rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature {
    position: relative; padding: 1.35rem 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: linear-gradient(180deg, #1b2826 0%, #141e1d 100%); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.feature::before { content: ''; position: absolute; inset: 0 18% auto; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .65; }
.feature:hover { transform: translateY(-3px); border-color: var(--gold-line); box-shadow: var(--shadow); }
.feature-icon {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .9rem; border-radius: 50%;
    color: var(--accent-strong); border: 1px solid var(--gold-line); background: radial-gradient(circle at 50% 35%, #3a3524, #1a201b 70%);
    box-shadow: 0 0 0 4px #edc8850d;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font: 600 1.18rem/1.25 var(--display); margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .93rem; }

/* Screenshots */
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.showcase-grid .shot-feature { grid-column: span 2; grid-row: span 2; }
.showcase-grid .shot-feature { display: flex; flex-direction: column; }
.showcase-grid .shot-feature .shot-link { flex: 1; aspect-ratio: auto; min-height: 280px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.shot { position: relative; margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0b1110; transition: border-color .2s, box-shadow .2s, transform .2s; }
.shot:hover, .shot:focus-within { border-color: var(--gold-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.shot-link { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.shot-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover .shot-link img { transform: scale(1.035); }
.shot-zoom {
    position: absolute; top: .6rem; right: .6rem; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    color: var(--accent-strong); background: #0c1312cc; border: 1px solid var(--gold-soft); opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s;
}
.shot:hover .shot-zoom, .shot-link:focus-visible .shot-zoom { opacity: 1; transform: none; }
.shot figcaption { display: grid; gap: .15rem; padding: .75rem .9rem .85rem; background: linear-gradient(180deg, #172221, #121b1a); border-top: 1px solid #2c3833; }
.shot figcaption strong { font: 600 1.05rem/1.3 var(--display); }
.shot-caption { color: var(--muted); font-size: .86rem; }
.shot-category { color: var(--accent); font: 700 .66rem/1.3 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.showcase-grid .shot:not(.shot-feature) .shot-caption { display: none; }
.shot-feature figcaption { position: absolute; inset: auto 0 0; padding: 2.6rem 1.2rem 1.1rem; border-top: 0; background: linear-gradient(0deg, #0b1110f2 15%, #0b1110a6 60%, transparent); }
.shot-feature figcaption strong { font-size: 1.5rem; }
.shot-feature .shot-caption { color: #dcdccf; font-size: .95rem; max-width: 60ch; }
.shot-plain figcaption { display: none; }
.shot-note { margin-top: .9rem; color: var(--muted); font-size: .84rem; text-align: center; }

/* Gallery filter */
.gallery-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.15rem; }
.chip {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem .9rem; border-radius: 99px;
    border: 1px solid var(--line); background: #152020; color: var(--muted); font-weight: 650; transition: all .18s;
}
.chip span { padding: 0 .4rem; border-radius: 99px; background: #ffffff12; font-size: .78rem; }
.chip:hover { color: var(--text); border-color: var(--gold-line); }
.chip[aria-pressed='true'] { color: #1a1913; background: linear-gradient(180deg, #f4d79f, #d6ac66); border-color: #f6dcaa; }
.chip[aria-pressed='true'] span { background: #1a191322; }

/* Demo band */
.demo-band {
    position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 340px;
    border: 1px solid #a88a57; border-radius: var(--radius); box-shadow: var(--shadow);
}
.demo-scene { position: absolute; inset: 0; z-index: -2; }
.demo-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.demo-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0d1514f5 0%, #0d1514d9 42%, #0d151455 75%, #0d151422 100%); }
.demo-copy { max-width: 560px; padding: clamp(1.4rem, 4vw, 3rem); }
.demo-copy .eyebrow { color: #a7e9d7; }
.demo-copy .eyebrow::before { background: #a7e9d7; box-shadow: 0 0 12px #a7e9d799; }
.demo-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .7rem; }
.demo-copy p:not(.eyebrow) { color: #dcdccf; margin-bottom: 1.25rem; }

/* News and panels */
.dashboard { margin-top: clamp(2.2rem, 5vw, 3.6rem); }
.news-card { transition: transform .2s, border-color .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); border-color: var(--gold-line); box-shadow: var(--shadow); }
.news-card .cover img { transition: transform .5s ease; }
.news-card:hover .cover img { transform: scale(1.04); }
.panel { background: linear-gradient(180deg, #182423 0%, #141e1d 100%); }
.banner { box-shadow: var(--shadow); }

/* Guide */
.guide { padding: 0; list-style: none; display: grid; gap: 1.2rem; }
.guide li.guide-step {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.5rem; align-items: center; margin: 0;
    padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #182423, #141e1d);
}
.guide li.guide-step:nth-child(even) .guide-copy { order: 2; }
.step-number {
    display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .8rem; border-radius: 50%;
    border: 1px solid var(--gold-line); color: var(--accent-strong); font: 600 1.3rem/1 var(--display); background: #2a2a1e;
}
.guide h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.guide p { color: var(--muted); }
.guide-steps > .actions { margin-top: 1.4rem; justify-content: center; }

/* Lightbox */
.lightbox { width: min(100vw - 24px, 1320px); max-height: calc(100vh - 24px); padding: 0; border: 1px solid #a88a57; border-radius: var(--radius); background: #0b1110; color: var(--text); box-shadow: 0 30px 80px #000; }
.lightbox::backdrop { background: #050908e6; backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; height: auto; max-height: calc(100vh - 130px); object-fit: contain; background: #000; }
.lightbox figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; padding: .8rem 1rem; padding-right: 9rem; }
.lightbox figcaption strong { font: 600 1.2rem/1.3 var(--display); }
.lightbox figcaption span { color: var(--muted); font-size: .9rem; }
.lightbox-controls { position: absolute; right: .6rem; bottom: .55rem; display: flex; gap: .4rem; }
.lightbox-controls button, .lightbox-close {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold-soft);
    background: #16201ff0; color: var(--accent-strong);
}
.lightbox-controls button:hover, .lightbox-close:hover { border-color: var(--accent); background: #24302c; }
.lightbox-close { position: absolute; top: .6rem; right: .6rem; }
.lightbox-count { align-self: center; color: var(--muted); font-size: .82rem; min-width: 3.2rem; text-align: center; }

/* Footer */
.site-footer { margin-top: clamp(2.5rem, 6vw, 4rem); padding: 2.2rem 0 1rem; background: linear-gradient(180deg, #111b19, #0c1312); border-top: 1px solid var(--gold-soft); }
.site-footer .shell.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; align-items: start; }
.footer-brand p { color: var(--muted); max-width: 42ch; margin-top: .6rem; font-size: .92rem; }
.footer-links { display: grid; gap: .45rem; justify-items: start; }
.footer-links h2 { font: 700 .74rem/1.2 system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }
.footer-links a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.footer-links a:hover { color: var(--accent-strong); }
.site-footer .shell.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin-top: 1.8rem; padding-top: .9rem; border-top: 1px solid #ffffff12; color: #8f998e; font-size: .8rem; }
.content { min-height: 0; }

@media (max-width: 1000px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase-grid .shot-feature { grid-row: auto; }
    .guide li.guide-step { grid-template-columns: minmax(0, 1fr); }
    .guide li.guide-step:nth-child(even) .guide-copy { order: 0; }
    .site-footer .shell.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .demo-band::before { background: linear-gradient(0deg, #0d1514f7 30%, #0d1514c4 70%, #0d151466); }
    .site-header { position: static; }
}
@media (max-width: 600px) {
    .feature-grid, .gallery-grid, .showcase-grid { grid-template-columns: minmax(0, 1fr); }
    .site-footer .shell.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase-grid .shot-feature { grid-column: auto; }
    .shot-feature figcaption { position: static; padding: .75rem .9rem .85rem; background: linear-gradient(180deg, #172221, #121b1a); }
    .shot-feature figcaption strong { font-size: 1.15rem; }
    .demo-band { min-height: 0; align-items: end; padding-top: 38%; }
    .lightbox figcaption { padding-right: 1rem; padding-bottom: 3.6rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
    .shot:hover .shot-link img, .news-card:hover .cover img { transform: none; }
}
