:root {
    --navy-950: #071624;
    --navy-900: #0d2137;
    --navy-800: #17344f;
    --teal-500: #2dd4bf;
    --teal-600: #20b9a6;
    --teal-700: #147d72;
    --teal-100: #ccfbf1;
    --paper: #f4f6f8;
    --white: #ffffff;
    --ink: #0d2137;
    --muted: #58697a;
    --line: #dce4e9;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow: 0 22px 60px rgba(7, 22, 36, 0.14);
    --content: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

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

a {
    color: inherit;
}

section[id] {
    scroll-margin-top: 24px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--navy-950);
}

.shell {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

.site-header,
.hero,
.site-footer {
    color: var(--white);
    background: var(--navy-950);
}

.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__inner,
.site-nav,
.hero__actions,
.footer__inner {
    display: flex;
    align-items: center;
}

.site-header__inner {
    min-height: 84px;
    justify-content: space-between;
    gap: 32px;
}

.site-nav {
    gap: 24px;
    flex-wrap: wrap;
}

.site-nav a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d9e5eb;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--teal-500);
}

.brand {
    flex: 0 0 auto;
}

.brand img,
.site-footer img {
    width: 148px;
    height: auto;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 112px;
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero::before {
    width: 34rem;
    height: 34rem;
    top: -24rem;
    right: 8%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.2), rgba(45, 212, 191, 0));
}

.hero::after {
    width: 42rem;
    height: 42rem;
    right: -5rem;
    bottom: -31rem;
    border: 1px solid rgba(45, 212, 191, 0.34);
    box-shadow: 0 0 0 70px rgba(45, 212, 191, 0.025), 0 0 0 140px rgba(45, 212, 191, 0.018);
}

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

.hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.75rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.hero__lede {
    max-width: 780px;
    margin: 32px 0 0;
    color: #d9e5eb;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero__actions {
    gap: 14px;
    margin: 32px 0 24px;
    flex-wrap: wrap;
}

.hero__credential {
    margin: 0;
    color: var(--teal-100);
    font-weight: 700;
}

.hero--about {
    padding-bottom: 96px;
}

.hero--about h1 {
    max-width: 1040px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 800;
    text-decoration: none;
}

.button--primary {
    color: var(--navy-950);
    background: var(--teal-500);
}

.button--primary:hover {
    background: #55e3d0;
}

.button--secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

.button--secondary:hover {
    border-color: var(--teal-500);
    color: var(--teal-500);
}

.section {
    padding: 96px 0;
}

.section--white {
    background: var(--white);
}

.section--navy {
    color: var(--white);
    background: var(--navy-900);
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--teal-700);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero .eyebrow,
.section--navy .eyebrow {
    color: var(--teal-500);
}

.section-title {
    max-width: 900px;
    margin: 0 0 24px;
    font-size: clamp(2.1rem, 4.5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.section-lede {
    max-width: 780px;
    margin: 0 0 42px;
    color: var(--muted);
    font-size: 1.16rem;
}

.section--navy .section-lede {
    color: #d9e5eb;
}

.text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--teal-700);
    font-weight: 800;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.product-grid,
.story-grid,
.capability-grid,
.principle-grid {
    display: grid;
    gap: 24px;
}

.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 54px 0 80px;
}

.product-card {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    padding: 36px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--navy-900);
    box-shadow: var(--shadow);
}

.product-card:nth-child(2) {
    background: var(--navy-800);
}

.product-card h3 {
    margin: 12px 0;
    font-size: 2rem;
}

.product-card p,
.product-card li {
    color: #d9e5eb;
}

.product-card ul {
    margin-bottom: 26px;
    padding-left: 20px;
}

.product-card .text-link {
    margin-top: auto;
    color: var(--teal-500);
}

.product-label,
.story__label {
    color: var(--teal-700);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-card .product-label {
    color: var(--teal-500);
}

.solution-list {
    border-top: 1px solid var(--line);
}

.solution-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
    gap: 56px;
    padding: 42px 0;
    border-bottom: 1px solid var(--line);
}

.solution-row h3 {
    margin: 8px 0 0;
    font-size: 1.55rem;
    line-height: 1.15;
}

.solution-row__promise {
    margin-top: 0;
    font-size: 1.22rem;
    font-weight: 800;
}

.tag-list {
    display: flex;
    gap: 9px;
    margin: 22px 0 0;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;
}

.tag-list li {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 1rem;
}

.portfolio-close {
    margin: 42px 0 0;
}

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

.story {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.story h3 {
    margin-top: 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

.story__block + .story__block {
    margin-top: 20px;
}

.story__block p {
    margin: 5px 0 0;
}

.process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 44px;
    counter-reset: process;
}

.process__step {
    min-width: 0;
    padding: 28px 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    counter-increment: process;
}

.process__step:first-child {
    border-left: 0;
}

.process__step::before {
    color: var(--teal-500);
    font-weight: 800;
    content: "0" counter(process);
}

.process__step h3 {
    margin: 14px 0 8px;
    line-height: 1.2;
}

.process__step p {
    margin: 0;
    color: #d9e5eb;
}

.capability-grid,
.principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability,
.principle {
    padding: 28px;
    border-top: 3px solid var(--teal-500);
    background: var(--paper);
}

.capability h3,
.principle h3 {
    margin-top: 0;
}

.differentiator {
    margin: 44px 0 0;
    padding: 24px 0;
    border-block: 1px solid var(--line);
    font-size: clamp(1.2rem, 2.6vw, 1.9rem);
    font-weight: 800;
}

.perspective-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.perspective {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.perspective h3 {
    margin-top: 0;
}

.section--navy .perspective {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.section--navy .perspective p {
    color: #d9e5eb;
}

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

.expectation {
    padding: 26px 0;
    border-top: 2px solid var(--navy-900);
}

.expectation h3 {
    margin-top: 0;
}

.cta-panel {
    padding: clamp(36px, 7vw, 84px);
    border-radius: var(--radius-lg);
    color: var(--navy-950);
    background: var(--teal-500);
}

.cta-panel .eyebrow {
    color: var(--navy-900);
}

.cta-panel h2 {
    max-width: 820px;
    margin: 0 0 24px;
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.cta-panel p {
    max-width: 700px;
    font-size: 1.08rem;
}

.cta-panel .button {
    margin: 18px 16px 0 0;
    color: var(--white);
    background: var(--navy-950);
}

.cta-panel .text-link {
    color: var(--navy-950);
}

.site-footer {
    padding: 48px 0;
}

.footer__inner {
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__inner p {
    margin: 0;
    color: #d9e5eb;
}

@media (max-width: 920px) {
    .site-header__inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0;
    }

    .site-nav {
        width: 100%;
        gap: 10px 20px;
    }

    .product-grid,
    .story-grid,
    .capability-grid,
    .principle-grid {
        grid-template-columns: 1fr;
    }

    .solution-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .process__step,
    .process__step:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-left: 0;
    }

    .perspective-grid,
    .expectation-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .shell {
        width: min(calc(100% - 28px), var(--content));
    }

    .hero {
        padding: 64px 0 80px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 15vw, 4.6rem);
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .section {
        padding: 72px 0;
    }

    .product-card,
    .story,
    .capability,
    .principle {
        padding: 24px;
    }

    .perspective-grid,
    .expectation-list {
        grid-template-columns: 1fr;
    }

    .cta-panel .button {
        width: 100%;
        margin-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
