/* ============================================
   FoxDog Consulting — Dark Technical Theme
   Inspired by Anduril / Palantir aesthetic
   ============================================ */

:root {
    --black: #000000;
    --dark: #0a0a0a;
    --dark-2: #111111;
    --dark-3: #1a1a1a;
    --dark-4: #222222;
    --gray: #888888;
    --light-gray: #aaaaaa;
    --white: #f0f0f0;
    --bright: #ffffff;
    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.08);
    --accent-glow: rgba(255, 255, 255, 0.15);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Typography ---- */
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 3rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--bright); }
p { color: var(--light-gray); font-weight: 300; }

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--bright);
    color: var(--black);
    border: 1px solid var(--bright);
}

.btn-primary:hover {
    background: transparent;
    color: var(--bright);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: var(--bright);
    color: var(--bright);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* ---- Navigation ---- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

nav.scrolled {
    background: var(--black);
}

.nav-inner {
    max-width: 100%;
    margin: 0;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    justify-self: start;
}

.nav-logo .logo-icon {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--bright);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    justify-self: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    height: 64px;
}

.nav-links a:hover {
    color: var(--bright);
}

.nav-cta {
    justify-self: end;
    background: var(--bright);
    color: var(--black);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    font-family: var(--font);
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--light-gray);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s;
}

/* ---- Hero ---- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}

.hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.4;
    position: relative;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 6rem;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

#hero h1 {
    margin-bottom: 1.5rem;
    color: var(--bright);
}

.hero-sub {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.hero-credentials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-credentials .credential {
    text-align: center;
}

.hero-credentials .cred-value {
    font-size: 0.95rem;
}

.hero-credentials .cred-label {
    font-size: 0.6rem;
}

.hero-credentials .cred-divider {
    height: 24px;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gray), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Capabilities ---- */
#capabilities {
    padding: 8rem 0;
    background: var(--dark);
}

/* ---- Problem Strip ---- */
#problems {
    padding: 4rem 0;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problem-icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    color: var(--gray);
    margin-top: 0.1rem;
}

.problem-icon svg {
    width: 100%;
    height: 100%;
}

.problem-item p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.5;
}

/* ---- Credentials Strip ---- */
#credentials {
    padding: 3rem 0;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.credentials-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.credential {
    text-align: center;
}

.cred-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bright);
    letter-spacing: 0.05em;
}

.cred-label {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
}

.cred-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.1);
}

/* ---- Process / How We Work ---- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    position: relative;
    padding-top: 2rem;
}

.process-num {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.process-line {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
    position: relative;
}

.process-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    background: var(--bright);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .credentials-strip {
        gap: 1.5rem;
    }
    .cred-divider {
        display: none;
    }
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

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

.capabilities-intro {
    font-size: 1.15rem;
    max-width: 700px;
    margin-bottom: 4rem;
    line-height: 1.7;
}

.cap-pillar {
    margin-bottom: 3rem;
}

.pillar-heading {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.05);
}

.cap-card {
    background: var(--dark);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.cap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cap-card:hover::before {
    transform: scaleX(1);
}

.cap-card:hover {
    background: var(--dark-2);
}

.cap-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

.cap-icon svg {
    width: 100%;
    height: 100%;
}

.cap-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- Domains ---- */
#domains {
    padding: 8rem 0 0;
    background: var(--black);
}

.domain-fullbleed {
    position: relative;
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
}

.domain-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
}

.domain-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    max-width: 700px;
}

.domain-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.08);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.domain-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bright);
}

.domain-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

.domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.domain-tags span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    background: rgba(255,255,255,0.05);
    color: var(--light-gray);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ---- Partnerships ---- */
#partnerships {
    padding: 8rem 0;
    background: var(--dark-2);
}

.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.partner-card {
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--dark);
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: rgba(255,255,255,0.3);
}

.partner-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.partner-type {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 1.25rem;
}

.partner-card > p:last-child {
    font-size: 0.9rem;
    line-height: 1.7;
}

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

/* ---- Services ---- */
#services {
    padding: 8rem 0;
    background: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.3s;
}

.service-card:hover {
    border-color: rgba(255,255,255,0.25);
}

.service-num {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- Platform ---- */
#platform {
    padding: 8rem 0;
    background: var(--black);
}

.platform-lead {
    font-size: 1.1rem;
    max-width: 650px;
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.platform-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.platform-item:last-child {
    border-right: none;
}

.platform-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 1.25rem;
}

.platform-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.platform-item p {
    font-size: 0.85rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .platform-item:nth-child(2) {
        border-right: none;
    }
    .platform-item:nth-child(1),
    .platform-item:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
    .platform-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .platform-item:last-child {
        border-bottom: none;
    }
}

/* ---- Focus Areas ---- */
#focus {
    padding: 6rem 0;
    background: var(--black);
}

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

.focus-card {
    position: relative;
    height: 360px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    overflow: hidden;
}

.focus-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
    transition: background 0.4s;
}

.focus-card:hover .focus-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
}

.focus-label {
    position: relative;
    z-index: 1;
    padding: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bright);
    line-height: 1.3;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .focus-grid {
        grid-template-columns: 1fr;
    }
    .focus-card {
        height: 240px;
    }
}

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

/* ---- Approach / How We Work ---- */
#approach {
    padding: 8rem 0;
    background: var(--dark);
}

/* ---- About (teaser on index) ---- */
#about {
    padding: 6rem 0;
    background: var(--black);
}

.about-teaser {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-teaser p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ---- About (full page) ---- */

.page-hero {
    position: relative;
    padding: 12rem 0 6rem;
    background: var(--black);
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-sub {
    font-size: 1.15rem;
    color: var(--light-gray);
    margin-top: 1rem;
    max-width: 500px;
}

.page-hero h1 {
    margin-bottom: 0;
}

.about-full {
    padding: 4rem 0 6rem;
    background: var(--black);
}

.about-full {
    padding: 5rem 0;
    background: var(--black);
}

.about-full .about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}

.about-text-wide {
    max-width: 750px;
}

.about-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.about-text-wide p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-experience {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.about-exp-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.about-exp-content {
    position: relative;
    z-index: 1;
}

.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.exp-item {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.exp-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.exp-marker {
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--bright);
    margin-top: 0.6rem;
}

.exp-content h3 {
    margin-bottom: 0.25rem;
}

.exp-role {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 1rem;
}

.exp-content > p:last-child {
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-services {
    padding: 6rem 0;
    background: var(--black);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-row {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-row:first-child {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.service-row h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-row p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 800px;
}

.about-cta {
    padding: 6rem 0;
    background: var(--dark);
}

.nav-links a.active {
    color: var(--bright);
}

.about-partners {
    padding: 6rem 0;
    background: var(--black);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.partner-highlight {
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.08);
}

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

.partner-highlight h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.partner-highlight p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.image-break {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.4) saturate(0.8);
}

@media (max-width: 768px) {
    .image-break {
        background-attachment: scroll;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .about-full .about-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .exp-item {
        flex-direction: column;
        gap: 1rem;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bright);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray);
}

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

.about-badge {
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-badge::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 50%);
    z-index: 0;
}

.about-logo {
    width: 140px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 40px rgba(255,255,255,0.05));
}

/* ---- Contact ---- */
#contact {
    padding: 8rem 0;
    background: var(--dark);
}

.contact-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-sub {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-item {
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.35rem;
}

.contact-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

/* ---- Footer ---- */
footer {
    padding: 3rem 0;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo .logo-icon {
    height: 24px;
    width: auto;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--gray);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

/* ---- Scroll Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        padding: 1rem 0;
        gap: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links.open a {
        height: auto;
        padding: 1rem 2.5rem;
    }

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

    .domain-fullbleed {
        background-attachment: scroll;
        min-height: 40vh;
    }

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

    .about-visual {
        order: -1;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .approach-item {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-details {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-credentials {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .hero-credentials .cred-divider {
        display: none;
    }

    .btn {
        text-align: center;
    }
}

/* ---- Careers ---- */
.careers-section {
    padding: 5rem 0;
    background: var(--black);
}

.careers-skillbridge {
    background: var(--dark);
}

.careers-apply {
    background: var(--dark);
}

.role-card {
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1rem;
}

.role-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.role-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.role-meta {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--gray);
}

.role-body {
    padding: 0 2rem 1.5rem;
}

.role-body p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

.skillbridge-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ---- Application Form ---- */
.apply-form {
    max-width: 650px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--bright);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: border-color 0.2s;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.3);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.file-upload-label {
    padding: 1.25rem;
    border: 1px dashed rgba(255,255,255,0.15);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.file-upload-label:hover {
    border-color: rgba(255,255,255,0.3);
}

.file-upload-text {
    font-size: 0.85rem;
    color: var(--gray);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.form-status.sending { color: var(--gray); }
.form-status.success { color: var(--bright); }
.form-status.error { color: #ff6b6b; }

@media (max-width: 768px) {
    .role-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ---- Contact Page ---- */
.page-hero-short {
    min-height: 35vh;
    padding: 10rem 0 4rem;
    background: var(--dark);
}

.contact-page {
    padding: 5rem 0;
    background: var(--black);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-sidebar {
    padding-top: 1rem;
}

.contact-info-block {
    margin-bottom: 2.5rem;
}

.contact-info-block h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.contact-info-block p {
    font-size: 1rem;
    color: var(--white);
}

.contact-info-block a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-info-block a:hover {
    color: var(--bright);
}

.cta-section {
    padding: 6rem 0;
    background: var(--dark);
}

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

/* ---- Selection ---- */
::selection {
    background: var(--bright);
    color: var(--black);
}
