:root {
    --font-primary: 'DM Sans', -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --brand-primary: #c2703e;
    --brand-primary-hover: #a85c30;
    --brand-primary-light: #dfa068;
    --brand-primary-tint: #faf3ed;
    --accent-sage: #5b8a72;
    --accent-sage-tint: #eef5f1;
    --surface-dark: #2f3640;
    --surface-dark-lighter: #363f4a;
    --surface-page: #f5f3f0;
    --surface-card: #ffffff;
    --surface-muted: #f9f7f4;
    --text-on-dark: #f0eeeb;
    --text-on-dark-muted: rgba(240,238,235,0.62);
    --text-primary: #2a2a2a;
    --text-secondary: #5c5955;
    --text-muted: #a39e98;
    --border-light: #e5e2de;
    --border-strong: #d4d0cb;
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--surface-page);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--surface-dark);
    border-bottom: 3px solid var(--brand-primary);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    text-decoration: none;
    display: flex;
    align-items: baseline;
}

.nav-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-on-dark);
    letter-spacing: -0.3px;
}

.nav-brand-dot {
    color: var(--brand-primary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

    .nav-links a {
        font-size: 13px;
        font-weight: 500;
        color: var(--text-on-dark-muted);
        text-decoration: none;
        transition: color 0.15s;
    }

        .nav-links a:hover {
            color: var(--brand-primary-light);
        }

/* HERO */
.hero {
    background: var(--surface-card);
    padding: 0 24px;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.hero-bg-graphic {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    opacity: 0.12;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 85% 80% at 55% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 80% at 55% 50%, black 40%, transparent 100%);
}

    .hero-bg-graphic circle {
        fill: var(--brand-primary);
        stroke: var(--brand-primary);
    }

        .hero-bg-graphic circle[fill="none"] {
            fill: none;
        }

    .hero-bg-graphic line {
        stroke: var(--brand-primary);
    }

    .hero-bg-graphic rect {
        stroke: var(--brand-primary);
        fill: none;
    }

    .hero-bg-graphic path {
        stroke: var(--brand-primary);
        fill: none;
    }

.gear-lg {
    transform-origin: 420px 260px;
    animation: gearSpin 40s linear infinite;
}

.gear-sm {
    transform-origin: 540px 140px;
    animation: gearSpin 25s linear infinite reverse;
}

.schematic-layer-back {
    opacity: 0.4;
}

.schematic-layer-mid {
    opacity: 0.65;
}

.schematic-layer-front {
    opacity: 1;
}

.flow-animated {
    animation: dashFlow 3s linear infinite;
}

.flow-animated-slow {
    animation: dashFlow 5s linear infinite;
}

.indicator-pulse {
    animation: indicatorPulse 2s ease-in-out infinite;
}

.indicator-pulse-delay {
    animation: indicatorPulse 2s ease-in-out 0.6s infinite;
}

.indicator-pulse-delay2 {
    animation: indicatorPulse 2s ease-in-out 1.2s infinite;
}

.data-dot {
    animation: dataPulse 2.5s ease-in-out infinite;
}

.data-dot-d1 {
    animation: dataPulse 2.5s ease-in-out 0.3s infinite;
}

.data-dot-d2 {
    animation: dataPulse 2.5s ease-in-out 0.6s infinite;
}

.data-dot-d3 {
    animation: dataPulse 2.5s ease-in-out 0.9s infinite;
}

.data-dot-d4 {
    animation: dataPulse 2.5s ease-in-out 1.2s infinite;
}

@keyframes gearSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes dashFlow {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -20;
    }
}

@keyframes indicatorPulse {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes dataPulse {
    0%, 100% {
        opacity: 0.2;
        r: 1.5;
    }

    50% {
        opacity: 1;
        r: 2.5;
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 50%, rgba(194,112,62,0.05) 0%, transparent 55%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-primary-hover);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 0.6s 0.2s forwards;
}

    .hero-eyebrow::before {
        content: '';
        width: 32px;
        height: 2px;
        background: var(--brand-primary);
        opacity: 0.6;
    }

.hero h1 {
    font-size: clamp(36px, 4.8vw, 54px);
    font-weight: 700;
    color: var(--surface-dark);
    line-height: 1.15;
    max-width: 800px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.6s 0.3s forwards;
}

    .hero h1 .accent {
        color: var(--brand-primary-hover);
        display: block;
    }

.hero-body {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.75;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeIn 0.6s 0.45s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeIn 0.6s 0.5s forwards;
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-primary);
    color: #fff;
    background: var(--brand-primary);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(194,112,62,0.15);
}

    .btn-primary:hover {
        background: var(--brand-primary-hover);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 4px rgba(194,112,62,0.2);
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s;
    font-family: var(--font-primary);
    padding: 15px 30px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
}

    .btn-ghost:hover {
        color: var(--brand-primary);
        border-color: var(--brand-primary);
    }

/* INDUSTRIES */
.ind-strip {
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-light);
    padding: 32px 24px;
}

.ind-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ind-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ind-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 40px;
}

.ind-tag {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: color 0.3s;
}

    .ind-tag:hover {
        color: var(--accent-sage);
    }

/* SHARED */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
}

.sect-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

    .sect-label::before {
        content: '';
        width: 4px;
        height: 20px;
        background: var(--brand-primary);
        border-radius: var(--radius-sm);
        flex-shrink: 0;
    }

    .sect-label span {
        font-size: 11px;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

.sect-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sect-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.65;
}

/* CASE STUDIES */
.cases-bg {
    background: var(--surface-dark);
    border-top: 3px solid var(--brand-primary);
}

    .cases-bg .sect-label::before {
        background: var(--brand-primary-light);
    }

    .cases-bg .sect-label span {
        color: rgba(240,238,235,0.72);
    }

    .cases-bg .sect-heading {
        color: var(--text-on-dark);
        font-size: 36px;
    }

    .cases-bg .sect-desc {
        color: rgba(240,238,235,0.78);
    }

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

.case-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    padding: 28px 28px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

    .case-card:hover {
        border-color: rgba(194,112,62,0.35);
        background: rgba(255,255,255,0.05);
    }

    .case-card::before {
        content: '';
        position: absolute;
        top: 16px;
        bottom: 16px;
        left: 0;
        width: 3px;
        background: var(--brand-primary);
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
        opacity: 0.4;
        transition: opacity 0.2s;
    }

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

    .case-card summary {
        cursor: pointer;
        list-style: none;
        outline: none;
    }

        .case-card summary::-webkit-details-marker {
            display: none;
        }

        .case-card summary::marker {
            display: none;
            content: '';
        }

.case-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary-light);
    cursor: pointer;
    margin-top: 14px;
    padding: 8px 14px;
    background: rgba(194,112,62,0.08);
    border-radius: var(--radius-md);
    transition: color 0.2s, background 0.2s;
}

    .case-toggle:hover {
        background: rgba(194,112,62,0.15);
    }

    .case-toggle::after {
        content: '\2192';
        transition: transform 0.2s;
    }

details[open] .case-toggle::after {
    transform: rotate(90deg);
}

details[open] .case-toggle .toggle-text-closed {
    display: none;
}

details:not([open]) .case-toggle .toggle-text-open {
    display: none;
}

.case-expand {
    padding-top: 16px;
    animation: caseReveal 0.3s ease;
}

@keyframes caseReveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.case-result-badge {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: #8bbda4;
    background: rgba(91,138,114,0.15);
    border: 1px solid rgba(91,138,114,0.25);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    white-space: nowrap;
    line-height: 1.2;
}

.case-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-on-dark);
}

.case-pain {
    font-size: 15px;
    color: rgba(240,238,235,0.82);
    line-height: 1.7;
    margin-bottom: 16px;
}

.case-fix {
    font-size: 15px;
    color: rgba(240,238,235,0.82);
    line-height: 1.7;
    margin-bottom: 16px;
}

    .case-fix strong {
        color: var(--text-on-dark);
        font-weight: 600;
    }

.case-result {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(240,238,235,0.82);
}

    .case-result strong {
        color: #8bbda4;
        font-weight: 600;
    }

/* SERVICES */
.work-bg {
    background: var(--surface-card);
    border-top: 1px solid var(--border-light);
    position: relative;
}

    .work-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        opacity: 0.25;
        pointer-events: none;
        background-image: radial-gradient(circle, var(--border-light) 1px, transparent 1px);
        background-size: 24px 24px;
    }

    .work-bg .section {
        position: relative;
        z-index: 1;
    }

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
}

.svc-item {
    background: var(--surface-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
}

    .svc-item:hover {
        border-color: var(--border-strong);
        background: var(--surface-card);
    }

.svc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary-tint);
    border: 1px solid rgba(194,112,62,0.12);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: background 0.25s, border-color 0.25s;
}

.svc-item:hover .svc-icon {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.svc-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--brand-primary);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.25s;
}

.svc-item:hover .svc-icon svg {
    stroke: #fff;
}

.svc-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.svc-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.svc-primary {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    background: var(--surface-dark);
    border-color: var(--surface-dark);
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .svc-primary:hover {
        border-color: var(--brand-primary);
        background: var(--surface-dark-lighter);
    }

    .svc-primary .svc-icon {
        width: 48px;
        height: 48px;
        background: rgba(194,112,62,0.12);
        border-color: rgba(194,112,62,0.2);
        margin-bottom: 24px;
    }

    .svc-primary:hover .svc-icon {
        background: var(--brand-primary);
        border-color: var(--brand-primary);
    }

    .svc-primary h3 {
        font-size: 24px;
        color: var(--text-on-dark);
        margin-bottom: 12px;
    }

    .svc-primary p {
        color: var(--text-on-dark-muted);
        font-size: 16px;
        line-height: 1.7;
        max-width: 460px;
    }

    .svc-primary .svc-sub {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.06);
        font-family: var(--font-mono);
        font-size: 12px;
        color: rgba(240,238,235,0.35);
        letter-spacing: 0.3px;
    }

.svc-wide {
    grid-column: 1 / 3;
}

/* WHY US — staggered */
.why-bg {
    background: var(--surface-muted);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
    max-width: 680px;
    position: relative;
}

    .why-item:last-child {
        border-bottom: none;
    }

    .why-item:nth-child(odd) {
        margin-left: 0;
    }

    .why-item:nth-child(even) {
        margin-left: auto;
    }

    .why-item::before {
        content: '';
        position: absolute;
        top: 48px;
        width: 3px;
        height: 40px;
        background: var(--brand-primary);
        border-radius: var(--radius-sm);
        opacity: 0.25;
        transition: opacity 0.3s, height 0.3s;
    }

    .why-item:nth-child(odd)::before {
        left: -20px;
    }

    .why-item:nth-child(even)::before {
        right: -20px;
        left: auto;
    }

    .why-item:hover::before {
        opacity: 1;
        height: 56px;
    }

.why-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: #706b65;
    flex-shrink: 0;
    padding-top: 2px;
    transition: color 0.3s;
}

.why-item:hover .why-num {
    color: var(--brand-primary);
}

.why-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.why-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA / CLOSER */
.closer-bg {
    background: var(--surface-card);
    border-top: 1px solid var(--border-light);
}

.closer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .closer-inner h2 {
        font-size: 40px;
        font-weight: 700;
        color: var(--text-primary);
        line-height: 1.2;
        margin-bottom: 16px;
    }

        .closer-inner h2 span {
            color: var(--brand-primary);
            display: block;
        }

    .closer-inner p {
        font-size: 19px;
        color: var(--text-secondary);
        line-height: 1.7;
        max-width: 520px;
        margin-bottom: 36px;
    }

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

.closer-detail {
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255,255,255,0.07);
    background: var(--surface-dark);
}

.footer-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 48px;
    align-items: start;
}

.footer-brand-col {
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-on-dark);
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

    .footer-logo .dot {
        color: var(--brand-primary);
    }

.footer-tagline {
    font-size: 14px;
    color: var(--text-on-dark-muted);
    line-height: 1.65;
    max-width: 300px;
}

.footer-nav-col {
}

.footer-nav-heading {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-on-dark-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-nav-links a {
        font-size: 15px;
        font-weight: 500;
        color: rgba(240,238,235,0.55);
        text-decoration: none;
        transition: color 0.15s;
    }

        .footer-nav-links a:hover {
            color: var(--brand-primary-light);
        }

.footer-contact-col {
}

.footer-contact-item {
    margin-bottom: 14px;
}

    .footer-contact-item:last-child {
        margin-bottom: 0;
    }

.footer-contact-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-on-dark-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.footer-contact-val {
    font-size: 15px;
    font-weight: 500;
    color: rgba(240,238,235,0.55);
}

    .footer-contact-val a {
        color: var(--brand-primary-light);
        text-decoration: none;
    }

        .footer-contact-val a:hover {
            text-decoration: underline;
        }

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-legal {
    font-size: 12px;
    color: rgba(240,238,235,0.3);
}

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

    .footer-legal-links a {
        font-size: 12px;
        color: rgba(240,238,235,0.3);
        text-decoration: none;
        transition: color 0.15s;
    }

        .footer-legal-links a:hover {
            color: rgba(240,238,235,0.6);
        }

/* FLOATING CTA */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

    .floating-cta.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .floating-cta a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 15px 26px;
        font-size: 16px;
        font-weight: 600;
        font-family: var(--font-primary);
        color: #fff;
        background: var(--brand-primary);
        border: none;
        border-radius: var(--radius-lg);
        cursor: pointer;
        text-decoration: none;
        box-shadow: 0 4px 24px rgba(194,112,62,0.3), 0 1px 4px rgba(0,0,0,0.1);
        transition: background 0.15s, box-shadow 0.15s;
    }

        .floating-cta a:hover {
            background: var(--brand-primary-hover);
            box-shadow: 0 6px 32px rgba(194,112,62,0.4), 0 2px 8px rgba(0,0,0,0.15);
        }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* RESPONSIVE — ultra-wide tiers */
@media (min-width: 3200px) {
    .nav-inner, .hero-inner, .section, .ind-inner, .closer-inner, .footer-main, .footer-bottom {
        max-width: 2200px;
    }

    .nav-inner {
        padding: 20px 48px;
    }

    .nav-brand-name {
        font-size: 26px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .nav-links {
        gap: 36px;
    }

    .hero-inner {
        padding: 220px 0 140px;
    }

    .hero h1 {
        font-size: 72px;
        max-width: 1200px;
    }

    .hero-body {
        font-size: 22px;
        max-width: 780px;
    }

    .hero-eyebrow {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .hero-bg-graphic {
        width: 1200px;
        height: 1200px;
    }

    .btn-primary {
        padding: 22px 44px;
        font-size: 19px;
    }

    .btn-ghost {
        font-size: 19px;
        padding: 22px 44px;
    }

    .ind-strip {
        padding: 48px 48px;
    }

    .ind-tag {
        font-size: 18px;
    }

    .ind-label {
        font-size: 14px;
    }

    .section {
        padding: 140px 48px;
    }

    .sect-heading {
        font-size: 44px;
    }

    .sect-desc {
        font-size: 19px;
        max-width: 680px;
    }

    .sect-label span {
        font-size: 13px;
    }

    .case-card {
        padding: 40px 40px 40px 44px;
    }

        .case-card h3 {
            font-size: 22px;
        }

    .case-pain, .case-fix, .case-result {
        font-size: 16px;
    }

    .case-result-badge {
        font-size: 15px;
        padding: 10px 20px;
    }

    .case-toggle {
        font-size: 15px;
        padding: 10px 18px;
    }

    .services-grid {
        gap: 24px;
    }

    .svc-primary {
        padding: 56px;
    }

        .svc-primary h3 {
            font-size: 28px;
        }

        .svc-primary p {
            font-size: 18px;
            max-width: 560px;
        }

    .svc-item h3 {
        font-size: 19px;
    }

    .svc-item p {
        font-size: 16px;
    }

    .svc-icon {
        width: 52px;
        height: 52px;
    }

        .svc-icon svg {
            width: 26px;
            height: 26px;
        }

    .why-item {
        padding: 56px 0;
        max-width: 820px;
    }

    .why-content h3 {
        font-size: 22px;
    }

    .why-content p {
        font-size: 17px;
    }

    .why-num {
        font-size: 13px;
    }

    .closer-inner {
        padding: 140px 48px;
    }

        .closer-inner h2 {
            font-size: 52px;
        }

        .closer-inner p {
            font-size: 20px;
            max-width: 600px;
        }

    .closer-detail {
        font-size: 15px;
    }

    .floating-cta a {
        padding: 18px 32px;
        font-size: 17px;
    }

    .footer-main {
        padding: 72px 48px 52px;
        gap: 64px;
    }

    .footer-logo {
        font-size: 28px;
    }

    .footer-tagline {
        font-size: 16px;
        max-width: 360px;
    }

    .footer-nav-heading, .footer-contact-label {
        font-size: 12px;
    }

    .footer-nav-links a, .footer-contact-val {
        font-size: 17px;
    }

    .footer-bottom {
        padding: 24px 48px;
    }

    .footer-legal, .footer-legal-links a {
        font-size: 13px;
    }
}

@media (min-width: 2560px) and (max-width: 3199px) {
    .nav-inner, .hero-inner, .section, .ind-inner, .closer-inner, .footer-main, .footer-bottom {
        max-width: 1800px;
    }

    .nav-inner {
        padding: 18px 40px;
    }

    .nav-brand-name {
        font-size: 24px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero-inner {
        padding: 180px 0 120px;
    }

    .hero h1 {
        font-size: 60px;
        max-width: 1000px;
    }

    .hero-body {
        font-size: 19px;
        max-width: 680px;
    }

    .hero-bg-graphic {
        width: 1000px;
        height: 1000px;
        right: -20px;
    }

    .btn-primary {
        padding: 18px 36px;
        font-size: 17px;
    }

    .btn-ghost {
        font-size: 17px;
        padding: 18px 36px;
    }

    .ind-tag {
        font-size: 16px;
    }

    .section {
        padding: 120px 40px;
    }

    .sect-heading {
        font-size: 38px;
    }

    .sect-desc {
        font-size: 17px;
        max-width: 620px;
    }

    .case-card {
        padding: 36px 36px 36px 40px;
    }

        .case-card h3 {
            font-size: 20px;
        }

    .case-pain, .case-fix, .case-result {
        font-size: 15px;
    }

    .case-result-badge {
        font-size: 14px;
        padding: 9px 18px;
    }

    .case-toggle {
        font-size: 14px;
    }

    .services-grid {
        gap: 20px;
    }

    .svc-primary {
        padding: 48px;
    }

        .svc-primary h3 {
            font-size: 26px;
        }

        .svc-primary p {
            font-size: 16px;
            max-width: 500px;
        }

    .svc-item h3 {
        font-size: 17px;
    }

    .svc-item p {
        font-size: 14px;
    }

    .why-item {
        padding: 52px 0;
        max-width: 740px;
    }

    .why-content h3 {
        font-size: 20px;
    }

    .why-content p {
        font-size: 16px;
    }

    .closer-inner {
        padding: 120px 40px;
    }

        .closer-inner h2 {
            font-size: 44px;
        }

        .closer-inner p {
            font-size: 18px;
            max-width: 540px;
        }

    .floating-cta a {
        padding: 16px 28px;
        font-size: 16px;
    }

    .footer-main {
        padding: 64px 40px 48px;
        gap: 56px;
    }

    .footer-logo {
        font-size: 26px;
    }

    .footer-tagline {
        font-size: 15px;
        max-width: 320px;
    }

    .footer-nav-links a, .footer-contact-val {
        font-size: 16px;
    }

    .footer-bottom {
        padding: 22px 40px;
    }
}

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

    .svc-primary {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .svc-wide {
        grid-column: 1 / -1;
    }

    .why-item {
        max-width: 100%;
    }

        .why-item:nth-child(even) {
            margin-left: 0;
        }

        .why-item::before {
            display: none;
        }
}
/* MOBILE NAV */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: -8px;
}

    .nav-hamburger span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--text-on-dark);
        margin: 5px 0;
        transition: transform 0.3s, opacity 0.3s;
    }

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

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

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

.nav-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface-dark);
    z-index: 99;
    padding: 100px 24px 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

    .nav-mobile-overlay.open {
        display: flex;
    }

    .nav-mobile-overlay a {
        font-size: 20px;
        font-weight: 600;
        color: var(--text-on-dark-muted);
        text-decoration: none;
        transition: color 0.15s;
    }

        .nav-mobile-overlay a:hover {
            color: var(--brand-primary-light);
        }

@media (max-width: 600px) {
    /* Nav */
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 0 16px;
    }

    .hero-inner {
        padding: 100px 0 48px;
    }

    .hero-bg-graphic {
        display: none;
    }

    .hero h1 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .hero-body {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .hero-eyebrow {
        font-size: 11px;
        margin-bottom: 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .hero-cta .btn-primary, .hero-cta .btn-ghost {
            text-align: center;
            justify-content: center;
            padding: 14px 24px;
            font-size: 15px;
        }

    /* Industry strip */
    .ind-strip {
        padding: 24px 16px;
    }

    .ind-row {
        gap: 6px 20px;
    }

    .ind-tag {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    /* Sections */
    .section {
        padding: 56px 16px;
    }

    .sect-heading {
        font-size: 26px;
    }

    .sect-desc {
        font-size: 15px;
        margin-bottom: 32px;
    }

    /* Case studies */
    .cases-bg .sect-heading {
        font-size: 28px;
    }

    .case-card {
        padding: 20px 16px 20px 20px;
    }

        .case-card::before {
            top: 12px;
            bottom: 12px;
        }

    .case-header {
        flex-direction: column;
        gap: 10px;
    }

    .case-result-badge {
        font-size: 12px;
        padding: 6px 10px;
        align-self: flex-start;
    }

    .case-card h3 {
        font-size: 17px;
    }

    .case-pain, .case-fix, .case-result {
        font-size: 15px;
        line-height: 1.7;
    }

    .case-toggle {
        font-size: 13px;
        padding: 7px 12px;
    }

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

    .svc-primary {
        grid-column: 1;
        grid-row: auto;
        padding: 24px;
    }

        .svc-primary h3 {
            font-size: 20px;
        }

        .svc-primary p {
            font-size: 15px;
        }

    .svc-wide {
        grid-column: 1;
    }

    .svc-item {
        padding: 20px;
    }

        .svc-item h3 {
            font-size: 16px;
        }

        .svc-item p {
            font-size: 14px;
        }

        .svc-item[style*="grid-column"] {
            grid-column: 1 !important;
            grid-template-columns: auto 1fr !important;
        }

    /* Why section */
    .why-item {
        padding: 28px 0;
        gap: 16px;
        max-width: 100%;
    }

        .why-item:nth-child(even) {
            margin-left: 0;
        }

        .why-item::before {
            display: none;
        }

    .why-content h3 {
        font-size: 17px;
    }

    .why-content p {
        font-size: 15px;
    }

    /* Closer */
    .closer-inner {
        padding: 64px 16px;
    }

        .closer-inner h2 {
            font-size: 28px;
        }

        .closer-inner p {
            font-size: 16px;
        }

    .closer-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
    }

        .closer-cta .btn-primary, .closer-cta .btn-ghost {
            text-align: center;
            justify-content: center;
            padding: 14px 24px;
            font-size: 15px;
        }

        .closer-cta .btn-ghost {
            font-size: 13px;
            word-break: break-all;
        }

    /* Floating CTA */
    .floating-cta {
        bottom: 16px;
        right: 16px;
    }

        .floating-cta a {
            padding: 12px 20px;
            font-size: 14px;
        }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 16px 32px;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
