/* ============================================
   Self-hosted webfonts (Phase 11 / FOUT fix)
   Replaces the previous Google Fonts CDN enqueue. Files in /fonts/.
   Latin subset only — sufficient for English content.
   `font-display: swap` keeps render unblocked; preloading the two
   most-critical weights in functions.php keeps the swap window
   imperceptible on warm caches.
   ============================================ */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/barlow-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/barlow-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-var.woff2') format('woff2-variations'),
         url('fonts/inter-var.woff2') format('woff2');
}
@font-face {
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/geist-mono-var.woff2') format('woff2-variations'),
         url('fonts/geist-mono-var.woff2') format('woff2');
}

/* ============================================
   CSS Custom Properties (Variables)
   ============================================ */
:root {
    /* --- v2 design tokens --- */
    --color-bg: #ffffff;
    --color-text: #555555;
    --color-heading: #000000;
    --color-panel: #eeeeee;
    --color-metabar: #000000;

    --font-display: 'Barlow', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --font-weight-medium: 500;

    /* Type scale (Barlow Medium for headings) */
    --text-h1: 3rem;
    --text-h2: 2rem;
    --text-h3: 1.5rem;
    --text-h4: 1.25rem;
    --text-base: 0.975rem;

    --container-width: 1440px;

    /* --- v1 tokens retained for legacy sections during rebuild --- */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #eeeeee;
    --color-text-primary: #212529;
    --color-text-secondary: #6c757d;
    --color-accent: #0066cc;
    --color-accent-hover: #0052a3;
    --color-accent-light: #e8eaf6;

    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    --spacing-2xl: 96px;

    --nav-height: 90px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    color: var(--color-heading);
    line-height: 1.2;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: #555555;
}

.section-title-rev {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: left;
    color: #555555;
}

.section-intro {
    font-size: 1.8em;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    line-height: 1.5em;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: #ffffff;
}
.content-text-rev {
    max-width: 800px;
    margin: 0 auto;
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: #555555;
}

.content-text p {
    margin-bottom: var(--spacing-md);
}

.content-text-rev p {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   Metabar (Phase 2)
   ============================================ */
.metabar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: var(--color-metabar);
    z-index: 1001;
}

.metabar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.metabar__left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.metabar__logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.metabar__logo img {
    height: 12px;
    width: auto;
    display: block;
}

.metabar__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.metabar__link {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 0.65rem;
    line-height: 1;
    letter-spacing: .05rem;
    color: #777777;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
    text-transform: uppercase;
}

.metabar__link:hover,
.metabar__link:focus-visible {
    color: #FFFFFF;
}

body.page-technologies .metabar__link--technologies,
body.page-navigate .metabar__link--navigate,
body.page-investments .metabar__link--investments {
    color: #CCCCCC;
}

body.page-technologies .metabar__link--technologies::after,
body.page-navigate .metabar__link--navigate::after,
body.page-investments .metabar__link--investments::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background-color: #999999;
}

.metabar__link--coming-soon {
    cursor: default;
    position: relative;
}
.metabar__link--coming-soon::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #555555;
    color: #ffffff;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.metabar__link--coming-soon:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .metabar__nav {
        display: none;
    }
}

/* ============================================
   Main Navigation (Phase 3)
   Floating layout: standalone logo + frosted nav panel.
   Sits below the 40px metabar; no header background.
   ============================================ */
.floating-header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 999;
    pointer-events: none;
    padding-top: 24px;
}

.floating-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    padding-right: 40px;
}

.floating-nav {
    pointer-events: auto;
}

.site-logo {
    position: absolute;
    top: 70px;
    left: 32px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.floating-nav {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 12px 24px;
}

.floating-nav__list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.floating-nav__link {
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.floating-nav__link:hover,
.floating-nav__link:focus-visible {
    opacity: 0.7;
}

.mobile-trigger {
    position: relative;
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    min-width: 240px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 0;
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__link {
    display: block;
    padding: 10px 24px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: 0.875rem;
    line-height: 1.4;
    text-decoration: none;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
    background-color: rgba(255, 255, 255, 0.06);
}

.mobile-menu__divider {
    margin: 8px 24px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
    .floating-nav {
        display: none;
    }

    .mobile-trigger {
        display: block;
    }
}

/* ============================================
   Hero Section (v2 — Phase 4)
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000000;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 2;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3;
    pointer-events: none;
}

.hero__content {
    position: absolute;
    left: 0;
    right: 0;
    top: 75%;
    padding-left: 40px;
    padding-right: 40px;
    z-index: 4;
    text-align: left;
}

.hero__eyebrow {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    font-size: 12px;
    color: #FFFFFF;
    opacity: 0.5;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    line-height: 1;
}

.hero__cursor {
    display: inline;
    font-family: var(--font-mono);
    font-weight: 400;
    opacity: 1;
    margin-left: 1px;
    vertical-align: baseline;
    line-height: 1;
    position: relative;
    top: -0.1em;
}

.hero__headline {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    font-size: 100px;
    line-height: 1.2;
    color: #FFFFFF;
    max-width: 75%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero type scaling — H1 100px desktop, scaled down across breakpoints.
   Eyebrow (12px) tapers modestly so it stays legible at small sizes. */
@media (max-width: 1200px) {
    .hero__headline {
        font-size: 80px;
    }
}

@media (max-width: 992px) {
    .hero__headline {
        font-size: 64px;
    }

    .hero__eyebrow {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .hero__content {
        top: 50%;
        max-width: 90%;
        padding: 0 24px;
    }

    .hero__headline {
        font-size: 32px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero__content {
        top: 60%;
    }

    .hero__headline {
        font-size: 40px;
    }

    .hero__eyebrow {
        font-size: 10px;
    }

    .metabar__inner {
    padding: 0 24px;
    }

.site-logo {
    left: 18px;
}

.site-logo img {
    height: 34px;
    width: auto;
    display: block;
}

}

/* ============================================
   Services Section (v2 — Phase 5)
   Full-width grid (no .container) with 10px gaps.
   Row 1: 60/40 featured Digital Twins block (no internal gap).
   Row 2: three equal cards.
   ============================================ */
.services {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
    background-color: #ffffff;
    width: 100%;
}

.services__featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 480px;
}

.services__featured-image {
    min-width: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services__featured-text {
    min-width: 0;
    overflow: hidden;
    background-color: #222222;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    position: relative;
}

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

.services__card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-panel);
}

.services__card-image {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services__card-text {
    padding: 60px 24px 36px;
    position: relative;
}

.services__counter {
    position: absolute;
    top: 24px;
    margin: 0;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #777777;
}

.services__featured-text .services__counter {
    left: 30px;
}


/*
.services__card-text .services__counter {
    left: 32px;
}
*/

.services__featured-heading {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-h2);
    line-height: 1.2;
    color: #FFFFFF;
}

.services__card-heading {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-h3);
    line-height: 1.2;
    color: var(--color-heading);
}

.services__body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-base);
    line-height: 1.6;
    max-width: 600px;
    color: var(--color-text);
}

.services__featured-body {
    color: #999999;
}

/* ≤992px: featured stays full-width above; cards become 2+1 (third spans full width) */
@media (max-width: 992px) {
    .services__cards {
        grid-template-columns: 1fr 1fr;
    }

    .services__card:nth-child(3) {
        grid-column: 1 / -1;
    }
}

/* ≤768px: single column; featured stacks (image on top, text below) */
@media (max-width: 768px) {
    .services__featured {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .services__featured-image {
        height: 260px;
    }

    .services__featured-text {
        padding: 60px 32px 32px;
    }

    .services__featured-text .services__counter {
        left: 32px;
    }

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

    .services__card:nth-child(3) {
        grid-column: auto;
    }
}

/* ============================================
   Stats Section (v2 — Phase 7b)
   4-cell row inside 1440 container, 1px #DDDDDD border grid.
   Rotates between two sets of 4 stats every 7s with split-flap labels
   and count-up numbers (see js/stats-rotator.js).
   ============================================ */
.stats {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    border-top: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    background-color: #ffffff;
}

.stats__cell {
    position: relative;
    padding: 56px 32px 32px;
    border-right: 1px solid #DDDDDD;
    min-height: 200px;
    min-width: 0;
    overflow: hidden;
}

.stats__cell:last-child {
    border-right: none;
}

.stats__counter {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 10px;
    line-height: 1;
    color: #AAAAAA;
}

.stats__number {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    font-size: 54px;
    line-height: 1;
    color: #1c3da8;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.stats__label {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #555555;
}

/* ≤992px: 2 columns × 2 rows. Border-right on odd cells, border-bottom on top row. */
@media (max-width: 992px) {
    .stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats__cell {
        border-right: none;
    }

    .stats__cell:nth-child(2n+1) {
        border-right: 1px solid #DDDDDD;
    }

    .stats__cell:nth-child(-n+2) {
        border-bottom: 1px solid #DDDDDD;
    }
}

/* ≤768px: stay 2-up (inherits 2-col grid + borders from ≤992px rules above).
   Stats never collapse to a single column — per Blair (2026-05-03). */
@media (max-width: 768px) {
    .stats {
        margin: 48px 0;
    }

    .stats__number {
        font-size: 44px;
    }
}

@media (max-width: 480px) {
    .stats__cell {
        padding: 48px 20px 24px;
    }

    .stats__number {
        font-size: 32px;
    }

    .stats__label {
        font-size: 13px;
    }
}

/* ============================================
   What We Do Section
   ============================================ */
.what-we-do {
    background-color: var(--color-bg-primary);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 0px;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin: 16px 0 10px 0;
}

.feature-card p {
    margin: 10px 0;
    color: var(--color-text-secondary);
}

.wp-block-image img {
    max-width: 80%;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    background-color: #ffffff;
}

.why-us-overlay {
    padding: var(--spacing-sm) 0;
}

.why-card {
    padding: 0 32px 0 0;
}

.why-card h3 {
    margin-top: 0;
}

/* ============================================
   Contact Section (Phase 8)
   Full-bleed two-panel split: image left, form right.
   Uses existing .contact-form / .form-group / .btn-submit
   styles below for the form fields.
   ============================================ */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 600px;
    background-color: var(--color-bg);
}

.contact__panel {
    min-width: 0;
    overflow: hidden;
}

.contact__panel--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact__panel--form {
    display: flex;
    align-items: center;
    padding: 50px;
}

.contact__inner {
    width: 100%;
    max-width: 600px;
}

.contact__heading {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-h2);
    line-height: 1.2;
    color: var(--color-heading);
}

.contact__intro {
    margin: 0 0 32px;
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
}

.contact-form {
    max-width: none;
    margin: 0;
}

/* Contact form status messages */
.contact-form__status {
    display: none;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
}
.contact-form__status:not(:empty) {
    display: block;
}
.contact-form__status--success {
    color: #1a7f4b;
    padding: 16px 20px;
    background: #f0faf5;
    border-left: 4px solid #1a7f4b;
}
.contact-form__status--error {
    color: #b91c1c;
    padding: 16px 20px;
    background: #fef2f2;
    border-left: 4px solid #b91c1c;
}
.contact-form__status--success p {
    margin: 0;
}

@media (max-width: 992px) {
    .contact__panel--form {
        padding: 64px 48px;
    }
}

@media (max-width: 768px) {
    .contact {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .contact__panel--image {
        min-height: 320px;
    }
    .contact__panel--form {
        padding: 48px 24px;
    }
}

/* Full-bleed breakout for `.contact` / `.stats` rendered inside Gutenberg
   `.entry-content` (e.g. via [equitas_contact] / [equitas_stats] on
   subsidiary pages, where the_content sits inside .container). Pulls the
   section's bounds out to the viewport edges using the standard
   negative-margin formula. Homepage versions render outside `.entry-content`
   so they're unaffected. */
.entry-content > .contact,
.entry-content > .stats {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Subsidiary contact: light-grey form panel (homepage stays white). */
.entry-content > .contact .contact__panel--form {
    background-color: #F6F6F6;
}

/* ============================================
   Who We Are (Phase 6)
   Full-bleed two-panel split: image left, text right.
   ============================================ */
.who-we-are {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 600px;
    background-color: var(--color-bg);
}

.who-we-are__image {
    min-width: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.who-we-are__text {
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 50px;
    background-color: var(--color-panel);
}

.who-we-are__inner {
    width: 100%;
    max-width: 700px;
}

.who-we-are__heading {
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-h2);
    line-height: 1.2;
    color: var(--color-heading);
}

.who-we-are__body {
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
}

.who-we-are__body p {
    margin: 0 0 16px;
}

.who-we-are__body p:last-child {
    margin-bottom: 0;
}

.who-we-are__cta {
    margin: 24px 0 0;
}

.who-we-are__cta a {
    font-family: var(--font-body);
    font-weight: 600;
    color: #1c3da8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.who-we-are__cta a:hover,
.who-we-are__cta a:focus-visible {
    color: #000000;
}

@media (max-width: 992px) {
    .who-we-are__text {
        padding: 64px 48px;
    }
}

@media (max-width: 768px) {
    .who-we-are {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .who-we-are__image {
        min-height: 320px;
    }
    .who-we-are__text {
        padding: 48px 24px;
    }
}

/* ============================================
   Why Choose Equitas Section (Phase 7)
   White background, container-constrained, four-column icon grid.
   Icons rendered as inline SVG by Lucide (loaded via CDN).
   ============================================ */
.why-choose {
    background-color: #FFFFFF;
    padding: 60px 0;
}

.why-choose__heading {
    margin: 0 0 28px;
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-h2);
    line-height: 1.2;
    color: #000000;
    text-align: left;
}

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

.why-choose__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 40px 0 0;
}

.why-choose__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 24px;
    color: #999999;
    stroke-width: 1.5;
}

.why-choose__icon svg,
svg.why-choose__icon {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.why-col-header {
    margin: 0 0 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
    color: #000000;
}

.team-card__name {
    margin: 20px 0 10px 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
    color: #000000;
}

.why-col-body {
    margin: 0;
}

@media (max-width: 992px) {
    .why-choose__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 40px;
    }
}

@media (max-width: 768px) {
    .why-choose {
        padding: 56px 0;
    }
    .why-choose__heading {
        margin-bottom: 28px;
    }
    .why-choose__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================
   Subsidiary Banner (Phase 10)
   Full-bleed static image banner with optional ACF text overlay.
   Falls back to a solid #222222 background if no banner image set;
   text overlay hides entirely if eyebrow + headline are both empty.
   ============================================ */
.subsidiary-banner {
    position: relative;
    width: 100%;
    height: 800px;
    background-color: #222222;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: hidden;
}

.subsidiary-banner--solid {
    background-color: #222222;
}

.subsidiary-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.subsidiary-banner--solid::before {
    display: none;
}

.subsidiary-banner__content {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    color: #FFFFFF;
}

.subsidiary-banner__eyebrow {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.subsidiary-banner__headline {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #FFFFFF;
    max-width: 75%;
}

@media (max-width: 992px) {
    .subsidiary-banner__headline {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .subsidiary-banner {
        height: 320px;
        padding-bottom: 48px;
    }
    .subsidiary-banner__headline {
        font-size: 36px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .subsidiary-banner__headline {
        font-size: 28px;
    }
}

.banner-page-main {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .banner-page-main {
        padding: 56px 0;
    }
}

/* Editorial typography for Banner Page content. The global `* { margin: 0 }`
   reset zeroes paragraph/heading/list margins; these rules restore prose
   spacing for Gutenberg-edited content. Scoped to .banner-page-main so
   homepage and other contexts are unaffected. Single-property tweaks. */
.banner-page-main .entry-content p {
    margin-bottom: var(--spacing-sm);
}
.banner-page-main .entry-content h2,
.banner-page-main .entry-content h3,
.banner-page-main .entry-content h4 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}
.banner-page-main .entry-content ul,
.banner-page-main .entry-content ol {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
}
.banner-page-main .entry-content ul { list-style: disc; }
.banner-page-main .entry-content ol { list-style: decimal; }
.banner-page-main .entry-content li {
    margin-bottom: var(--spacing-xs);
}
.banner-page-main .entry-content > *:last-child {
    margin-bottom: 0;
}

/* When the last editorial block is a full-bleed shortcode section
   (contact / stats), zero banner-page-main's bottom padding so the section
   sits flush against the footer. Higher specificity than the rules above
   so it overrides at all viewport widths. */
.banner-page-main:has(.entry-content > .contact:last-child),
.banner-page-main:has(.entry-content > .stats:last-child) {
    padding-bottom: 0;
}

/* ============================================
   Banner Page (Narrow) template
   ============================================
   Variant of the Banner Page template (page-banner-narrow.php): a 300px banner
   (240px ≤768px) and a 960px content rail — vs. the Banner Page's 800px banner
   and 1440px rail.

   The template's markup carries custom classes (.banner-narrow, .banner-narrow__*,
   .banner-narrow-main) ALONGSIDE the shared .subsidiary-banner* / .banner-page-main
   classes. Style the custom classes below to affect ONLY this template — the shared
   Banner Page (NAVIGATE / Investments / People) is untouched. These rules sit after
   the base .subsidiary-banner* rules, so at equal specificity they win by source
   order; edit them directly (or add to the empty hook blocks) to restyle this page
   type. Structural behaviour (floating-nav hide, sticky footer, .site-main margin)
   stays scoped to body.page-template-page-banner-narrow further down the file. */

/* --- Banner section: height + text placement ---
   Inherits display:flex / align-items:flex-end / padding-bottom:80px (48px ≤768px)
   from .subsidiary-banner — adjust those here to reposition the text block. */
.banner-narrow {
    height: 300px;
    padding-bottom: 30px;
}

/* --- Banner text block (eyebrow + headline wrapper): placement ---
   Aligned to the 960px content rail — max-width + horizontal padding match
   .container so the text's left edge lines up with the content below (the base
   .subsidiary-banner__content uses spacing-lg; spacing-md here matches the rail).
   Change max-width / padding / text-align for placement. */
.banner-narrow__content {
    max-width: 960px;
    padding: 0 var(--spacing-md);
}

/* --- Banner eyebrow label: style hook --- */
.banner-narrow__eyebrow {
    /* inherits .subsidiary-banner__eyebrow — add font/size/colour/spacing overrides here */
}

/* --- Banner headline (H1): style hook --- */
.banner-narrow__headline {
    /* inherits .subsidiary-banner__headline — add font/size/colour/spacing overrides here */
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Content rail: 960px (overrides the inherited 1440px .container) --- */
.banner-narrow-main .container {
    max-width: 960px;
}

/* --- Editorial headings for this page type: style hooks ---
   Scoped to this template's main so they don't touch other Banner Pages. They
   match the base `.banner-page-main .entry-content h2/h3/h4` specificity and sit
   later, so anything added here wins. */
.banner-narrow-main .entry-content h2 {
    /* add H2 styling for this page type */
    margin-top: 0;
    font-size: 24px;
}
.banner-narrow-main .entry-content h3 {
    /* add H3 styling for this page type */
}
.banner-narrow-main .entry-content h4 {
    /* add H4 styling for this page type */
}

@media (max-width: 768px) {
    .banner-narrow {
        height: 240px;
    }
}

/* People page (Who We Are): close the gap between banner and lede text.
   Bottom padding retained for breathing room above the footer. */
body.page-people .banner-page-main {
    padding-top: 0;
}

/* Override the v1 `body.page:not(.home) .site-main { margin-top: var(--nav-height) }`
   rule on Banner Page template pages — banner sits outside .site-main, so the
   90px push leaves a visible gap below the banner. Selector chains `.page` and
   `:not(.home)` to outrank the v1 rule's specificity (0-0-3-1 → 0-0-4-1). */
body.page.page-navigate:not(.home) .site-main,
body.page.page-investments:not(.home) .site-main,
body.page.page-people:not(.home) .site-main,
body.page.page-template-page-banner-narrow:not(.home) .site-main {
    margin-top: 48px;
}

/* People grid — /people/ page */

  .team-card {                                              
      margin-bottom: 36px;
  }


.team-card p {
    font-size: var(--text-base);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0;
}

.team-card img {
    border-radius: 50%;
    margin: 0 auto;
}

.team-card a {
    color: #1c3da8;
    font-weight: 600;
    transition: color var(--transition-fast);
}
.team-card a:hover {
    color: #000000;
}

/* Hide the floating main nav on subsidiary pages and team member bio pages
   — the homepage anchor links don't apply here. Metabar (cross-property nav)
   and hamburger stay visible. */
body.page-navigate .floating-header,
body.page-investments .floating-header,
body.page-template-template-team-member .floating-header,
body.page-template-page-banner-narrow .floating-header {
    display: none;
}

/* Per-property wordmark hooks. Each subsidiary wordmark SVG has its own
   internal padding / aspect ratio, so independent tuning hooks live here.
   Markup applies one of these modifier classes alongside `.site-logo` (see header.php).

   POSITION: set `top` / `left` on the modifier class itself (the <a>).
   SIZE:     set `height` on the inner `img` (the <a> is `inline-flex`
             with align-items:center, so a height on the <a> only resizes
             the box and re-centers the inherited 36px image inside it —
             you'll see vertical position change, not actual logo size). */

.site-logo--technologies {
    /* top: 70px; left: 32px; — base values inherited */
    /* base img height: 36px (from `.site-logo img` rule above) */
}

.site-logo--navigate {                                                                                          
      top: 74px;     /* ✅ moves logo */                                                                             
      left: 40px;    /* ✅ moves logo */                                                                             
}                                                                                                                   
  

.site-logo--navigate img {
   height: 42px;  /* ✅ resizes logo */  
}

.site-logo--investments {
         top: 73px;     /* ✅ moves logo */                                                                             
      left: 40px;    /* ✅ moves logo */ 
}
.site-logo--investments img {
    height: 30px;  /* ✅ resizes logo */  
}

/* Pin footer to viewport bottom when subsidiary content is short.
   Flex column on #page makes the main area absorb extra height; the
   metabar/floating-header are position:fixed/absolute so they don't
   participate in the flex sizing. Bio pages get the same treatment —
   short bios would otherwise leave the footer floating mid-viewport. */
body.page-navigate #page,
body.page-investments #page,
body.page-template-template-team-member #page,
body.page-secure-login #page,
body.page-template-page-banner-narrow #page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.page-navigate .banner-page-main,
body.page-investments .banner-page-main,
body.page-template-template-team-member .team-member-page,
body.page-secure-login .site-main,
body.page-template-page-banner-narrow .banner-page-main {
    flex: 1 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-xs);
    border: 2px solid var(--color-bg-secondary);
    border-radius: 4px;
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

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

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--color-accent);
    color: var(--color-bg-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: 4px;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-submit:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ============================================
   Responsive Design - Tablet
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --font-size-3xl: 40px;
        --font-size-2xl: 28px;
        --spacing-xl: 48px;
    }

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

/* ============================================
   Responsive Design - Mobile
   ============================================ */
@media (max-width: 768px) {
    :root {
        --font-size-3xl: 32px;
        --font-size-2xl: 24px;
        --font-size-xl: 20px;
        --font-size-lg: 16px;
        --spacing-lg: 32px;
        --spacing-xl: 40px;
    }

    .section-intro {
        font-size: 1.2em;
    }

    /* Grid adjustments */
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Hero adjustments — hide video, show poster as background-image */
    .hero {
        background-image: var(--hero-poster-url);
        background-size: cover;
        background-position: center;
    }

    .hero__video {
        display: none;
    }


    /* Section spacing */
    .section {
        padding: var(--spacing-lg) 0;
    }

    /* Disable parallax on mobile */
    .why-us {
        background-attachment: scroll;
    }

}

/* ============================================
   Accessibility & Focus States
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   Who We Are Page Styling
   ============================================ */
/* Only constrain regular pages, not the homepage */
body.page:not(.home) .site-main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-md) var(--spacing-xl) var(--spacing-md);
    margin-top: var(--nav-height);
}

/* Banner should go full-width */
body.page:not(.home) .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* First element (banner) should be at the very top */
body.page:not(.home) .entry-content > .alignfull:first-child {
    margin-top: 0;
}

body.page:not(.home) .entry-header {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--spacing-md);
    text-align: center;
}

body.page:not(.home) .entry-header .entry-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

body.page:not(.home) .entry-content {
    max-width: 1440px;
    margin: 0 auto;
}

/* ============================================
   Team Member Detail Page
   ============================================ */
.team-member-page {
    padding-top: calc(40px + var(--spacing-lg));
    padding-bottom: var(--spacing-xl);
}
.team-member-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    padding-top: 24px;
}
.team-member-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}
/* Sidebar */
.team-member-sidebar {
    position: sticky;
    top: calc(40px + var(--spacing-md));
    padding-top: 40px;
}
.team-member-headshot img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
}
.team-member-sidebar-info h3,
.team-member-sidebar-info h4,
.team-sidebar-info h3,
.team-sidebar-info h4,
.team-sidebar-content h3,
.team-sidebar-content h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}
.team-member-sidebar-info ul,
.team-sidebar-info ul,
.team-sidebar-content ul {
    list-style: disc;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}
.team-member-sidebar-info li,
.team-sidebar-info li,
.team-sidebar-content li {
    margin-bottom: 6px;
    line-height: 1.6;
}
.back-to-team {
    margin-top: 0;
    padding-top: var(--spacing-md);
    border-top: 1px solid #dddddd;
}
.back-to-team a {
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.back-to-team a:hover {
    color: #000000;
}
/* Main Content */
.team-member-content .entry-title {
    font-size: var(--text-h1);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--color-heading);
    font-family: var(--font-display);
}
.team-member-content .entry-content {
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
}
.team-member-content .entry-content p {
    margin-bottom: var(--spacing-md);
}
.team-member-title {
    font-size: var(--text-base);
    font-weight: 500;
    color: #aaaaaa;
}
.team-member-lede {
    font-size: 1.15em;
    text-align: left;
    line-height: 1.6;
    color: var(--color-text);
    border-left: 7px #00B0F0 solid;
    padding-left: 16px;
    font-weight: 500;
}
.team-member-page .entry-header {
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}
.team-member-page .entry-title {
    text-align: left;
}
/* Hide Technologies wordmark on people index, bio pages, and secure login */
body.page-people .site-logo,
body.page-template-template-team-member .site-logo,
body.page-secure-login .site-logo {
    display: none;
}

/* Secure Login: left-align the page title (overrides the v1 .entry-header
   centered rule). Specificity bumped to 0-0-4-1 to beat
   `body.page:not(.home) .entry-header`. */
body.page.page-secure-login:not(.home) .entry-header {
    text-align: left;
}

/* Secure Login: WP renders a default password form (.post-password-form)
   for password-protected pages. Default is intrinsic-width (~250px) which
   looks lost in the 1440px container. Match the contact form visual
   language: 480px max, full-width input + button, left-aligned to track
   the (now left-aligned) page title. */
body.page-secure-login .post-password-form {
    max-width: 480px;
    margin: 0;
}
body.page-secure-login .post-password-form p {
    margin-bottom: var(--spacing-sm);
}
body.page-secure-login .post-password-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}
body.page-secure-login .post-password-form input[type="password"] {
    width: 100%;
    padding: var(--spacing-xs);
    border: 2px solid var(--color-bg-secondary);
    border-radius: 4px;
    font-family: inherit;
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}
body.page-secure-login .post-password-form input[type="password"]:focus {
    outline: none;
    border-color: var(--color-accent);
}
body.page-secure-login .post-password-form input[type="submit"] {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-lg);
    margin-top: var(--spacing-sm);
    background-color: var(--color-accent);
    color: var(--color-bg-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
body.page-secure-login .post-password-form input[type="submit"]:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}
body.page-secure-login .post-password-form input[type="submit"]:active {
    transform: translateY(0);
}
/* Remove v1 margin-top on site-main for team member pages.
   Selector chains `.page` and `:not(.home)` to outrank the v1 rule's
   specificity (0-0-3-1 → 0-0-4-1) — same fix as the Banner Page override. */
body.page.page-template-template-team-member:not(.home) .site-main {
    margin-top: 48px;
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .team-member-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    .team-member-sidebar {
        position: static;
        display: contents;
    }
    .team-member-headshot {
        order: 1;
        margin-bottom: 0;
    }
    .team-member-content {
        order: 2;
    }
    .team-member-sidebar-info,
    .team-sidebar-content {
        order: 3;
        margin-top: var(--spacing-lg);
        padding-top: var(--spacing-lg);
        border-top: 2px solid #dddddd;
    }
    .team-member-headshot img {
        max-width: 250px;
        margin: 0 auto var(--spacing-md);
    }
    .back-to-team {
        margin-top: 0;
        border-top: 0;
    }
}

/* ============================================
   Footer (Phase 9)
   Four-column row inside the 1440px container,
   brand logo + copyright row beneath. Dark bg #111111.
   ============================================ */
.site-footer {
    background-color: #111111;
    padding: 60px 0 40px;
    color: #AAAAAA;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 64px;
}

.footer-col-header {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-base);
    line-height: 1.2;
    color: #CCCCCC;
}

.footer-col-content {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-base);
    line-height: 1.6;
    color: #777777;
    list-style: none;
}

.footer-col-content li {
    margin-bottom: 8px;
}

.footer-col-content a {
    color: #777777;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-col-content a:hover,
.footer-col-content a:focus-visible {
    color: #FFFFFF;
}

.footer-col-content-deactivated {
    color: #444444;
}

/* Inline lock glyph before the "Resources" link (Lucide "lock", inlined because
   Lucide JS is enqueued front-page only and the footer is site-wide). em-sized so
   it tracks the link text; `currentColor` inherits the link's #777777 → #FFFFFF
   hover. Tune size/alignment here. */
.footer-lock-icon {
    width: 0.85em;
    height: 0.85em;
    margin-right: 0.4em;
    vertical-align: -0.12em;
}

.footer-col-content--address {
    font-style: normal;
}

.footer-col-content--address p {
    margin: 0 0 12px;
}

.footer-col-content--address p:last-child {
    margin-bottom: 0;
}

.footer-brand {
    text-align: left;
}

.footer-brand__logo {
    display: block;
    height: 16px;
    width: auto;
    opacity: 0.3;
    margin-bottom: 16px;
}

.footer-copyright {
    margin: 0;
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: 0.85rem;
    line-height: 1.4;
    color: #555555;
}

.site-footer .edit-link {
    margin-top: 24px;
    font-size: 0.75rem;
    opacity: 0.5;
}

.site-footer .edit-link a {
    color: #AAAAAA;
    text-decoration: underline;
}

.site-footer .edit-link a:hover {
    color: #FFFFFF;
    opacity: 1;
}

@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-bottom: 48px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 56px 0 32px;
    }
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }
}

