/* ==========================================================================
   THE DISTRIBUTION GUY — Ghost Theme
   Matching thedistributionguy.lovable.app design
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    --color-bg: #f1f6fa;
    --color-bg-gradient: linear-gradient(160deg, #d4e8f5 0%, #e0eeF7 20%, #eef5fb 45%, #f8fafc 75%, #ffffff 100%);
    --color-white: #ffffff;
    --color-navy: #0f172a;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-accent: #0891b2;
    --color-cta: #f97316;
    --color-cta-hover: #ea580c;
    --color-border: #e2e8f0;
    --color-card: #ffffff;
    --color-card-border: rgba(0,0,0,0.07);
    --color-section-dark: #0f172a;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
    --shadow-card: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.10);
    --max-width: 1240px;
    --header-height: 70px;
}

/* Dark mode */
body.dark-mode {
    --color-bg: #0f172a;
    --color-bg-gradient: linear-gradient(160deg, #0f1f2e 0%, #0f172a 40%, #111827 100%);
    --color-text: #f1f5f9;
    --color-text-muted: #94a3b8;
    --color-text-light: #64748b;
    --color-border: #1e293b;
    --color-card: #1e293b;
    --color-card-border: rgba(255,255,255,0.07);
    --color-white: #1e293b;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg-gradient);
    background-attachment: fixed;
    transition: background 0.3s, color 0.3s;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --------------------------------------------------------------------------
   TYPOGRAPHY HELPERS
   -------------------------------------------------------------------------- */
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.section-label-light {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.section-heading {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 20px;
}

.section-subtext {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-cta);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}
.btn-primary:hover {
    background: var(--color-cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}
.btn-secondary:hover {
    border-color: var(--color-text-muted);
    background: rgba(0,0,0,0.03);
}

.btn-light {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-light:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.7);
}

.btn-cta-large {
    background: var(--color-cta);
    color: #ffffff;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px rgba(249,115,22,0.35);
    flex-shrink: 0;
}
.btn-cta-large:hover {
    background: var(--color-cta-hover);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    height: var(--header-height);
    transition: background 0.3s;
}

body.dark-mode .site-header {
    background: rgba(15, 23, 42, 0.92);
    border-bottom-color: rgba(255,255,255,0.06);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo-link { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo-img { height: 42px; width: auto; }
.site-logo-text { display: flex; flex-direction: column; }
.logo-main {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--color-text);
    line-height: 1.2;
}
.logo-sub {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Ghost navigation helper outputs a <ul> */
.site-nav .nav,
.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav .nav-home a,
.site-nav li a,
.site-nav a {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    border-radius: var(--radius-pill);
    transition: color 0.2s, background 0.2s;
    text-transform: uppercase;
    text-decoration: none;
}

.site-nav .nav-home a,
.site-nav li.nav-home a {
    background: var(--color-text);
    color: var(--color-white);
}

body.dark-mode .site-nav .nav-home a,
body.dark-mode .site-nav li.nav-home a {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

.site-nav li a:hover,
.site-nav a:hover {
    color: var(--color-text);
    background: rgba(0,0,0,0.05);
}

body.dark-mode .site-nav li a:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

.dark-toggle {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: all 0.2s;
    margin-left: 8px;
    flex-shrink: 0;
}
.dark-toggle:hover { background: rgba(0,0,0,0.06); color: var(--color-text); }
body.dark-mode .dark-toggle { border-color: rgba(255,255,255,0.2); color: #94a3b8; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.2s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 32px;
    z-index: 99;
}

body.dark-mode .mobile-nav {
    background: rgba(15, 23, 42, 0.97);
}

.mobile-nav.open { display: block; }

.mobile-nav .nav,
.mobile-nav ul { list-style: none; padding: 0; }

.mobile-nav li a,
.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    padding: 80px 32px 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 64px;
}

.hero-heading {
    font-size: clamp(32px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtext {
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero image column */
.hero-image-col { position: relative; }

.hero-image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5986 40%, #c8a86b 100%);
    aspect-ratio: 4/3;
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background: linear-gradient(135deg, #1a2e47 0%, #2e5480 50%, #b89459 100%);
}

.hero-overlay-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.overlay-card {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.25);
}
.overlay-card-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
    text-transform: uppercase;
}
.overlay-card-text {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

/* Hero service pillars */
.hero-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-bottom: 64px;
}

.pillar-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
}
.pillar-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.pillar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.pillar-text { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   TRUST BAR
   -------------------------------------------------------------------------- */
.trust-bar {
    background: rgba(0,0,0,0.03);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 40px 0;
}

body.dark-mode .trust-bar {
    background: rgba(255,255,255,0.02);
}

.trust-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.trust-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.trust-pill {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-pill);
    padding: 10px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-body p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.benefit-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
}
.benefit-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.benefit-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.benefit-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.3;
}
.benefit-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
    padding: 80px 0 100px;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

body.dark-mode .services-section {
    background: rgba(255,255,255,0.02);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.service-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.service-card--featured {
    grid-column: span 1;
    border-top: 3px solid var(--color-cta);
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cta);
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.3;
}
.service-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-bullets { margin-top: 16px; }
.service-bullets li {
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 8px 14px;
    background: rgba(0,0,0,0.03);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
}
body.dark-mode .service-bullets li { background: rgba(255,255,255,0.05); }

/* --------------------------------------------------------------------------
   ON-SITE APPROACH (dark section)
   -------------------------------------------------------------------------- */
.onsite-section {
    background: var(--color-section-dark);
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.onsite-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1587293852726-70cdb56c2866?w=1600&q=80') center/cover no-repeat;
    opacity: 0.12;
}

.onsite-content {
    position: relative;
    max-width: 640px;
}

.onsite-heading {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.onsite-text {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   THOUGHT LEADERSHIP / INSIGHTS
   -------------------------------------------------------------------------- */
.insights-section {
    padding: 100px 0;
}

.insights-header {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 56px;
}

.insights-header-left { max-width: 640px; }

.insights-subtext {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.insight-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.insight-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.insight-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.insight-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.35;
    margin-bottom: 12px;
}
.insight-title a { color: inherit; text-decoration: none; }
.insight-title a:hover { color: var(--color-accent); }

.insight-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.insight-read-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
    margin-top: auto;
}
.insight-read-link:hover { color: var(--color-accent); }

/* --------------------------------------------------------------------------
   BOOK SECTION
   -------------------------------------------------------------------------- */
.book-section {
    padding: 80px 0 100px;
}

.book-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: center;
}

.book-cover { position: relative; }

.book-cover-placeholder {
    width: 220px;
    height: 300px;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, #1a2c45 0%, #0f1e32 40%, #1a3050 70%, #0d1928 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    position: relative;
}

.book-cover-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=800&q=80') center/cover no-repeat;
    opacity: 0.2;
}

.book-cover-text {
    position: relative;
    text-align: center;
    padding: 24px;
}
.book-cover-top {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #f59e0b;
    margin-bottom: 8px;
}
.book-cover-main {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.book-cover-tag {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 16px;
}
.book-cover-author {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #f59e0b;
    text-transform: uppercase;
}

.book-title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}
.book-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}
.book-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
    padding: 80px 0 100px;
}

.cta-card {
    background: var(--color-section-dark);
    border-radius: var(--radius-lg);
    padding: 60px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}
.cta-heading {
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
}
.cta-text {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 480px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--color-section-dark);
    padding: 80px 0 0;
    margin-top: 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.footer-brand-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-headline {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 16px;
}
.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    max-width: 380px;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-nav-col { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.footer-nav-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-nav-col a:hover { color: #ffffff; }

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    gap: 16px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   BLOG / POST PAGES
   -------------------------------------------------------------------------- */
.post-page,
.static-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 32px 80px;
}

.post-header,
.page-header {
    margin-bottom: 40px;
}

.post-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    text-decoration: none;
}
.post-tag:hover { color: var(--color-text); }

.post-title,
.page-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.post-excerpt,
.page-excerpt {
    font-size: 20px;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-light);
    flex-wrap: wrap;
}
.post-meta span { display: flex; align-items: center; gap: 4px; }

.post-feature-image {
    max-width: var(--max-width);
    margin: 0 auto 60px;
    padding: 0 32px;
}
.post-feature-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.post-content-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 32px;
}

.gh-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text);
}
.gh-content h2 { font-size: 28px; font-weight: 800; margin: 40px 0 16px; color: var(--color-text); }
.gh-content h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--color-text); }
.gh-content p { margin-bottom: 24px; color: var(--color-text-muted); }
.gh-content ul, .gh-content ol { margin: 0 0 24px 24px; color: var(--color-text-muted); }
.gh-content li { margin-bottom: 8px; }
.gh-content strong { color: var(--color-text); font-weight: 700; }
.gh-content a { color: var(--color-accent); text-decoration: underline; }
.gh-content blockquote {
    border-left: 4px solid var(--color-cta);
    margin: 32px 0;
    padding: 16px 24px;
    background: rgba(249,115,22,0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--color-text-muted);
}
.gh-content img { border-radius: var(--radius-sm); margin: 24px 0; box-shadow: var(--shadow-card); }
.gh-content figure { margin: 32px 0; }
.gh-content figcaption { font-size: 13px; color: var(--color-text-light); text-align: center; margin-top: 8px; }

/* Koenig editor required classes */
.kg-width-wide {
    margin-left: calc(50% - 50vw + 32px);
    margin-right: calc(50% - 50vw + 32px);
    max-width: none;
}
.kg-width-full {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
    border-radius: 0;
}
.kg-width-wide img,
.kg-width-full img {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.post-footer-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 32px 0;
    border-top: 1px solid var(--color-border);
    margin-top: 40px;
}

.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag-link {
    background: rgba(0,0,0,0.05);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background 0.2s;
}
.post-tag-link:hover { background: rgba(0,0,0,0.1); }
body.dark-mode .post-tag-link { background: rgba(255,255,255,0.08); }
body.dark-mode .post-tag-link:hover { background: rgba(255,255,255,0.15); }

/* Related posts */
.related-posts-section { padding: 60px 0; }
.related-heading { font-size: 28px; font-weight: 800; color: var(--color-text); margin-bottom: 32px; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Compact CTA */
.cta-section--compact { padding: 40px 0 80px; }
.cta-section--compact .cta-card { padding: 40px 48px; }

/* Error page */
.error-page {
    text-align: center;
    padding: 120px 32px;
}
.error-page p {
    font-size: 18px;
    color: var(--color-text-muted);
    margin: 16px 0 32px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-image-col { display: none; }
    .insights-grid { grid-template-columns: repeat(2, 1fr); }
    .book-card { grid-template-columns: 1fr; }
    .book-cover-placeholder { width: 180px; height: 240px; }
}

@media (max-width: 768px) {
    :root { --header-height: 60px; }
    .site-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-section { padding: 48px 20px 0; }
    .hero-pillars { grid-template-columns: 1fr; }
    .section-inner { padding: 0 20px; }
    .about-benefits { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .cta-card { flex-direction: column; padding: 40px 28px; text-align: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
    .book-card { padding: 28px; }
    .trust-pills { justify-content: center; }
    .header-inner { padding: 0 20px; }
    .footer-bottom { padding: 20px; }
}

@media (max-width: 480px) {
    .hero-heading { font-size: 30px; }
    .hero-buttons { flex-direction: column; }
    .book-buttons { flex-direction: column; }
}

/* ==========================================================================
   INNER PAGES — Speaking, Book, Resources, Contact, Privacy
   ========================================================================== */

/* Shared inner-page hero */
.inner-hero {
    padding: 80px 0 60px;
    background: var(--color-bg-gradient);
}
.inner-hero--compact { padding: 60px 0 40px; }

.inner-hero-heading {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.inner-hero-sub {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 36px;
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.body-text {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 80px 0;
}

/* --------------------------------------------------------------------------
   SPEAKING PAGE
   -------------------------------------------------------------------------- */
.speaking-stat-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    box-shadow: var(--shadow-card);
    margin-bottom: 16px;
}
.speaking-stat {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-cta);
    line-height: 1;
    margin-bottom: 8px;
}
.speaking-stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.speaking-overview-section { padding: 0 0 20px; }

.booking-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-card);
}
.booking-card-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.3;
}
.booking-card-text {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}
.booking-card-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.talks-section { padding: 80px 0; background: rgba(255,255,255,0.4); }
body.dark-mode .talks-section { background: rgba(255,255,255,0.02); }

.talks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.talk-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
}
.talk-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.talk-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-border);
    margin-bottom: 14px;
    line-height: 1;
}
.talk-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.35;
}
.talk-desc { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; }

.events-section { padding: 80px 0; }
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.events-list {
    list-style: none;
    margin-top: 20px;
}
.events-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.5;
}
.events-list li:first-child { border-top: 1px solid var(--color-border); }

.testimonials { margin-top: 20px; }
.testimonial {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-left: 3px solid var(--color-cta);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
}
.testimonial p {
    font-size: 15px;
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   BOOK PAGE
   -------------------------------------------------------------------------- */
.book-hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: center;
    padding: 20px 0;
}

.book-cover-large {
    width: 220px !important;
    height: 300px !important;
}

.book-inside-section { padding: 80px 0; }

.book-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.book-topic-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
}
.book-topic-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.book-topic-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 16px;
}
.book-topic-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}
.book-topic-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; }

.author-section { padding: 0 0 80px; }
.author-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: var(--shadow-card);
    max-width: 760px;
}
.author-heading {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.25;
}
.author-text { font-size: 16px; color: var(--color-text-muted); line-height: 1.8; margin-bottom: 16px; }

/* --------------------------------------------------------------------------
   RESOURCES PAGE
   -------------------------------------------------------------------------- */
.resources-filter-section { padding: 0 0 48px; }

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.filter-pill--active {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}
body.dark-mode .filter-pill--active {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border-color: rgba(255,255,255,0.2);
}

.featured-insight-section { padding: 0 0 60px; }
.featured-insight-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.featured-insight-image { overflow: hidden; min-height: 280px; }
.featured-insight-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-insight-content { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-insight-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 14px;
    line-height: 1.3;
}
.featured-insight-title a { color: inherit; text-decoration: none; }
.featured-insight-title a:hover { color: var(--color-accent); }
.featured-insight-excerpt { font-size: 15px; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 4px; }

.all-insights-section { padding: 0 0 80px; }
.empty-state { text-align: center; padding: 60px 0; }

/* --------------------------------------------------------------------------
   CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-method-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.contact-method-value {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-method-value:hover { color: var(--color-accent); }

.contact-form-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.contact-form-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 28px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
.form-group textarea { resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(8,145,178,0.12);
}
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: rgba(255,255,255,0.05);
    color: #f1f5f9;
    border-color: rgba(255,255,255,0.12);
}

.contact-services-section { padding: 0 0 80px; }
.contact-service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}
.contact-service-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
}
.contact-service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.contact-service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}
.contact-service-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 16px; }

/* --------------------------------------------------------------------------
   PRIVACY PAGE
   -------------------------------------------------------------------------- */
.privacy-content-section { padding: 0 0 100px; }
.privacy-doc {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
}
.privacy-doc h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin: 40px 0 14px;
}
.privacy-doc p { margin-bottom: 18px; }
.privacy-doc ul { margin: 0 0 18px 24px; list-style: disc; }
.privacy-doc li { margin-bottom: 8px; }
.privacy-doc a { color: var(--color-accent); text-decoration: underline; }
.privacy-doc strong { color: var(--color-text); font-weight: 600; }

/* --------------------------------------------------------------------------
   RESPONSIVE — Inner pages
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .talks-grid { grid-template-columns: repeat(2, 1fr); }
    .book-topics-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-insight-card { grid-template-columns: 1fr; }
    .featured-insight-image { min-height: 220px; }
}

@media (max-width: 768px) {
    .inner-hero-grid,
    .two-col-grid,
    .contact-hero-grid,
    .book-hero-grid,
    .events-grid { grid-template-columns: 1fr; gap: 36px; }
    .talks-grid { grid-template-columns: 1fr; }
    .book-topics-grid { grid-template-columns: 1fr; }
    .contact-service-cards { grid-template-columns: 1fr; }
    .author-card { padding: 32px; }
    .contact-form-card { padding: 28px; }
    .inner-hero { padding: 48px 0 40px; }
}

/* ==========================================================================
   GATED DOWNLOADS SECTION
   ========================================================================== */

.downloads-section {
    padding: 80px 0 100px;
    background: rgba(255,255,255,0.4);
}
body.dark-mode .downloads-section { background: rgba(255,255,255,0.02); }

.downloads-header {
    margin-bottom: 48px;
}

/* Gate card */
.downloads-gate { margin-bottom: 40px; }

.gate-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    box-shadow: var(--shadow-card);
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.gate-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cta);
    margin: 0 auto 20px;
}

.gate-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 10px;
}

.gate-subtext {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.gate-form { text-align: left; }

.gate-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.gate-submit {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 16px;
}

.gate-error {
    color: #dc2626;
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
}

/* Unlocked state */
.downloads-unlocked-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
}
body.dark-mode .downloads-unlocked-banner {
    background: rgba(16,185,129,0.15);
    color: #6ee7b7;
}

/* Download grid */
.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dl-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.dl-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.dl-card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.dl-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.35;
    margin-bottom: 8px;
}

.dl-card-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.dl-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-cta);
    text-decoration: none;
    border: 1.5px solid var(--color-cta);
    border-radius: var(--radius-pill);
    padding: 7px 14px;
    transition: all 0.2s;
    width: fit-content;
    margin-top: auto;
}
.dl-card-btn:hover {
    background: var(--color-cta);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
    .gate-form-row { grid-template-columns: 1fr 1fr; }
    .dl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .gate-card { padding: 32px 24px; }
    .gate-form-row { grid-template-columns: 1fr; }
    .dl-grid { grid-template-columns: 1fr; }
}

/* ── Book Cover Image ───────────────────────────────────────── */
.book-cover-img {
    width: 100%;
    max-width: 340px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 8px 24px rgba(0,0,0,0.15);
    display: block;
}

/* ── Published Articles Section ────────────────────────────── */
.published-articles-section {
    padding: 80px 0;
    background: var(--color-surface);
}
.dark .published-articles-section {
    background: var(--color-surface);
}

.articles-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0 36px;
}

.article-pill {
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--color-border);
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.article-pill:hover,
.article-pill--active {
    border-color: var(--color-cta);
    background: var(--color-cta);
    color: #ffffff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.article-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-card);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.article-card:hover {
    border-color: var(--color-cta);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.article-pub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-cta);
}

.article-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.45;
    margin: 0;
    flex: 1;
}

.article-read {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-top: 4px;
}
.article-card:hover .article-read {
    color: var(--color-cta);
}

@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .articles-grid { grid-template-columns: 1fr; }
    .articles-filter-pills { gap: 6px; }
    .article-pill { font-size: 12px; padding: 6px 12px; }
}

/* ── Hero background image ──────────────────────────────────── */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
}
.hero-image-card { background: #1e3a5f; } /* fallback while image loads */
