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

:root {
    --navy: #2a1b41;
    --navy-deep: #201333;
    --navy-light: #362454;
    --gold: #C9A84C;
    --gold-soft: #D4BA6A;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --cream: #F5F0E8;
    --cream-warm: #FAF7F2;
    --offwhite: #FDFCFA;
    --text-dark: #1B2541;
    --text-body: #3A3F4B;
    --text-muted: #6B7085;
    --text-light: #B0B5C3;
    --text-on-dark: #E8E5DF;
    --green-yes: #2D6A4F;
    --red-no: #8B3A3A;
    --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--text-body);
    background: var(--offwhite);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(35, 27, 65, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.nav-mark {
    font-family: var(--serif);
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.nav-mark span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 0.45rem 1.1rem;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.nav-cta:hover {
    background: var(--gold-soft) !important;
    transform: translateY(-1px);
}

.nav-mobile {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy-deep);
    position: relative;
    overflow: hidden;
}

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

.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 900px;
    padding: 8rem 2rem 6rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: #fff;
    line-height: 0.95;
    margin-bottom: 0.3em;
    letter-spacing: -0.01em;
}

.hero-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    color: var(--gold);
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

.hero-manifesto {
    max-width: 620px;
}

.hero-manifesto p {
    color: var(--text-on-dark);
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 0.6em;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.hero-manifesto p:nth-child(1) {
    animation-delay: 0.4s;
}

.hero-manifesto p:nth-child(2) {
    animation-delay: 0.6s;
    opacity: 0.75;
}

.hero-manifesto p:nth-child(3) {
    animation-delay: 0.8s;
    font-weight: 500;
    color: #fff;
}

.hero-entity {
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 1.1s;
}

.hero-entity em {
    font-style: italic;
    color: var(--text-light);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- SECTION UTILITIES ---- */
section {
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.section-heading {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-dark);
    margin-bottom: 0.6em;
    line-height: 1.15;
}

.section-heading--light {
    color: #fff;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.section-sub--light {
    color: var(--text-light);
}

/* ---- IMPOSSIBLE QUESTIONS ---- */
.questions-section {
    background: var(--cream);
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.q-card {
    background: #fff;
    border-radius: 6px;
    padding: 2rem 2rem 1.8rem;
    border-left: 4px solid var(--gold);
    transition: all 0.25s ease;
    cursor: default;
}

.q-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(27, 37, 65, 0.08);
}

.q-card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
    display: block;
}

.q-card-question {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.q-card-sector {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

.questions-footer {
    margin-top: 2.5rem;
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 700px;
    line-height: 1.7;
}

/* ---- INSIGHT ---- */
.insight-section {
    background: var(--offwhite);
}

.insight-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2.5rem;
}

.insight-col h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.insight-col p {
    color: var(--text-body);
    line-height: 1.75;
    font-size: 0.95rem;
}

.insight-col--orthodox {
    border-right: 1px solid rgba(27, 37, 65, 0.08);
    padding-right: 4rem;
}

.insight-col--insight h3 {
    color: var(--gold);
}

/* ---- FEDERATION ---- */
.federation-section {
    background: var(--cream-warm);
}

.fed-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.fed-pillar {
    background: #fff;
    border-radius: 6px;
    padding: 2.2rem 1.8rem;
    border-top: 3px solid var(--gold);
}

.fed-pillar-icon {
    width: 44px;
    height: 44px;
    background: var(--gold-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.fed-pillar h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.fed-pillar p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.fed-motto {
    margin-top: 2.5rem;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    padding: 1.5rem;
    border-top: 1px solid rgba(27, 37, 65, 0.06);
    border-bottom: 1px solid rgba(27, 37, 65, 0.06);
}

/* ---- HOW IT WORKS ---- */
.how-section {
    background: var(--navy);
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 3rem;
    position: relative;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--navy-light);
}

.how-step {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.how-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    position: relative;
    z-index: 2;
}

.how-step h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.7rem;
}

.how-step p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
}

.how-example {
    margin-top: 3.5rem;
    background: var(--navy-light);
    border-radius: 6px;
    padding: 2rem 2.5rem;
    border-left: 3px solid var(--gold);
}

.how-example-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.how-example p {
    color: var(--text-on-dark);
    font-size: 0.95rem;
    line-height: 1.75;
}

.how-example strong {
    color: #fff;
}

/* ---- PORTFOLIO ---- */
.portfolio-section {
    background: var(--offwhite);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.portfolio-card {
    background: #fff;
    border-radius: 6px;
    padding: 2rem 2rem 1.8rem;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.25s ease;
    border: 1px solid rgba(27, 37, 65, 0.06);
    position: relative;
    overflow: hidden;
}

.portfolio-card::after {
    content: '→';
    position: absolute;
    top: 1.8rem;
    right: 1.8rem;
    font-size: 1.1rem;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(27, 37, 65, 0.1);
    border-color: var(--gold);
}

.portfolio-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-card-sector {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-card-sector span {
    font-size: 1rem;
}

.portfolio-card-question {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.25;
    padding-right: 2rem;
}

.portfolio-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.portfolio-card-systems {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio-card-systems span {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    background: var(--cream);
    color: var(--text-muted);
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
}

/* ---- COMPARISON ---- */
.compare-section {
    background: var(--cream);
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
}

.compare-them {
    background: var(--navy);
    padding: 1.8rem 2rem;
}

.compare-us {
    background: var(--navy-deep);
    padding: 1.8rem 2rem;
    border-left: 3px solid var(--gold);
}

.compare-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.compare-them .compare-label {
    color: var(--red-no);
}

.compare-us .compare-label {
    color: var(--gold);
}

.compare-them h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--serif);
}

.compare-us h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--serif);
}

.compare-them p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.65;
}

.compare-us p {
    color: var(--text-on-dark);
    font-size: 0.85rem;
    line-height: 1.65;
}

/* ---- CTA ---- */
.cta-section {
    background: var(--navy-deep);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

.cta-heading {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 0.4em;
    line-height: 1.15;
}

.cta-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gold);
    color: var(--navy);
    padding: 0.9rem 2.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
}

.cta-button:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

.cta-button svg {
    width: 18px;
    height: 18px;
}

/* ---- FOOTER ---- */
footer {
    background: var(--navy);
    padding: 2.5rem 2rem;
    text-align: center;
}

.footer-entity {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.72rem;
    font-style: italic;
}

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--navy-deep);
        padding: 1.5rem 2rem;
        gap: 1.2rem;
        border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    }

    .nav-mobile {
        display: block;
    }

    .questions-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .insight-columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .insight-col--orthodox {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(27, 37, 65, 0.08);
        padding-bottom: 2.5rem;
    }

    .fed-pillars {
        grid-template-columns: 1fr;
    }

    .how-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .how-steps::before {
        display: none;
    }

    .compare-row {
        grid-template-columns: 1fr;
    }

    .compare-us {
        border-left: none;
        border-top: 3px solid var(--gold);
    }

    .hero-inner {
        padding: 7rem 1.5rem 4rem;
    }

    section {
        padding: 4.5rem 1.5rem;
    }
}

@media (max-width: 540px) {
    .how-steps {
        grid-template-columns: 1fr;
    }
}
.nav-mark {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
}

.nav-mark span {
    color: var(--gold);
}

.nav-back {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.nav-back:hover {
    color: #fff;
}

.case-hero {
    background: var(--navy-deep);
    padding: 7rem 2rem 4rem;
    position: relative;
}

.case-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
}

.case-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.case-sector {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-sector span {
    font-size: 1rem;
}

.case-question {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.case-lede {
    font-size: 1.1rem;
    color: var(--text-on-dark);
    max-width: 650px;
    line-height: 1.75;
}

.case-systems {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.case-systems span {
    font-size: 0.72rem;
    font-weight: 500;
    background: var(--navy-light);
    color: var(--text-light);
    padding: 0.3rem 0.7rem;
    border-radius: 3px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.case-gallery {
    background: var(--navy);
    padding: 3rem 2rem;
}

.case-gallery-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.case-gallery-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.case-shot {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
    position: relative;
}

.case-shot img {
    width: 100%;
    height: auto;
    display: block;
}

.case-shot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(19, 28, 51, 0.92));
    padding: 2rem 1.2rem 1rem;
}

.case-shot-caption p {
    color: var(--text-on-dark);
    font-size: 0.82rem;
    line-height: 1.5;
}

.case-shot-caption strong {
    color: #fff;
}

.case-narrative {
    padding: 4rem 2rem;
    background: var(--offwhite);
}

.case-narrative-inner {
    max-width: 720px;
    margin: 0 auto;
}

.case-narrative h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 2.5rem 0 0.8rem;
    line-height: 1.2;
}

.case-narrative h2:first-child {
    margin-top: 0;
}

.case-narrative p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.case-narrative .highlight {
    background: var(--gold-dim);
    border-left: 3px solid var(--gold);
    padding: 1.2rem 1.5rem;
    border-radius: 0 4px 4px 0;
    margin: 1.5rem 0;
}

.case-narrative .highlight p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 500;
}

.case-cta {
    background: var(--cream);
    padding: 4rem 2rem;
    text-align: center;
}

.case-cta h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.case-cta p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.case-cta-btn {
    display: inline-flex;
    background: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s;
}

.case-cta-btn:hover {
    background: var(--gold-soft);
    transform: translateY(-1px);
}

.case-back-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.case-back-link:hover {
    color: var(--text-dark);
}

footer {
    background: var(--navy);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
}

@media (max-width: 768px) {
    .case-hero {
        padding: 6rem 1.5rem 3rem;
    }
}