/* ============================================================
   Atlas Strategies — style.css
   Brand: Deep Navy / Warm Gold / Off-White
   ============================================================ */

/* Helvetica Neue is a system font — no external import needed */

/* ── RESET & BASE ─────────────────────────────────────────── */

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

:root {
    --navy:   #0F2648;
    --gold:   #CD853F;
    --gold-light: #d9955a;
    --offwhite: #F0F0F0;
    --text:   #1A1A2E;
    --white:  #FFFFFF;
    --silver: #B0B0B0;
    --card-border: rgba(205, 133, 63, 0.2);
    --card-bg-light: #FFFFFF;
    --card-bg-dark: rgba(255,255,255,0.05);
    --section-pad: 100px 24px;
    --section-pad-mobile: 64px 20px;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--offwhite);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

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

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

/* ── TYPOGRAPHY ───────────────────────────────────────────── */

.serif {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-headline {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--silver);
    max-width: 560px;
    opacity: 0.75;
}

/* ── LAYOUT UTILITIES ─────────────────────────────────────── */

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ── BUTTONS ──────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}

.btn-dark:hover {
    background: #162436;
    border-color: #162436;
}

/* ── SECTION 1: HERO ──────────────────────────────────────── */

#hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    position: relative;
}

.hero-logo {
    margin-bottom: 56px;
    background: transparent;
}

.hero-logo img {
    max-height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
    background: transparent;
}

.hero-logo-placeholder {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-headline {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    max-width: 780px;
    margin: 0 auto 24px;
}

.hero-headline em {
    color: var(--gold);
    font-style: normal;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 48px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.25);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
}

/* ── SECTION 2: THE PROBLEM ───────────────────────────────── */

#problem {
    padding: var(--section-pad);
    background: var(--offwhite);
}

#problem .section-intro {
    text-align: center;
    margin-bottom: 60px;
}

#problem .section-sub {
    margin: 0 auto;
    text-align: center;
}

.problem-card {
    background: var(--white);
    border: 1px solid #E8E5DF;
    border-top: 3px solid var(--gold);
    border-radius: 4px;
    padding: 36px 32px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.problem-card:hover {
    box-shadow: 0 12px 40px rgba(13,27,42,0.09);
    transform: translateY(-3px);
}

.problem-card h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}

.problem-card p {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.7;
}

/* ── SECTION 3: SERVICES ──────────────────────────────────── */

#services {
    padding: var(--section-pad);
    background: var(--navy);
    background-image: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 55%);
}

#services .section-intro {
    margin-bottom: 60px;
}

#services .section-headline {
    color: var(--white);
}

#services .section-label {
    color: var(--gold);
}

.service-card {
    background: var(--card-bg-dark);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 40px 32px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(201,168,76,0.45);
}

.service-icon {
    font-size: 1.4rem;
    display: inline;
    margin-right: 8px;
    vertical-align: middle;
}

.service-card h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 14px;
    display: inline;
    vertical-align: middle;
}

.service-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.80);
    line-height: 1.75;
}

/* Pricing row */
.pricing-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 60px;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    overflow: hidden;
}

/* Intentionally empty placeholder tile */
.pricing-tier-blank {
    opacity: 0.15;
    pointer-events: none;
}

/* Fractional Comp Function card — below the tier row, ongoing engagement */
.pricing-fractional {
    margin-top: 16px;
    padding: 22px 32px;
    background: rgba(44,165,141,0.07);
    border: 1px solid rgba(44,165,141,0.28);
    border-left: 3px solid #2CA58D;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 32px;
    transition: background 0.2s;
}

.pricing-fractional:hover {
    background: rgba(44,165,141,0.13);
}

.pricing-fractional .pricing-label  { margin-bottom: 0; min-width: 180px; text-align: left; }
.pricing-fractional .pricing-amount { margin-bottom: 0; font-size: 1.6rem; }
.pricing-fractional .pricing-amount span { font-size: 1rem; color: rgba(255,255,255,0.45); }
.pricing-fractional .pricing-detail { text-align: left; flex: 1; }

.pricing-tier {
    padding: 36px 32px;
    background: rgba(255,255,255,0.03);
    text-align: center;
    transition: background 0.2s;
}

.pricing-tier:hover {
    background: rgba(255,255,255,0.07);
}

.pricing-tier + .pricing-tier {
    border-left: 1px solid var(--card-border);
}

.pricing-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.pricing-amount {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.1;
}

.pricing-detail {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

.pricing-detail-custom {
    font-size: 0.95rem;
    margin-top: 20px;
}

/* ── SECTION 4: HOW IT WORKS ──────────────────────────────── */

#process {
    padding: var(--section-pad);
    background: var(--navy);
}

#process .section-intro {
    text-align: center;
    margin-bottom: 64px;
}

#process .section-sub {
    margin: 0 auto;
    text-align: center;
    color: rgba(255,255,255,0.60);
}

#process .section-headline { color: var(--white); }

#process .step-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.10);
}
#process .step-card h3   { color: var(--white); }
#process .step-card p    { color: rgba(255,255,255,0.62); }
#process .step-number    { color: rgba(201,168,76,0.35); }

.step-card {
    position: relative;
    padding: 40px 32px 36px;
    background: var(--white);
    border: 1px solid #E8E5DF;
    border-radius: 4px;
}

.step-number {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3.5rem;
    color: rgba(201,168,76,0.18);
    line-height: 1;
    position: absolute;
    top: 24px;
    right: 28px;
}

.step-card h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
    padding-right: 40px;
}

.step-card p {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.75;
    opacity: 0.75;
}

/* ── SECTION 5: ABOUT ─────────────────────────────────────── */

#about {
    padding: var(--section-pad);
    background: var(--white);
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    max-width: 420px;
    border-radius: 8px;
    display: block;
}

.about-photo-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #1a2d41, #0D1B2A);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-photo-placeholder span {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.6;
}

.about-photo-frame {
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 2px solid var(--gold);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.35;
}

.about-content {
    padding-left: 20px;
}

.about-name {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 8px;
}

.about-title {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
}

.about-bio {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 36px;
}

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

.credential-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--offwhite);
    border: 1px solid #DDD;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--navy);
}

.credential-badge.long {
    font-weight: 400;
    color: #555;
    font-size: 0.78rem;
}

.credential-badge a {
    color: var(--gold);
    text-decoration: none;
}

.credential-badge a:hover {
    text-decoration: underline;
}

/* ── MAP FACT WIDGET ──────────────────────────────────────── */

.map-fact-widget {
    margin-top: 32px;
    padding: 16px 20px;
    background: var(--offwhite);
    border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0;
}

.map-fact-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.map-fact-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.map-fact-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.map-fact-text {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 10px;
    font-style: italic;
}

.map-fact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.map-fact-link:hover {
    color: var(--gold);
}

/* ── SECTION 6: SOCIAL PROOF ──────────────────────────────── */

#proof {
    padding: var(--section-pad);
    background: var(--navy);
    background-image: radial-gradient(ellipse at 20% 60%, rgba(201,168,76,0.06) 0%, transparent 55%);
}

#proof .section-intro {
    text-align: center;
    margin-bottom: 60px;
}

#proof .section-headline {
    color: var(--white);
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    font-style: italic;
}

.testimonial-quote::before {
    content: '\201C';
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3rem;
    color: var(--gold);
    line-height: 0;
    vertical-align: -0.5rem;
    margin-right: 4px;
    opacity: 0.6;
}

.testimonial-attribution {
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
}

.testimonial-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-top: 3px;
}

/* Stats row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 64px;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    overflow: hidden;
}

.stat-item {
    padding: 36px 24px;
    text-align: center;
    background: rgba(255,255,255,0.03);
}

.stat-item + .stat-item {
    border-left: 1px solid var(--card-border);
}

.stat-number {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.8rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.70);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── SECTION 7: CTA FOOTER ────────────────────────────────── */

#cta {
    padding: 100px 24px 80px;
    background: var(--gold);
    background-image: linear-gradient(135deg, #CD853F 0%, #b5702a 100%);
    text-align: center;
}

.cta-headline {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta-sub {
    font-size: 1.1rem;
    color: rgba(13,27,42,0.7);
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-contact {
    margin-top: 36px;
    font-size: 0.95rem;
    color: rgba(13,27,42,0.6);
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-contact a {
    color: var(--navy);
    font-weight: 500;
    border-bottom: 1px solid rgba(13,27,42,0.25);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}

.cta-contact a:hover {
    border-color: var(--navy);
}

/* ── BOTTOM FOOTER BAR ────────────────────────────────────── */

#footer-bar {
    background: var(--navy);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bar-left {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.3px;
}

.footer-bar-center {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-bar-right {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── BLUEPRINT TEXTURE — all dark navy sections ──────────── */

#hero::before,
#services::before,
#process::before,
#proof::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/blueprint.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.13;
    pointer-events: none;
    z-index: 0;
}

/* Keep content above blueprint/map layer */
#hero > *,
#services .container,
#process .container,
#projects .container,
#proof .container {
    position: relative;
    z-index: 1;
}

#services { position: relative; }
#process  { position: relative; }
#projects { position: relative; }
#proof    { position: relative; }

/* Nebraska panhandle map texture on #projects */
#projects::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/map-nebraska-panhandle.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

/* ── ANTIQUE MAP TEXTURE — light sections ────────────────── */

#problem,
#about {
    position: relative;
}

#problem::before,
#about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

#problem::before { background-image: url('images/map-richmond.svg');  }
#about::before   { background-image: url('images/map-louisiana.svg'); }

#problem .container,
#about   .container {
    position: relative;
    z-index: 1;
}

/* ── SUBWAY NAV ───────────────────────────────────────────── */

#subway-nav {
    position: fixed;
    left: 32px;
    top: 0;
    height: 100vh;
    width: 28px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* The vertical spine line */
#subway-nav::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        #C9A84C 8%,
        #C9A84C 92%,
        transparent 100%
    );
}

.subway-node {
    position: relative;
    width: 28px;
    height: 28px;
    margin: 14px 0;
    cursor: pointer;
    pointer-events: all;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.subway-node:hover {
    transform: scale(1.15);
}

.subway-node svg {
    width: 28px;
    height: 28px;
    display: block;
}

.subway-node .hex-bg {
    fill: #0B1E3B;
    stroke: #C9A84C;
    stroke-width: 1.5;
    transition: fill 0.25s ease;
}

.subway-node .hex-label {
    fill: #C9A84C;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 6px;
    font-weight: 600;
    text-anchor: middle;
    dominant-baseline: central;
    transition: fill 0.25s ease;
    letter-spacing: 0.3px;
}

/* Active state */
.subway-node.active .hex-bg {
    fill: #C9A84C;
}

.subway-node.active .hex-label {
    fill: #0B1E3B;
}

/* Hide on mobile */
@media (max-width: 1024px) {
    #subway-nav {
        display: none;
    }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

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

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

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

    .pricing-tier + .pricing-tier {
        border-left: none;
        border-top: 1px solid var(--card-border);
    }

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

    .stat-item + .stat-item {
        border-left: none;
        border-top: 1px solid var(--card-border);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding-left: 0;
    }

    .about-photo {
        max-width: 320px;
        margin: 0 auto;
    }

    #footer-bar {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    :root {
        --section-pad: 64px 20px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .cta-contact {
        flex-direction: column;
        gap: 12px;
    }

    .credentials {
        gap: 8px;
    }
}

@media (max-width: 375px) {
    .hero-headline {
        font-size: 2rem;
    }

    .section-headline {
        font-size: 1.8rem;
    }

    .about-name {
        font-size: 1.5rem;
    }

    .pricing-amount {
        font-size: 1.6rem;
    }
}

/* ── FOOTER FIELD NOTES LINK ──────────────────────────────── */

.footer-fn-link {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
    margin-left: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}

.footer-fn-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* ── FIELD NOTES — INDEX PAGE ─────────────────────────────── */

.fn-page-hero {
    background: var(--navy);
    padding: 72px 24px 64px;
    text-align: center;
    position: relative;
}

.fn-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/blueprint.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.10;
    pointer-events: none;
}

.fn-page-hero > * { position: relative; z-index: 1; }

.fn-back-link {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 28px;
    transition: color 0.2s;
}

.fn-back-link:hover { color: var(--gold); }

.fn-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
}

.fn-page-title em {
    color: var(--gold);
    font-style: normal;
}

.fn-page-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

.fn-feed {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 24px;
}

.fn-card {
    padding: 48px 0;
    border-bottom: 1px solid #E8E5DF;
}

.fn-card:first-child { padding-top: 0; }
.fn-card:last-child  { border-bottom: none; }

.fn-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.fn-card-title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

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

.fn-card-summary {
    font-size: 1.02rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 620px;
}

.fn-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.4px;
    border-bottom: 1px solid rgba(205,133,63,0.35);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.fn-read-more:hover { border-color: var(--gold); }

/* ── FIELD NOTES — ARTICLE PAGE ───────────────────────────── */

.fn-article-hero {
    background: var(--navy);
    padding: 64px 24px 56px;
    position: relative;
}

.fn-article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/blueprint.svg');
    background-size: cover;
    opacity: 0.10;
    pointer-events: none;
}

.fn-article-hero > * { position: relative; z-index: 1; }

.fn-article-hero .container { max-width: 760px; }

.fn-breadcrumb {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 28px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.fn-breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.fn-breadcrumb a:hover { color: var(--gold); }
.fn-breadcrumb span { color: rgba(255,255,255,0.2); }

.fn-article-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 680px;
}

.fn-article-meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
}

.fn-article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

.fn-article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 48px 0 16px;
    line-height: 1.2;
}

.fn-article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin: 36px 0 12px;
}

.fn-article-body p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.85;
    margin-bottom: 24px;
}

.fn-article-body ul, .fn-article-body ol {
    margin: 0 0 24px 24px;
}

.fn-article-body li {
    font-size: 1.02rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 8px;
}

.fn-article-body strong { color: var(--navy); }

.fn-article-body a {
    color: var(--gold);
    border-bottom: 1px solid rgba(205,133,63,0.35);
    transition: border-color 0.2s;
}

.fn-article-body a:hover { border-color: var(--gold); }

.fn-article-body blockquote {
    border-left: 3px solid var(--gold);
    margin: 32px 0;
    padding: 12px 24px;
    background: rgba(205,133,63,0.05);
    border-radius: 0 4px 4px 0;
}

.fn-article-body blockquote p {
    color: #555;
    font-style: italic;
    margin-bottom: 0;
}

/* CTA box at bottom of every article */
.fn-cta-box {
    margin-top: 64px;
    padding: 48px 40px;
    background: var(--navy);
    border-radius: 4px;
    border-left: 4px solid var(--gold);
    text-align: center;
}

.fn-cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.fn-cta-box p {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
    line-height: 1.65;
}

@media (max-width: 600px) {
    .fn-cta-box { padding: 36px 24px; }
    .fn-feed { padding: 56px 20px; }
}

/* ── SCREEN READER ONLY ───────────────────────────────────── */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── SKIP NAVIGATION ──────────────────────────────────────── */

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    transition: top 0.2s;
    white-space: nowrap;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

/* ── FOCUS STYLES (ADA) ───────────────────────────────────── */

*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.subway-node:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── LANGUAGE SWITCHER ────────────────────────────────────── */

#lang-switcher {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 500;
}

#lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(11, 30, 59, 0.92);
    color: var(--gold);
    border: 1px solid rgba(205, 133, 63, 0.55);
    border-radius: 4px;
    padding: 7px 14px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#lang-btn:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

#lang-btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

#lang-btn .lang-globe {
    font-size: 0.9rem;
    line-height: 1;
}

/* On gold CTA section, invert the switcher */
#cta ~ * #lang-switcher { display: none; }

@media (max-width: 600px) {
    #lang-switcher {
        top: 12px;
        right: 12px;
    }
    #lang-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
}

/* ── PRICING FOOTNOTE ─────────────────────────────────────── */

.pricing-footnote {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.38);
    font-style: italic;
    letter-spacing: 0.2px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── PROJECT BRANCH SVG ───────────────────────────────────── */

/* Wrapper sits inside .container at the bottom of #services,
   same width as the pricing-row and tier cards for alignment. */
.project-branch {
    margin-top: 0;
    margin-left: max(0px, calc(50% - 400px));
    margin-right: auto;
    max-width: 800px;
    line-height: 0;         /* collapse whitespace */
}

.project-branch svg {
    display: block;
    width: 100%;
    height: 110px;
    overflow: visible;
}

@media (max-width: 900px) {
    .project-branch { display: none; }
}

/* ── SECTION: PROJECT PACKAGES (#projects) ────────────────── */

/* #services fades to white at its bottom edge */
#services { padding-bottom: 0; }
#services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(15,38,72,0) 0%, #EDE9E0 100%);
    z-index: 0;
    pointer-events: none;
}

/* #projects is plain white; table sits as a dark card inside */
#projects {
    padding: var(--section-pad);
    padding-top: 0;
    background: #EDE9E0;
}

#projects .tier-footnote {
    color: rgba(11,30,59,0.45);
    text-align: left;
    max-width: 667px;
    margin-top: 20px;
    font-size: 0.8rem;
}

#projects .section-intro {
    text-align: center;
    margin-bottom: 48px;
}

#projects .section-sub {
    margin: 0 auto;
    text-align: center;
    color: #4a4a4a;
}

/* Three-column tier card grid */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

/* ── Tier card base ── */
.tier-card {
    background: var(--white);
    border: 1px solid #E8E5DF;
    border-radius: 4px;
    padding: 36px 28px 32px;
    position: relative;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease,
                box-shadow 0.2s ease;
}

.tier-card.tier-visible {
    opacity: 1;
    transform: translateY(0);
}

.tier-card:nth-child(1) { transition-delay: 0s;    }
.tier-card:nth-child(2) { transition-delay: 0.1s;  }
.tier-card:nth-child(3) { transition-delay: 0.2s;  }

.tier-card:hover {
    box-shadow: 0 12px 40px rgba(13,27,42,0.09);
}

/* Tier accent — top border differentiates scope level */
.tier-assess { border-top: 3px solid rgba(205,133,63,0.55); }
.tier-design { border-top: 3px solid var(--gold); }
.tier-build  {
    border-top: 3px solid var(--gold);
    background: var(--navy);
}

/* ── Tier card header ── */
.tier-card-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.tier-card-headline {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 6px;
}

.tier-build .tier-card-headline { color: var(--white); }

.tier-best-for {
    display: block;
    font-size: 0.78rem;
    color: #888;
    line-height: 1.5;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tier-build .tier-best-for {
    color: rgba(255,255,255,0.45);
    border-bottom-color: rgba(255,255,255,0.1);
}

/* "Includes everything in X" inherited scope note */
.tier-includes {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    opacity: 0.8;
}

/* ── Category blocks within a tier card ── */
.tier-category {
    margin-bottom: 18px;
}

.tier-category:last-of-type { margin-bottom: 0; }

.tier-category-name {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
    opacity: 0.65;
}

.tier-build .tier-category-name { color: rgba(255,255,255,0.5); }

.tier-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-category li {
    font-size: 0.84rem;
    color: #555;
    padding: 3px 0 3px 16px;
    position: relative;
    line-height: 1.45;
}

.tier-category li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    opacity: 0.55;
    font-size: 0.75rem;
    line-height: 1.7;
}

.tier-build .tier-category li          { color: rgba(255,255,255,0.70); }
.tier-build .tier-category li::before  { opacity: 0.45; }

/* ── Tier CTA link ── */
.tier-card-cta {
    display: inline-block;
    margin-top: 24px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.4px;
    border-bottom: 1px solid rgba(205,133,63,0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.tier-card-cta:hover { border-color: var(--gold); }

/* ── Tier footnote ── */
.tier-footnote {
    text-align: center;
    margin-top: 36px;
    font-size: 0.78rem;
    color: #aaa;
    letter-spacing: 0.2px;
    line-height: 1.6;
}

/* Responsive — stack to single column */
@media (max-width: 900px) {
    .tiers-grid {
        grid-template-columns: 1fr;
    }
    .tier-card:nth-child(n) { transition-delay: 0s; }
}

/* ── SECTION: TRUSTED PARTNERS (#partners) ────────────────── */

#partners {
    padding: 72px 24px;
    background: var(--white);
    text-align: center;
    position: relative;
}

#partners::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/map-richmond.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

#partners .container {
    position: relative;
    z-index: 1;
}

.partners-intro {
    margin-bottom: 32px;
}

.partners-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 48px;
    margin-bottom: 24px;
}

/* Placeholder badge for partners without a logo yet */
.partner-placeholder {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
    border: 1px solid #DDD;
    border-radius: 2px;
    padding: 8px 20px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.partner-placeholder:hover { opacity: 0.85; }

/* Real logo wrapper — swap in when file is available */
.partner-logo-wrap {
    opacity: 0.45;
    filter: grayscale(1) brightness(0.7);
    transition: opacity 0.25s, filter 0.25s;
}

.partner-logo-wrap:hover {
    opacity: 0.85;
    filter: grayscale(0) brightness(1);
}

/* Full-color partner logo — no grey treatment */
.partner-logo-color {
    opacity: 1;
    filter: none;
}

.partner-logo-color:hover {
    opacity: 0.85;
    filter: none;
}

.partner-logo-wrap img {
    max-height: 42px;
    max-width: 160px;
    width: auto;
    display: block;
}

.partners-note {
    font-size: 0.78rem;
    color: var(--silver);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.65;
    letter-spacing: 0.2px;
}


/* ══════════════════════════════════════════════════════════════
   DELIVERABLES COMPARISON TABLE
   ══════════════════════════════════════════════════════════════ */

.deliverables-wrap {
    max-width: 800px;
    margin-left: max(0px, calc(50% - 400px));
    margin-right: auto;
    background: rgba(237,233,224,0.60);
    border-radius: 16px;
    border: 1px solid rgba(11,30,59,0.08);
    padding: 0 24px 24px;
}

.deliverables-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Header — vertical-align top so SVG endpoint dots land exactly on the text */
.deliverables-table thead th {
    padding: 6px 12px 16px;
    text-align: center;
    vertical-align: top;
    border-bottom: 1px solid rgba(11,30,59,0.12);
}

.dt-col-deliverable {
    width: 36%;
    text-align: left !important;
}

.dt-col-tier {
    width: 16%;
}

/* Tier accent stripe at top of each column */
.dt-col-foundation { border-top: 2px solid #6BAED6; }
.dt-col-assess     { border-top: 2px solid #2CA58D; }
.dt-col-design     { border-top: 2px solid rgba(201,168,76,0.7); }
.dt-col-build      { border-top: 2px solid var(--gold); }

.dt-tier-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(11,30,59,0.55);
    margin-bottom: 5px;
}

.dt-tier-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
}

/* Group header rows (INCLUDED IN ALL TIERS, etc.) */
.dt-group-row td {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(11,30,59,0.35);
    padding: 20px 12px 4px 0;
    border-bottom: none;
    text-align: left;
}

/* Data rows */
.deliverables-table td {
    padding: 12px 12px;
    vertical-align: top;
    border-bottom: 1px solid rgba(11,30,59,0.07);
}

.dt-col-deliverable,
.deliverables-table td.dt-deliverable {
    padding-left: 0;
}

.dt-deliverable strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.dt-sub-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt-sub-items li {
    font-size: 0.75rem;
    color: rgba(11,30,59,0.48);
    padding: 2px 0 2px 14px;
    position: relative;
    line-height: 1.65;
}

.dt-sub-items li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(11,30,59,0.20);
}

/* Check cells */
.dt-cell-check {
    text-align: center;
    vertical-align: middle;
    padding: 12px 8px;
}

/* ── Checkmark icons via CSS background data URI ── */
.chk {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* Foundation: soft blue outline circle + blue check */
.chk-foundation {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%236BAED6' stroke-width='1.5'/%3E%3Cpath d='M6.5 10.5l2.5 2.5 4.5-5' stroke='%236BAED6' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Assess: teal outline circle + teal check */
.chk-assess {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%232CA58D' stroke-width='1.5'/%3E%3Cpath d='M6.5 10.5l2.5 2.5 4.5-5' stroke='%232CA58D' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Design: yellow-gold circle + white check (matches Design column header) */
.chk-design {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23C9A84C'/%3E%3Cpath d='M6.5 10.5l2.5 2.5 4.5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Build: orange-gold circle + white check (matches Build column header var(--gold) = #CD853F) */
.chk-build {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23CD853F'/%3E%3Cpath d='M6.5 10.5l2.5 2.5 4.5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Lite: ghost outline (available but limited in that tier) */
.chk-lite {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%230B1E3B' stroke-opacity='0.20' stroke-width='1.5'/%3E%3Cpath d='M6.5 10.5l2.5 2.5 4.5-5' stroke='%230B1E3B' stroke-opacity='0.25' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Not included: em dash */
.chk-none {
    display: inline-block;
    color: rgba(11,30,59,0.25);
    font-size: 0.9rem;
    line-height: 24px;
}

/* Add-on: small pill badge, same visual weight as chk-lite */
.chk-addon {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(11,30,59,0.38);
    border: 1px solid rgba(11,30,59,0.18);
    border-radius: 3px;
    padding: 2px 5px;
    line-height: 1.5;
    vertical-align: middle;
}

/* Implementation hours in check cells */
.dt-hours {
    font-size: 0.72rem;
    color: rgba(11,30,59,0.50);
    font-weight: 500;
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
}

/* Mobile: shrink padding, hide sub-items */
@media (max-width: 700px) {
    .deliverables-table thead th,
    .deliverables-table td {
        padding: 14px 8px;
    }
    .dt-col-deliverable { width: 40%; }
    .dt-col-tier { width: 15%; }
    .dt-sub-items { display: none; }
    .dt-tier-price { font-size: 0.9rem; }
}
