/* ==========================================================================
   GLOBAL VARIABLES
   ========================================================================== */

:root {
    /* Core palette */
    --bg: #0a0a0b;
    --bg-deep: #070708;
    /* used for topbar / footer / true-black surfaces */
    --panel: #121214;
    --panel2: #18181b;
    --card: #111113;
    /* modal card background */

    --text: #f5f5f5;
    --text-inverse: #000000;
    --muted: #a1a1aa;
    --muted-dim: #71717a;
    /* dimmer muted, used in footer labels/disclaimer */

    --gold: #d4af37;
    --gold-hover: #bfa030;
    --gold-soft: rgba(212, 175, 55, .15);

    --border: rgba(255, 255, 255, .08);
    --border-soft: rgba(255, 255, 255, .06);
    --border-hairline: rgba(255, 255, 255, .03);

    --green: #22c55e;
    --red: #ef4444;
    --red-text: #f87171;
    --red-bg: rgba(239, 68, 68, .08);
    --red-border: rgba(239, 68, 68, .2);

    --overlay: rgba(0, 0, 0, .78);
    --shadow-modal: 0 25px 60px rgba(0, 0, 0, .45);
    --shadow-drawer: 0 20px 30px rgba(0, 0, 0, .7);

    /* Layout */
    --max-width: 1200px;
    --font-family: Arial, Helvetica, sans-serif;

    /* Shared tokens so nothing gets re-typed */
    --radius-sm: 10px;
    --radius-md: 18px;
    --transition: .2s ease;
}


/* ==========================================================================
   RESET
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(180deg, var(--bg-deep) 0%, #0f0f11 100%);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

/* ==========================================================================
   BODY STATES
   ========================================================================== */

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

/* ==========================================================================
   COMMON LAYOUT
   ========================================================================== */

.container {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.field-error {

    display: block;

    margin-top: 6px;

    color: #ef4444;

    font-size: 12px;

    font-weight: 500;

}

/* Reusable "inner grid" wrapper — used by both the header and footer so the
   content column lines up between sections instead of redefining max-width
   and padding twice. */
.inner-bounds {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Reusable brand-logo treatment. Both the header and footer logo share the
   same intentional negative-margin "bleed" trick, so it lives once here and
   each usage only overrides size via a modifier. */
.brand-logo-img,
.footer-logo {
    width: 280px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: -50px -45px;
}

.brand-logo-img {
    margin: -30px -45px;
    /* header logo uses a slightly smaller bleed */
}


/* ==========================================================================
    Header — Black Diamond Asymmetric Production Header (Fixed Desktop & Pro Mobile)
    ========================================================================== */
.topbar {
    background-color: var(--bg-deep);
    color: var(--text);
    padding: 0;
    border-bottom: 1px solid var(--border);
    z-index: 1001;
    position: sticky;
    top: 0;
}

.header-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 72px;
}

/* Left Component Block (Desktop only) */
.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.mobile-top-row {
    display: none;
    position: relative;
    z-index: 1002;
}


/* Right Horizontal Navigation Line (Desktop) */
.production-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 28px;
    margin-top: 2px;
    flex-wrap: nowrap;
}

.production-nav a {
    position: relative;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color var(--transition);
    white-space: nowrap;
    text-decoration: none;
    z-index: 1000;
}

.production-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.production-nav a:hover::after,
.production-nav a.active::after {
    width: 100%;
}

/* Mobile Hamburger Trigger */
.nav-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
    font-size: 20px;
}

/* ==========================================================
   USER MENU
========================================================== */

.user-menu {
    position: relative;
    margin-left: 20px;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.user-menu-btn:hover {
    color: var(--gold);
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 180px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: none;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .4);
}

.user-dropdown.show {
    display: block;
}

.logout-btn {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    padding: 14px 18px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.logout-btn:hover {
    background: var(--gold-soft);
    color: var(--gold);
}

.logout-btn i {
    margin-right: 10px;
}

/* Mobile drawer backdrop. JS toggles `.show` when the drawer opens/closes. */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 999;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
       Responsive Engine (Header)
       ========================================================================== */

/* Tablet: keep the desktop layout but tighten spacing so items don't crowd */
@media (max-width: 1200px) and (min-width: 1025px) {
    .header-layout {
        gap: 24px;
    }

    .production-nav {
        gap: 18px;
    }

    .production-nav a {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .topbar {
        padding: 16px 0;
    }

    .brand-logo-img {
        width: 220px;
        margin: -40px -30px;
    }

    /* Hide the desktop-only logo block on mobile */
    .brand-logo {
        display: none;
    }

    .header-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: auto;
    }

    .mobile-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Re-enable the logo specifically inside the mobile row */
    .mobile-top-row .brand-logo {
        display: flex;
        align-items: center;
    }

    .nav-toggle-btn {
        display: block;
        align-self: center;
    }

    /* Collapsible Drawer Navigation */
    .production-nav {
        display: none;
        position: fixed;
        top: var(--mobile-header-h, 90px);
        left: -320px;
        width: 280px;
        max-width: 80vw;
        height: calc(100vh - var(--mobile-header-h, 90px));
        background: var(--bg);
        padding: 16px 16px 32px;
        overflow-y: auto;
        z-index: 1000;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        box-shadow: var(--shadow-drawer);
        border: none;
        transition: left .3s ease;
    }

    .production-nav.active {
        left: 0;
        display: flex;
    }

    .production-nav a {
        position: static;
        display: flex;
        align-items: center;
        width: 100%;
        padding: 13px 14px;
        font-size: 15px;
        font-weight: 500;
        color: var(--muted);
        border-bottom: none;
        border-radius: 10px;
        border-left: 3px solid transparent;
        transition: background var(--transition), color var(--transition), border-color var(--transition);
    }

    .production-nav a::after {
        display: none;
    }

    .production-nav a:hover {
        background: var(--gold-soft);
        color: var(--gold);
    }

    .production-nav a.active {
        background: var(--gold-soft);
        color: var(--gold);
        font-weight: 700;
        border-left-color: var(--gold);
    }

    .production-nav a.mobile-login-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-top: 16px;
        padding: 14px 0;
        background: var(--gold);
        color: var(--text-inverse) !important;
        font-weight: 700;
        font-size: 15px;
        border-radius: 10px;
        transition: background var(--transition);
    }

    .production-nav a.mobile-login-link:hover {
        background: var(--gold-hover);
    }

    .user-menu {
        width: 100%;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .user-menu-btn {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: none;
        border: none;
        color: var(--text);
        padding: 10px 4px;
        cursor: pointer;
        border-radius: 10px;
        transition: background var(--transition);
    }

    .user-menu-btn:hover {
        background: var(--panel2);
    }

    .user-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .desktop-arrow {
        display: none;
    }

    .user-dropdown {
        position: static;
        display: block;
        background: transparent;
        border: none;
        box-shadow: none;
        margin-top: 8px;
    }

    .logout-btn {
        padding: 12px 4px;
        color: var(--muted);
        border-radius: 10px;
    }

    .logout-btn:hover {
        background: var(--red-bg);
        color: var(--red-text);
    }
}

/* Viewport scaling for very small screens */
@media (max-width: 360px) {
    .brand-logo-img {
        width: 180px;
        margin: -35px -20px;
    }

    .production-nav {
        width: 240px;
        padding: 70px 18px 32px;
    }
}


/* ==========================================================================
   LOGIN MODAL
   ========================================================================== */
.login-modal {
    position: fixed;
    inset: 0;

    display: none;

    justify-content: center;
    align-items: center;

    padding: 30px 20px;

    overflow-y: auto;

    background: var(--overlay);

    backdrop-filter: blur(4px);

    z-index: 9999;
}


.login-modal.show {
    display: flex;
}

.login-modal-card {

    width: 100%;

    max-width: 480px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 42px;

    position: relative;

    box-shadow: var(--shadow-modal);

    margin: auto;

    animation: modalFade .25s ease;
}

@keyframes modalFade {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

.modal-close {
    position: absolute;
    right: 18px;
    top: 16px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--gold);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header img {
    width: 54px;
    margin: 0 auto 18px;
}

.login-header h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--muted);
    font-size: 15px;
}

.auth-switch {

    margin-top: 22px;

    text-align: center;

    color: var(--muted);

    font-size: 14px;

}

.auth-switch-btn {

    background: none;

    border: none;

    color: var(--gold);

    cursor: pointer;

    font-weight: 600;

    margin-left: 4px;

}

.auth-switch-btn:hover {

    text-decoration: underline;

}


/* ==========================================================
   RESPONSIVE AUTH MODALS
========================================================== */

@media (max-height:700px) {

    .login-modal {

        align-items: flex-start;

        padding: 30px 20px;

    }

}

@media (max-width:576px) {

    .login-modal {

        padding: 20px 16px;

    }

    .login-modal-card {

        padding: 28px 22px;

        border-radius: 14px;

    }

    .login-header {

        margin-bottom: 24px;

    }

    .login-header img {

        width: 46px;

        margin-bottom: 14px;

    }

    .login-header h2 {

        font-size: 28px;

    }

    .login-header p {

        font-size: 14px;

    }

    .form-group {

        margin-bottom: 18px;

    }

    .login-btn {

        height: 48px;

    }

}



/* ---------- FORM ---------- */

.form-group {
    margin-bottom: 22px;
}

/* ==========================================================
   PASSWORD FIELD
========================================================== */

.password-field {

    position: relative;

}

.password-field input {

    padding-right: 50px;

}

.password-toggle {

    position: absolute;

    top: 50%;

    right: 14px;

    transform: translateY(-50%);

    background: none;

    border: none;

    color: var(--muted);

    cursor: pointer;

    font-size: 17px;

    transition: var(--transition);

}

.password-toggle:hover {

    color: var(--gold);

}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--muted);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 50px;
    background: var(--panel2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
}


/* ---------- ERROR ---------- */

.error-banner {
    margin-bottom: 22px;
    background: var(--red-bg);
    border: 1px solid var(--red-border);
    color: var(--red-text);
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}


/* ---------- BUTTON ---------- */

.login-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gold);
    color: var(--text-inverse);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--gold-hover);
}


/* ==========================================================================
    CORPORATE DISCLOSURE FOOTER (Full-Width Edge-To-Edge)
    ========================================================================== */

.footer {
    width: 100%;
    background-color: var(--text-inverse);
    /* true black */
    border-top: 1px solid var(--border);
    padding: 56px 0 40px 0;
    margin-top: 56px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 48px;
    align-items: start;
}

/* Logo + brand identity grouping wrap */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--muted-dim);
    line-height: 1;
    max-width: 440px;
    margin-top: 0;
}

.footer-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 0;
}

/* ==========================================================================
       Responsive Breakdown Layout Layers (Footer)
       ========================================================================== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .footer-logo {
        width: 240px;
        margin: -45px -40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-disclaimer {
        max-width: 100%;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .footer-logo {
        width: 180px;
        margin: -35px -20px;
    }
}

/* ==========================================================================
   INDEX PAGE — HERO CAROUSEL, STRATEGY SECTION, CONTENT GRIDS, NEWSLETTER
   Append this block to common.css. Depends on existing :root vars:
   --border, --muted, --gold, --green, --red (already defined above).
   ========================================================================== */

/* ---------- 1. HERO CAROUSEL SYSTEM ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: #0b0b0d;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    min-height: 640px;
    margin: 36px 0 48px;
    border-radius: 28px;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 15s;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 6, 8, .88) 0%, rgba(10, 10, 12, .72) 34%, rgba(10, 10, 12, .38) 58%, rgba(10, 10, 12, .72) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .58) 100%);
}

/* NOTE: paths hardcoded from asset('img/...') — see message above if you use
   ASSET_URL/CDN in .env, these will need to stay Blade-rendered instead. */
.hero-slide-1 {
    background-image: url("../../img/Home page Hero 1.png");
    animation-name: slideFade1;
}

.hero-slide-2 {
    background-image: url("../../img/Home page Hero 2.png");
    animation-name: slideFade2;
}

.hero-slide-3 {
    background-image: url("../../img/Home page Hero 3.png");
    animation-name: slideFade3;
}

.hero-slide-4 {
    background-image: url("../../img/Home page Hero 4.png");
    animation-name: slideFade4;
}

@keyframes slideFade1 {

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

    20%,
    80% {
        opacity: 0;
    }
}

@keyframes slideFade2 {
    25% {
        opacity: 1;
        transform: scale(1.03);
    }

    0%,
    45%,
    100% {
        opacity: 0;
    }
}

@keyframes slideFade3 {
    50% {
        opacity: 1;
        transform: scale(1.03);
    }

    0%,
    20%,
    70%,
    100% {
        opacity: 0;
    }
}

@keyframes slideFade4 {
    75% {
        opacity: 1;
        transform: scale(1.03);
    }

    0%,
    45%,
    95%,
    100% {
        opacity: 0;
    }
}

.hero-body {
    position: relative;
    z-index: 10;
    padding: 64px 48px;
    min-height: 640px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
}

.hero-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

/* Shared action buttons */
.btn-gold {
    background-color: #d4af37;
    color: #000000;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-gold:hover {
    background-color: #b8962f;
}

.btn-outline {
    background: rgba(10, 10, 11, 0.6);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #d4af37;
}

.snapshot-card {
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.matrix-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.matrix-item {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 8px;
}

.matrix-label {
    font-size: 11px;
    color: #71717a;
    font-weight: 600;
}

.matrix-value {
    font-size: 16px;
    font-weight: 700;
    margin-top: 4px;
    font-family: monospace;
}

/* ---------- 2. INVESTMENT STRATEGY LAYER ---------- */
.strategy-section {
    position: relative;
    margin-bottom: 64px;
    margin-top: 64px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--border);
    background-color: #070708;
    min-height: 540px;
}

.strategy-bg-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.strategy-bg-video-node {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.strategy-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(7, 7, 8, 1) 0%, rgba(10, 10, 12, 0.95) 45%, rgba(10, 10, 12, 0.2) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.strategy-grid-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    min-height: 540px;
}

.strategy-content {
    padding: 64px;
    display: flex;
    flex-direction: column;
}

.strategy-badge {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    width: max-content;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.strategy-title {
    font-size: 46px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.strategy-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.strategy-video-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
    align-self: stretch;
}

.terminal-video-node {
    width: 100%;
    height: 80%;
    min-height: 540px;
    object-fit: cover;
    padding: 22px;
    margin-right: 30px;
    border: 3px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    display: block;
    /* animation: cinematicSmoothTransform 12s infinite ease-in-out; */
}

@keyframes cinematicSmoothTransform {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.015) rotate(0.3deg);
    }
}

/* ---------- 3. CONTENT ARRAYS: LATEST / DEEP / PORTAL / NEWSLETTER ---------- */
.section-block {
    margin-bottom: 56px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-main-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.section-sub-context {
    font-size: 13px;
    color: var(--muted);
}

.premium-content-card {
    background: #111113;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s ease, transform 0.2s ease;
    min-height: 240px;
}

.premium-content-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
}

.card-meta-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.card-headline-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 12px;
}

.card-headline-title a {
    transition: color 0.2s;
}

.card-headline-title a:hover {
    color: var(--gold);
}

.card-body-summary {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.5;
}

.lead-asymmetric-card {
    background: linear-gradient(135deg, #161619 0%, #111113 100%);
    position: relative;
    overflow: hidden;
}

.lead-asymmetric-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.lead-asymmetric-card .card-headline-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
}

.latest-coverage-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.3fr;
    gap: 24px;
}

.sub-coverage-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.deep-analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portal-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portal-focus-grid .premium-content-card {
    min-height: 160px;
    padding: 24px;
    justify-content: flex-start;
}

.portal-focus-grid .card-headline-title {
    font-size: 19px;
    margin-bottom: 8px;
}

.newsletter-bar-box {
    background: #111113;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-info-left h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.newsletter-info-left p {
    font-size: 14px;
    color: var(--muted);
}

.newsletter-action-form {
    display: flex;
    gap: 14px;
    align-items: center;
    width: 100%;
    max-width: 480px;
}

.newsletter-input-node {
    background: #18181b;
    border: 1px solid var(--border);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    flex: 1;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input-node:focus {
    border-color: var(--gold);
}

.btn-submit-gold {
    background: var(--gold);
    color: #000000;
    font-weight: 700;
    border-radius: 6px;
    padding: 14px 28px;
    border: none;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.btn-submit-gold:hover {
    background: #b8962f;
}

/* ---------- 4. RESPONSIVE CONTROLLERS ---------- */
@media (max-width: 1024px) {
    .hero-body {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 32px;
    }

    .strategy-grid-container {
        grid-template-columns: 1fr;
    }

    .strategy-content {
        padding: 40px 24px;
    }

    .strategy-video-wrapper {
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .terminal-video-node {
        min-height: 380px;
        animation: none;
        margin-right: 0px;
    }

    .latest-coverage-grid {
        grid-template-columns: 1fr;
    }

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

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

    .newsletter-bar-box {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .hero-body {
        padding: 32px 16px;
        margin-right: 10px;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .strategy-title {
        font-size: 36px;
    }

    .deep-analysis-grid {
        grid-template-columns: 1fr;
    }

    .portal-focus-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-action-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-submit-gold {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 34px;
    }

    .matrix-subgrid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-action-row {
        flex-direction: column;
        gap: 12px;
    }

    .btn-gold,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}


/* ==========================================================================
   ARTICLES ARCHIVE PAGE — Editorial Content Bible / Volume Filter Tabs / Vault Cards
   Depends on existing :root vars: --gold, --gold-soft, --border, --muted
   ========================================================================== */

.archive-header {
    margin: 40px 0 32px 0;
    border-left: 4px solid var(--gold);
    padding-left: 16px;
}

.archive-header h1 {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.archive-header p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

.filter-tabs-bar {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 36px;
    overflow-x: auto;
    white-space: nowrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.tab-btn:hover,
.tab-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-soft);
}

.articles-master-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.article-vault-card {
    background: #111113;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    min-height: 460px;
}

.article-vault-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.article-card-image-frame {
    width: 100%;
    height: 180px;
    background: #18181b;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.article-card-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-vault-card:hover .article-card-image-frame img {
    transform: scale(1.04);
}

.article-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.volume-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-index-num {
    font-family: monospace;
    font-size: 12px;
    color: #52525b;
    font-weight: 700;
}

.article-main-title {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 12px;
    margin-top: 0;
}

.article-main-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.article-main-title a:hover {
    color: var(--gold);
}

.card-technical-snapshot {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.snapshot-badge {
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.article-purpose-box {
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid #3f3f46;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 16px;
    font-style: italic;
}

.card-footer-moats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 14px;
    margin-top: auto;
}

.moat-pill {
    font-size: 11px;
    font-weight: 600;
    background: #18181b;
    color: #a1a1aa;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

@media (max-width: 1024px) {
    .articles-master-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .articles-master-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   ARTICLE SHOW PAGE — Dark-Gold Letterhead Layout
   Fonts (Cormorant Garamond / Barlow) are loaded via <link> only on this
   page's blade file — not added here since no other page uses them.
   NOTE: footer classes below are prefixed "letter-" to avoid colliding
   with the sitewide .footer / .footer-brand already defined above.
   ========================================================================== */

.letterhead-wrapper {
    position: relative;
    background: #050507;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #e4e4e7;
    min-height: 100vh;
    overflow: hidden;
}

.bg-video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 0.18;
    filter: grayscale(20%) contrast(110%);
}

.video-overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 7, 0.6), #050507 95%);
    z-index: 2;
    pointer-events: none;
}

.back-navigation-container {
    width: 780px;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    z-index: 5;
}

.letterhead-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold, #d4af37);
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s;
}

.letterhead-back-btn:hover {
    color: #ffffff;
}

.page {
    width: 780px;
    background: rgba(13, 13, 15, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 72px 80px;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    z-index: 5;
}

.page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold, #d4af37);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-mark {
    width: 52px;
    height: 52px;
    background: #000000;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-text .name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    line-height: 1;
}

.brand-text .tagline {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    color: #a1a1aa;
    letter-spacing: 0.12em;
    margin-top: 4px;
    line-height: 1.4;
}

.date-area {
    text-align: right;
}

.date-label {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    color: #71717a;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.date-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #f4f4f5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fy-badge {
    display: inline-block;
    margin-top: 6px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold, #d4af37);
    border: 1px solid rgba(212, 175, 55, 0.2);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 3px 12px;
    border-radius: 2px;
    text-transform: uppercase;
}

.letter-type {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: var(--gold, #d4af37);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 8px;
    word-wrap: break-word;
    font-variant-numeric: lining-nums proportional-nums;
}

.title-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: #71717a;
    margin-bottom: 36px;
}

.show-layout-banner-frame {
    width: 100%;
    height: 320px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
    margin-bottom: 32px;
    background: #111113;
}

.show-layout-banner-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rule {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.rule-line {
    flex: 1;
    height: 0.5px;
    background: rgba(255, 255, 255, 0.08);
}

.rule-diamond {
    width: 6px;
    height: 6px;
    background: var(--gold, #d4af37);
    transform: rotate(45deg);
}

.article-body-content {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #e4e4e7;
}

.article-body-content p {
    font-size: 18px;
    line-height: 1.9;
    color: #e4e4e7;
    margin-bottom: 22px;
    font-weight: 400;
}

.article-body-content h3 {
    font-family: 'Cormorant Garamond', serif;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
    text-transform: uppercase;
}

.article-body-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body-content li {
    font-size: 18px;
    line-height: 1.8;
    color: #d4d4d8;
    margin-bottom: 12px;
    list-style-type: disc;
}

.article-body-content strong {
    font-weight: 600;
    color: #ffffff;
}

.article-body-content .rule-highlight-gold {
    color: var(--gold, #d4af37) !important;
    font-weight: 700;
}

.achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 32px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.achievement {
    background: #0d0d0f;
    padding: 20px 18px;
    text-align: center;
}

.achievement .number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 34px;
    font-weight: 600;
    font-style: italic;
    color: var(--gold, #d4af37);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-variant-numeric: lining-nums proportional-nums;
}

.achievement .label {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    color: #a1a1aa;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.closing {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.08);
}

.sign-off {
    font-size: 17px;
    color: #a1a1aa;
    margin-bottom: 16px;
}

.signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    font-style: italic;
    color: var(--gold, #d4af37);
    margin-bottom: 4px;
}

.sig-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #71717a;
    letter-spacing: 0.1em;
}

/* Renamed from .footer to avoid colliding with the sitewide footer */
.letter-footer {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Renamed from .footer-brand — same reason */
.letter-footer-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
}

.letter-footer-sub {
    font-family: 'Barlow', sans-serif;
    font-size: 9px;
    color: #52525b;
    letter-spacing: 0.06em;
    margin-top: 3px;
}

.letter-footer-right {
    font-family: 'Barlow', sans-serif;
    font-size: 9px;
    color: #52525b;
    text-align: right;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

@media (max-width: 840px) {

    .page,
    .back-navigation-container {
        width: 100%;
    }

    .page {
        padding: 40px 30px;
    }

    .achievements {
        grid-template-columns: 1fr;
        gap: 10px;
        background: none;
        border: none;
    }

    .achievement {
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
}
