/* assets/css/style.css */

/* 1. Local Font Setup */
@font-face {
    font-family: 'Sarpanch';
    src: url('../fonts/sarpanch-regular.woff2') format('woff2'),
         url('../fonts/sarpanch-regular.woff') format('woff'),
         url('../fonts/sarpanch-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Sarpanch';
    src: url('../fonts/sarpanch-bold.woff2') format('woff2'),
         url('../fonts/sarpanch-bold.woff') format('woff'),
         url('../fonts/sarpanch-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* 2. Design Variables */
:root {
    --purple:       #8535A8;
    --purple-dim:   rgba(133, 53, 168, 0.25);
    --purple-glow:  rgba(133, 53, 168, 0.5);
    --orange:       #E8782E;
    --orange-dim:   rgba(232, 120, 46, 0.15);
    --dark:         #0a0710;
    --dark-panel:   rgba(12, 8, 20, 0.92);
    --text:         #e0d8f0;
    --text-muted:   #8a82a0;
    --text-dim:     #5a5270;
    --aurora:       #c084f5;
    --star:         #ffd97d;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--dark);
    background-image:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(133,53,168,0.18) 0%, transparent 60%),
        url('../img/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text);
    font-family: 'Sarpanch', monospace;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 7, 16, 0.88);
    z-index: -1;
}

/* Subtle star-field noise overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes pulse    { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
@keyframes scanline { 0% { transform: translateY(-100%); } 100% { transform: translateY(100vh); } }
@keyframes flicker  { 0%,100%{opacity:1;} 92%{opacity:1;} 93%{opacity:0.8;} 94%{opacity:1;} 96%{opacity:0.9;} 97%{opacity:1;} }
@keyframes drift    { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
@keyframes glowPulse{ 0%,100%{box-shadow: 0 0 12px var(--purple-glow), inset 0 0 6px rgba(133,53,168,0.1);} 50%{box-shadow: 0 0 28px var(--purple-glow), inset 0 0 12px rgba(133,53,168,0.2);} }

.animate-in > * {
    opacity: 0;
    animation: fadeUp 0.5s ease-out forwards;
}
.animate-in > *:nth-child(1) { animation-delay: 0.05s; }
.animate-in > *:nth-child(2) { animation-delay: 0.12s; }
.animate-in > *:nth-child(3) { animation-delay: 0.19s; }
.animate-in > *:nth-child(4) { animation-delay: 0.26s; }
.animate-in > *:nth-child(5) { animation-delay: 0.33s; }

/* ── HEADER / NAV ────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    background: linear-gradient(180deg, rgba(10,7,16,0.98) 0%, rgba(10,7,16,0.85) 100%);
    border-bottom: 1px solid rgba(133,53,168,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo-container img { height: 46px; width: auto; }

nav { display: flex; gap: 8px; }

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 8px 18px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.5em), calc(100% - 0.5em) 100%, 0 100%);
}

nav a::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: var(--orange);
    transition: width 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--text);
    border: 1px solid rgba(133,53,168,0.5);
    background: rgba(133,53,168,0.12);
    text-decoration: none;
}

nav a.active::before, nav a:hover::before { width: 3px; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
    max-width: 1180px;
    margin: 36px auto;
    padding: 0 24px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex: 1;
    position: relative;
    z-index: 1;
}

.main-content { flex: 1 1 65%; min-width: 0; }
.sidebar { flex: 0 0 300px; max-width: 300px; }

/* ── PANEL ───────────────────────────────────────────────── */
.panel {
    position: relative;
    background: var(--dark-panel);
    border: 1px solid rgba(133,53,168,0.35);
    border-left: 3px solid var(--orange);
    padding: 2em;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.2em), calc(100% - 1.2em) 100%, 0 100%);
    margin-bottom: 20px;
    overflow: hidden;
    animation: glowPulse 4s ease-in-out infinite;
}

.panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(133,53,168,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(133,53,168,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* corner accent */
.panel::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 1.2em; height: 1.2em;
    border-top: 1px solid rgba(133,53,168,0.4);
    border-left: 1px solid rgba(133,53,168,0.4);
    pointer-events: none;
}

.panel > * { position: relative; z-index: 1; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 { position: relative; }

h1 {
    color: var(--orange);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5em;
    padding-bottom: 0.4em;
    animation: flicker 8s infinite;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, var(--orange), var(--purple), transparent);
}

h2 {
    color: var(--aurora);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 0.6em;
    padding-bottom: 0.3em;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, var(--purple-glow), transparent);
}

h3 {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin: 1.5em 0 0.5em;
}

p { margin-bottom: 1em; font-size: 0.92rem; color: var(--text); line-height: 1.75; }

ul { margin: 0 0 1em 1.2em; }
li { margin-bottom: 0.4em; font-size: 0.9rem; color: var(--text); }
li::marker { color: var(--orange); }

/* ── LINKS & BUTTONS ─────────────────────────────────────── */
a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--aurora); text-decoration: none; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(133,53,168,0.15);
    border: 1px solid rgba(133,53,168,0.5);
    border-left: 3px solid var(--orange);
    color: var(--text);
    padding: 9px 20px;
    margin: 8px 8px 0 0;
    font-family: 'Sarpanch', monospace;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.2s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.5em), calc(100% - 0.5em) 100%, 0 100%);
}

.btn:hover {
    background: rgba(133,53,168,0.35);
    border-color: var(--purple);
    color: #fff;
    box-shadow: 0 0 14px var(--purple-glow);
    text-decoration: none;
}

.btn-orange {
    border-left-color: var(--aurora);
    background: rgba(192,132,245,0.1);
    border-color: rgba(192,132,245,0.4);
}

.btn-orange:hover {
    background: rgba(192,132,245,0.25);
    border-color: var(--aurora);
    box-shadow: 0 0 14px rgba(192,132,245,0.4);
}

/* ── STATUS BADGES ───────────────────────────────────────── */
.badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 10px;
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-online  { border-color: #4ade80; color: #4ade80; background: rgba(74,222,128,0.08); }
.badge-open    { border-color: var(--orange); color: var(--orange); background: var(--orange-dim); }
.badge-aurora  { border-color: var(--aurora); color: var(--aurora); background: rgba(192,132,245,0.08); }

/* ── SIDEBAR TABLES ──────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; margin-top: 10px; }

th, td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(133,53,168,0.2);
    font-size: 0.8rem;
}

th { text-align: left; color: var(--orange); width: 42%; font-weight: 400; letter-spacing: 0.05em; }
td { text-align: right; color: var(--text); }

/* stat bars in sidebar */
.stat-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(133,53,168,0.15); }
.stat-name { font-size: 0.72rem; color: var(--orange); width: 44px; flex-shrink: 0; letter-spacing: 0.05em; }
.stat-bar  { flex: 1; height: 5px; background: rgba(133,53,168,0.15); position: relative; overflow: hidden; }
.stat-fill { height: 100%; background: linear-gradient(90deg, var(--purple), var(--aurora)); transition: width 1s ease; }
.stat-fill.danger { background: linear-gradient(90deg, #7f1d1d, #ef4444); }
.stat-num  { font-size: 0.72rem; color: var(--text-muted); width: 24px; text-align: right; flex-shrink: 0; }

/* ── HERO SECTION (index) ────────────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding: 0;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(133,53,168,0.3);
    border-left: 3px solid var(--orange);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2em), calc(100% - 2em) 100%, 0 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(133,53,168,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 30% 50%, rgba(232,120,46,0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(10,7,16,0.95) 0%, rgba(20,10,35,0.8) 100%);
    z-index: 0;
}

/* Scanline effect on hero */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.08) 2px,
        rgba(0,0,0,0.08) 4px
    );
    pointer-events: none;
}

.hero-art {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 110%;
    max-width: 45%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 1;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 50%, transparent 100%);
    animation: drift 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5em 2.5em 2em;
    max-width: 60%;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--aurora);
    margin-bottom: 0.6em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--aurora);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 0.3em;
}

.hero h1 .name-sub {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 0.2em;
}

.hero-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 380px;
    margin: 0.8em 0 1.4em;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 1.4em;
}

.hero-stat { text-align: center; }
.hero-stat-val { display: block; font-size: 1.4rem; color: var(--orange); line-height: 1; }
.hero-stat-lbl { display: block; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--text-dim); text-transform: uppercase; margin-top: 2px; }

.hero-divider {
    width: 1px;
    background: rgba(133,53,168,0.3);
    align-self: stretch;
}

/* ── INDEX — INFO CARDS ROW ──────────────────────────────── */
.card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.info-card {
    position: relative;
    background: var(--dark-panel);
    border: 1px solid rgba(133,53,168,0.25);
    border-top: 2px solid var(--orange);
    padding: 1.2em 1.4em;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.info-card:hover {
    border-color: rgba(133,53,168,0.5);
    box-shadow: 0 0 16px rgba(133,53,168,0.2);
}

.info-card-label {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.4em;
}

.info-card-value {
    font-size: 1rem;
    color: var(--text);
}

/* ── COMMISSION SECTION ──────────────────────────────────── */
.comm-graphic {
    width: 100%;
    height: auto;
    border: 1px solid rgba(133,53,168,0.3);
    border-left: 3px solid var(--orange);
    margin: 12px 0;
    display: block;
    transition: box-shadow 0.2s;
}

.comm-graphic:hover { box-shadow: 0 0 20px rgba(133,53,168,0.3); }

/* ── PROFILE IMAGE ───────────────────────────────────────── */
img.profile-pic {
    width: 100%;
    height: auto;
    border-bottom: 2px solid var(--purple);
    margin-bottom: 14px;
    display: block;
}

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border: 1px solid rgba(133,53,168,0.25);
    border-left: 2px solid var(--orange);
    overflow: hidden;
    cursor: zoom-in;
    background: rgba(12,8,20,0.6);
    transition: border-color 0.2s, box-shadow 0.2s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.8em), calc(100% - 0.8em) 100%, 0 100%);
}

.gallery-item:hover {
    border-color: rgba(133,53,168,0.6);
    box-shadow: 0 0 20px rgba(133,53,168,0.25);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.35s ease, opacity 0.25s;
}

.gallery-item:hover img { transform: scale(1.04); opacity: 0.9; }

.caption {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 12px 10px;
    border-top: 1px solid rgba(133,53,168,0.2);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(133,53,168,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-icon {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px;
}

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8,5,14,0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 0.2s ease;
    cursor: zoom-out;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border: 1px solid rgba(133,53,168,0.4);
    border-left: 3px solid var(--orange);
    box-shadow: 0 0 60px rgba(133,53,168,0.3);
    cursor: default;
    animation: fadeUp 0.25s ease;
}

.lightbox-caption {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    background: none; border: none; font-family: inherit;
}

.lightbox-close:hover { color: var(--orange); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(133,53,168,0.2);
    border: 1px solid rgba(133,53,168,0.4);
    color: var(--text);
    font-size: 1.5rem;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lightbox-nav:hover { background: var(--purple-dim); color: #fff; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── LORE PAGE ───────────────────────────────────────────── */
.lore-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-left: 2px solid rgba(133,53,168,0.4);
    padding-left: 1em;
    margin-bottom: 2em;
    font-style: italic;
    line-height: 1.8;
}

blockquote {
    border-left: 3px solid var(--orange);
    padding: 0.6em 1em;
    margin: 1.2em 0;
    background: rgba(232,120,46,0.05);
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ── TERMINAL / DIARY ────────────────────────────────────── */
.terminal-window {
    position: relative;
    background: rgba(8,5,16,0.97);
    border: 1px solid rgba(133,53,168,0.4);
    border-top: 2px solid var(--orange);
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.terminal-titlebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(133,53,168,0.12);
    border-bottom: 1px solid rgba(133,53,168,0.25);
}

.terminal-dot {
    width: 10px; height: 10px; border-radius: 50%;
}

.terminal-dot.red    { background: #ef4444; }
.terminal-dot.yellow { background: #fbbf24; }
.terminal-dot.green  { background: #4ade80; }

.terminal-title {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-left: 6px;
    flex: 1;
}

.terminal-body {
    padding: 2em 2.2em;
    min-height: 320px;
    position: relative;
}

/* blinking cursor at start of terminal */
.terminal-prompt {
    font-size: 0.75rem;
    color: var(--aurora);
    letter-spacing: 0.08em;
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--aurora);
    animation: pulse 1.1s ease-in-out infinite;
    vertical-align: middle;
}

/* page content area */
.diary-page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.diary-page.active { display: block; }

.diary-page h3 {
    color: var(--orange);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 1.2em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid rgba(133,53,168,0.25);
}

.diary-page p {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 1.1em;
}

/* Terminal pagination */
.terminal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid rgba(133,53,168,0.2);
    background: rgba(133,53,168,0.05);
}

.page-indicator {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-dots {
    display: flex;
    gap: 6px;
}

.page-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(133,53,168,0.3);
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    padding: 0;
}

.page-dot.active { background: var(--orange); }

/* ── STATUS LIST (sidebar) ───────────────────────────────── */
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(133,53,168,0.15);
    font-size: 0.82rem;
    margin: 0;
}

.status-list .label { color: var(--text-muted); }

.social-list { list-style: none; margin: 0; padding: 0; }
.social-list li {
    margin: 0;
    border-bottom: 1px solid rgba(133,53,168,0.12);
}

.social-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.2s, padding-left 0.2s;
}

.social-list a:hover { color: var(--orange); padding-left: 8px; }

.social-list a::before {
    content: '›';
    color: var(--orange);
    font-size: 1rem;
    line-height: 1;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
    text-align: center;
    padding: 20px 40px;
    border-top: 1px solid rgba(133,53,168,0.3);
    background: linear-gradient(0deg, rgba(10,7,16,0.98) 0%, transparent 100%);
    color: var(--text-dim);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 1;
}

footer span { color: var(--orange); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 860px) {
    .container { flex-direction: column; }
    .sidebar { flex: none; width: 100%; max-width: 100%; }
    .hero h1 { font-size: 2rem; }
    .hero-content { max-width: 100%; padding: 1.5em; }
    .hero-art { opacity: 0.25; }
    .card-row { grid-template-columns: 1fr 1fr; }
    header { padding: 12px 16px; }
    nav a { font-size: 0.7rem; padding: 7px 10px; letter-spacing: 0.08em; }
}

@media (max-width: 560px) {
    .card-row { grid-template-columns: 1fr; }
    .hero { min-height: 260px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-stats { gap: 12px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}