:root {
    --background: #05070b;
    --surface: #090d14;
    --surface-soft: #0e1420;
    --foreground: #f6f8fb;
    --muted: #929bab;
    --muted-strong: #bcc4d1;
    --line: rgba(255, 255, 255, 0.1);
    --blue: #3984ff;
    --blue-bright: #65a5ff;
    --blue-deep: #0d4da8;
    --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    content: "";
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 5px;
}

em {
    color: var(--blue-bright);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    transform: translateY(-180%);
    border-radius: 8px;
    background: #fff;
    color: #05070b;
    font-size: 13px;
    font-weight: 700;
    transition: transform 160ms ease;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(100% - 48px, 1240px);
    min-height: 92px;
    transform: translateX(-50%);
    border-bottom: 1px solid var(--line);
    transition:
        min-height 220ms ease,
        background 220ms ease,
        border-color 220ms ease,
        backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
    min-height: 74px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(5, 7, 11, 0.72);
    backdrop-filter: blur(22px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 11px;
    width: fit-content;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: #050608;
    box-shadow: 0 0 24px rgba(57, 132, 255, 0.18);
}

.brand-mark img {
    width: 42px;
    max-width: none;
}

.brand-name {
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.045em;
}

.brand-name span {
    color: #8f9aab;
    font-weight: 500;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-header nav a {
    position: relative;
    padding: 12px 0;
    color: #a8b0be;
    font-size: 13px;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.site-header nav a::after {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 1px;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    background: var(--blue-bright);
    transition: transform 180ms ease;
}

.site-header nav a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.site-header nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #e9eef7;
    font-size: 13px;
    backdrop-filter: blur(16px);
    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(101, 165, 255, 0.55);
    background: rgba(57, 132, 255, 0.1);
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
    align-items: center;
    min-height: 860px;
    padding: 130px max(24px, calc((100vw - 1240px) / 2)) 80px;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -3;
    content: "";
    background:
        linear-gradient(90deg, rgba(5, 7, 11, 0.12), rgba(5, 7, 11, 0.66)),
        radial-gradient(circle at 82% 42%, #111b2f 0, #080b12 32%, #05070b 68%);
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 86px 86px;
    mask-image: linear-gradient(to right, transparent, black 55%, transparent);
}

.hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.hero-orb-one {
    top: 28%;
    right: 9%;
    width: 460px;
    height: 460px;
    opacity: 0.22;
    background: radial-gradient(circle, rgba(38, 114, 255, 0.68), transparent 66%);
}

.hero-orb-two {
    right: 36%;
    bottom: -200px;
    width: 360px;
    height: 360px;
    opacity: 0.1;
    background: #4a83ed;
    filter: blur(110px);
}

.hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 60px 0 20px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: #aab3c2;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 26px;
    height: 1px;
    background: var(--blue);
    box-shadow: 0 0 10px rgba(57, 132, 255, 0.8);
}

.hero h1,
.section-heading h2,
.process-copy h2,
.company h2,
.contact h2 {
    margin: 0;
    font-size: clamp(52px, 5.4vw, 82px);
    font-weight: 540;
    letter-spacing: -0.062em;
    line-height: 0.99;
    overflow-wrap: normal;
    word-break: normal;
}

.hero h1 em,
.section-heading h2 em,
.process-copy h2 em,
.company h2 em,
.contact h2 em {
    letter-spacing: -0.045em;
}

.hero-text {
    max-width: 600px;
    margin: 32px 0 0;
    color: var(--muted-strong);
    font-size: 17px;
    line-height: 1.75;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    border-color: rgba(112, 177, 255, 0.48);
    background: linear-gradient(135deg, #2d73e8, #1451ae);
    box-shadow:
        0 16px 36px rgba(16, 77, 173, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button-primary:hover {
    box-shadow:
        0 20px 42px rgba(39, 112, 235, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.035);
    color: #c0c7d3;
    backdrop-filter: blur(16px);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.07);
}

.hero-proof {
    display: flex;
    gap: 56px;
    margin-top: 58px;
}

.hero-proof > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-proof strong {
    color: #f2f5f9;
    font-size: 13px;
    font-weight: 700;
}

.hero-proof span {
    color: #737d8c;
    font-size: 11px;
}

.hero-visual {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 620px;
    place-items: center;
}

.logo-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    display: grid;
    width: min(76%, 490px);
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 44px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.015)),
        rgba(6, 9, 14, 0.56);
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(24px);
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transition: transform 220ms ease;
}

.logo-card::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(118deg, transparent 12%, rgba(255, 255, 255, 0.08) 42%, transparent 70%),
        radial-gradient(circle at 85% 10%, rgba(69, 137, 255, 0.18), transparent 30%);
}

.card-glow {
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0.36;
    background: #1769ea;
    filter: blur(78px);
}

.hero-logo {
    position: relative;
    z-index: 1;
    width: 78%;
    height: 78%;
    object-fit: contain;
    border-radius: 32px;
    mix-blend-mode: screen;
    filter: contrast(1.08) saturate(1.08);
}

.logo-caption {
    position: absolute;
    bottom: 22px;
    left: 26px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.46);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.visual-ring {
    position: absolute;
    border: 1px solid rgba(84, 145, 255, 0.15);
    border-radius: 50%;
}

.visual-ring-one {
    width: 610px;
    height: 610px;
    animation: spin 28s linear infinite;
}

.visual-ring-one::before {
    position: absolute;
    top: 42px;
    right: 55px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    content: "";
    background: #63a4ff;
    box-shadow: 0 0 15px #3984ff;
}

.visual-ring-two {
    width: 490px;
    height: 490px;
    border-style: dashed;
    opacity: 0.55;
    animation: spin-reverse 38s linear infinite;
}

.floating-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(10, 16, 26, 0.67);
    color: #c3cad5;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.chip-top {
    top: 19%;
    left: 1%;
}

.chip-bottom {
    right: 1%;
    bottom: 21%;
}

.chip-bottom span {
    color: var(--blue-bright);
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #55a0ff;
    box-shadow: 0 0 12px #3984ff;
}

.scroll-hint {
    position: absolute;
    bottom: 35px;
    left: max(24px, calc((100vw - 1240px) / 2));
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5f6978;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.scroll-hint i {
    display: block;
    width: 58px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
}

.scroll-hint i::after {
    display: block;
    width: 45%;
    height: 1px;
    content: "";
    background: var(--blue);
    animation: scroll-line 2.2s ease-in-out infinite;
}

.section {
    position: relative;
    width: min(100% - 48px, 1240px);
    margin: 0 auto;
}

.services {
    padding: 138px 0 150px;
}

.section-heading {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    column-gap: 80px;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
}

.section-heading h2,
.process-copy h2,
.company h2,
.contact h2 {
    font-size: clamp(42px, 4.4vw, 66px);
    line-height: 1.02;
}

.section-heading > p:last-child,
.section-intro,
.company-copy > p:last-child,
.contact p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 68px;
}

.service-card {
    position: relative;
    min-height: 420px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        #080b11;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.service-card::before {
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    content: "";
    opacity: 0;
    background: rgba(38, 111, 243, 0.18);
    filter: blur(45px);
    transition: opacity 220ms ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(91, 155, 255, 0.32);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

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

.card-number {
    color: #66707f;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
}

.service-icon {
    position: relative;
    width: 74px;
    height: 74px;
    margin: 56px 0 42px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.015)),
        rgba(43, 108, 222, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        0 15px 30px rgba(0, 0, 0, 0.25);
    transform: rotate(8deg);
}

.service-icon span:first-child {
    position: absolute;
    top: 21px;
    left: 19px;
    width: 30px;
    height: 30px;
    border: 1px solid #4f9bff;
    border-radius: 9px;
    box-shadow:
        7px 7px 0 rgba(43, 119, 242, 0.13),
        0 0 18px rgba(57, 132, 255, 0.25);
}

.service-icon span:last-child {
    position: absolute;
    right: 17px;
    bottom: 16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue-bright);
    box-shadow: 0 0 12px #3984ff;
}

.service-card:nth-child(2) .service-icon {
    transform: rotate(-8deg);
}

.service-card:nth-child(3) .service-icon {
    transform: rotate(45deg);
}

.service-card h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.service-card p {
    min-height: 76px;
    margin: 16px 0 28px;
    color: #8791a0;
    font-size: 13px;
    line-height: 1.7;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #aeb8c6;
    font-size: 11px;
    font-weight: 650;
    transition:
        color 180ms ease,
        gap 180ms ease;
}

.service-card a:hover {
    gap: 14px;
    color: var(--blue-bright);
}

.process-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 100px;
    padding: 150px 0;
    border-top: 1px solid var(--line);
}

.process-visual {
    position: relative;
    display: grid;
    min-height: 590px;
    place-items: center;
}

.process-visual::before {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    content: "";
    opacity: 0.18;
    background: #286ed9;
    filter: blur(100px);
}

.process-glass {
    position: relative;
    width: min(92%, 510px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 48px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 55%),
        rgba(11, 15, 23, 0.65);
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    transform: perspective(900px) rotateY(7deg) rotateX(3deg);
}

.process-line {
    position: absolute;
    inset: 18%;
    border: 1px dashed rgba(91, 155, 255, 0.28);
    border-radius: 50%;
    animation: spin 32s linear infinite;
}

.process-line::before,
.process-line::after {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: "";
    background: var(--blue-bright);
    box-shadow: 0 0 16px #3984ff;
}

.process-line::before {
    top: 13%;
    right: 12%;
}

.process-line::after {
    bottom: 8%;
    left: 19%;
}

.process-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 138px;
    height: 138px;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(121, 177, 255, 0.35);
    border-radius: 42px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.025)),
        rgba(21, 74, 164, 0.18);
    color: #f4f7fb;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.08em;
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
}

.process-core i {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-bright);
    box-shadow: 0 0 14px #3984ff;
}

.process-label {
    position: absolute;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(10, 14, 22, 0.74);
    color: #9ea8b7;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.process-label-one {
    top: 18%;
    left: 9%;
}

.process-label-two {
    top: 32%;
    right: 5%;
}

.process-label-three {
    right: 15%;
    bottom: 15%;
}

.process-copy .section-intro {
    max-width: 540px;
    margin-top: 28px;
}

.process-list {
    margin: 46px 0 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid var(--line);
}

.process-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.process-index {
    padding-top: 4px;
    color: #546172;
    font-family: var(--font-mono);
    font-size: 10px;
}

.process-list h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.process-list p {
    max-width: 470px;
    margin: 8px 0 0;
    color: #7f8998;
    font-size: 13px;
    line-height: 1.65;
}

.company {
    padding: 70px 0 145px;
}

.company-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    padding: 78px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 38px;
    background:
        radial-gradient(circle at 88% 25%, rgba(50, 116, 231, 0.16), transparent 30%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
        #080b11;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.company-copy > p:last-child {
    max-width: 610px;
    margin-top: 28px;
}

.company-meta {
    position: relative;
    align-self: end;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
}

.meta-label {
    margin-bottom: 24px;
    color: #6f7b8b;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.company-meta address {
    color: #cbd2dd;
    font-size: 13px;
    font-style: normal;
    line-height: 1.8;
}

.company-meta a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: var(--blue-bright);
    font-size: 11px;
    font-weight: 650;
}

.contact {
    overflow: hidden;
    padding: 155px 0 170px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.contact::before {
    position: absolute;
    top: 36px;
    left: 50%;
    width: min(720px, 90%);
    height: 1px;
    content: "";
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(73, 141, 255, 0.6), transparent);
}

.contact-glow {
    position: absolute;
    top: 18%;
    left: 50%;
    z-index: -1;
    width: 500px;
    height: 300px;
    transform: translateX(-50%);
    border-radius: 50%;
    opacity: 0.13;
    background: #2b76ee;
    filter: blur(100px);
}

.contact .eyebrow {
    justify-content: center;
    margin-bottom: 28px;
}

.contact p {
    max-width: 570px;
    margin: 28px auto 34px;
}

footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(100% - 48px, 1240px);
    min-height: 110px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

footer > p {
    margin: 0;
    color: #566171;
    font-size: 9px;
    letter-spacing: 0.04em;
    text-align: center;
}

footer > a:last-child {
    justify-self: end;
    color: #737e8e;
    font-size: 10px;
}

footer > a:last-child span {
    margin-left: 8px;
    color: var(--blue-bright);
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-grid [data-reveal]:nth-child(2) {
    transition-delay: 90ms;
}

.service-grid [data-reveal]:nth-child(3) {
    transition-delay: 180ms;
}

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

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

@keyframes scroll-line {
    0%,
    100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(220%);
    }
}

@media (max-width: 1060px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
        gap: 24px;
        min-height: 780px;
    }

    .hero h1 {
        font-size: clamp(48px, 6.2vw, 68px);
    }

    .hero-visual {
        min-height: 540px;
    }

    .visual-ring-one {
        width: 500px;
        height: 500px;
    }

    .visual-ring-two {
        width: 410px;
        height: 410px;
    }

    .logo-card {
        width: min(84%, 420px);
    }

    .process-section,
    .company-panel {
        gap: 50px;
    }

    .company-panel {
        padding: 56px;
    }
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 1fr auto auto;
        column-gap: 12px;
    }

    .nav-toggle {
        position: relative;
        display: grid;
        width: 42px;
        height: 42px;
        padding: 0;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
        cursor: pointer;
    }

    .nav-toggle span {
        position: absolute;
        width: 16px;
        height: 1px;
        background: #d9e0eb;
        transition:
            transform 180ms ease,
            top 180ms ease;
    }

    .nav-toggle span:first-child {
        top: 16px;
    }

    .nav-toggle span:last-child {
        top: 24px;
    }

    .nav-toggle[aria-expanded="true"] span:first-child {
        top: 20px;
        transform: rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:last-child {
        top: 20px;
        transform: rotate(-45deg);
    }

    .site-header nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(7, 10, 16, 0.94);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(22px);
        transition:
            opacity 180ms ease,
            transform 180ms ease,
            visibility 180ms ease;
    }

    .site-header nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .site-header nav a {
        padding: 14px;
        border-radius: 12px;
    }

    .site-header nav a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .site-header nav a::after {
        display: none;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        min-height: auto;
        padding: 135px 24px 90px;
    }

    .hero-copy {
        width: 100%;
        max-width: 720px;
        padding-top: 30px;
    }

    .hero-text {
        max-width: 650px;
    }

    .hero-visual {
        width: 100%;
        max-width: 680px;
        min-height: 590px;
        margin: 0 auto;
    }

    .logo-card {
        width: min(72vw, 440px);
        max-width: calc(100vw - 72px);
    }

    .scroll-hint {
        display: none;
    }

    .section-heading {
        grid-template-columns: 1fr;
    }

    .section-heading > p:last-child {
        max-width: 580px;
        margin-top: 28px;
    }

    .service-grid,
    .process-section,
    .company-panel {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .service-icon {
        margin: 42px 0 32px;
    }

    .service-card p {
        min-height: 0;
    }

    .process-visual {
        min-height: 540px;
    }

    .process-copy {
        max-width: 670px;
    }

    .company-meta {
        max-width: 450px;
    }

    footer {
        grid-template-columns: 1fr auto;
        gap: 20px;
        padding: 28px 0;
    }

    footer > p {
        grid-row: 2;
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .site-header {
        width: min(100% - 32px, 1240px);
        min-height: 78px;
    }

    .brand-name {
        font-size: 14px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 118px 16px 70px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
        line-height: 1.02;
    }

    .hero-text {
        font-size: 15px;
    }

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

    .button {
        width: 100%;
    }

    .hero-proof {
        gap: 24px;
        margin-top: 44px;
    }

    .hero-proof span {
        line-height: 1.5;
    }

    .hero-visual {
        min-height: 420px;
    }

    .logo-card {
        width: min(82vw, 340px);
        max-width: calc(100vw - 40px);
        border-radius: 32px;
    }

    .visual-ring-one {
        width: min(108vw, 420px);
        height: min(108vw, 420px);
    }

    .visual-ring-two {
        width: min(88vw, 340px);
        height: min(88vw, 340px);
    }

    .chip-top {
        top: 14%;
        left: 0;
    }

    .chip-bottom {
        right: 0;
        bottom: 15%;
    }

    .section {
        width: min(100% - 32px, 1240px);
    }

    .services {
        padding: 100px 0;
    }

    .section-heading h2,
    .process-copy h2,
    .company h2,
    .contact h2 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .service-grid {
        margin-top: 48px;
    }

    .service-card {
        padding: 26px;
    }

    .process-section {
        gap: 58px;
        padding: 100px 0;
    }

    .process-visual {
        min-height: 390px;
    }

    .process-glass {
        width: 100%;
        border-radius: 34px;
    }

    .process-core {
        width: 110px;
        height: 110px;
        border-radius: 32px;
    }

    .company {
        padding: 30px 0 100px;
    }

    .company-panel {
        gap: 46px;
        padding: 34px 24px;
        border-radius: 28px;
    }

    .contact {
        padding: 110px 0 120px;
    }

    footer {
        width: min(100% - 32px, 1240px);
    }
}

@media (max-width: 400px) {
    .hero-visual {
        min-height: 370px;
    }

    .floating-chip {
        min-height: 34px;
        padding: 0 11px;
        font-size: 8px;
    }

    .chip-top {
        left: -4px;
    }

    .chip-bottom {
        right: -4px;
    }
}

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

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