/* ============================================
   ASSOCIAZIONE LINEA GUSTAV
   Centro Studi e Ricerche Storico Militari
   Professional Design System - LIQUID GLASS EDITION
   ============================================ */


/* ---- CSS Variables ---- */
/* ---- CSS Variables - PREMIER LIQUID GLASS ---- */
:root {
    --bg-dark: #000000;
    --bg-darker: #050604;
    --bg-card: rgba(18, 20, 16, 0.4);
    --bg-card-hover: rgba(28, 32, 24, 0.6);
    --bg-cream: #fbf9f4;
    --bg-cream-dark: #f0e6d2;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dark: #0a0a0a;

    /* Vibrant Premium Colors */
    --olive: #6b7a2d;
    --olive-light: #a4b35d;
    --olive-dark: #2d3615;
    --military-green: #3d4a2a;
    --red-accent: #d32f2f;
    --red-light: #f44336;
    --gold: #dfbd69;
    --gold-light: #f1d279;
    --steel: #2c3e50;

    /* Glass Morphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(223, 189, 105, 0.3);
    --glass-blur: 24px;
    --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-military: 'Black Ops One', sans-serif;
    --font-alt: 'Oswald', sans-serif;

    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1400px;
    --header-height: 90px;
}

/* ---- Liquid Glass Utility ---- */
/* ---- Premium Liquid Glass Utility ---- */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.8) brightness(1.2);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.8) brightness(1.2);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.glass-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%, transparent 100%);
    pointer-events: none;
}

.article-card,
.sidebar-widget,
.contact-info-card,
.team-card,
.gallery-item,
.stats-bar {
    background: rgba(255, 255, 255, 0.035) !important;
    backdrop-filter: blur(30px) saturate(1.6);
    -webkit-backdrop-filter: blur(30px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: var(--transition);
}

.article-card:hover,
.team-card:hover,
.gallery-item:hover {
    background: rgba(223, 189, 105, 0.08) !important;
    border-color: rgba(223, 189, 105, 0.3) !important;
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(223, 189, 105, 0.1);
}

.btn {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary {
    box-shadow:
        0 4px 15px rgba(89, 99, 1, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    background: rgba(201, 168, 76, 0.08) !important;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.section-label::before {
    content: '';
    width: 60px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='20' viewBox='0 0 80 20'%3E%3Cg fill='none' stroke='%23dfbd69' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M0 10c5-3 15-3 20 0s15 3 20 0 15-3 20 0 15 3 20 0' opacity='0.6'/%3E%3Cpath d='M0 10c5 3 15 3 20 0s15-3 20 0 15 3 20 0 15-3 20 0' opacity='0.3'/%3E%3Cpath d='M18 4l4 12M22 4l-4 12' stroke-width='2'/%3E%3Cpath d='M58 4l4 12M62 4l-4 12' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 40px 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.section-title {
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--red-accent), var(--gold));
    margin-top: 1rem;
    border-radius: 2px;
}

.section-title.centered::after {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Grain Overlay (cinematic texture) ---- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
/* ---- SITE HEADER — Liquid Glass ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    height: var(--header-height);
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
    background: transparent;
    overflow: visible;
}

.site-header.scrolled {
    background: rgba(8, 10, 6, 0.35);
    backdrop-filter: blur(40px) saturate(1.8) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(1.8) brightness(1.1);
    border-bottom: 1px solid rgba(223, 189, 105, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 -1px 0 rgba(0, 0, 0, 0.2) inset;
}

/* Glass shine reflection */
.site-header.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.02) 30%,
            transparent 50%,
            rgba(255, 255, 255, 0.01) 80%,
            rgba(255, 255, 255, 0.04) 100%);
    pointer-events: none;
}

/* Subtle gold glow at bottom edge */
.site-header.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(223, 189, 105, 0.15) 30%,
            rgba(223, 189, 105, 0.25) 50%,
            rgba(223, 189, 105, 0.15) 70%,
            transparent);
    pointer-events: none;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(223, 189, 105, 0.4);
    box-shadow: 0 0 12px rgba(223, 189, 105, 0.1);
    transition: var(--transition-fast);
}

.logo:hover img {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(223, 189, 105, 0.2);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--olive-light);
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.main-nav a {
    color: var(--text-light);
    font-family: var(--font-alt);
    font-size: var(--font-nav-size, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.45rem 0.5rem;
    position: relative;
    opacity: 0.8;
    border-radius: 6px;
    transition: opacity 0.3s, color 0.3s, background 0.3s;
}

.main-nav .nav-sep {
    color: var(--gold);
    opacity: 0.35;
    font-weight: 400;
    font-size: 0.9rem;
    user-select: none;
    pointer-events: none;
    margin: 0 0.05rem;
}

.nav-user-name.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-user-pill:has(.nav-user-name.sr-only) {
    padding: 0.3rem;
}

/* Glass pill hover on nav links */
.main-nav a:hover,
.main-nav a.active {
    opacity: 1;
    color: var(--gold);
    background: rgba(223, 189, 105, 0.06);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease, box-shadow 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 50%;
    box-shadow: 0 0 8px rgba(223, 189, 105, 0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2005;
    padding: 10px;
    background: transparent;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Nav User Pill ---- */
.nav-user-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem 0.3rem 0.3rem;
    border-radius: 50px;
    background: rgba(223, 189, 105, 0.08);
    border: 1px solid rgba(223, 189, 105, 0.2);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.nav-user-pill:hover {
    background: rgba(223, 189, 105, 0.14);
    border-color: rgba(223, 189, 105, 0.4);
    box-shadow: 0 0 16px rgba(223, 189, 105, 0.1);
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--gold);
    box-shadow: 0 0 0 2px rgba(223, 189, 105, 0.15);
}

.nav-user-avatar--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--olive-dark), var(--olive));
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
}

.nav-user-name {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-user-pill {
        width: 100%;
        padding: 0.6rem 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .nav-user-name {
        font-size: 0.85rem;
    }
}

/* ============================================
   HERO SECTION — Immersive Cinematic
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-darker);
}

.hero-bg {
    position: absolute;
    inset: -20px;
    z-index: 0;
    pointer-events: none;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.45) contrast(1.15) saturate(0.8);
    transform: scale(1.08);
    animation: heroBgZoom 25s ease-in-out infinite alternate;
}

@keyframes heroBgZoom {
    0% { transform: scale(1.08); }
    100% { transform: scale(1.15); }
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.45) contrast(1.15) saturate(0.8);
    animation: heroVideoReveal 3s ease-out forwards;
}

@keyframes heroVideoReveal {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.92) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

/* Atmospheric Smoke/Fog */
.hero-smoke {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: url("https://www.transparenttextures.com/patterns/black-linen.png");
    opacity: 0.12;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: smokeDrift 60s linear infinite;
}

@keyframes smokeDrift {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 500px; }
}

.hero-smoke::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(223, 189, 105, 0.06), transparent 60%);
    animation: smokePulse 15s ease-in-out infinite alternate;
}

@keyframes smokePulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.2); }
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 128px;
}

/* ---- Hero Content: Centered Immersive Layout ---- */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

/* ---- Logo Reveal Animation ---- */
.hero-logo-reveal {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: scale(0.5);
    animation: logoReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-logo-glow {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 189, 105, 0.25) 0%, rgba(223, 189, 105, 0.08) 40%, transparent 70%);
    animation: logoGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 40px rgba(223, 189, 105, 0.3)) drop-shadow(0 0 80px rgba(223, 189, 105, 0.1));
    position: relative;
    z-index: 2;
}

/* Logo spinning ring */
.hero-logo-reveal::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(223, 189, 105, 0.3);
    animation: logoRingSpin 20s linear infinite;
    background: conic-gradient(from 0deg, transparent 0%, rgba(223, 189, 105, 0.4) 10%, transparent 20%);
    -webkit-mask: radial-gradient(circle, transparent 48%, black 49%, black 51%, transparent 52%);
    mask: radial-gradient(circle, transparent 48%, black 49%, black 51%, transparent 52%);
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.5);
        filter: blur(10px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

@keyframes logoGlow {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.15); }
}

@keyframes logoRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---- Hero Typography ---- */
.hero-subtitle-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 1s forwards;
}

.hero-subtitle-box .line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-subtitle {
    font-family: var(--font-alt);
    font-size: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

.hero-title {
    font-family: var(--font-military);
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 1.3s forwards;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 580px;
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 1.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 1.9s forwards;
}

@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---- Hero Buttons ---- */
.btn-glass-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: rgba(223, 189, 105, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(223, 189, 105, 0.4);
    border-radius: 6px;
    color: var(--gold-light);
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-glass-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(223, 189, 105, 0.2) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: btnShimmer 5s infinite linear;
}

@keyframes btnShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.btn-glass-primary:hover {
    background: rgba(223, 189, 105, 0.25);
    border-color: rgba(223, 189, 105, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(223, 189, 105, 0.15);
}

.btn-glass-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-alt);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glass-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
}

/* ---- Particles ---- */
.dust-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: dustFloat linear infinite;
    filter: blur(1px);
}

@keyframes dustFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% {
        transform: translate(var(--x-drift, 100px), -500px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* ---- Responsive Hero ---- */
@media (max-width: 1024px) {
    .hero-logo-reveal {
        width: 140px;
        height: 140px;
        margin-bottom: 2rem;
    }

    .hero-subtitle-box .line {
        width: 30px;
    }

    .hero-description {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-logo-reveal {
        width: 110px;
        height: 110px;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.2em;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .btn-glass-primary,
    .btn-glass-outline {
        width: 100%;
        justify-content: center;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2005;
    /* Above particles */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold);
    font-family: var(--font-military-condensed);
    font-size: 0.9rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(223, 189, 105, 0.5);
    opacity: 0;
    animation: scrollIndicatorIn 1s ease 2.5s forwards;
    cursor: pointer;
}

.scroll-indicator .line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(223, 189, 105, 0.3);
}

@keyframes scrollIndicatorIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        height: 40px;
    }

    50% {
        opacity: 1;
        height: 50px;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.06);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ---- Glass Tokens ---- */
.form-control-glass {
    width: 100%;
    padding: 1.1rem 1.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control-glass:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(223, 189, 105, 0.15);
}

.form-control-glass::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(223, 189, 105, 0.3);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--olive), var(--olive-light));
    color: white;
    box-shadow: 0 4px 15px rgba(89, 99, 1, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(89, 99, 1, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-gold);
}

.btn-outline:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-danger {
    background: var(--red-accent);
    color: white;
}

.btn-danger:hover {
    background: var(--red-light);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: var(--bg-darker);
}

.section-gradient {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

/* Separator line */
.section-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

/* ============================================
   ABOUT PREVIEW (Homepage)
   ============================================ */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition);
}

.about-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-image::after {
    display: none;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ============================================
   STATS COUNTER
   ============================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--olive-dark), var(--military-green));
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}

.article-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(20%);
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.article-card-image .category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.75rem;
    background: rgba(13, 15, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--olive-light);
}

.article-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-card-meta span::before {
    content: '//';
    margin-right: 0.5rem;
    color: var(--olive);
}

.article-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-card h3 a {
    color: var(--text-light);
}

.article-card h3 a:hover {
    color: var(--gold);
}

.article-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
}

.article-card-footer {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more .arrow {
    transition: var(--transition-fast);
}

.article-card:hover .read-more .arrow {
    transform: translateX(5px);
}

/* ============================================
   TIMELINE — Animated
   ============================================ */
.timeline-section {
    position: relative;
    overflow: hidden;
}

/* Background image */
.timeline-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.timeline-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.08;
    filter: grayscale(40%) contrast(1.1);
}

.timeline-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        var(--bg-dark) 0%,
        transparent 15%,
        transparent 85%,
        var(--bg-dark) 100%);
}

[data-theme="light"] .timeline-bg-image img {
    opacity: 0.06;
    filter: grayscale(30%) contrast(1.05);
}

[data-theme="light"] .timeline-bg-image::after {
    background: linear-gradient(to bottom,
        #f5f3ee 0%,
        transparent 15%,
        transparent 85%,
        #f5f3ee 100%);
}

.timeline-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Soft ambient glows */
.timeline-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    animation: timelineGlowDrift 12s ease-in-out infinite alternate;
}

.timeline-bg-glow--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: 10%;
    left: -10%;
}

.timeline-bg-glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--olive) 0%, transparent 70%);
    bottom: 5%;
    right: -8%;
    animation-delay: -6s;
    animation-direction: alternate-reverse;
}

@keyframes timelineGlowDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.15); }
}

/* Subtle grid overlay */
.timeline-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}

/* Light theme overrides */
[data-theme="light"] .timeline-bg-glow { opacity: 0.08; }
[data-theme="light"] .timeline-bg-grid {
    background-image:
        linear-gradient(rgba(89, 99, 1, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(89, 99, 1, 0.04) 1px, transparent 1px);
}

.timeline-section > .container {
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    padding: 3rem 0 2rem;
}

/* Central track line */
.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(89, 99, 1, 0.15);
    transform: translateX(-50%);
}

/* Animated progress fill */
.timeline-progress {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--gold), var(--olive));
    transition: height 0.05s linear;
    border-radius: 0 0 2px 2px;
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
}

/* Timeline item */
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating layout */
.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: 3.5rem;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 3.5rem;
}

/* Dot with icon */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--olive);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.4s, box-shadow 0.4s;
}

.timeline-item.is-visible .timeline-dot {
    transform: translateX(-50%) scale(1);
}

.timeline-dot i {
    font-size: 0.85rem;
    color: var(--gold);
    transition: color 0.3s, transform 0.3s;
}

.timeline-dot-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    opacity: 0;
}

.timeline-item.is-visible .timeline-dot-pulse {
    animation: dotPulse 2s ease-out 0.6s;
}

@keyframes dotPulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Hover on dot */
.timeline-item:hover .timeline-dot {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.timeline-item:hover .timeline-dot i {
    transform: scale(1.2);
    color: var(--gold-light);
}

/* Content card */
.timeline-content {
    width: calc(50% - 30px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem 1.8rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s, box-shadow 0.4s;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Connector line from dot to card */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: linear-gradient(to right, var(--olive), rgba(201, 168, 76, 0.3));
    opacity: 0;
    transition: opacity 0.6s 0.3s;
}

.timeline-item.is-visible .timeline-content::before {
    opacity: 1;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -2rem;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -2rem;
    background: linear-gradient(to left, var(--olive), rgba(201, 168, 76, 0.3));
}

/* Year badge */
.timeline-year {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 20px;
    margin-bottom: 0.75rem;
    background: rgba(201, 168, 76, 0.08);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Light theme */
[data-theme="light"] .timeline-track {
    background: rgba(89, 99, 1, 0.12);
}

[data-theme="light"] .timeline-dot {
    background: #f5f3ee;
    border-color: var(--olive);
}

[data-theme="light"] .timeline-content {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .timeline-content h3 {
    color: #1a1a1a;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    position: relative;
}

#gustav-map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    margin-top: 2rem;
}

.tank-icon-wrapper {
    background: none !important;
    border: none !important;
}

.tank-marker {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.tank-marker svg {
    display: block;
}

/* ============================================
   GALLERY - Liquid Glass Apple Design
   ============================================ */
.gallery-section,
.album-section {
    padding: 4rem 0;
}

.gallery-preview-section {
    padding: 5rem 0;
}

.gallery-preview-section .gallery-albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-preview-section .gallery-album-card {
    aspect-ratio: 16/10;
}

.page-header-subtitle {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

.album-header-stats {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
}

.album-header-stats span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.album-header-stats i {
    margin-right: 0.4rem;
}

.gallery-empty {
    text-align: center;
    padding: 5rem 0;
}

.gallery-empty i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    opacity: 0.4;
}

.gallery-empty h3 {
    margin-bottom: 0.5rem;
}

.gallery-empty p {
    color: var(--text-muted);
}

/* --- Album Cards Grid (Gallery Index) --- */
.gallery-albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.gallery-album-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    text-decoration: none;
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.4s ease,
                box-shadow 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* base hover handled below */

.gallery-album-image {
    position: absolute;
    inset: 0;
}

.gallery-album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.5s ease;
    filter: grayscale(15%) brightness(0.78);
}

.gallery-album-card:hover .gallery-album-image img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(0.95);
}

.gallery-album-glass {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem 1.5rem 1.5rem;
    background: linear-gradient(
        180deg,
        rgba(13, 15, 10, 0) 35%,
        rgba(13, 15, 10, 0.55) 65%,
        rgba(13, 15, 10, 0.92) 100%
    );
    transition: background 0.4s ease;
}

.gallery-album-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(223, 189, 105, 0);
    transition: box-shadow 0.4s ease;
    z-index: 2;
}

.gallery-album-card:hover {
    transform: translateY(-10px);
    border-color: rgba(223, 189, 105, 0.35);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.55),
        0 0 50px rgba(223, 189, 105, 0.12);
}

.gallery-album-card:hover::before {
    box-shadow: inset 0 0 0 1px rgba(223, 189, 105, 0.35);
}

.gallery-album-info {
    position: relative;
    z-index: 1;
}

.gallery-album-info h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-military-condensed);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.gallery-album-card:hover .gallery-album-info h3 {
    color: var(--gold);
}

.gallery-album-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-bottom 0.4s ease;
}

.gallery-album-card:hover .gallery-album-desc {
    max-height: 4em;
    opacity: 1;
    margin-bottom: 1rem;
}

.gallery-album-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(223, 189, 105, 0.18);
}

.gallery-album-count {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.gallery-album-count i {
    margin-right: 0.35rem;
}

.gallery-album-arrow {
    color: var(--gold);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.gallery-album-card:hover .gallery-album-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- Album Photos Grid --- */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.album-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.album-item:hover {
    transform: translateY(-4px);
    border-color: rgba(223, 189, 105, 0.2);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(223, 189, 105, 0.06);
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: grayscale(25%);
}

.album-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.album-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 15, 10, 0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.album-item-zoom {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.album-item:hover .album-item-zoom {
    transform: scale(1);
}

.album-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.2rem;
}

.album-item-caption p {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
}

/* --- Lightbox (Apple-style) --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    cursor: default;
    transition: opacity 0.25s ease;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
    z-index: 2;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    z-index: 2;
}

.lightbox-caption {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
    max-width: 60vw;
    z-index: 2;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(20, 24, 16, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 6px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.form-control:focus {
    outline: none;
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    background: rgba(20, 24, 16, 0.7);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-info-card .icon {
    width: 48px;
    height: 48px;
    background: rgba(89, 99, 1, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about .logo {
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--olive-light);
    margin-bottom: 1.25rem;
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--olive-dark);
    border-color: var(--olive);
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   SINGLE ARTICLE
   ============================================ */
/* ---- ARTICLE HERO ---- */
.article-hero {
    position: relative;
    height: 70vh;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.article-hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) brightness(0.9);
    transition: transform 8s ease-out;
}

.article-hero:hover>img {
    transform: scale(1.03);
}

.article-hero .overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(135deg, rgba(107, 122, 45, 0.12) 0%, transparent 60%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    padding: 3.5rem 2rem 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

/* Category badge in hero */
.article-category-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gold);
    color: #0d0f0a;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 1.25rem;
    transition: var(--transition-fast);
}

.article-category-badge:hover {
    background: var(--gold-light);
}

/* Hero title */
.article-hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

/* Hero meta row */
.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.08em;
}

.article-hero-meta i {
    margin-right: 0.35rem;
    color: var(--gold);
    font-size: 0.65rem;
}

.article-hero-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
}

/* Avatar in hero */
.article-hero-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.article-hero-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 3px rgba(223, 189, 105, 0.15);
}

.article-hero-avatar--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--olive-dark), var(--olive));
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
}

/* ---- ARTICLE BODY ---- */
.article-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2rem;
}

.article-lead {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.article-lead::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.article-body .content {
    font-size: 1.08rem;
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.65);
}

.article-body .content p {
    margin-bottom: 1.6rem;
}

.article-body .content h2 {
    margin: 3rem 0 1.25rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

.article-body .content h3 {
    margin: 2.5rem 0 1rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

.article-body .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    transition: transform 0.4s ease;
}

.article-body .content img:hover {
    transform: scale(1.01);
}

.article-body .content blockquote {
    border-left: 3px solid var(--gold);
    padding: 1.25rem 1.75rem;
    margin: 2.5rem 0;
    background: rgba(223, 189, 105, 0.04);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
}

.article-body .content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.article-body .content a:hover {
    color: var(--gold-light);
}

/* ---- TAGS ---- */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-subtle);
}

.tag {
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.tag:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(223, 189, 105, 0.06);
}

/* ---- SHARE BAR ---- */
.article-share {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.article-share-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.article-share-buttons {
    display: flex;
    gap: 0.6rem;
}

.article-share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.article-share-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(223, 189, 105, 0.08);
    transform: translateY(-2px);
}

/* ---- AUTHOR BOX ---- */
.article-author-box {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.article-author-box-avatar {
    flex-shrink: 0;
}

.article-author-box-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(223, 189, 105, 0.1), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.article-author-box-initials {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--olive-dark), var(--olive));
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(223, 189, 105, 0.1), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.article-author-box-written {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.article-author-box-name {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.article-author-box-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---- ARTICLE RESPONSIVE ---- */
@media (max-width: 768px) {
    .article-hero {
        height: 55vh;
        min-height: 360px;
    }

    .article-hero-content {
        padding: 2rem 1.25rem;
    }

    .article-hero-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .article-hero-meta {
        gap: 0.75rem;
        font-size: 0.65rem;
    }

    .article-hero-divider {
        display: none;
    }

    .article-body {
        padding: 2rem 1.25rem;
    }

    .article-author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .article-share {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ============================================
   BLOG SIDEBAR
   ============================================ */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-widget .search-input {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.sidebar-categories li {
    list-style: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(89, 99, 1, 0.1);
    display: flex;
    justify-content: space-between;
}

.sidebar-categories a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sidebar-categories a:hover {
    color: var(--gold);
}

.sidebar-categories .count {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--olive-light);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination .current {
    background: var(--olive);
    border-color: var(--olive);
    color: white;
}

/* ============================================
   PAGE HEADER (Internal pages)
   ============================================ */
.page-header {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.page-header-bg {
    position: absolute;
    inset: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) contrast(1.1);
}

.page-header .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 15, 10, 0.95), rgba(13, 15, 10, 0.5));
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--olive-light);
}

.breadcrumb .sep {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* ============================================
   SCROLL ANIMATIONS — Liquid Glass Edition
   ============================================ */
.reveal,
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.visible,
.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible,
.reveal-left.is-revealed,
.reveal-right.visible,
.reveal-right.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger & Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Parallax Utilities */
[data-parallax] {
    will-change: transform;
}

/* Stagger children */
.stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger.visible>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger.visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger.visible>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger.visible>*:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger.visible>*:nth-child(6) {
    transition-delay: 0.6s;
}

.stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ALERT MESSAGES
   ============================================ */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(89, 99, 1, 0.1);
    border-color: var(--olive);
    color: var(--olive-light);
}

.alert-error {
    background: rgba(139, 26, 26, 0.1);
    border-color: var(--red-accent);
    color: var(--red-light);
}

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-page h1 {
    font-size: 8rem;
    color: var(--olive);
    opacity: 0.3;
    line-height: 1;
}

.error-page p {
    color: var(--text-muted);
    margin: 1rem 0 2rem;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--border-gold);
}

.team-card h4 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--olive-light);
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
        border-radius: 20px !important;
        gap: 2rem !important;
    }

    /* Override inline 2-col grids inside contact form */
    .contact-form-premium div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .contact-form-premium .form-control-glass {
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .contact-info-card {
        padding: 1.25rem !important;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 65px;
    }

    .hamburger {
        display: flex;
        z-index: 2100;
    }

    .main-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        height: 100dvh;
        z-index: 2004;
        background: rgba(8, 10, 6, 0.85);
        backdrop-filter: blur(50px) saturate(1.8) brightness(0.95);
        -webkit-backdrop-filter: blur(50px) saturate(1.8) brightness(0.95);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 0.25rem;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(223, 189, 105, 0.12);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
    }

    /* Glass shine on mobile nav */
    .main-nav::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(160deg,
                rgba(255, 255, 255, 0.06) 0%,
                transparent 40%,
                transparent 70%,
                rgba(255, 255, 255, 0.03) 100%);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav .nav-sep { display: none; }

    .main-nav a {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: left;
        border-radius: 8px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: rgba(223, 189, 105, 0.08);
    }

    .hero {
        min-height: 100svh;
    }

    .hero-logo-reveal {
        width: 120px;
        height: 120px;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle-box {
        margin-bottom: 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 0.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
        max-width: 100%;
    }

    .hero-actions {
        gap: 0.8rem;
    }

    .btn-glass-primary,
    .btn-glass-outline {
        padding: 0.8rem 2rem;
    }

    .hero-grain {
        opacity: 0.02;
    }

    .btn-hero {
        padding: 0.7rem 1.5rem;
        font-size: 0.75rem;
    }

    .glass-strip .tagline-text {
        font-size: 0.5rem;
        letter-spacing: 0.2em;
    }

    .glass-stats-row {
        padding: 0.7rem 1rem;
        border-radius: 14px;
    }

    .glass-stat {
        padding: 0.2rem 0.8rem;
    }

    .glass-stat-num {
        font-size: 0.9rem;
    }

    .glass-stat-label {
        font-size: 0.5rem;
    }

    .glass-stat-divider {
        height: 22px;
    }

    .scroll-indicator {
        bottom: 1.5rem;
    }

    .scroll-indicator .line {
        height: 30px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery tablet */
    .gallery-albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-album-card {
        border-radius: 18px;
    }

    .album-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .gallery-section,
    .album-section {
        padding: 3rem 0;
    }

    /* Map section mobile */
    .map-section {
        padding: 3rem 0;
    }

    .map-section .container {
        padding: 0 0.75rem;
    }

    .map-section .section-title {
        font-size: 1.5rem;
    }

    .map-section p {
        font-size: 0.9rem;
    }

    #gustav-map {
        height: 600px;
        /* Restoring shared height if needed, or allowing it to be responsive */
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .map-torn-wrapper {
        position: relative;
        padding: 20px;
        background: rgba(223, 189, 105, 0.05);
        margin-top: 2rem;
        filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
    }

    .map-torn-wrapper::before {
        content: '';
        position: absolute;
        inset: 0;
        background: #1a1d18;
        z-index: 0;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath d='M0,10 Q5,0 15,12 T35,5 T60,18 T90,8 T120,20 T155,10 T190,25 T230,12 T275,22 T320,8 T370,26 T425,12 T485,24 T550,10 T620,28 T700,12 T790,26 T890,10 T1000,22 L1000,580 Q995,595 985,585 T965,595 T940,582 T910,598 T880,585 T845,595 T810,578 T770,592 T725,580 T680,598 T630,582 T575,596 T515,580 T450,595 T380,578 T300,596 T210,580 T110,598 T0,585 Z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath d='M0,10 Q5,0 15,12 T35,5 T60,18 T90,8 T120,20 T155,10 T190,25 T230,12 T275,22 T320,8 T370,26 T425,12 T485,24 T550,10 T620,28 T700,12 T790,26 T890,10 T1000,22 L1000,580 Q995,595 985,585 T965,595 T940,582 T910,598 T880,585 T845,595 T810,578 T770,592 T725,580 T680,598 T630,582 T575,596 T515,580 T450,595 T380,578 T300,596 T210,580 T110,598 T0,585 Z'/%3E%3C/svg%3E");
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    #gustav-map {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath d='M10,20 Q15,10 25,22 T45,15 T70,28 T100,18 T130,30 T165,20 T200,35 T240,22 T285,32 T330,18 T380,36 T435,22 T495,34 T560,20 T630,38 T710,22 T800,36 T900,20 T990,32 L990,570 Q985,585 975,575 T955,585 T930,572 T900,588 T870,575 T835,585 T800,568 T760,582 T715,570 T670,588 T620,572 T565,586 T505,570 T440,585 T370,568 T290,586 T200,570 T100,588 L10,575 Z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath d='M10,20 Q15,10 25,22 T45,15 T70,28 T100,18 T130,30 T165,20 T200,35 T240,22 T285,32 T330,18 T380,36 T435,22 T495,34 T560,20 T630,38 T710,22 T800,36 T900,20 T990,32 L990,570 Q985,585 975,575 T955,585 T930,572 T900,588 T870,575 T835,585 T800,568 T760,582 T715,570 T670,588 T620,572 T565,586 T505,570 T440,585 T370,568 T290,586 T200,570 T100,588 L10,575 Z'/%3E%3C/svg%3E");
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .tank-marker svg {
        width: 36px !important;
        height: 36px !important;
    }

    .tank-icon-wrapper {
        width: 36px !important;
        height: 36px !important;
        margin-left: -18px !important;
        margin-top: -18px !important;
    }

    .timeline-track {
        left: 22px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row !important;
        padding-left: 3.5rem;
        margin-bottom: 2.5rem;
    }

    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        width: 100%;
        text-align: left;
        margin: 0 !important;
        padding: 1.2rem 1.4rem;
    }

    .timeline-content::before,
    .timeline-item:nth-child(odd) .timeline-content::before {
        display: none;
    }

    .timeline-dot {
        left: 22px;
        width: 36px;
        height: 36px;
    }

    .timeline-dot i {
        font-size: 0.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    section {
        padding: 4rem 0;
    }

    .military-title {
        font-size: 1.8rem;
    }

    .about-preview {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image img {
        height: 300px !important;
    }

    .about-text {
        text-align: center;
    }

    .section-label {
        justify-content: center;
    }

    .about-text .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 2.2rem;
    }

    .hero-logo-reveal {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .hero-subtitle-box {
        margin-bottom: 0.6rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .hero-actions .btn-glass-primary,
    .hero-actions .btn-glass-outline {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .glass-strip {
        padding: 0.4rem 1rem;
    }

    .glass-strip .tagline-text {
        font-size: 0.4rem;
        letter-spacing: 0.18em;
    }

    .glass-stats-row {
        flex-wrap: wrap;
        padding: 0.6rem 0.75rem;
        border-radius: 12px;
        gap: 0;
    }

    .glass-stat {
        padding: 0.2rem 0.6rem;
    }

    .glass-stat-num {
        font-size: 0.8rem;
    }

    .glass-stat-label {
        font-size: 0.45rem;
    }

    .glass-stat-divider {
        height: 18px;
    }

    .gallery-albums-grid {
        grid-template-columns: 1fr;
    }

    .album-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .album-item {
        border-radius: 12px;
    }

    .gallery-album-card {
        border-radius: 16px;
        aspect-ratio: 16/9;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
    }

    /* Map section small phones - remove SVG mask to avoid jagged rendering */
    #gustav-map {
        height: 350px;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        border-radius: 8px;
    }

    .map-torn-wrapper {
        padding: 0;
        filter: none;
        background: none;
    }

    .map-torn-wrapper::before {
        display: none;
    }

    .tank-marker svg {
        width: 28px !important;
        height: 28px !important;
    }

    .tank-icon-wrapper {
        width: 28px !important;
        height: 28px !important;
        margin-left: -14px !important;
        margin-top: -14px !important;
    }

    .map-section .section-label {
        font-size: 0.7rem;
    }

    .map-section .section-title {
        font-size: 1.3rem;
    }

    .map-section p {
        display: none;
    }
}

/* ============================================
   LIGHT THEME
   ============================================ */
[data-theme="light"] {
    --bg-dark: #f4f2ed;
    --bg-darker: #ebe8e0;
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-card-hover: rgba(255, 255, 255, 0.85);
    --text-light: #1a1a1a;
    --text-muted: rgba(30, 30, 30, 0.55);
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-hover: rgba(107, 122, 45, 0.35);
    --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Header */
[data-theme="light"] .site-header.scrolled {
    background: rgba(244, 242, 237, 0.75);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .site-header.scrolled::before {
    background: linear-gradient(105deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 30%, transparent 50%);
}
[data-theme="light"] .site-header.scrolled::after {
    background: linear-gradient(90deg, transparent, rgba(107,122,45,0.2) 30%, rgba(107,122,45,0.35) 50%, rgba(107,122,45,0.2) 70%, transparent);
}

/* Nav links */
[data-theme="light"] .main-nav a {
    color: #333;
}
[data-theme="light"] .main-nav a:hover,
[data-theme="light"] .main-nav a.active {
    color: var(--olive-dark);
    background: rgba(107, 122, 45, 0.08);
}
[data-theme="light"] .logo-text {
    color: #1a1a1a;
}
[data-theme="light"] .hamburger span {
    background: #333;
}

/* Glass cards */
[data-theme="light"] .article-card,
[data-theme="light"] .sidebar-widget,
[data-theme="light"] .contact-info-card,
[data-theme="light"] .team-card,
[data-theme="light"] .gallery-item,
[data-theme="light"] .stats-bar {
    background: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}
[data-theme="light"] .article-card:hover,
[data-theme="light"] .team-card:hover,
[data-theme="light"] .gallery-item:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(107, 122, 45, 0.25) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(107,122,45,0.05);
}

/* Glass effect - tame for light backgrounds */
[data-theme="light"] .glass-effect {
    backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
}
[data-theme="light"] .glass-effect::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 40%, transparent 100%);
}

/* Header - ensure visible on light bg */
[data-theme="light"] .site-header {
    background: rgba(244, 242, 237, 0.6);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
[data-theme="light"] .site-header::before {
    background: none;
}
[data-theme="light"] .site-header::after {
    background: none;
}
[data-theme="light"] .main-nav a::after {
    background: var(--olive);
}

/* Body grain overlay - remove in light */
[data-theme="light"]::after {
    opacity: 0;
}

/* Hero section - keep dark for cinematic feel */
[data-theme="light"] .hero {
    background: var(--bg-darker);
}
[data-theme="light"] .hero .hero-content * {
    color: #fff;
}

/* Sections */
[data-theme="light"] .section-label {
    color: var(--olive);
}
[data-theme="light"] .section-title::after {
    background: linear-gradient(90deg, var(--olive), var(--gold));
}

/* Links & text */
[data-theme="light"] a {
    color: var(--olive-dark);
}
[data-theme="light"] a:hover {
    color: var(--olive);
}

/* Buttons */
[data-theme="light"] .btn-primary {
    background: var(--olive);
    color: #fff;
}
[data-theme="light"] .btn-outline {
    background: rgba(107, 122, 45, 0.06) !important;
    border-color: var(--olive);
    color: var(--olive-dark);
}
[data-theme="light"] .btn-outline:hover {
    background: rgba(107, 122, 45, 0.12) !important;
}

/* Footer */
[data-theme="light"] .site-footer {
    background: rgba(30, 35, 20, 0.95) !important;
    border-color: rgba(255,255,255,0.05) !important;
}
[data-theme="light"] .site-footer,
[data-theme="light"] .site-footer * {
    color: #e8e8e8;
}
[data-theme="light"] .site-footer a {
    color: var(--gold);
}

/* Mobile nav panel */
@media (max-width: 768px) {
    [data-theme="light"] .main-nav {
        background: rgba(244, 242, 237, 0.97);
        backdrop-filter: blur(30px) saturate(1.2);
        -webkit-backdrop-filter: blur(30px) saturate(1.2);
        border-left-color: rgba(0, 0, 0, 0.08);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
    }
    [data-theme="light"] .main-nav::before {
        background: none;
    }
    [data-theme="light"] .main-nav a {
        color: #333;
    }
    [data-theme="light"] .main-nav a:hover,
    [data-theme="light"] .main-nav a.active {
        color: var(--olive-dark);
        background: rgba(107, 122, 45, 0.1);
    }
}

/* Lightbox - keep dark */
[data-theme="light"] .lightbox {
    background: rgba(0, 0, 0, 0.9);
}

/* Page headers - keep white text (dark bg image + overlay) */
[data-theme="light"] .page-header h1,
[data-theme="light"] .page-header p,
[data-theme="light"] .page-header .breadcrumb,
[data-theme="light"] .page-header .breadcrumb a {
    color: #fff;
}

/* Blog sidebar */
[data-theme="light"] .sidebar-widget {
    background: rgba(255, 255, 255, 0.7) !important;
}

/* Stats bar numbers */
[data-theme="light"] .stat-number {
    color: var(--olive-dark);
}

/* Map section popups */
[data-theme="light"] .leaflet-popup-content-wrapper {
    background: #fff;
    color: #333;
}

/* Nav user pill */
[data-theme="light"] .nav-user-pill {
    background: rgba(107, 122, 45, 0.08);
    border-color: rgba(107, 122, 45, 0.2);
}
[data-theme="light"] .nav-user-pill:hover {
    background: rgba(107, 122, 45, 0.14);
    border-color: rgba(107, 122, 45, 0.4);
}
[data-theme="light"] .nav-user-name {
    color: var(--olive-dark);
}

/* ---- Language Switch Flag ---- */
.nav-bottom-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.main-nav a.lang-switch,
.main-nav a.lang-switch:hover {
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(223, 189, 105, 0.25);
    background: none;
    opacity: 1;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    text-transform: none;
    font-size: 0;
    letter-spacing: 0;
    transition: all 0.3s;
    box-sizing: border-box;
}
.main-nav a.lang-switch:hover {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(223, 189, 105, 0.25);
    transform: scale(1.15);
}
.lang-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Theme Toggle Button ---- */
.nav-theme-toggle {
    display: flex;
    align-items: center;
}
.nav-theme-label {
    display: none;
}
.theme-toggle-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold);
    font-size: 0.9rem;
    transition: all 0.3s;
    flex-shrink: 0;
}
.theme-toggle-btn:hover {
    background: rgba(223, 189, 105, 0.12);
    border-color: rgba(223, 189, 105, 0.3);
    box-shadow: 0 0 12px rgba(223, 189, 105, 0.15);
}
/* Dark mode: show sun icon */
.theme-toggle-btn .fa-moon { display: none; }
.theme-toggle-btn .fa-sun { display: inline; }
/* Light mode: show moon icon */
[data-theme="light"] .theme-toggle-btn { color: var(--olive); border-color: rgba(107,122,45,0.2); }
[data-theme="light"] .theme-toggle-btn:hover { background: rgba(107,122,45,0.1); border-color: rgba(107,122,45,0.3); }
[data-theme="light"] .theme-toggle-btn .fa-sun { display: none; }
[data-theme="light"] .theme-toggle-btn .fa-moon { display: inline; }

/* Mobile: toggle inside hamburger menu */
@media (max-width: 768px) {
    .nav-bottom-controls {
        margin-top: auto;
        padding: 0.75rem 1rem;
        border-top: 1px solid rgba(223, 189, 105, 0.1);
        gap: 1rem;
    }
    .nav-theme-toggle {
        gap: 0.75rem;
    }
    .nav-theme-label {
        display: inline;
        font-size: 0.85rem;
        color: var(--text-muted);
        font-family: var(--font-alt);
    }
    [data-theme="light"] .nav-theme-label {
        color: #666;
    }
    .main-nav a.lang-switch,
    .main-nav a.lang-switch:hover {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        border-width: 2px;
    }

    .nav-bottom-controls {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Hide reCAPTCHA badge (with required branding text in form) */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice { font-size: 0.7rem; color: var(--text-muted); opacity: 0.6; margin-top: 1rem; }
.recaptcha-notice a { color: var(--gold); text-decoration: underline; }

/* ---- Custom author logo avatar ---- */
.article-hero-avatar.article-hero-avatar--logo {
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    object-fit: contain;
    border: 1px solid rgba(223, 189, 105, 0.35);
}
.article-author-box-avatar.is-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(223, 189, 105, 0.1), 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.article-author-box-avatar.is-logo img {
    width: 70% !important;
    height: 70% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain !important;
}

/* ---- Blog smart filter bar ---- */
.blog-filterbar {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(223, 189, 105, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.blog-search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    opacity: 0.6;
    pointer-events: none;
    font-size: 0.95rem;
}

.blog-search-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-light);
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    font-size: 0.95rem;
    font-family: var(--font-base);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.blog-search-input:focus {
    outline: none;
    border-color: rgba(223, 189, 105, 0.5);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(223, 189, 105, 0.08);
}

.blog-search-clear {
    position: absolute;
    right: 7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.7rem;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-search-clear:hover {
    background: rgba(223, 189, 105, 0.2);
    color: var(--gold);
}

.blog-search-btn {
    background: var(--gold);
    color: #1a1a1a;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s;
}

.blog-search-btn:hover {
    background: #e8c97a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(223, 189, 105, 0.25);
}

.blog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.blog-chip {
    --chip-color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--text-muted);
    font-family: var(--font-alt);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-chip:hover {
    color: var(--text-light);
    border-color: var(--chip-color);
    background: rgba(223, 189, 105, 0.08);
    transform: translateY(-1px);
}

.blog-chip.active {
    color: #1a1a1a;
    background: var(--chip-color);
    border-color: var(--chip-color);
}

.blog-chip.active .blog-chip-count {
    background: rgba(0, 0, 0, 0.25);
    color: #1a1a1a;
}

.blog-chip-count {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    font-size: 0.65rem;
    font-family: var(--font-mono);
}

.blog-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-family: var(--font-mono);
}

.blog-meta-row strong {
    color: var(--gold);
    font-weight: 700;
}

@media (max-width: 640px) {
    .blog-search-form { flex-wrap: wrap; }
    .blog-search-btn { width: 100%; }
    .blog-search-clear { right: 1rem; }
}