/* ============================================================
   Advizant. styles.css
   Palette and typography draw from the Dear Fortune 500 CIO PDF.
   ============================================================ */

:root {
    /* Color tokens. Pulled from production advizant.ai */
    --bg: #FFFFFF;
    --bg-card: #F5F5F0;
    --bg-dark: #0F172A;
    --text: #0F172A;
    --text-muted: #666666;
    --text-soft: #3E475E;
    --accent: #ED6137;
    --accent-deep: #C44820;
    --link: #0099FF;
    --neutral-warm: #A6A68B;
    --rule: #EBEBEB;
    --rule-soft: #F5F5F0;

    /* Typography tokens */
    --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing tokens */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;

    /* Layout */
    --container: 1120px;
    --container-narrow: 820px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--accent-deep);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.75rem);
    line-height: 1.1;
}

h3 {
    font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.625rem);
    line-height: 1.2;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

/* Layout */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

section {
    padding: var(--space-2xl) 0;
}

section.tight {
    padding: var(--space-xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--space-xl) 0;
    }
}

/* Eyebrow tag */
.eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: block;
}

.eyebrow-muted {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--accent-deep);
    color: var(--bg);
}

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

.btn-accent:hover {
    background: var(--accent-deep);
    color: white;
}

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

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

.btn-text {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
    display: inline-block;
    padding: 0;
}

.btn-text:hover {
    border-bottom-color: var(--accent);
}

/* Header — dark navy, matches advizant.ai live treatment */
.site-header {
    position: sticky;
    top: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--bg);
}

.brand:hover {
    color: var(--bg);
}

.brand-mark {
    width: 28px;
    height: 28px;
    display: inline-block;
}

.brand-text {
    letter-spacing: 0.06em;
    font-size: 1.125rem;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--sans);
    color: var(--bg);
}

.site-nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--accent);
}

.site-nav .nav-cta {
    color: white;
    background: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.5rem 1.1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.site-nav .nav-cta:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    color: white;
}

/* Hamburger toggle — hidden by default, shown on narrow screens */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
    display: block;
}

.nav-toggle:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Narrow / mobile: collapse nav into a dropdown behind the hamburger */
@media (max-width: 960px) {
    .site-header {
        position: relative;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg-dark);
        padding: 0.5rem 1.5rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    }
    .site-nav.is-open {
        display: flex;
    }
    .site-nav a {
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .site-nav a:last-child {
        border-bottom: none;
    }
    .site-nav .nav-cta {
        margin-top: 0.75rem;
        text-align: center;
        border: 1px solid var(--accent);
    }
}

/* Hero */
.hero {
    padding: var(--space-2xl) 0 var(--space-xl);
}

.hero h1 {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 14ch;
}

.hero .lede {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--text-soft);
    max-width: 60ch;
    margin-bottom: 2.25rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* 2-column hero with side image, mirrors advizant.ai live treatment */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    min-width: 0;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 447 / 768;
    max-width: 372px;
    margin: 0 auto;
    object-fit: contain;
    display: block;
    animation: heroFadeIn 0.4s ease-out 0s 1 both;
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.doors-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.doors-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doors-image {
    width: 100%;
    height: auto;
    aspect-ratio: 447 / 768;
    max-width: 220px;
    margin: 0 auto;
    object-fit: contain;
    display: block;
    animation: heroFadeIn 0.4s ease-out 0s 1 both;
}

@media (max-width: 768px) {
    .doors-header-grid {
        grid-template-columns: 1fr;
    }
    .doors-image {
        max-width: 140px;
    }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-visual { order: -1; }
    .hero-image { max-height: 380px; }
}

@media (max-width: 600px) {
    .hero h1 { max-width: none; }
}

/* Pull quote */
.pull-quote {
    border-left: 4px solid var(--accent);
    padding: 0.5rem 0 0.5rem 2rem;
    margin: 0 0 1.75rem 0;
}

.pull-quote-large {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}

.pull-quote p {
    margin-bottom: 0;
}

.pull-supporting {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 62ch;
}

/* Stat block */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
}

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

.stat {
    border-top: 2px solid var(--accent);
    padding-top: 1rem;
}

.stat .number {
    font-family: var(--serif);
    font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
    font-weight: 700;
    line-height: 1;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat .desc {
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text-soft);
}

.stat .source {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Card grids */
.card-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

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

@media (max-width: 900px) {
    .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}

.card-bare {
    background: transparent;
    border: none;
    border-top: 2px solid var(--accent);
    border-radius: 0;
    padding: 1.5rem 0 0 0;
}

.card h3 {
    margin-bottom: 0.875rem;
}

.card p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.card .card-cta {
    margin-top: auto;
    padding-top: 1.25rem;
}

.card .card-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 0.875rem;
}

/* Promise band */
.promise {
    background: var(--bg-dark);
    color: var(--bg);
    text-align: center;
    padding: var(--space-xl) 0;
}

.promise .clauses {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--bg);
    max-width: 24ch;
    margin: 0 auto 1.25rem;
}

.promise .clauses span {
    color: var(--accent);
}

.promise .support {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 56ch;
    margin: 0 auto;
}

/* Doors */
.doors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .doors { grid-template-columns: 1fr; }
}

.door {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-top: 4px solid var(--accent);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}

.door-name {
    margin-bottom: 1rem;
}

.door p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.door .door-cta {
    margin-top: auto;
}

/* Section header */
.section-header {
    margin-bottom: 1.25rem;
    max-width: 62ch;
}

.section-header h2 {
    margin-bottom: 0.875rem;
}

.section-header .lede {
    color: var(--text-soft);
    font-size: 1.125rem;
    line-height: 1.55;
}

/* What we are not list */
.not-list {
    list-style: none;
    margin: 2rem 0 1.5rem 0;
    padding: 0;
}

.not-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--text-soft);
}

.not-list li:last-child {
    border-bottom: none;
}

.not-list strong {
    color: var(--text);
    font-weight: 600;
}

.not-closer {
    font-family: var(--serif);
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text);
    max-width: 50ch;
    margin-top: 1.5rem;
}

/* Founder bio */
.founder {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .founder { grid-template-columns: 1fr; gap: 2rem; }
}

.founder-photo {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder h2 {
    margin-bottom: 0.25rem;
}

.founder .role {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.founder p {
    color: var(--text-soft);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 62ch;
}

/* Field notes */
.notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .notes { grid-template-columns: 1fr; }
}

.note {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.note:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.note .note-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.note h3 {
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
    line-height: 1.2;
}

.note p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.note .note-cta {
    margin-top: auto;
}

.notes-footer {
    margin-top: 1.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* LinkedIn icon inside .note-eyebrow on the Influence page */
.note .note-eyebrow .li-icon {
    width: 14px;
    height: 14px;
    color: var(--accent);
    display: inline-block;
    vertical-align: -2px;
    margin-right: 0.4rem;
}

/* Hidden state for progressive-reveal LinkedIn posts */
.notes .note.is-hidden {
    display: none;
}

/* "More..." button row */
.notes-more-wrap {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.notes-more-btn {
    min-width: 12rem;
}

/* Force [hidden] to actually hide on .btn elements
   (otherwise .btn's display:inline-block overrides the
   user-agent [hidden] { display: none } rule) */
.btn[hidden],
[hidden] {
    display: none !important;
}

/* Results */
.results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

@media (max-width: 900px) {
    .results { grid-template-columns: 1fr; gap: 2.25rem; }
}

.result .number {
    font-family: var(--serif);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.result .label {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.45;
}

/* Final CTA */
.final-cta {
    background: var(--bg-dark);
    color: var(--bg);
    text-align: center;
    padding: var(--space-2xl) 0;
}

.final-cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.final-cta-text {
    min-width: 0;
}

.final-cta-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-cta-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    animation: heroFadeIn 0.4s ease-out 0s 1 both;
}

@media (max-width: 768px) {
    .final-cta-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .final-cta-image img {
        max-width: 280px;
        margin: 0 auto;
    }
}

.final-cta h2 {
    color: var(--bg);
    margin-bottom: 1rem;
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .lede {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn-accent {
    margin-bottom: 1.5rem;
}

.final-cta .contact-line {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.7;
}

.final-cta .contact-line a {
    color: rgba(255, 255, 255, 0.9);
}

.final-cta .contact-line a:hover {
    color: var(--accent);
}

/* Footer */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--rule);
    padding: var(--space-lg) 0 var(--space-md);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.site-footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .site-footer .container { grid-template-columns: 1fr; gap: 1.5rem; }
}

.site-footer h4 {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text);
    margin-bottom: 0.875rem;
}

.site-footer .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer .footer-nav a {
    color: var(--text-soft);
}

.site-footer .footer-nav a:hover {
    color: var(--accent);
}

.site-footer .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Service page specific */
.engagement-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 700px) {
    .engagement-cards { grid-template-columns: 1fr; }
}

.engagement-card {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 2rem 1.75rem;
}

.engagement-card h3 {
    margin-bottom: 0.875rem;
}

.engagement-card p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.operate-list {
    list-style: none;
    margin-top: 2.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
}

@media (max-width: 700px) {
    .operate-list { grid-template-columns: 1fr; }
}

.operate-list li {
    padding-top: 1rem;
    border-top: 2px solid var(--accent);
}

.operate-list li strong {
    display: block;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.operate-list li p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

/* Utilities */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.divider {
    border: none;
    border-top: 1px solid var(--rule);
    margin: var(--space-lg) 0;
}

/* Anchor offset for sticky header */
section[id] {
    scroll-margin-top: 80px;
}

/* Brand mark SVG */
.brand-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Privacy / legal page */
.legal {
    padding: var(--space-xl) 0 var(--space-2xl);
}

.legal h1 {
    font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
    margin-bottom: 0.75rem;
}

.legal .updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.legal h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-family: var(--sans);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.legal p {
    color: var(--text-soft);
    line-height: 1.65;
    margin-bottom: 1rem;
    max-width: 70ch;
}

.legal ul {
    margin: 0.5rem 0 1.25rem 1.5rem;
    color: var(--text-soft);
    line-height: 1.65;
    max-width: 70ch;
}

.legal li {
    margin-bottom: 0.5rem;
}

.legal a {
    color: var(--accent);
}

/* Brand logo (full SVG including wordmark) */
.brand-logo {
    height: 32px;
    width: 178px;
    aspect-ratio: 924 / 166;
    display: block;
    filter: brightness(0) invert(1);
}

@media (max-width: 480px) {
    .brand-logo { height: 26px; }
}

/* Section-level data caption */
.data-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2rem;
}

/* ============================================================
   Dark slab. Used for the "Why now" financial pressure section.
   Borrows treatment from .promise / .final-cta but keeps full
   editorial typography (eyebrow, h2, lede) intact.
   ============================================================ */
.section-dark {
    background: var(--bg-dark);
    color: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-dark .section-header h2,
.section-dark h2,
.section-dark h3 {
    color: var(--bg);
}

.section-dark .section-header .lede,
.section-dark .lede {
    color: rgba(255, 255, 255, 0.72);
}

.section-dark .eyebrow {
    color: var(--accent);
}

.section-dark .pull-supporting {
    color: rgba(255, 255, 255, 0.7);
}

.section-dark .data-caption {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Bento stats. Asymmetric 4-cell grid for the dark slab.
   Mobile: each cell stacks to full width.
   ============================================================ */
.bento-stats {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.bento-stat {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
}

.bento-stat--lead {
    grid-column: span 7;
    min-height: 280px;
}

.bento-stat--side {
    grid-column: span 5;
}

@media (max-width: 900px) {
    .bento-stat--lead,
    .bento-stat--side {
        grid-column: span 12;
        min-height: 180px;
    }
}

.bento-stat .number {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
}

.bento-stat--lead .number {
    font-size: clamp(3rem, 6vw, 5rem);
}

.bento-stat .desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ============================================================
   Trap icons. Subtle accented icon at top of each Four Traps
   card — gives the 2x2 grid texture without competing with the
   typography.
   ============================================================ */
.card .trap-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: block;
}

/* ============================================================
   Numbered doors. Adds an oversized 01/02/03 above each door
   so they read as a sequenced 1-2-3 progression instead of an
   undifferentiated 3-card grid.
   ============================================================ */
.door-number {
    font-family: var(--serif);
    font-size: clamp(3rem, 5vw + 0.5rem, 4.5rem);
    line-height: 1;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 0.75rem;
}

/* ============================================================
   Icon list. Lifts .not-list out of "wall of bold prose" by
   pairing each item with a strikethrough icon.
   ============================================================ */
.not-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 1rem;
    align-items: start;
}

.not-list .not-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    margin-top: 0.35rem;
    flex-shrink: 0;
}

/* ============================================================
   Section with photographic backdrop. Mirrors advizant.ai's
   "Problem" section: cards float on top of a faded photo.
   The .backdrop child sits behind the .container content and
   carries the image plus a soft fade overlay.
   ============================================================ */
.section-with-backdrop {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.section-with-backdrop .backdrop {
    position: absolute;
    inset: 0;
    background-image: url("images/chessboard.jpg");
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.section-with-backdrop .backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 8%, rgba(255, 255, 255, 0.9) 22%, rgba(255, 255, 255, 0.72) 45%, rgba(255, 255, 255, 0.65) 65%, rgba(255, 255, 255, 0.85) 90%, rgba(255, 255, 255, 1) 100%);
}

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