/* ============================================================
   NorthStar Technologies — Emerald + Charcoal Theme
   ============================================================ */

/* ─── CSS Variables ─── */
:root {
    /* Colors */
    --bg-primary: #111114;
    --bg-secondary: #161619;
    --bg-card: rgba(22, 22, 28, 0.7);
    --bg-card-hover: rgba(30, 30, 38, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #eaeaef;
    --text-secondary: rgba(234, 234, 239, 0.65);
    /* 0.55, not 0.38: 0.38 measured 3.2:1 on the dark ground, under WCAG AA 4.5:1. Still
       below --text-secondary, so the muted/secondary hierarchy holds. */
    --text-muted: rgba(234, 234, 239, 0.55);

    --accent-cyan: #4CAF50;
    --accent-blue: #2E7D32;
    --accent-purple: #1B5E20;
    --accent-teal: #81C784;

    --gradient-aurora: linear-gradient(135deg, #81C784 0%, #4CAF50 30%, #2E7D32 60%, #1B5E20 100%);
    --gradient-aurora-subtle: linear-gradient(135deg, rgba(129, 199, 132, 0.1) 0%, rgba(76, 175, 80, 0.07) 30%, rgba(46, 125, 50, 0.09) 60%, rgba(27, 94, 32, 0.05) 100%);
    --gradient-card-border: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(27, 94, 32, 0.3));

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(76, 175, 80, 0.2);

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    --container-padding: 0 24px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(46, 125, 50, 0.12);
    --shadow-glow-strong: 0 0 60px rgba(46, 125, 50, 0.2);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*, *::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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

a:hover {
    color: var(--accent-blue);
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ─── Glow Text ─── */
.glow {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Section Labels ─── */
.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: 100px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-aurora);
    color: #000;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.4);
    color: #000;
}

.btn-glass {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.btn-glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-sm { padding: 11px 24px; font-size: 0.85rem; }
/* Keep header CTAs on a single line. Wrapping turned "Call Us" into a tall
   two-line block, which read as a mis-shaped button rather than a button. */
.nav-cta .btn, .nav-phone { white-space: nowrap; }
.nav-cta .btn-sm { border-radius: 100px; }
.nav-phone {
    padding: 9px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
.nav-phone:hover { border-color: var(--border-accent); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-success {
    background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}

.btn-loading {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    /* Wider than the 1200px content column on purpose: the full logo lockup is
       6:1, so at a legible height it needs ~336px and the 8 nav links need ~680.
       The navbar is chrome, not content, so it can use more of the viewport
       without affecting section width. */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    /* Without this the logo is a shrinkable flex item: the nav links and CTA
       squeezed it to 120px against a 6:1 intrinsic ratio, so the artwork drew
       at ~20px inside a 62px box. That squashing -- not the CSS height -- was
       why the mark looked tiny. */
    flex-shrink: 0;
}

.nav-logo-full {
    height: 56px;
    width: auto;
    flex-shrink: 0;
}

.nav-logo-icon {
    display: none;
    width: 44px;
    height: 44px;
}

.nav-links {
    display: flex;
    gap: 2px;
}

.nav-links a {
    padding: 8px 11px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-phone:hover {
    color: var(--accent-cyan);
}

/* Nav Toggle (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(46, 125, 50, 0.07) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(27, 94, 32, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(76, 175, 80, 0.04) 0%, transparent 50%),
                var(--bg-primary);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Aurora Waves */
.hero-aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora-wave {
    position: absolute;
    width: 200%;
    height: 200px;
    left: -50%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(129, 199, 132, 0.1) 15%,
        rgba(76, 175, 80, 0.16) 30%,
        rgba(46, 125, 50, 0.12) 50%,
        rgba(27, 94, 32, 0.08) 70%,
        rgba(76, 175, 80, 0.1) 85%,
        transparent 100%
    );
    filter: blur(40px);
    animation: auroraFlow 12s ease-in-out infinite alternate;
    border-radius: 50%;
}

@keyframes auroraFlow {
    0% { transform: translateX(-15%) skewX(-5deg) scaleY(1); }
    33% { transform: translateX(5%) skewX(3deg) scaleY(1.3); }
    66% { transform: translateX(-5%) skewX(-2deg) scaleY(0.8); }
    100% { transform: translateX(15%) skewX(5deg) scaleY(1.1); }
}

/* Stars */
.hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.3; transform: scale(0.8); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(46, 125, 50, 0.06);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 32px;
    position: relative;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(46, 125, 50, 0); }
}

.hero-title {
    font-size: clamp(3.1rem, 8vw, 6.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
}

/* One-line headline so green is reserved for the tagline's promise clause —
   the colour should land on "never in competition", not on "Talent." */
.hero-title-single {
    white-space: nowrap;
    font-size: clamp(2.4rem, 7.2vw, 5.6rem);
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .hero-title-single {
        white-space: normal;
    }
}

/* Supporting line: the service list is context, not the promise. Deliberately
   quieter than .hero-tagline so the hierarchy reads
   headline > positioning promise > what we do. */
.hero-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 40px;
}

/* The positioning promise -- the single most important sentence on the page.
   It was --text-muted at 1.05rem, i.e. the faintest, smallest text in the hero,
   sitting below a brighter service list. Hierarchy was inverted. */
.hero-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    max-width: 44ch;
    margin: 0 auto 18px;
    text-shadow: 0 0 34px rgba(76, 175, 80, 0.18);
}

/* Carries the differentiator itself, so it takes the accent -- and gets its own
   line rather than wrapping wherever the measure happens to break. The setup
   clause sits above it; the promise stands alone. */
.hero-tagline .tagline-accent {
    display: block;
    color: var(--accent-cyan);
    font-weight: 700;
    text-wrap: balance;
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.4; height: 20px; }
}

/* ========== METRICS STRIP ========== */
.metrics-strip {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
    display: grid;
    /* auto-fit so the strip stays balanced whatever the metric count is —
       it renders 2 today and will absorb 3 or 4 with no CSS change. */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-item .metric-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.metric-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-left: 2px;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

/* ========== PARTNERS STRIP ========== */
.partners-strip {
    padding: 40px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.partners-label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    transition: color var(--transition-fast);
}

.partner-name:hover {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .partners-grid {
        gap: 28px;
    }
    .partner-name {
        font-size: 1rem;
    }
}

/* ========== SERVICES ========== */
.services {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

/* Staff augmentation is the core business, so its card takes the full row and the
   two practices sit beneath it. */
.services-featured .featured-core {
    grid-column: 1 / -1;
}

@media (min-width: 769px) {
    .services-featured:has(.featured-core) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.services-featured {
    display: grid;
    /* auto-fit: empty tracks collapse and the remaining cards expand to fill,
       so the row stays balanced whether there are 3 cards or 4. */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-aurora);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.06);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--accent-cyan);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags li {
    padding: 4px 12px;
    background: rgba(46, 125, 50, 0.06);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-cyan);
    letter-spacing: 0.02em;
}

/* Mini service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card-mini {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all var(--transition-smooth);
}

.service-card-mini:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.service-icon-mini {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.04);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    color: var(--accent-cyan);
}

.service-card-mini h3,
.service-card-mini h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.service-card-mini p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== AI SECTION ========== */
.ai-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.ai-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.ai-tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.ai-tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-aurora);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.ai-tier-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.ai-tier-card:hover::before {
    opacity: 1;
}

.ai-tier-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.ai-tier-badge.primary {
    background: rgba(46, 125, 50, 0.1);
    color: var(--accent-cyan);
    border-color: rgba(46, 125, 50, 0.2);
}

.ai-tier-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.ai-tier-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* AI Callout Cards (Framework + Academy) */
.ai-callout-grid {
    display: grid;
    /* two callouts side by side; a lone callout spans the full width
       instead of hugging the left half. */
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.academy-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--gradient-aurora-subtle);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.academy-callout:hover {
    border-color: rgba(46, 125, 50, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.callout-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-md);
    color: var(--accent-cyan);
}

.callout-content {
    flex: 1;
}

.callout-content h3,
.callout-content h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.callout-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.callout-arrow {
    color: var(--accent-cyan);
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.academy-callout:hover .callout-arrow {
    opacity: 1;
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .ai-tier-grid {
        grid-template-columns: 1fr;
    }
    .ai-callout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .academy-callout {
        padding: 20px;
    }
}

/* ========== ABOUT ========== */
.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.about-content .section-title {
    text-align: left;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-values {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.06);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-sm);
    color: var(--accent-cyan);
}

.value-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.value-item span {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* About Visual — Card Stack */
.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-smooth);
}

.about-stat-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
    transform: translateX(8px);
}

.about-stat-card.accent {
    background: var(--gradient-aurora-subtle);
    border-color: rgba(46, 125, 50, 0.2);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========== PROCESS ========== */
.process {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), transparent);
}

.process-step {
    display: flex;
    gap: 32px;
    padding: 32px 0;
    position: relative;
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    width: 80px;
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
    transition: all var(--transition-smooth);
}

.process-step:hover .step-number {
    background: rgba(46, 125, 50, 0.1);
    box-shadow: var(--shadow-glow);
}

.step-content {
    flex: 1;
    padding-top: 16px;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== INDUSTRIES ========== */
.industries {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-smooth);
}

.industry-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.industry-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.06);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
    color: var(--accent-cyan);
}

.industry-card h3,
.industry-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* ========== TESTIMONIALS CAROUSEL ========== */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

/* Carousel — 2 visible at a time */
.testimonial-carousel {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    width: calc(50% - 12px);
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
    flex-shrink: 0;
    box-sizing: border-box;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-subtle);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(46, 125, 50, 0.3);
}

.carousel-dot:hover {
    background: var(--text-muted);
}

/* Card inside carousel */
.web-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.web-quotes figure {
    margin: 0;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 44px;
    text-align: center;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-result {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.02em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-aurora);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #000;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-align: left;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-secondary);
}

.cta-aurora {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(46, 125, 50, 0.07) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 50%, rgba(27, 94, 32, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(76, 175, 80, 0.04) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== CONTACT ========== */
.contact {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.06);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-sm);
    color: var(--accent-cyan);
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-item span,
.contact-item a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--accent-cyan);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 44px;
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Off-screen rather than display:none — some bots skip fields that are display:none. */
.form-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 12px 0 0;
    font-size: 0.95rem;
    min-height: 1.4em;
}

.form-status[data-state="error"] {
    color: #ef9a9a;
}

.form-status[data-state="sent"] {
    color: var(--accent-cyan);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2399a1b3' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo img {
    height: 44px;
    width: auto;
}

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

.footer-address a,
.contact-item a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(234, 234, 239, 0.25);
    text-underline-offset: 3px;
}

.footer-address a:hover,
.contact-item a:hover {
    color: var(--accent-cyan);
}

.footer-address {
    font-style: normal;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-links h3,
.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Between the mobile breakpoint and full desktop there isn't room for the full
   logo lockup (336px at a legible size), 8 nav links and the phone. Drop the
   phone first -- the number is in the contact section and the footer, and the
   Get Started CTA still covers the call to action. */
@media (max-width: 1400px) {
    .nav-phone { display: none; }
}

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

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

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

    .carousel-slide {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

/* The full lockup is 6:1, so at a legible height it occupies ~336px. Together
   with 8 nav links and the CTA that needs ~1150px. Below that, collapse the
   links into the hamburger but KEEP the full logo -- the wordmark is the brand,
   and there is ample room for it once the links fold away. The icon-only mark
   doesn't take over until 768px. */
@media (max-width: 1150px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 20px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 20px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    /* Keep the full lockup on phones -- showing the mark alone read as
       "most of the logo is missing". At 6:1 a 38px height is 228px wide,
       which clears the hamburger inside a 375px viewport. */
    .nav-logo-full {
        height: 38px;
    }

    .nav-logo-icon {
        display: none;
    }

    /* Featured service cards were still 2-up from the 1024px rule, giving
       ~152px columns on a phone -- one word per line and clipped text. */
    .services-featured {
        grid-template-columns: 1fr;
    }

    .nav-cta {
        display: none;
    }

    .nav-phone {
        display: none;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .metric-number {
        font-size: 2.2rem;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        min-width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .process-step {
        gap: 20px;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }

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

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

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}
