@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@700;800;900&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

/* ==========================================================================
   CARBON MAGAZINE // ISSUE 09: PRIVATE ADULT RETROSPECTIVE
   High-Fashion Cyberpunk Editorial Magazine Layout
   Distinct, Non-Formulaic Magazine Architecture
   100% English Language Compliance
   ========================================================================== */

:root {
    --bg-page: #070709;
    --bg-surface: #101015;
    --bg-surface-elevated: #181822;
    --border-subtle: #242432;
    --border-highlight: #ff5500;
    
    --orange-primary: #ff5500;
    --orange-glow: #ff7722;
    --orange-tint: rgba(255, 85, 0, 0.12);
    --orange-border: rgba(255, 85, 0, 0.35);
    
    --amber-warning: #f59e0b;
    --cyan-accent: #00d2ff;
    
    --text-pure: #ffffff;
    --text-primary: #f1f3f9;
    --text-secondary: #9aa2b5;
    --text-muted: #646c80;
    
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-full: 9999px;
    
    --shadow-mag: 0 12px 35px rgba(0, 0, 0, 0.65);
    --shadow-orange: 0 0 30px rgba(255, 85, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-page);
}

body {
    background-color: var(--bg-page);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 85, 0, 0.09) 0%, transparent 40%),
        linear-gradient(180deg, #0b0b0e 0%, #070709 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* ==========================================================================
   Editorial Masthead Header (Authentic Magazine Aesthetic)
   ========================================================================== */
.mag-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mag-top-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 8px;
}

.mag-edition-pill {
    background: var(--orange-primary);
    color: #000;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
}

.mag-masthead {
    border-bottom: 4px solid var(--text-pure);
    padding: 24px 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.mag-logo-box {
    display: flex;
    flex-direction: column;
}

.mag-logo {
    font-family: var(--font-display);
    font-size: 110px;
    line-height: 0.85;
    letter-spacing: 6px;
    color: var(--text-pure);
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(255, 85, 0, 0.3);
}

.mag-logo span {
    color: var(--orange-primary);
}

.mag-subline {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange-glow);
    font-weight: 800;
    margin-top: 6px;
}

.mag-issue-badge {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-mono);
}

.mag-vol-number {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--text-pure);
    line-height: 1;
}

.mag-status-tag {
    font-size: 11px;
    color: #00d2ff;
    letter-spacing: 1px;
    font-weight: 700;
}

.mag-access-cta {
    background: var(--orange-primary);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.mag-access-cta:hover {
    background: var(--orange-glow);
    color: #000;
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.6);
    transform: translateY(-2px);
}

/* ==========================================================================
   Editorial Departments Navigation (Not a generic pill bar!)
   ========================================================================== */
.mag-departments {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mag-departments::-webkit-scrollbar {
    display: none;
}

.mag-dept-item {
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mag-dept-item:hover, .mag-dept-item.active {
    background: #191924;
    color: var(--orange-glow);
    border-color: var(--orange-border);
}

.mag-dept-num {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--orange-primary);
    background: rgba(255, 85, 0, 0.15);
    padding: 1px 5px;
    border-radius: 3px;
}

/* ==========================================================================
   Editorial Profile Reel / Filmstrip (Instead of round circles)
   ========================================================================== */
.mag-profiles-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-mag);
}

.mag-sec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.mag-sec-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-pure);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mag-sec-title span.indicator {
    color: var(--orange-primary);
}

.mag-sec-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--orange-glow);
    font-weight: 700;
}

.mag-filmstrip {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
}

.mag-film-card {
    background: #16161f;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    position: relative;
    transition: all 0.25s ease;
}

.mag-film-card:hover {
    border-color: var(--orange-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 85, 0, 0.25);
}

.mag-film-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid #2e2e3e;
    background: #000;
    transition: transform 0.3s ease;
}

.mag-film-card:hover .mag-film-thumb {
    transform: scale(1.08);
    border-color: var(--orange-glow);
}

.mag-film-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mag-film-name {
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.mag-film-card:hover .mag-film-name {
    color: var(--orange-glow);
}

/* ==========================================================================
   Editorial Cover Layout (Magazine Main Grid)
   ========================================================================== */
.mag-editorial-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
}

/* Left Cover Story */
.mag-cover-feature {
    background: #111118;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 480px;
    box-shadow: var(--shadow-mag);
    transition: all 0.3s ease;
}

.mag-cover-feature:hover {
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-orange);
}

.mag-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: brightness(0.85) contrast(1.1);
    transition: transform 0.6s ease;
}

.mag-cover-feature:hover .mag-cover-img {
    transform: scale(1.04);
}

.mag-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 11, 16, 0.1) 0%, rgba(11, 11, 16, 0.6) 45%, #0d0d14 95%);
}

.mag-cover-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mag-stamp {
    background: var(--orange-primary);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    align-self: flex-start;
}

.mag-cover-kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #00d2ff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
}

.mag-cover-headline {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-pure);
    text-shadow: 0 3px 15px rgba(0,0,0,0.8);
}

.mag-cover-deck {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
    max-width: 580px;
}

.mag-cover-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mag-cover-byline {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
}

.mag-cover-btn {
    background: var(--orange-primary);
    color: #000000;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
}

.mag-cover-btn:hover {
    background: var(--orange-glow);
}

/* Right Editorial Column */
.mag-editorial-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mag-side-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    gap: 16px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.mag-side-card:hover {
    border-color: var(--orange-primary);
    background: var(--bg-surface-elevated);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.18);
}

.mag-side-thumb {
    width: 140px;
    height: 110px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #0a0a10;
    border: 1px solid #2a2a38;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.mag-side-thumb img {
    width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    filter: contrast(1.2) brightness(1.2);
    transition: transform 0.4s ease;
}

.mag-side-card:hover .mag-side-thumb img {
    transform: scale(1.08);
}

.mag-side-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mag-side-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--orange-glow);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mag-side-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1.3;
}

.mag-side-card:hover .mag-side-title {
    color: var(--orange-glow);
}

.mag-side-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

/* ==========================================================================
   Editorial Index / Issue Dossier Table (Magazine Table of Contents)
   ========================================================================== */
.mag-dossier-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-mag);
}

.mag-index-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: #0c0c11;
}

.mag-index-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.mag-index-table th {
    background: #14141d;
    color: var(--orange-glow);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--orange-border);
}

.mag-index-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    vertical-align: middle;
}

.mag-index-table tr:hover td {
    background: rgba(255, 85, 0, 0.07);
}

.mag-dossier-id {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--orange-primary);
    font-weight: 800;
    background: rgba(255, 85, 0, 0.12);
    border: 1px solid var(--orange-border);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-right: 8px;
}

.mag-dossier-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-pure);
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mag-dossier-link:hover {
    color: var(--orange-glow);
    text-decoration: underline;
}

.mag-dept-pill {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: #cbd5e1;
    background: #1e1e28;
    border: 1px solid #323244;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.mag-dept-pill:hover {
    background: var(--orange-primary);
    color: #000;
    border-color: var(--orange-primary);
}

.mag-access-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--orange-glow);
    background: rgba(255, 85, 0, 0.12);
    border: 1px solid var(--orange-border);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.mag-access-badge:hover {
    background: var(--orange-primary);
    color: #000;
    border-color: var(--orange-primary);
    box-shadow: 0 2px 10px rgba(255, 85, 0, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   Editorial Spread Essay (Real Magazine Feature Article)
   ========================================================================== */
.mag-essay-spread {
    background: #0d0d13;
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--orange-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-mag);
}

.mag-essay-kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--orange-glow);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mag-essay-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: var(--text-pure);
    line-height: 1.25;
    margin-bottom: 18px;
}

.mag-essay-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.mag-essay-columns p::first-letter {
    font-family: var(--font-display);
    font-size: 46px;
    float: left;
    line-height: 0.85;
    padding-right: 8px;
    color: var(--orange-primary);
}

.mag-essay-columns b {
    color: var(--text-pure);
}

.mag-essay-columns i {
    color: var(--orange-glow);
}

/* ==========================================================================
   Concordance & Tag Index (Back of Magazine Index)
   ========================================================================== */
.mag-concordance {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.mag-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.mag-tag-pill {
    background: #14141d;
    border: 1px solid var(--border-subtle);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.mag-tag-pill:hover {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 85, 0, 0.35);
}

/* ==========================================================================
   Syndication Network
   ========================================================================== */
.mag-syndication {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.mag-synd-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.mag-synd-card {
    background: #14141d;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.mag-synd-card:hover {
    background: #1a1a26;
    border-color: var(--orange-primary);
    transform: translateY(-2px);
}

.mag-synd-name {
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 800;
    color: var(--text-pure);
    display: block;
}

.mag-synd-sub {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
}

/* ==========================================================================
   Prominent Fictional Adult Fantasy Notice (Mandatory Requirement)
   ========================================================================== */
.fictional-disclaimer-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.2) 100%);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 20px 26px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(245, 158, 11, 0.25);
}

.fictional-disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #d97706;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
}

.fictional-disclaimer-text {
    font-size: 14.5px;
    font-weight: 700;
    color: #fef3c7;
    line-height: 1.6;
    max-width: 980px;
    margin: 0 auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.mag-footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mag-legal {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 950px;
    margin: 0 auto;
}

.mag-legal strong {
    color: var(--text-pure);
}

.mag-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
}

.mag-footer-links a:hover {
    color: var(--orange-primary);
}

/* ==========================================================================
   Floating Action Button (FAB) & Live Notification Toast
   ========================================================================== */
.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--orange-primary);
    color: #000000;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 25px rgba(255, 85, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.8px;
    border: 1px solid var(--orange-glow);
    z-index: 999;
}

.fab:hover {
    background: var(--orange-glow);
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(255, 85, 0, 0.7);
    color: #000;
}

.live-notify {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(18, 18, 24, 0.96);
    border: 1px solid var(--orange-primary);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    font-size: 12px;
}

.live-notify.active {
    opacity: 1;
    transform: translateY(0);
}

.notify-icon {
    background: var(--orange-primary);
    color: #000000;
    font-weight: 900;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1100px) {
    .mag-editorial-grid {
        grid-template-columns: 1fr;
    }
    .mag-filmstrip {
        grid-template-columns: repeat(5, 1fr);
    }
    .mag-synd-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mag-masthead {
        flex-direction: column;
        align-items: flex-start;
    }
    .mag-logo {
        font-size: 72px;
    }
    .mag-issue-badge {
        text-align: left;
    }
    .mag-essay-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mag-filmstrip {
        grid-template-columns: repeat(4, 1fr);
    }
    .mag-synd-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .mag-logo {
        font-size: 54px;
    }
    .mag-filmstrip {
        grid-template-columns: repeat(3, 1fr);
    }
    .mag-synd-grid {
        grid-template-columns: 1fr;
    }
    .mag-index-table th, .mag-index-table td {
        padding: 8px 6px;
        font-size: 10px;
    }
}

/* ==========================================================================
   Interactive Luxury Magazine Components (Doorway-Free Architecture)
   ========================================================================== */

/* Main Section Switcher Tabs */
.mag-main-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #111118;
    border: 1px solid var(--border-subtle);
    padding: 8px;
    border-radius: var(--radius-full);
    margin: 6px 0 10px;
}

.mag-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mag-tab-btn:hover {
    color: var(--text-pure);
    background: rgba(255, 85, 0, 0.08);
}

.mag-tab-btn.active {
    background: var(--orange-primary);
    color: #000000;
    box-shadow: 0 4px 18px rgba(255, 85, 0, 0.45);
    font-weight: 900;
}

/* Tab Panels */
.mag-tab-panel {
    display: none;
    animation: magFadeIn 0.35s ease;
}

.mag-tab-panel.active {
    display: block;
}

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

/* Interactive Filter Bar for Contact Sheet */
.mag-filter-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.mag-filter-bar::-webkit-scrollbar {
    display: none;
}

.mag-filter-btn {
    background: #161622;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mag-filter-btn:hover {
    color: var(--orange-glow);
    border-color: var(--orange-border);
}

.mag-filter-btn.active {
    background: var(--orange-primary);
    color: #000;
    border-color: var(--orange-primary);
}

/* Interactive Accordion Dossiers */
.mag-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mag-acc-card {
    background: #0f0f16;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
}

.mag-acc-card:hover {
    border-color: rgba(255, 85, 0, 0.4);
}

.mag-acc-card.open {
    border-color: var(--orange-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.mag-acc-header {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: #12121b;
    gap: 12px;
    flex-wrap: wrap;
}

.mag-acc-header:hover {
    background: #161624;
}

.mag-acc-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 260px;
}

.mag-acc-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--text-pure);
}

.mag-acc-card.open .mag-acc-title {
    color: var(--orange-glow);
}

.mag-acc-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mag-acc-chevron {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--orange-glow);
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 85, 0, 0.1);
}

.mag-acc-card.open .mag-acc-chevron {
    transform: rotate(180deg);
    background: var(--orange-primary);
    color: #000;
}

.mag-acc-drawer {
    display: none;
    padding: 18px 20px;
    background: #09090e;
    border-top: 1px solid var(--border-subtle);
    animation: magDrawerSlide 0.25s ease;
}

.mag-acc-card.open .mag-acc-drawer {
    display: block;
}

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

.mag-acc-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mag-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mag-meta-label {
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mag-meta-val {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.mag-acc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mag-acc-summary {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 70%;
}

.mag-acc-cta-btn {
    background: var(--orange-primary);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 11.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.mag-acc-cta-btn:hover {
    background: var(--orange-glow);
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.4);
    transform: translateY(-1px);
}

/* Rich Thematic Curated Collections (Replacing Spammy Tag Clouds) */
.mag-collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mag-collection-card {
    background: #111119;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.mag-collection-card:hover {
    border-color: var(--orange-primary);
    background: #161622;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 85, 0, 0.2);
}

.mag-col-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mag-col-badge {
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--orange-primary);
    background: rgba(255, 85, 0, 0.12);
    border: 1px solid var(--orange-border);
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: 700;
}

.mag-col-count {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

.mag-col-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 6px;
    line-height: 1.3;
}

.mag-collection-card:hover .mag-col-title {
    color: var(--orange-glow);
}

.mag-col-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.mag-col-link {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    color: var(--orange-glow);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Lightbox Modal (Darkroom / Art Gallery Experience) */
.mag-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(5, 5, 8, 0.96);
    backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mag-lightbox.open {
    display: flex;
    opacity: 1;
}

.mag-lightbox-dialog {
    max-width: 1000px;
    width: 100%;
    background: #0f0f16;
    border: 2px solid var(--orange-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    animation: magModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@keyframes magModalPop {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mag-lightbox-header {
    background: #14141e;
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mag-lightbox-plate-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
}

.mag-lightbox-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-pure);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mag-lightbox-close:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}

.mag-lightbox-stage {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060609;
    min-height: 420px;
    max-height: 60vh;
    overflow: hidden;
    position: relative;
}

.mag-lightbox-stage img {
    max-height: 54vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

.mag-lightbox-stage img.zoomed {
    transform: scale(1.4);
    cursor: zoom-out;
}

.mag-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 30, 0.85);
    border: 1px solid var(--border-subtle);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
    user-select: none;
}

.mag-lightbox-nav:hover {
    background: var(--orange-primary);
    color: #000;
}

.mag-lightbox-nav.prev { left: 18px; }
.mag-lightbox-nav.next { right: 18px; }

.mag-lightbox-footer {
    background: #14141e;
    border-top: 1px solid var(--border-subtle);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mag-lightbox-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-pure);
}

.mag-lightbox-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--orange-glow);
}

.mag-lightbox-action-btn {
    background: var(--orange-primary);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 11.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mag-lightbox-action-btn:hover {
    background: var(--orange-glow);
}

@media (max-width: 900px) {
    .mag-collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mag-acc-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mag-acc-summary {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .mag-collections-grid {
        grid-template-columns: 1fr;
    }
    .mag-acc-meta-grid {
        grid-template-columns: 1fr;
    }
}