@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    --v2-bg: #f5f6f2;
    --v2-surface: #ffffff;
    --v2-ink: #101828;
    --v2-muted: #526071;
    --v2-faint: #758195;
    --v2-line: #d9dfe5;
    --v2-accent: #0e7490;
    --v2-accent-bright: #06b6d4;
    --v2-dark: #0b1220;
    --v2-dark-surface: #111b2d;
    --v2-dark-line: #2b3a4e;
    --v2-mono: 'JetBrains Mono', monospace;
    --v2-display: 'Inter', sans-serif;
}

html {
    overflow-x: clip;
}

body.home-v2 {
    background: var(--v2-bg);
    color: var(--v2-ink);
    font-family: var(--v2-display);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: clip;
    transition: background-color 200ms ease, color 200ms ease;
}

.home-v2 main,
.home-v2 section,
.home-v2 article {
    box-sizing: border-box;
}

.home-v2 .container {
    width: min(100% - 48px, 1240px);
    padding: 0;
}

.home-v2 .navbar {
    background: color-mix(in srgb, var(--v2-bg) 88%, transparent);
    border-bottom-color: var(--v2-line);
    backdrop-filter: blur(16px);
}

.home-v2 .nav-container {
    width: min(100% - 48px, 1240px);
}

.home-v2 .nav-link {
    font-size: 13px;
}

.home-v2 .nav-link.active,
.home-v2 .nav-link:hover {
    color: var(--v2-accent);
}

.home-v2 .nav-cta {
    background: var(--v2-ink);
    color: var(--v2-bg);
    border-radius: 6px;
}

.home-v2 .nav-cta:hover {
    background: var(--v2-accent);
    color: #fff;
}

.home-v2 .nav-actions .theme-toggle,
.home-v2 .nav-actions .colorblind-toggle {
    color: var(--v2-muted);
}

.v2-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 112px 0 84px;
    background-image:
        linear-gradient(color-mix(in srgb, var(--v2-line) 45%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--v2-line) 45%, transparent) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: center;
    overflow: hidden;
}

.v2-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 76% 42%, color-mix(in srgb, var(--v2-accent-bright) 10%, transparent), transparent 42%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: clamp(48px, 7vw, 104px);
}

.v2-eyebrow {
    margin: 0 0 24px;
    color: var(--v2-accent);
    font-family: var(--v2-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.hero-statement {
    max-width: 760px;
    margin: 0;
    font-size: clamp(44px, 5.5vw, 78px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.08;
}

.hero-statement > span {
    display: block;
}

.hero-statement .accent-line {
    color: var(--v2-accent);
    position: relative;
    width: fit-content;
}

.hero-statement .accent-line::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 12px;
    background: var(--v2-accent-bright);
    transform-origin: left;
    animation: underline-in 700ms 650ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-lead {
    max-width: 630px;
    margin: 32px 0 0;
    color: var(--v2-muted);
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.v2-btn:hover {
    transform: translateY(-2px);
}

.v2-btn-primary {
    background: var(--v2-ink);
    color: var(--v2-bg);
}

.v2-btn-primary:hover {
    background: var(--v2-accent);
    color: #fff;
}

.v2-btn-quiet {
    border-color: var(--v2-line);
    background: color-mix(in srgb, var(--v2-surface) 70%, transparent);
    color: var(--v2-ink);
}

.v2-btn-quiet:hover {
    border-color: var(--v2-accent);
    color: var(--v2-accent);
}

.v2-btn-light {
    background: #f8fafc;
    color: #0b1220;
}

.v2-btn-light:hover {
    background: #67e8f9;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 0;
    color: var(--v2-faint);
    font-family: var(--v2-mono);
    font-size: 11px;
    letter-spacing: 0.02em;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px color-mix(in srgb, #10b981 12%, transparent);
    flex: 0 0 auto;
}

.architecture {
    position: relative;
    padding: 18px;
    border: 1px solid var(--v2-line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--v2-surface) 90%, transparent);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.architecture::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: 12px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--v2-accent-bright) 22%, transparent), transparent 45%);
    transform: translate(12px, 12px);
}

.architecture-head,
.architecture-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--v2-faint);
    font-family: var(--v2-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
}

.architecture-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #047857;
}

.architecture-map {
    display: block;
    width: 100%;
    height: auto;
    margin: 8px 0;
}

.arch-node rect {
    fill: var(--v2-surface);
    stroke: var(--v2-line);
    stroke-width: 1.2;
}

.arch-node text {
    fill: var(--v2-ink);
    font-family: var(--v2-mono);
    font-size: 11px;
    font-weight: 600;
}

.arch-node .node-sub {
    fill: var(--v2-faint);
    font-size: 10px;
    font-weight: 400;
}

.arch-node-accent rect {
    fill: color-mix(in srgb, var(--v2-accent-bright) 11%, var(--v2-surface));
    stroke: var(--v2-accent);
}

.flow-line {
    fill: none;
    stroke: var(--v2-accent);
    stroke-width: 1.5;
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
    animation: draw-line 900ms forwards cubic-bezier(0.65, 0, 0.35, 1);
}

.flow-a { animation-delay: 500ms; }
.flow-b { animation-delay: 800ms; }
.flow-c { animation-delay: 1100ms; }
.flow-d { animation-delay: 1400ms; }
.flow-e { animation-delay: 1700ms; }

.arch-node {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: node-in 400ms forwards cubic-bezier(0.16, 1, 0.3, 1);
    animation-delay: calc(var(--i) * 160ms + 250ms);
}

.architecture-foot {
    padding-top: 12px;
    border-top: 1px solid var(--v2-line);
}

.proof-strip {
    border-top: 1px solid var(--v2-line);
    border-bottom: 1px solid var(--v2-line);
    background: var(--v2-surface);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.proof-item {
    min-width: 0;
    padding: 28px 24px;
    border-right: 1px solid var(--v2-line);
}

.proof-item:first-child {
    padding-left: 0;
}

.proof-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.proof-item strong,
.proof-item span {
    display: block;
}

.proof-item strong {
    margin-bottom: 4px;
    font-family: var(--v2-mono);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.proof-item span {
    color: var(--v2-muted);
    font-size: 13px;
    line-height: 1.5;
}

.v2-section {
    padding: 112px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-heading h2,
.contact-layout h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.section-heading > p:not(.v2-eyebrow) {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--v2-muted);
    font-size: 18px;
}

.service-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--v2-line);
    border-bottom: 1px solid var(--v2-line);
}

.service-v2-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 390px;
    flex-direction: column;
    padding: 28px;
    border-right: 1px solid var(--v2-line);
    background: var(--v2-surface);
    color: var(--v2-ink);
    text-decoration: none;
    transition: background-color 180ms ease;
}

.service-v2-card:first-child {
    border-left: 1px solid var(--v2-line);
}

.service-v2-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: 2px;
    background: conic-gradient(from var(--beam-angle), transparent 0 82%, color-mix(in srgb, var(--v2-accent-bright) 60%, transparent) 90%, transparent 100%);
    opacity: 0;
    transition: opacity 180ms ease;
}

.service-v2-card:hover {
    background: color-mix(in srgb, var(--v2-accent-bright) 4%, var(--v2-surface));
}

.service-v2-card:hover::before {
    opacity: 1;
    animation: beam-rotate 2.4s linear infinite;
}

.card-index,
.case-number {
    color: var(--v2-faint);
    font-family: var(--v2-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.service-symbol {
    margin: 40px 0 24px;
    color: var(--v2-accent);
    font-family: var(--v2-mono);
    font-size: 19px;
    font-weight: 600;
}

.service-v2-card h3 {
    margin: 0 0 16px;
    font-size: 23px;
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.service-v2-card p {
    margin: 0 0 28px;
    color: var(--v2-muted);
    font-size: 15px;
}

.card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    color: var(--v2-accent);
    font-family: var(--v2-mono);
    font-size: 11px;
    font-weight: 600;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--v2-accent);
    font-family: var(--v2-mono);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 5px;
    transition: text-decoration-color 180ms ease;
}

.text-link:hover {
    text-decoration-color: currentColor;
}

.cases-v2 {
    background: var(--v2-dark);
    color: #f4f7fb;
}

.section-heading-light > p:not(.v2-eyebrow),
.cases-v2 .section-heading > p:not(.v2-eyebrow) {
    color: #aab6c6;
}

.cases-v2 .v2-eyebrow {
    color: #67e8f9;
}

.case-feature {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.case-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--v2-dark-line);
    border-radius: 10px;
    background: var(--v2-dark-surface);
}

.case-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.visual-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(11, 18, 32, 0.88);
    color: #d9e3ee;
    font-family: var(--v2-mono);
    font-size: 9px;
    letter-spacing: 0.06em;
}

.case-copy h3,
.case-secondary-copy h3 {
    margin: 16px 0 20px;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.case-lead,
.case-secondary-copy > p {
    color: #b5c0cf;
    font-size: 17px;
}

.case-facts {
    margin: 30px 0;
    border-top: 1px solid var(--v2-dark-line);
}

.case-facts > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--v2-dark-line);
}

.case-facts dt {
    color: #67e8f9;
    font-family: var(--v2-mono);
    font-size: 11px;
}

.case-facts dd {
    margin: 0;
    color: #d5dce7;
    font-size: 14px;
}

.case-secondary {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
    margin-top: 96px;
    padding-top: 72px;
    border-top: 1px solid var(--v2-dark-line);
}

.case-secondary-copy h3 {
    font-size: clamp(30px, 3.5vw, 44px);
}

.case-secondary-copy .case-clarification {
    color: #8997a9;
    font-size: 13px;
}

.case-secondary-visual {
    overflow: hidden;
    border-radius: 10px;
}

.case-secondary-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.text-link-light {
    color: #67e8f9;
}

.process-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(48px, 8vw, 112px);
    align-items: start;
}

.process-layout .section-heading {
    position: sticky;
    top: 130px;
}

.process-timeline-v2 {
    position: relative;
    padding-left: 42px;
}

.process-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.process-track-bg,
.process-track-line {
    fill: none;
    stroke-width: 2;
}

.process-track-bg {
    stroke: var(--v2-line);
}

.process-track-line {
    stroke: var(--v2-accent);
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.process-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 18px;
    align-items: start;
    padding: 0 0 56px;
}

.process-item:last-child {
    padding-bottom: 0;
}

.process-index {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--v2-accent);
    border-radius: 50%;
    background: var(--v2-bg);
    color: var(--v2-accent);
    font-family: var(--v2-mono);
    font-size: 10px;
}

.process-item h3 {
    margin: 2px 0 8px;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.process-item p {
    margin: 0;
    color: var(--v2-muted);
    font-size: 15px;
}

.process-output {
    margin-top: 5px;
    color: var(--v2-accent);
    font-family: var(--v2-mono);
    font-size: 10px;
    text-transform: uppercase;
}

.principles-v2 {
    padding-top: 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--v2-line);
    border: 1px solid var(--v2-line);
}

.principle {
    padding: 30px;
    background: var(--v2-surface);
}

.principle > span {
    color: var(--v2-accent);
    font-family: var(--v2-mono);
    font-size: 11px;
}

.principle h3 {
    margin: 34px 0 12px;
    font-size: 21px;
    letter-spacing: -0.025em;
}

.principle p {
    margin: 0;
    color: var(--v2-muted);
    font-size: 14px;
}

.certification-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--v2-line);
}

.certification-caption {
    margin-right: 12px;
    color: var(--v2-faint);
    font-family: var(--v2-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.certification-logo-v2 {
    display: grid;
    width: 76px;
    height: 56px;
    padding: 8px;
    place-items: center;
    border: 1px solid var(--v2-line);
    border-radius: 5px;
    background: #fff;
}

.certification-logo-v2 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certification-row .text-link {
    margin: 0 0 0 auto;
}

.contact-v2 {
    padding: 88px 0;
    border-top: 1px solid var(--v2-line);
    background: var(--v2-surface);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}

.contact-action p {
    margin: 0 0 24px;
    color: var(--v2-muted);
}

.contact-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-mail {
    margin-top: 16px;
    color: var(--v2-muted);
    font-family: var(--v2-mono);
    font-size: 12px;
}

.home-v2 .footer {
    background: var(--v2-dark);
}

.home-v2 .footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.home-v2 .footer-social a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #405069;
    border-radius: 4px;
    font-family: var(--v2-mono);
    font-size: 10px;
}

.home-v2 .footer-social a svg,
.home-v2 .footer-social a img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.reveal-word {
    animation: word-in 700ms both cubic-bezier(0.16, 1, 0.3, 1);
    animation-delay: calc(var(--i) * 70ms + 80ms);
}

@supports (animation-timeline: view()) {
    .case-visual img,
    .case-secondary-visual img {
        animation: image-drift linear both;
        animation-timeline: view();
        animation-range: entry 5% cover 40%;
    }

    .process-track-line {
        animation: process-draw linear both;
        animation-timeline: view();
        animation-range: entry 10% cover 75%;
    }
}

[data-theme='dark'] body.home-v2,
[data-theme='dark'] .home-v2 {
    --v2-bg: #0b1220;
    --v2-surface: #111b2d;
    --v2-ink: #edf2f7;
    --v2-muted: #a7b3c3;
    --v2-faint: #8492a6;
    --v2-line: #2b3a4e;
    --v2-accent: #67e8f9;
    --v2-dark: #070d18;
    --v2-dark-surface: #111b2d;
    --v2-dark-line: #2b3a4e;
}

[data-theme='dark'] .home-v2 .navbar {
    background: rgba(11, 18, 32, 0.88);
}

[data-theme='dark'] .home-v2 .nav-cta,
[data-theme='dark'] .home-v2 .v2-btn-primary {
    background: #edf2f7;
    color: #0b1220;
}

[data-theme='dark'] .home-v2 .nav-cta:hover,
[data-theme='dark'] .home-v2 .v2-btn-primary:hover {
    background: #67e8f9;
}

[data-theme='dark'] .architecture {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

[data-theme='dark'] .case-visual img,
[data-theme='dark'] .case-secondary-visual img {
    filter: brightness(0.88);
}

@keyframes word-in {
    from { opacity: 0; transform: translateY(22px); clip-path: inset(0 0 100% 0); }
    to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 -25% 0); }
}

@keyframes underline-in {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes node-in {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes draw-line {
    to { stroke-dashoffset: 0; }
}

@keyframes beam-rotate {
    to { --beam-angle: 360deg; }
}

@keyframes image-drift {
    from { transform: translateY(18px) scale(1.025); }
    to { transform: translateY(0) scale(1); }
}

@keyframes process-draw {
    to { stroke-dashoffset: 0; }
}

@media (max-width: 1050px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-copy {
        max-width: 800px;
    }

    .architecture {
        width: min(100%, 640px);
    }

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

    .proof-item:nth-child(2) {
        border-right: 0;
    }

    .proof-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--v2-line);
    }

    .proof-item:first-child,
    .proof-item:last-child {
        padding-left: 24px;
        padding-right: 24px;
    }

    .service-v2-card {
        min-height: 350px;
        padding: 24px;
    }

    .case-feature,
    .case-secondary,
    .process-layout,
    .contact-layout {
        gap: 42px;
    }
}

@media (max-width: 800px) {
    .home-v2 .container,
    .home-v2 .nav-container {
        width: min(100% - 32px, 1240px);
    }

    .v2-hero {
        min-height: 0;
        padding: 100px 0 64px;
        background-size: 44px 44px;
    }

    .hero-statement {
        font-size: clamp(38px, 10vw, 58px);
        letter-spacing: -0.045em;
    }

    .hero-lead {
        font-size: 17px;
    }

    .architecture {
        padding: 12px;
    }

    .architecture-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .architecture-foot {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .v2-section {
        padding: 72px 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading h2,
    .contact-layout h2 {
        font-size: clamp(32px, 8vw, 44px);
    }

    .service-grid-v2,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .service-v2-card,
    .service-v2-card:first-child {
        min-height: 0;
        border-right: 1px solid var(--v2-line);
        border-bottom: 1px solid var(--v2-line);
        border-left: 1px solid var(--v2-line);
    }

    .service-symbol {
        margin: 28px 0 20px;
    }

    .case-feature,
    .case-secondary,
    .process-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .case-secondary-copy {
        order: 1;
    }

    .case-secondary-visual {
        order: 0;
    }

    .case-secondary {
        margin-top: 64px;
        padding-top: 56px;
    }

    .process-layout .section-heading {
        position: static;
    }

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

    .process-output {
        grid-column: 2;
        margin-top: -10px;
    }

    .principles-v2 {
        padding-top: 0;
    }

    .certification-row {
        flex-wrap: wrap;
    }

    .certification-row .text-link {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .v2-btn {
        width: 100%;
    }

    .hero-note {
        align-items: flex-start;
        line-height: 1.6;
    }

    .architecture {
        margin-right: 8px;
    }

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

    .proof-item,
    .proof-item:first-child,
    .proof-item:last-child {
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--v2-line);
    }

    .proof-item:last-child {
        border-bottom: 0;
    }

    .case-facts > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .process-timeline-v2 {
        padding-left: 30px;
    }

    .process-item {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-v2 *,
    .home-v2 *::before,
    .home-v2 *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    .motion-ready .reveal,
    .arch-node,
    .reveal-word {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    .flow-line,
    .process-track-line {
        stroke-dashoffset: 0 !important;
    }

    .case-visual img,
    .case-secondary-visual img {
        clip-path: none !important;
        transform: none !important;
    }
}

.scene-section {
    --scene: 1;
    --scene-bg: var(--v2-bg);
    position: relative;
    isolation: isolate;
    background: transparent;
}

.scene-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--scene-bg);
    pointer-events: none;
}

.scene-section > .container {
    position: relative;
    z-index: 1;
}

.cases-v2.scene-section {
    --scene-bg: var(--v2-dark);
}

.contact-v2.scene-section {
    --scene-bg: var(--v2-surface);
}

.scene-motion .scene-section::before {
    border-radius: calc((1 - var(--scene)) * 24px);
    transform: translateY(calc((1 - var(--scene)) * 24px)) scale(calc(0.985 + var(--scene) * 0.015));
    transform-origin: center top;
    box-shadow: 0 calc((1 - var(--scene)) * -12px) 48px rgba(15, 23, 42, 0.1);
}

.scene-motion .scene-section > .container {
    transform: translateY(calc((1 - var(--scene)) * 10px));
}

.scene-motion .scene-section.scene-complete::before,
.scene-motion .scene-section.scene-complete > .container {
    border-radius: 0;
    transform: none;
    box-shadow: none;
}

@media (max-width: 800px) {
    .scene-motion .scene-section::before {
        border-radius: calc((1 - var(--scene)) * 16px);
        transform: translateY(calc((1 - var(--scene)) * 14px)) scale(calc(0.99 + var(--scene) * 0.01));
    }

    .scene-motion .scene-section > .container {
        transform: translateY(calc((1 - var(--scene)) * 6px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene-motion .scene-section::before,
    .scene-motion .scene-section > .container {
        clip-path: none !important;
        transform: none !important;
        box-shadow: none !important;
    }
}
