/* ============================================================
   Design B — Cinematic Dark Pro (v3)
   Glassmorphism + modern mobile UX + element fallbacks
   Holiday Video Camera — site-wide stylesheet
   ============================================================ */

:root {
    --bg: #0b0b0f;
    --bg-alt: #0e0e13;
    --surface: #14141a;
    --surface-2: #1c1c24;
    --surface-hi: #23232d;
    --ink: #ececec;
    --ink-soft: #b8b8c0;
    --ink-muted: #7a7a86;
    --line: #26262f;
    --line-hi: #35353f;
    --accent: #f0a500;
    --accent-hi: #ffbc2e;
    --accent-soft: rgba(240, 165, 0, 0.12);
    --accent-glow: rgba(240, 165, 0, 0.22);
    --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 32px rgba(240, 165, 0, 0.15);
    --glass-bg: rgba(20, 20, 26, 0.72);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Subtle ambient glow at top of page */
body::before {
    content: "";
    position: fixed;
    top: -30vh;
    left: 50%;
    transform: translateX(-50%);
    width: 120vw;
    height: 60vh;
    background: radial-gradient(ellipse at center, rgba(240, 165, 0, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

img, svg, video { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }

/* Focus ring — accessibility */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #0b0b0f; padding: 10px 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 9999; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; color: #0b0b0f; }

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

/* ============================================================
   HEADER — frosted glass
   ============================================================ */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    position: sticky; top: 0; z-index: 900;
}
.site-header-inner {
    max-width: var(--container); margin: 0 auto;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-brand {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    color: var(--ink); letter-spacing: -0.01em;
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none;
    transition: color 0.2s, transform 0.15s;
}
.site-brand:hover { color: var(--accent); text-decoration: none; transform: translateY(-1px); }
.header-nav { display: flex; gap: 4px; }
.header-nav a {
    padding: 8px 14px; border-radius: var(--radius);
    color: var(--ink-soft); font-size: 0.9rem; font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.header-nav a:hover { background: var(--surface-2); color: var(--accent); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-hi);
    color: var(--ink-soft);
    width: 40px; height: 40px; border-radius: var(--radius);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
}
.icon-btn:hover {
    border-color: var(--accent); color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-1px);
}
.drawer-toggle {
    background: var(--accent); color: #0b0b0f;
    border: none; padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 700; font-size: 0.88rem;
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.drawer-toggle:hover {
    background: var(--accent-hi);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* ============================================================
   DRAWER — glass panel
   ============================================================ */
.drawer-backdrop {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(420px, 92vw);
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-left: 1px solid var(--glass-border);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}
.drawer-head .title { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.drawer-close {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-hi);
    color: var(--ink-soft);
    width: 36px; height: 36px; border-radius: var(--radius);
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.drawer-close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }
.drawer-search { padding: 14px 22px; border-bottom: 1px solid var(--line); }
.drawer-search input {
    width: 100%; padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--line-hi);
    border-radius: var(--radius); color: var(--ink);
    font-size: 0.92rem; font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
}
.drawer-search input:focus {
    outline: none; border-color: var(--accent);
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.drawer-tabs {
    display: flex; flex-wrap: wrap; gap: 4px;
    padding: 12px 22px;
    border-bottom: 1px solid var(--line);
    background: transparent;
}
.drawer-tabs button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-hi);
    color: var(--ink-soft);
    padding: 7px 14px; border-radius: 999px;
    font-size: 0.8rem; font-weight: 600; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.drawer-tabs button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.drawer-tabs button.is-active {
    background: var(--accent-soft); border-color: var(--accent); color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 22px 40px; }
.drawer-panel { display: none; }
.drawer-panel.is-active { display: block; animation: fadeIn 0.2s ease; }
.drawer-panel h5 {
    font-size: 0.74rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-muted); margin: 20px 0 10px;
}
.drawer-panel h5:first-child { margin-top: 0; }
.drawer-panel ul { list-style: none; margin: 0 0 8px; padding: 0; }
.drawer-panel li { margin-bottom: 4px; }
.drawer-panel a {
    display: block; padding: 9px 12px;
    color: var(--ink-soft); font-size: 0.92rem;
    border-radius: var(--radius); text-decoration: none;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.drawer-panel a:hover {
    background: var(--accent-soft); color: var(--accent);
    text-decoration: none; transform: translateX(3px);
}
.drawer-langs {
    padding: 20px 22px;
    border-top: 1px solid var(--line);
    display: flex; flex-wrap: wrap; gap: 6px 12px;
    background: rgba(0, 0, 0, 0.2);
}
.drawer-langs a { font-size: 0.82rem; color: var(--ink-muted); text-decoration: none; }
.drawer-langs a:hover { color: var(--accent); }
.drawer-langs a[aria-current="page"] { color: var(--accent); font-weight: 700; pointer-events: none; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO — elevated with glow
   ============================================================ */
.hero {
    padding: 96px 24px 80px;
    text-align: center;
    position: relative;
    background:
        radial-gradient(circle at 50% 0%, rgba(240, 165, 0, 0.12), transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(240, 165, 0, 0.04), transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--line);
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.6rem);
    line-height: 1.08; letter-spacing: -0.02em;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #b8b8c0 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 820px; margin-left: auto; margin-right: auto;
}
.hero .lede {
    font-size: 1.15rem; color: var(--ink-soft);
    max-width: 620px; margin: 0 auto 32px;
}
.hero .stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 40px; }
.hero .stat { text-align: center; }
.hero .stat .num {
    font-family: var(--font-display);
    font-size: 2.1rem; font-weight: 700; color: var(--accent);
    text-shadow: 0 0 24px var(--accent-glow);
}
.hero .stat .label {
    font-size: 0.78rem; color: var(--ink-muted);
    letter-spacing: 0.1em; text-transform: uppercase;
}

/* ============================================================
   BUTTONS — modern micro-interactions
   ============================================================ */
.btn {
    display: inline-block; padding: 14px 30px;
    background: var(--accent); color: #0b0b0f;
    border-radius: var(--radius); font-weight: 700; font-size: 0.95rem;
    text-decoration: none; border: none; cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover {
    background: var(--accent-hi);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: #0b0b0f;
}
.btn:active { transform: translateY(0); }
.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    color: var(--accent);
    border: 1px solid var(--accent);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: 0 0 24px var(--accent-glow);
}

/* ============================================================
   CARDS — glassmorphism
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px; margin: 32px 0;
}
.card {
    background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 100%), var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    text-decoration: none; color: inherit;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s,
                box-shadow 0.25s;
    display: block;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 165, 0, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 32px var(--accent-glow);
    text-decoration: none; color: inherit;
}
.card:hover::before { opacity: 1; }
.card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; margin: 0 0 8px; color: var(--ink);
    transition: color 0.2s;
}
.card:hover h3 { color: var(--accent); }
.card p { font-size: 0.92rem; color: var(--ink-muted); margin: 0; line-height: 1.55; }

/* Callout / takeaways box */
.takeaways {
    background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%);
    border: 1px solid rgba(240, 165, 0, 0.2);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    margin: 28px 0;
}
.takeaways h3 { font-family: var(--font-display); color: var(--accent); margin: 0 0 12px; }

/* ============================================================
   CONTENT (explicit class)
   ============================================================ */
.content { max-width: 820px; margin: 0 auto; padding: 64px 24px; }
.content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem; margin: 48px 0 18px;
    border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 1.2rem; margin: 30px 0 12px; }
.content p { margin-bottom: 20px; color: var(--ink-soft); }
.content ul, .content ol { margin: 0 0 22px 22px; }
.content li { margin-bottom: 8px; color: var(--ink-soft); }

.affiliate-disclosure {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    padding: 12px 16px; border-radius: var(--radius);
    font-size: 0.86rem; color: var(--ink-soft);
    margin-bottom: 26px;
}
.affiliate-disclosure strong { color: var(--accent); }

/* ============================================================
   SHARE BUTTON
   ============================================================ */
.share-bar { display: flex; justify-content: center; padding: 24px 24px 8px; }
.share-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 26px; background: #25D366; color: #fff;
    border-radius: 999px; font-weight: 700; font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.share-btn:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.share-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ============================================================
   FOOTER — glass + soft gradient
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%), var(--surface);
    border-top: 1px solid var(--line);
    padding: 72px 24px 28px;
    margin-top: 64px;
    position: relative;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top {
    display: grid; grid-template-columns: 1.2fr 2fr;
    gap: 48px; padding-bottom: 44px;
    border-bottom: 1px solid var(--line);
}
.footer-brand h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); margin-bottom: 10px; }
.footer-brand p { color: var(--ink-muted); font-size: 0.92rem; margin-bottom: 20px; }
.footer-newsletter { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-newsletter input {
    flex: 1 1 200px; padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--line-hi);
    border-radius: var(--radius); color: var(--ink); font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-newsletter input:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.footer-newsletter button {
    background: var(--accent); color: #0b0b0f;
    border: none; padding: 12px 22px;
    border-radius: var(--radius); font-weight: 700; font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.footer-newsletter button:hover { background: var(--accent-hi); transform: translateY(-1px); }
.footer-cols {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
}
.footer-cols h4 {
    font-size: 0.76rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 14px;
}
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { color: var(--ink-muted); font-size: 0.9rem; text-decoration: none; transition: color 0.15s, transform 0.15s; display: inline-block; }
.footer-cols a:hover { color: var(--accent); transform: translateX(2px); }
.footer-langs {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px 16px; padding: 28px 0 12px;
    border-top: 1px solid var(--line);
}
.footer-langs a { color: var(--ink-muted); font-size: 0.82rem; text-decoration: none; transition: color 0.15s; }
.footer-langs a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer-langs a[aria-current="page"] { color: var(--accent); font-weight: 700; pointer-events: none; }
.footer-bottom { text-align: center; padding-top: 18px; font-size: 0.82rem; color: var(--ink-muted); }
.footer-bottom a { color: var(--accent); }

/* ============================================================
   COOKIE BANNER — glass card
   ============================================================ */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px;
    max-width: 920px; margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    z-index: 990;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 32px var(--accent-glow);
}
.cookie-banner.is-visible { display: block; animation: fadeIn 0.3s ease; }
.cookie-banner-inner {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 14px;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); flex: 1 1 320px; }
.cookie-banner a { color: var(--accent); }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner button {
    padding: 10px 22px; border-radius: var(--radius);
    border: none; cursor: pointer; font-weight: 700; font-size: 0.85rem;
    transition: background 0.2s, transform 0.15s;
}
.cookie-banner .accept { background: var(--accent); color: #0b0b0f; }
.cookie-banner .accept:hover { background: var(--accent-hi); transform: translateY(-1px); }
.cookie-banner .reject {
    background: transparent; color: var(--ink-soft);
    border: 1px solid var(--line-hi);
}
.cookie-banner .reject:hover { background: var(--surface-hi); color: var(--ink); }

/* ============================================================
   ELEMENT-BASED FALLBACKS (v3)
   For legacy article bodies with no classes.
   ============================================================ */
main, article {
    max-width: 820px;
    margin: 0 auto;
    padding: 64px 24px;
    display: block;
    position: relative;
    z-index: 1;
}
main h1, article h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 20px;
    color: var(--ink);
    letter-spacing: -0.01em;
}
main h2, article h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 48px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}
main h3, article h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 32px 0 12px;
    color: var(--ink);
}
main h4, article h4 {
    font-size: 1.05rem;
    margin: 24px 0 10px;
    color: var(--ink);
    font-weight: 700;
}
main p, article p {
    margin: 0 0 20px;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.75;
}
main strong, article strong { color: var(--ink); }
main a, article a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(240, 165, 0, 0.4);
    text-underline-offset: 3px;
    transition: color 0.15s, text-decoration-color 0.15s;
}
main a:hover, article a:hover {
    color: var(--accent-hi);
    text-decoration-color: var(--accent-hi);
}
main ul, main ol,
article ul, article ol {
    margin: 0 0 24px 22px;
    padding: 0;
}
main li, article li {
    margin-bottom: 10px;
    color: var(--ink-soft);
    line-height: 1.7;
}
main ul li::marker, article ul li::marker { color: var(--accent); }
main ol li::marker, article ol li::marker { color: var(--accent); font-weight: 700; }
main blockquote, article blockquote {
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    padding: 16px 22px;
    margin: 24px 0;
    border-radius: var(--radius);
    color: var(--ink);
    font-style: italic;
}
main hr, article hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 48px 0;
}
main img, article img {
    border-radius: var(--radius-lg);
    margin: 24px 0;
    box-shadow: var(--shadow-md);
}
main code, article code {
    background: var(--surface-2);
    border: 1px solid var(--line-hi);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.9em;
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
main pre, article pre {
    background: var(--surface-2);
    border: 1px solid var(--line-hi);
    border-radius: var(--radius);
    padding: 18px 20px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 0.9rem;
}
main pre code, article pre code {
    background: none; border: none; padding: 0; color: var(--ink-soft);
}
main table, article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--glass-bg);
    border: 1px solid var(--line-hi);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 0.94rem;
}
main th, article th {
    background: var(--surface-2);
    color: var(--accent);
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--line-hi);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
main td, article td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
}
main tr:last-child td, article tr:last-child td { border-bottom: none; }

/* Optional fade-in animation — apply .fade-in to any element */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeIn 0.6s ease-out forwards;
}
.fade-in.delay-1 { animation-delay: 0.1s; }
.fade-in.delay-2 { animation-delay: 0.2s; }
.fade-in.delay-3 { animation-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — modern mobile UX
   ============================================================ */
@media (max-width: 900px) {
    .header-nav { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .hero { padding: 68px 20px 60px; }
    .hero .stats { gap: 28px; }
    .hero .stat .num { font-size: 1.7rem; }
    main, article, .content { padding: 48px 20px; }
    main h2, article h2 { font-size: 1.5rem; margin-top: 36px; }
    .card { padding: 22px; }
    .cookie-banner {
        left: 8px; right: 8px; bottom: 8px;
        padding: 16px 18px;
    }
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions button { flex: 1; padding: 12px; }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .drawer { transition: none; }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* ============================================================
   COMPONENT LIBRARY — v3 additions
   About page + reusable section components
   ============================================================ */

/* ---------- Section titles ---------- */
.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 56px 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    position: relative;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 3px;
}
.section-title:first-of-type { margin-top: 0; }

/* ---------- Stats grid ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 40px 0;
}
.stat-box {
    background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 100%), var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s,
                box-shadow 0.25s;
}
.stat-box:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 165, 0, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px var(--accent-glow);
}
.stat-box .number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 6px;
    text-shadow: 0 0 24px var(--accent-glow);
}
.stat-box .label {
    font-size: 0.78rem;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- Destination badges ---------- */
.destination-badge {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 8px 10px 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-hi);
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--ink-soft);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.destination-badge:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 32px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
    opacity: 0.5;
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    padding: 0 0 32px 24px;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border: 3px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.2);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .year {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.timeline-item .content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.65;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.timeline-item .content:hover {
    border-color: rgba(240, 165, 0, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateX(4px);
}
.timeline-item .content strong { color: var(--ink); }

/* ---------- Gear grid ---------- */
.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.gear-item {
    background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 100%), var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s,
                box-shadow 0.25s;
}
.gear-item:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 165, 0, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 32px var(--accent-glow);
}
.gear-item .icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 0 12px var(--accent-glow));
}
.gear-item h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 8px;
    color: var(--ink);
}
.gear-item p {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.6;
}

/* ---------- Social links grid ---------- */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin: 28px 0;
}
.social-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line-hi);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.social-link-card:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}
.social-link-card .social-icon {
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.social-link-card:hover .social-icon { transform: scale(1.08); }
.social-link-card .social-info {
    flex: 1;
    min-width: 0;
}
.social-link-card .name {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.social-link-card .handle {
    font-size: 0.82rem;
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.social-link-card .arrow {
    color: var(--ink-muted);
    font-size: 1.1rem;
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}
.social-link-card:hover .arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* ---------- Featured work grid ---------- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 28px 0;
}
.featured-card {
    background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 100%), var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s,
                box-shadow 0.25s;
}
.featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 165, 0, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 32px var(--accent-glow);
    text-decoration: none;
    color: inherit;
}
.featured-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 8px;
    color: var(--accent);
    transition: color 0.2s;
}
.featured-card:hover h4 { color: var(--accent-hi); }
.featured-card p {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.6;
}

/* ---------- Author bio box ---------- */
.author-bio-box {
    background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 100%), var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.author-bio-box .avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hi) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.15), 0 0 24px var(--accent-glow);
}
.author-bio-box .bio-content { flex: 1; min-width: 200px; }
.author-bio-box .bio-content h4 {
    color: var(--ink);
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: 1.1rem;
}
.author-bio-box .bio-content p {
    color: var(--ink-muted);
    font-size: 0.9rem;
    margin: 3px 0 0;
    line-height: 1.5;
}

/* ---------- Philosophy blockquote override ---------- */
article blockquote,
main blockquote {
    border-left: 3px solid var(--accent) !important;
    background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%) !important;
    padding: 20px 26px !important;
    margin: 28px 0 !important;
    border-radius: var(--radius-lg) !important;
    color: var(--ink) !important;
    font-style: italic !important;
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 600px) {
    .section-title { font-size: 1.4rem; margin: 40px 0 18px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-box { padding: 18px 14px; }
    .stat-box .number { font-size: 1.6rem; }
    .timeline { padding-left: 24px; }
    .timeline-item { padding-left: 18px; }
    .timeline-item::before { left: -24px; }
    .gear-grid, .social-links-grid, .featured-grid { grid-template-columns: 1fr; }
    .author-bio-box { flex-direction: column; text-align: center; }
}
/* ============================================================
   COMPONENT LIBRARY — Article-level additions
   Camera cards, badges, related grids, author box, FAQ
   ============================================================ */

/* ---------- Camera comparison grid ---------- */
.cam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 32px 0;
}
.cam-card {
    background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 100%), var(--glass-bg);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: transform .25s cubic-bezier(.16,1,.3,1),
                border-color .25s,
                box-shadow .25s;
}
.cam-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 165, 0, 0.4);
    box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 32px var(--accent-glow);
}
.cam-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 12px 0 8px;
    color: var(--ink);
}
.cam-card h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    margin: 18px 0 6px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.cam-card ul {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}
.cam-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}
.cam-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.cam-card .price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 6px 0 10px;
    letter-spacing: -0.01em;
}
.cam-card .btn {
    margin-top: 16px;
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* ---------- Badges ---------- */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.badge-hero,
.badge-blue,
.badge-purple {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(240, 165, 0, 0.3);
}

/* ---------- Content links (inline within body) ---------- */
.content-link {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(240, 165, 0, 0.4);
    text-underline-offset: 3px;
    transition: color 0.15s, text-decoration-color 0.15s;
}
.content-link:hover {
    color: var(--accent-hi);
    text-decoration-color: var(--accent-hi);
}

/* ---------- Author box (alias for author-bio-box) ---------- */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 100%), var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.author-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hi) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.15), 0 0 24px var(--accent-glow);
}
.author-info { flex: 1; min-width: 200px; }
.author-info h4 {
    color: var(--ink);
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: 1.1rem;
}
.author-info p {
    color: var(--ink-muted);
    font-size: 0.9rem;
    margin: 0 0 6px;
    line-height: 1.5;
}
.author-info a { color: var(--accent); text-decoration: underline; }

/* ---------- Related article grids ---------- */
.related-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.related-card {
    background: linear-gradient(180deg, var(--glass-highlight) 0%, transparent 100%), var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.related-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    color: inherit;
}
.related-card h4 {
    font-family: var(--font-display);
    color: var(--accent);
    margin: 0 0 8px;
    font-size: 1.05rem;
}
.related-card p {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.55;
}

/* ---------- Affiliate note (bottom of article) ---------- */
.affiliate-note {
    font-size: 0.85rem;
    color: var(--ink-muted);
    text-align: center;
    margin: 40px auto;
    padding: 18px 22px;
    background: var(--surface-2);
    border: 1px solid var(--line-hi);
    border-radius: var(--radius);
    max-width: 720px;
}

/* ---------- FAQ definition list ---------- */
article dl,
main dl {
    margin: 24px 0;
}
article dt,
main dt {
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 6px;
}
article dd,
main dd {
    margin-left: 0;
    color: var(--ink-soft);
    margin-bottom: 16px;
    padding-left: 18px;
    border-left: 2px solid var(--line-hi);
    line-height: 1.7;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    max-width: var(--container);
    margin: 24px auto 0;
    padding: 0 24px;
    font-size: 0.85rem;
    color: var(--ink-muted);
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before {
    content: "›";
    margin: 0 8px;
    color: var(--ink-muted);
    opacity: 0.6;
}
.breadcrumbs a {
    color: var(--ink-muted);
    text-decoration: none;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- Hero intro variant for articles ---------- */
.article-hero {
    padding: 64px 24px 48px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(240,165,0,0.10), transparent 55%), var(--bg);
    border-bottom: 1px solid var(--line);
}
.article-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 16px;
    background: linear-gradient(180deg, #ffffff 0%, #b8b8c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.article-hero .meta {
    font-size: 0.9rem;
    color: var(--ink-muted);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 20px;
}
.article-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
/* ============================================================
   Breadcrumbs + Article Hero (for injected article pages)
   ============================================================ */

.breadcrumbs {
    max-width: var(--container);
    margin: 24px auto 0;
    padding: 0 24px;
    font-size: 0.85rem;
    color: var(--ink-muted);
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before {
    content: "›";
    margin: 0 8px;
    color: var(--ink-muted);
    opacity: 0.6;
}
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

.article-hero {
    padding: 64px 24px 48px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(240,165,0,0.10), transparent 55%), var(--bg);
    border-bottom: 1px solid var(--line);
}
.article-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 16px;
    background: linear-gradient(180deg, #ffffff 0%, #b8b8c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
