:root {
    --ink-980: #040b19;
    --ink-940: #08182f;
    --ink-900: #0d2549;
    --ink-780: #1b355e;
    --ink-650: #3f567a;
    --ink-500: #637895;
    --surface-0: #ffffff;
    --surface-50: #f3f7ff;
    --surface-100: #e6eef9;
    --border: #d4e1f3;
    --signal-blue: #2f79e8;
    --signal-teal: #109f9e;
    --signal-amber: #ff9d45;
    --success: #0b7a48;
    --error: #b33434;
    --container: 1240px;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 16px 36px rgba(11, 34, 70, 0.11);
    --shadow-strong: 0 24px 52px rgba(6, 20, 41, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink-900);
    line-height: 1.62;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 52%, #edf3fb 100%);
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 3rem));
    margin-inline: auto;
}

.section {
    padding: clamp(4.4rem, 8vw, 7rem) 0;
}

.eyebrow {
    margin-bottom: 0.8rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--signal-blue);
}

.section-head,
.section-head-light {
    max-width: 820px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2,
.section-head-light h2 {
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.section-head-light .eyebrow {
    color: #ffcd9d;
}

.section-head-light h2 {
    color: #f2f7ff;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 1001;
    background: #ffffff;
    color: var(--ink-900);
    border: 2px solid var(--signal-blue);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-shell {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(9px);
}

.site-header.scrolled .nav-shell {
    box-shadow: 0 14px 30px rgba(10, 30, 60, 0.11);
}

.main-nav {
    min-height: 5.3rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.9rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.72rem;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: #ffffff;
    background: linear-gradient(140deg, var(--signal-blue), var(--signal-teal));
    box-shadow: 0 12px 20px rgba(18, 67, 152, 0.3);
}

.brand-wordmark {
    display: grid;
    line-height: 1.1;
}

.brand-wordmark strong {
    font-size: 1.06rem;
    color: var(--ink-900);
}

.brand-wordmark small {
    margin-top: 0.1rem;
    color: var(--ink-500);
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.6rem);
}

.nav-links a {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--ink-650);
    letter-spacing: 0.01em;
    padding: 0.2rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.24rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--signal-blue), var(--signal-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
    color: var(--ink-900);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-cta {
    min-height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    font-size: 0.87rem;
    font-weight: 700;
    color: #f4f8ff;
    background: linear-gradient(120deg, var(--signal-blue), var(--signal-teal));
    border: 1px solid rgba(31, 92, 195, 0.2);
    box-shadow: 0 12px 22px rgba(30, 83, 181, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(30, 83, 181, 0.3);
}

.menu-toggle {
    display: none;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.65rem;
    border: 1px solid var(--border);
    background: #ffffff;
    cursor: pointer;
}

.menu-bar {
    display: block;
    width: 1.3rem;
    height: 2px;
    margin: 0.21rem auto;
    background: var(--ink-650);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(5.2rem, 8.5vw, 7.3rem);
    background:
        radial-gradient(circle at 11% 16%, rgba(51, 122, 228, 0.18), transparent 38%),
        radial-gradient(circle at 88% 12%, rgba(16, 159, 158, 0.2), transparent 34%),
        linear-gradient(180deg, #f6f9ff 0%, #edf3fd 58%, #e6eef9 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(transparent 95%, rgba(70, 101, 153, 0.08) 95%);
    background-size: 100% 32px;
}

.hero::after {
    content: '';
    position: absolute;
    right: -8rem;
    bottom: -8rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    border: 2px dashed rgba(76, 129, 211, 0.25);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: clamp(1.6rem, 3.8vw, 3.3rem);
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.25rem, 5vw, 4.35rem);
    line-height: 1.02;
    letter-spacing: -0.034em;
    max-width: 13.4ch;
}

.hero-lead {
    margin-top: 1.35rem;
    max-width: 58ch;
    color: var(--ink-650);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.hero-actions {
    margin-top: 1.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.76rem;
}

.btn {
    min-height: 3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.3rem;
    font-size: 0.91rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(120deg, var(--signal-blue), var(--signal-teal));
    box-shadow: 0 14px 24px rgba(21, 78, 177, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(21, 78, 177, 0.33);
}

.btn-outline {
    color: var(--ink-900);
    border-color: rgba(26, 65, 128, 0.22);
    background: rgba(255, 255, 255, 0.82);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    background: #ffffff;
}

.hero-kpis {
    margin-top: 1.95rem;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.hero-kpis li {
    border: 1px solid rgba(45, 91, 167, 0.17);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.84);
    padding: 0.82rem 0.85rem;
}

.hero-kpis span {
    display: block;
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hero-kpis p {
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--ink-650);
}

.hero-stage {
    position: relative;
    min-height: 34rem;
}

.stage-main,
.stage-card {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(230, 240, 255, 0.95);
    background: #ffffff;
}

.stage-main {
    position: absolute;
    inset: 0 4.5rem 2rem 0;
    clip-path: polygon(0 0, 92% 0, 100% 11%, 100% 100%, 0 100%);
}

.stage-main img {
    height: 100%;
    object-fit: cover;
}

.stage-main figcaption {
    position: absolute;
    left: 1rem;
    bottom: 0.9rem;
    font-size: 0.81rem;
    font-weight: 700;
    color: #eef4ff;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    background: rgba(7, 19, 41, 0.56);
}

.stage-card {
    position: absolute;
    width: min(15.8rem, 46%);
    border-radius: var(--radius-md);
}

.stage-card img {
    height: 8.5rem;
    object-fit: cover;
}

.stage-card figcaption {
    padding: 0.46rem 0.66rem 0.52rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink-650);
}

.stage-card-a {
    right: 0;
    top: 2.4rem;
    transform: rotate(2deg);
}

.stage-card-b {
    right: 0.7rem;
    bottom: 0;
    transform: rotate(-2.5deg);
}

.stage-badge {
    position: absolute;
    left: 1rem;
    top: -1rem;
    max-width: 14.4rem;
    padding: 0.72rem 0.8rem;
    border-radius: 12px;
    background: linear-gradient(120deg, rgba(13, 37, 73, 0.92), rgba(19, 69, 131, 0.9));
    color: #eaf2ff;
    border: 1px solid rgba(178, 205, 250, 0.35);
    box-shadow: 0 14px 28px rgba(8, 28, 58, 0.27);
}

.stage-badge strong {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: #ffd3a6;
}

.stage-badge span {
    font-size: 0.78rem;
    line-height: 1.36;
}

.flowrail {
    background: linear-gradient(98deg, #0a1b38 0%, #10315f 55%, #194e87 100%);
    color: #ecf3ff;
    border-top: 1px solid rgba(194, 214, 247, 0.24);
    border-bottom: 1px solid rgba(194, 214, 247, 0.24);
}

.flowrail-inner {
    padding: 1.65rem 0;
}

.flowrail-title {
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.95rem;
    color: #d8e8ff;
}

.flowrail-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.flowrail-list li {
    position: relative;
    border: 1px solid rgba(204, 222, 250, 0.22);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.8rem;
}

.flowrail-list li::before {
    content: '';
    position: absolute;
    top: calc(50% - 4px);
    right: -0.58rem;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: #9cc2ff;
}

.flowrail-list li:last-child::before {
    display: none;
}

.flowrail-list strong {
    display: block;
    font-size: 0.93rem;
    color: #f3f8ff;
}

.flowrail-list span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.79rem;
    line-height: 1.42;
    color: rgba(227, 238, 255, 0.87);
}

.story {
    background: #ffffff;
}

.story-grid {
    display: grid;
    grid-template-columns: 0.96fr 1.04fr;
    gap: clamp(1.3rem, 3.2vw, 2.9rem);
    align-items: start;
}

.story-media {
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 7.6rem;
}

.story-media img {
    min-height: 26rem;
    object-fit: cover;
}

.story-content h2 {
    font-size: clamp(1.88rem, 3.9vw, 3rem);
    line-height: 1.13;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.story-content > p {
    color: var(--ink-650);
    margin-bottom: 0.85rem;
    max-width: 58ch;
}

.story-timeline {
    margin-top: 1.25rem;
    padding-left: 1rem;
    border-left: 2px solid #cfe0f8;
    display: grid;
    gap: 0.88rem;
}

.story-timeline article {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(110deg, #f8fbff 0%, #edf4ff 100%);
    padding: 0.76rem 0.9rem 0.78rem;
}

.story-timeline article::before {
    content: '';
    position: absolute;
    left: -1.55rem;
    top: 1rem;
    width: 0.64rem;
    height: 0.64rem;
    border-radius: 50%;
    background: var(--signal-blue);
    box-shadow: 0 0 0 4px #e8f1ff;
}

.story-timeline h3 {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.26rem;
    color: var(--ink-900);
}

.story-timeline p {
    font-size: 0.89rem;
    color: var(--ink-650);
}

.story-inline-photo {
    margin: 1.12rem 0 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(14, 39, 84, 0.12);
}

.story-inline-photo img {
    height: 11rem;
    object-fit: cover;
}

.model {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 7% 8%, rgba(48, 121, 232, 0.28), transparent 40%),
        radial-gradient(circle at 93% 10%, rgba(16, 159, 158, 0.25), transparent 34%),
        linear-gradient(148deg, #050f20 0%, #0a1e3f 52%, #13376d 100%);
}

.model::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(transparent 94%, rgba(175, 199, 239, 0.14) 94%);
    background-size: 100% 30px;
    pointer-events: none;
}

.model-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.model-step {
    border: 1px solid rgba(186, 210, 248, 0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(10, 30, 64, 0.68);
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    box-shadow: 0 18px 36px rgba(4, 12, 25, 0.28);
}

.step-media img {
    height: 100%;
    min-height: 14rem;
    object-fit: cover;
}

.step-copy {
    padding: 0.94rem 1rem 1rem;
    position: relative;
}

.step-index {
    position: absolute;
    right: 0.8rem;
    top: 0.5rem;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(166, 195, 242, 0.16);
}

.step-copy h3 {
    color: #f0f6ff;
    font-size: 1.08rem;
    line-height: 1.2;
    margin-bottom: 0.42rem;
    max-width: 20ch;
}

.step-copy p {
    color: rgba(223, 235, 255, 0.88);
    font-size: 0.89rem;
    line-height: 1.5;
    max-width: 38ch;
}

.step-2,
.step-4 {
    grid-template-columns: 1.05fr 0.95fr;
}

.step-2 .step-media,
.step-4 .step-media {
    order: 2;
}

.step-2 .step-copy,
.step-4 .step-copy {
    order: 1;
}

.portfolio {
    background: linear-gradient(180deg, #f7fbff 0%, #eef4fd 100%);
}

.portfolio-mosaic {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(72px, 92px);
    gap: 0.92rem;
}

.mosaic-tile {
    margin: 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(187, 206, 238, 0.75);
    box-shadow: 0 12px 26px rgba(12, 35, 72, 0.13);
}

.mosaic-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 36%, rgba(5, 17, 35, 0.82) 100%);
}

.mosaic-tile img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mosaic-tile:hover img {
    transform: scale(1.04);
}

.tile-caption {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.75rem;
    z-index: 1;
}

.tile-caption h3 {
    color: #ecf3ff;
    font-size: 0.99rem;
    line-height: 1.2;
}

.tile-caption p {
    margin-top: 0.25rem;
    font-size: 0.79rem;
    line-height: 1.42;
    color: rgba(223, 236, 255, 0.88);
}

.tile-1 {
    grid-column: span 7;
    grid-row: span 4;
}

.tile-2 {
    grid-column: span 5;
    grid-row: span 2;
}

.tile-3 {
    grid-column: span 5;
    grid-row: span 2;
}

.tile-4 {
    grid-column: span 4;
    grid-row: span 3;
}

.tile-5 {
    grid-column: span 4;
    grid-row: span 3;
}

.tile-6 {
    grid-column: span 4;
    grid-row: span 3;
}

.network {
    background: #ffffff;
}

.network-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.2rem, 3vw, 2.4rem);
    align-items: center;
}

.network-board {
    position: relative;
    min-height: 28rem;
}

.network-main-photo {
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.network-main-photo img {
    height: 100%;
    min-height: 28rem;
    object-fit: cover;
}

.network-floating-photo {
    margin: 0;
    position: absolute;
    right: -0.8rem;
    bottom: -0.7rem;
    width: min(18rem, 54%);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(180, 203, 239, 0.9);
    box-shadow: 0 18px 34px rgba(7, 24, 49, 0.2);
    background: #ffffff;
}

.network-floating-photo img {
    height: 8.9rem;
    object-fit: cover;
}

.network-floating-photo figcaption {
    padding: 0.48rem 0.68rem 0.55rem;
    font-size: 0.76rem;
    color: var(--ink-650);
}

.network-content h2 {
    font-size: clamp(1.9rem, 3.8vw, 2.95rem);
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.network-content > p {
    color: var(--ink-650);
    margin-bottom: 1rem;
    max-width: 54ch;
}

.network-metrics {
    list-style: none;
    display: grid;
    gap: 0.58rem;
}

.network-metrics li {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: linear-gradient(100deg, #f8fbff 0%, #edf4ff 100%);
    padding: 0.64rem 0.76rem;
}

.network-metrics strong {
    display: block;
    color: var(--ink-900);
    font-size: 0.9rem;
    margin-bottom: 0.16rem;
}

.network-metrics span {
    font-size: 0.84rem;
    color: var(--ink-650);
}

.network-cards {
    margin-top: 2.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.network-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(8, 31, 67, 0.11);
}

.network-card img {
    height: 10.2rem;
    object-fit: cover;
}

.network-card div {
    padding: 0.84rem 0.92rem 0.98rem;
}

.network-card h3 {
    font-size: 1.01rem;
    line-height: 1.22;
    color: var(--ink-900);
    margin-bottom: 0.34rem;
}

.network-card p {
    font-size: 0.88rem;
    color: var(--ink-650);
}

.proof {
    background:
        radial-gradient(circle at 88% 0%, rgba(36, 112, 225, 0.16), transparent 35%),
        linear-gradient(180deg, #f7faff 0%, #eef3fc 100%);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
}

.proof-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(10, 34, 70, 0.1);
    position: relative;
}

.proof-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--signal-blue), var(--signal-amber));
}

.proof-card img {
    height: 9.8rem;
    object-fit: cover;
}

.proof-card h3 {
    font-size: 0.94rem;
    color: var(--ink-900);
    line-height: 1.25;
    padding: 0.72rem 0.78rem 0.86rem;
}

.contact {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 14%, rgba(36, 111, 223, 0.18), transparent 35%),
        linear-gradient(180deg, #f2f7ff 0%, #e8effb 100%);
}

.contact::before {
    content: '';
    position: absolute;
    right: -10rem;
    top: -5rem;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    border: 1px dashed rgba(70, 120, 200, 0.26);
    pointer-events: none;
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1rem, 2.6vw, 1.9rem);
    align-items: start;
}

.contact-intro {
    border: 1px solid rgba(186, 206, 239, 0.88);
    border-radius: var(--radius-xl);
    padding: clamp(1rem, 2.2vw, 1.8rem);
    background: linear-gradient(130deg, #0b2144 0%, #123665 48%, #164a86 100%);
    color: #e8f1ff;
    box-shadow: 0 24px 44px rgba(8, 25, 51, 0.26);
}

.contact-intro .eyebrow {
    color: #ffcf9f;
}

.contact-intro h2 {
    font-size: clamp(1.85rem, 3.7vw, 2.85rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    color: #f3f8ff;
}

.contact-intro > p {
    color: rgba(229, 239, 255, 0.92);
    max-width: 56ch;
}

.contact-points {
    margin-top: 1.18rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.contact-points div {
    border: 1px solid rgba(191, 214, 250, 0.36);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.68rem 0.78rem;
}

.contact-points h3 {
    font-size: 0.91rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.contact-points p,
.contact-points a {
    font-size: 0.84rem;
    line-height: 1.47;
    color: rgba(229, 239, 255, 0.9);
}

.contact-points a:hover,
.contact-points a:focus-visible {
    color: #ffffff;
}

.contact-form-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 2.1vw, 1.6rem);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(10, 34, 70, 0.14);
}

.contact-form-card h3 {
    font-size: 1.32rem;
    color: var(--ink-900);
    margin-bottom: 0.84rem;
}

.form {
    display: grid;
    gap: 0.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.form-group {
    display: grid;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink-650);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 9px;
    font: inherit;
    font-size: 0.9rem;
    color: var(--ink-900);
    padding: 0.64rem 0.72rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 7.5rem;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--signal-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 121, 232, 0.18);
}

.form-group input.field-error,
.form-group textarea.field-error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(179, 52, 52, 0.16);
}

.form-submit {
    margin-top: 0.18rem;
    width: 100%;
}

.form-status {
    min-height: 1.3rem;
    font-size: 0.83rem;
    color: var(--ink-650);
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--error);
}

.site-footer {
    background: linear-gradient(155deg, #061326 0%, #0c2448 48%, #113460 100%);
    color: #e5efff;
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 1.2rem;
}

.footer-brand p {
    margin-top: 0.82rem;
    font-size: 0.9rem;
    color: rgba(229, 239, 255, 0.87);
    max-width: 48ch;
}

.site-footer .brand-wordmark strong,
.site-footer .brand-wordmark small {
    color: #eef4ff;
}

.site-footer h4 {
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
    color: #d6e6ff;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 0.38rem;
}

.site-footer li,
.site-footer a {
    font-size: 0.86rem;
    color: rgba(226, 237, 255, 0.86);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 1.6rem;
    border-top: 1px solid rgba(184, 208, 245, 0.24);
    padding: 1.04rem 0 1.35rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(223, 236, 255, 0.78);
}

[data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
}

body.reveal-ready [data-reveal='left'] {
    transform: translateX(28px);
}

body.reveal-ready [data-reveal='right'] {
    transform: translateX(-28px);
}

body.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 1180px) {
    .hero-grid,
    .story-grid,
    .network-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        max-width: 44rem;
        min-height: 31rem;
    }

    .story-media {
        position: relative;
        top: 0;
    }

    .network-floating-photo {
        right: 1rem;
        bottom: 1rem;
    }

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

@media (max-width: 980px) {
    .main-nav {
        gap: 1rem;
    }

    .model-grid,
    .network-cards,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-mosaic {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: minmax(86px, 106px);
    }

    .tile-1,
    .tile-2,
    .tile-3,
    .tile-4,
    .tile-5,
    .tile-6 {
        grid-column: span 3;
        grid-row: span 3;
    }

    .contact-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .main-nav {
        grid-template-columns: auto auto;
        justify-content: space-between;
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        z-index: 12;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 0.78rem;
        box-shadow: 0 20px 34px rgba(8, 27, 57, 0.15);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.26s ease;
    }

    .nav-links.open {
        max-height: 22rem;
    }

    .nav-links li + li {
        border-top: 1px solid #edf2fa;
    }

    .nav-links a {
        display: block;
        padding: 0.78rem 0.92rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle[aria-expanded='true'] .menu-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded='true'] .menu-bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded='true'] .menu-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .flowrail-list,
    .model-grid,
    .network-cards,
    .proof-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .flowrail-list li::before {
        display: none;
    }

    .model-step,
    .step-2,
    .step-4 {
        grid-template-columns: 1fr;
    }

    .step-2 .step-media,
    .step-4 .step-media {
        order: 1;
    }

    .step-2 .step-copy,
    .step-4 .step-copy {
        order: 2;
    }

    .hero-copy h1 {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--container), calc(100% - 1.5rem));
    }

    .hero-kpis {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: auto;
        display: grid;
        gap: 0.72rem;
    }

    .stage-main,
    .stage-card,
    .stage-card-a,
    .stage-card-b,
    .stage-badge {
        position: relative;
        inset: auto;
        right: auto;
        left: auto;
        width: 100%;
        transform: none;
        clip-path: none;
    }

    .stage-main img {
        min-height: 14rem;
    }

    .stage-card img {
        height: 11rem;
    }

    .stage-badge {
        max-width: 100%;
    }

    .portfolio-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(190px, 220px);
    }

    .tile-1,
    .tile-2,
    .tile-3,
    .tile-4,
    .tile-5,
    .tile-6 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .network-board {
        min-height: auto;
    }

    .network-main-photo img {
        min-height: 19rem;
    }

    .network-floating-photo {
        position: static;
        width: 100%;
        margin-top: 0.8rem;
    }

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

@media (max-width: 560px) {
    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn,
    .btn.form-submit {
        width: 100%;
    }

    .story-inline-photo img {
        height: 9.5rem;
    }

    .network-card img,
    .proof-card img {
        height: 11rem;
    }
}

@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;
        scroll-behavior: auto !important;
    }
}
