/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #ebebeb;
    --bg-dark: #000000;
    --bg-dark-surface: #0a0a0a;

    --text-primary: #000000;
    --text-secondary: #3a3a3a;
    --text-tertiary: #6a6a6a;
    --text-inverse: #ffffff;
    --text-inverse-muted: #888888;

    --border-light: rgba(0, 0, 0, 0.1);
    --border-medium: rgba(0, 0, 0, 0.18);
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-dark-hover: rgba(255, 255, 255, 0.25);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
    margin-bottom: 1.25rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 580px;
    font-weight: 400;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease-out-quart);
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ============================================
   HEADER — Sharp, minimal
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: all 0.4s var(--ease-out-quart);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    transition: padding 0.4s var(--ease-out-quart);
}

header.scrolled .header-inner {
    padding: 1rem 0;
}

.logo img {
    height: 34px;
    width: auto;
    display: block;
    transition: all 0.4s var(--ease-out-quart);
    filter: brightness(0);
}

header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1.25rem;
    position: relative;
    transition: all 0.3s var(--ease-out-quart);
}

/* Sharp underline on hover, not a pill */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

header.scrolled .nav-links a {
    color: var(--text-tertiary);
}

header.scrolled .nav-links a:hover {
    color: var(--text-primary);
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s var(--ease-out-quart);
}

header.scrolled .hamburger span {
    background: #000;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Always white when menu is open — dark overlay behind it */
.hamburger.active span,
header.scrolled .hamburger.active span {
    background: #fff;
}

/* ============================================
   HERO SECTION — Geometric mountain landscape
   ============================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #000000;
}

/* Mountain layer system — clipped inside hero */
.mountain-layers {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.mountain-layer {
    position: absolute;
    bottom: -60px;
    left: -2%;
    width: 104%;
    height: calc(100% + 60px);
    will-change: transform;
}

#hero .container {
    position: relative;
    z-index: 3;
}

#hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.0;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -0.05em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#hero .subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    max-width: 560px;
    margin: 0 auto 3.5rem auto;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Hero CTA — Sharp, no border-radius */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: #ffffff;
    color: #000000;
    padding: 1.1rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    border-radius: 0;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    transform: translateY(100%);
    transition: transform 0.45s var(--ease-out-expo);
}

.hero-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover::before {
    transform: translateY(0);
}

.hero-btn span,
.hero-btn svg {
    position: relative;
    z-index: 1;
}

.hero-btn svg {
    transition: all 0.3s var(--ease-out-quart);
}

.hero-btn:hover svg {
    transform: translateX(4px);
    color: #ffffff;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: floatUp 2.5s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes scrollLine {
    0% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.2; transform: scaleY(0.4); }
    100% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
section {
    padding: 8rem 0;
    position: relative;
}

/* ============================================
   ABOUT SECTION — Asymmetric editorial layout
   ============================================ */
#about {
    border-top: 1px solid var(--border-light);
}

#about .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 3.5rem;
}

#about .about-content p {
    font-size: 1.05rem;
    line-height: 1.9;
}

.pull-quote {
    margin-top: 2rem;
    padding: 2rem 0 2rem 2rem;
    border-left: 3px solid var(--text-primary);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.4;
    color: var(--text-primary);
    font-style: normal;
}

.about-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
}

.about-stat {
    padding: 2rem;
    background: var(--bg-primary);
    transition: all 0.4s var(--ease-out-quart);
}

.about-stat:hover {
    background: var(--bg-secondary);
}

.about-stat .stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--text-inverse);
    border-radius: 0;
    margin-bottom: 1.25rem;
}

.about-stat h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.about-stat p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ============================================
   NON-NEGOTIABLES SECTION
   ============================================ */
#values {
    background: var(--bg-secondary);
}

.values-list {
    margin-top: 3.5rem;
    border-top: 1px solid var(--border-light);
}

.value-row {
    display: grid;
    grid-template-columns: 60px 240px 1fr;
    gap: 2rem;
    padding: 1.75rem 2rem;
    background: transparent;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-out-expo);
    align-items: center;
    position: relative;
}

.value-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--text-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-row:hover {
    background: var(--bg-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.value-row:hover::before {
    opacity: 1;
}

.value-num {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-tertiary);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    transition: color 0.3s ease;
}

.value-row:hover .value-num {
    color: var(--text-primary);
}

.value-title h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.value-desc p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
    max-width: 540px;
}

/* ============================================
   SERVICES SECTION — Dark, structured
   ============================================ */
#services {
    background: var(--bg-dark);
    color: var(--text-inverse);
}

#services .section-label {
    color: var(--text-inverse-muted);
}

#services .section-label::before {
    background: var(--text-inverse-muted);
}

#services h2 {
    color: var(--text-inverse);
}

#services .section-desc {
    color: rgba(255, 255, 255, 0.45);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 3.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card {
    background: var(--bg-dark);
    padding: 3rem;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    border-radius: 0;
}

/* Vertical accent bar — angular, geometric */
.service-card::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--text-inverse);
    transition: height 0.5s var(--ease-out-expo);
}

.service-card:hover {
    background: var(--bg-dark-surface);
}

.service-card:hover::before {
    height: 48px;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-inverse);
    border-radius: 0;
    margin-bottom: 2rem;
    transition: all 0.4s var(--ease-out-quart);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
    color: var(--text-inverse);
}

.service-card p {
    color: var(--text-inverse-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   GOVERNANCE SECTION — Light, geometric
   ============================================ */
#governance {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.gov-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 3.5rem;
    background: var(--border-medium);
    border: 1px solid var(--border-medium);
}

.gov-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.5s var(--ease-out-expo);
    border-radius: 0;
}

/* Diagonal accent — brand-aligned angular element */
.gov-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 32px 32px 0;
    border-color: transparent rgba(0, 0, 0, 0.03) transparent transparent;
    transition: all 0.4s var(--ease-out-quart);
}

.gov-card:hover {
    background: var(--bg-secondary);
}

.gov-card:hover::after {
    border-color: transparent rgba(0, 0, 0, 0.08) transparent transparent;
}

.gov-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.08);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}

.gov-card strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.gov-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   CAREERS SECTION — Dark, split layout
   ============================================ */
#careers {
    background: var(--bg-dark);
    color: var(--text-inverse);
}

#careers .section-label {
    color: var(--text-inverse-muted);
}

#careers .section-label::before {
    background: var(--text-inverse-muted);
}

#careers h2 {
    color: var(--text-inverse);
}

#careers .section-desc {
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2.5rem;
}

.careers-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.careers-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    color: var(--text-inverse);
    padding: 1rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
}

.careers-cta:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.careers-cta svg {
    transition: transform 0.3s var(--ease-out-quart);
}

.careers-cta:hover svg {
    transform: translateX(4px);
}

.careers-perks {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.perk {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.perk:hover {
    padding-left: 0.5rem;
}

.perk-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 0;
    transition: all 0.3s ease;
}

.perk:hover .perk-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.perk h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-inverse);
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.perk p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   FOOTER — Sharp, structured
   ============================================ */
footer {
    background: var(--bg-dark-surface);
    color: var(--text-inverse);
    padding: 5rem 0 2.5rem 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-inverse-muted);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.75;
}

.footer-brand .logo {
    margin-bottom: 1.75rem;
}

.footer-brand .logo img {
    height: 30px;
    filter: none;
}

.footer-info h4 {
    color: var(--text-inverse);
    margin-bottom: 1.25rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.footer-info p,
.footer-info a {
    color: var(--text-inverse-muted);
    font-size: 0.88rem;
    margin-bottom: 0.7rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #ffffff;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

.back-to-top {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.35);
    transition: all 0.3s var(--ease-out-quart);
}

.back-to-top:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   REVEAL ANIMATIONS — Staggered
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s var(--ease-out-expo);
}

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

.reveal-child {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s var(--ease-out-expo);
}

.reveal.active .reveal-child {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active .reveal-child:nth-child(1) { transition-delay: 0.05s; }
.reveal.active .reveal-child:nth-child(2) { transition-delay: 0.12s; }
.reveal.active .reveal-child:nth-child(3) { transition-delay: 0.19s; }
.reveal.active .reveal-child:nth-child(4) { transition-delay: 0.26s; }
.reveal.active .reveal-child:nth-child(5) { transition-delay: 0.33s; }
.reveal.active .reveal-child:nth-child(6) { transition-delay: 0.40s; }
.reveal.active .reveal-child:nth-child(7) { transition-delay: 0.47s; }
.reveal.active .reveal-child:nth-child(8) { transition-delay: 0.54s; }

/* Hero entrance */
.hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s var(--ease-out-expo) forwards;
}

.hero-reveal:nth-child(1) { animation-delay: 0.3s; }
.hero-reveal:nth-child(2) { animation-delay: 0.6s; }
.hero-reveal:nth-child(3) { animation-delay: 0.9s; }

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

/* ============================================
   LEGAL PAGES — Long-form content layout
   ============================================ */
.legal-page header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
}

.legal-page .logo img {
    filter: brightness(0) !important;
}

.legal-page .nav-links a {
    color: var(--text-tertiary);
}

.legal-page .nav-links a:hover {
    color: var(--text-primary);
}

.legal-page .hamburger span {
    background: #000;
}

.legal-main {
    padding-top: 120px;
    padding-bottom: 6rem;
    min-height: 80vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumb */
.legal-breadcrumb {
    margin-bottom: 3rem;
}

.legal-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-tertiary);
    transition: all 0.3s var(--ease-out-quart);
    padding: 0.6rem 0;
}

.legal-breadcrumb a:hover {
    color: var(--text-primary);
}

.legal-breadcrumb a:hover svg {
    transform: translateX(-3px);
}

.legal-breadcrumb svg {
    transition: transform 0.3s var(--ease-out-quart);
}

/* Legal Header */
.legal-header {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-meta {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 0;
}

/* Legal Body — Long-form content */
.legal-body section {
    padding: 0;
    margin-bottom: 3.5rem;
}

.legal-body section:last-child {
    margin-bottom: 0;
}

.legal-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    padding-top: 0.5rem;
}

.legal-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.legal-body p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.legal-body p:last-child {
    margin-bottom: 0;
}

.legal-body a {
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-medium);
    transition: border-color 0.3s ease;
}

.legal-body a:hover {
    border-color: var(--text-primary);
}

.legal-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.legal-body ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.legal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 1px;
    background: var(--text-primary);
}

.legal-body ul li:last-child {
    margin-bottom: 0;
}

.legal-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Legal Contact Block */
.legal-contact-block {
    margin: 1.5rem 0;
    padding: 2rem;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.legal-contact-block p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.legal-contact-block p:last-child {
    margin-bottom: 0;
}

/* Copyright Legal Links */
.copyright-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .gov-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-row {
        grid-template-columns: 50px 200px 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    #about .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .careers-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transition: right 0.5s var(--ease-out-expo);
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.6) !important;
        padding: 1.25rem 2rem;
        letter-spacing: 0.15em;
    }

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

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

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

    .value-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.5rem;
        align-items: start;
    }

    .value-num {
        font-size: 1.15rem;
        margin-bottom: 0.2rem;
    }

    .value-title h3 {
        font-size: 1.15rem;
    }



    .careers-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .careers-content {
        text-align: center;
    }

    .careers-content .section-label {
        justify-content: center;
    }

    .careers-content .section-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .careers-cta {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: unset;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-info {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .footer-info:last-child {
        border-bottom: none;
    }

    .copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .copyright-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .legal-main {
        padding-top: 100px;
        padding-bottom: 4rem;
    }

    .legal-header {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }

    .legal-body section {
        margin-bottom: 2.5rem;
    }

    #hero {
        background-attachment: scroll;
    }

    .about-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    #hero h1 {
        font-size: 2.4rem;
    }

    .service-card {
        padding: 2rem;
    }

    .gov-card {
        padding: 2rem 1.5rem;
    }

    /* Prevent long email from overflowing */
    .footer-info a,
    .footer-info p {
        word-break: break-all;
        font-size: 0.82rem;
    }

    .value-row {
        padding: 1.25rem 1rem;
    }

    .pull-quote {
        font-size: 1.15rem;
        padding-left: 1.25rem;
    }

    footer {
        padding: 3.5rem 0 2rem 0;
    }

    .legal-main {
        padding-top: 90px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-breadcrumb {
        margin-bottom: 2rem;
    }

    .legal-contact-block {
        padding: 1.5rem;
    }
}
