@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: #000;
    color: #fff;
    font-family: "Inter", Arial, sans-serif;
    overflow-x: hidden;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 172px;
    align-items: center;
    min-height: 124px;
    padding: 0 31px 0 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 106px;
}

.brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    padding: 0 34px 0 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.1;
    transition: color 180ms ease;
}

.nav-link.is-active,
.nav-link:hover {
    color: #fff;
}

.nav-link svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.85;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 172px;
    height: 55px;
    background: #fff;
    color: #101010;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.16em;
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    background: #000;
}

.hero-rock {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 47%;
    width: 55vw;
    max-width: 1100px;
    min-width: 500px;
    height: auto;
    object-fit: contain;
    transform: translate(-40%, -50%) scale(1.3);
    opacity: 0.9;
    pointer-events: none;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 5;
    background:
        radial-gradient(circle at 58% 47%, rgba(0, 0, 0, 0) 0 29%, rgba(0, 0, 0, 0.34) 60%, rgba(0, 0, 0, 0.98) 94%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.06) 40%, rgba(0, 0, 0, 0.72));
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 8;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
    background-size: 100% 25.5%, 9.14% 100%;
    opacity: 0.6;
    pointer-events: none;
}

.star-field span {
    position: absolute;
    z-index: 9;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
    filter: blur(1px);
    animation: pulse var(--d) ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 12;
    width: min(1220px, 100%);
    margin-left: clamp(24px, 7.8vw, 144px);
    padding-top: 118px;
}

.eyebrow {
    margin: 0 0 44px;
    color: rgba(255, 255, 255, 0.34);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.58em;
}

.hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(64px, 7.65vw, 138px);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 0.99;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
}

.hero h1 span:last-child {
    color: rgba(255, 255, 255, 0.78);
}

.hero-copy {
    width: min(820px, 52vw);
    margin: 52px 0 50px;
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(18px, 1.32vw, 24px);
    font-weight: 300;
    line-height: 1.52;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 36px;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 224px;
    height: 58px;
    padding: 0 35px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.34em;
}

.pill-light {
    background: #fff;
    color: #030303;
    min-width: 312px;
    box-shadow: 0 18px 52px rgba(255, 255, 255, 0.08);
}

.pill-dark {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.12);
    color: #fff;
}

.hero-meta {
    position: absolute;
    right: 31px;
    bottom: 58px;
    z-index: 12;
    color: rgba(255, 255, 255, 0.18);
    font-family: "Courier New", monospace;
    font-size: 14px;
    letter-spacing: 0.6em;
    text-align: right;
    text-transform: uppercase;
}

.hero-meta p {
    margin: 0 0 17px;
}

.hero-meta div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.hero-meta i {
    display: block;
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}

.legacy-section {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legacy-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 42%, rgba(255, 255, 255, 0.06), transparent 34%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.66) 56%, rgba(0, 0, 0, 0.92));
    pointer-events: none;
}

.legacy-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(380px, 48%) minmax(380px, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 86px);
    width: 100%;
    min-height: 650px;
    padding: clamp(34px, 4vh, 54px) clamp(36px, 4vw, 72px) clamp(38px, 5vh, 58px);
}

.legacy-copy {
    max-width: 700px;
}

.legacy-mark {
    width: 82px;
    height: auto;
    margin-bottom: 30px;
    opacity: 0.18;
    filter: grayscale(1);
}

.section-kicker {
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.43em;
}

.legacy-copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 4.1vw, 72px);
    font-weight: 500;
    letter-spacing: -0.07em;
    line-height: 0.98;
}

.legacy-text {
    max-width: 680px;
    margin: 34px 0 38px;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(17px, 1.15vw, 22px);
    font-weight: 300;
    line-height: 1.52;
    letter-spacing: 0.01em;
}

.legacy-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 28px;
    max-width: 540px;
    margin-bottom: 30px;
}

.stat {
    padding: 0 0 0 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.stat strong {
    display: block;
    color: #fff;
    font-size: clamp(42px, 3.7vw, 64px);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.stat span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.legacy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.legacy-link:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

.legacy-visual {
    position: relative;
    min-height: min(500px, 58vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb video {
    position: absolute;
    inset: -6%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
    filter: grayscale(1) contrast(1.45) brightness(0.55);
    mix-blend-mode: screen;
    border-radius: inherit;
    transform: scale(1.2) rotate(-5deg);
    z-index: 0;
}

.orb {
    position: relative;
    width: min(560px, 34vw);
    aspect-ratio: 1;
    border-radius: 58% 42% 52% 48% / 52% 44% 56% 48%;
    background:
        radial-gradient(circle at 58% 48%, rgba(255, 255, 255, 0.08), transparent 13%),
        radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.08), transparent 16%),
        radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.58), transparent 32%),
        linear-gradient(135deg, rgba(39, 39, 39, 0.72), rgba(4, 4, 4, 0.94));
    box-shadow:
        inset -40px -44px 90px rgba(0, 0, 0, 0.72),
        inset 42px 36px 90px rgba(255, 255, 255, 0.035),
        0 28px 90px rgba(0, 0, 0, 0.62);
    opacity: 0.94;
    overflow: hidden;
}

.orb::before {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 2;
}

.orb::after {
    content: "";
    position: absolute;
    inset: -18%;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.08) 48%, transparent 62%);
    opacity: 0.18;
    animation: orbSweep 11s linear infinite;
    z-index: 1;
}

.orb-label {
    position: absolute;
    left: 16%;
    top: 28%;
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    letter-spacing: 0.52em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    z-index: 3;
}

.orb-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 45px rgba(255, 255, 255, 0.32);
    z-index: 3;
}

.orb-caption {
    position: absolute;
    right: 16%;
    bottom: 13%;
    color: rgba(255, 255, 255, 0.26);
    font-size: 11px;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    z-index: 3;
}

.orb i {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    filter: blur(1px);
    animation: pulse var(--d) ease-in-out infinite;
    z-index: 3;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(0.85);
    }

    50% {
        opacity: 0.55;
        transform: scale(1.2);
    }
}

@keyframes orbSweep {
    0% {
        transform: translateX(-20%) translateY(-20%) rotate(0deg);
    }

    100% {
        transform: translateX(20%) translateY(20%) rotate(360deg);
    }
}

@media (max-height: 820px) and (min-width: 1121px) {
    .site-header {
        min-height: 104px;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding-top: 104px;
    }

    .eyebrow {
        margin-bottom: 30px;
        font-size: 13px;
    }

    .hero h1 {
        font-size: clamp(58px, 6.75vw, 118px);
        line-height: 0.98;
    }

    .hero-copy {
        width: min(720px, 50vw);
        margin: 34px 0 34px;
        font-size: clamp(16px, 1.08vw, 20px);
        line-height: 1.45;
    }

    .pill {
        height: 52px;
        font-size: 12px;
    }

    .hero-meta {
        bottom: 34px;
        font-size: 12px;
    }

    .hero-rock {
        left: 50%;
        top: 47%;
        width: 55vw;
        max-width: 1100px;
        min-width: 500px;
        height: auto;
        transform: translate(-40%, -50%) scale(1.3);
    }
}

@media (max-width: 1450px) {
    .site-header {
        grid-template-columns: 126px minmax(0, 1fr) 148px;
        padding-left: 42px;
    }

    .nav-link {
        font-size: 14px;
    }

    .contact-button {
        width: 148px;
        font-size: 13px;
    }
}

@media (max-width: 1120px) {
    .site-header {
        grid-template-columns: 116px 1fr 52px;
        min-height: 86px;
        padding: 0 24px;
    }

    .contact-button {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        justify-self: end;
        width: 48px;
        height: 48px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
        padding: 0 13px;
    }

    .nav-toggle span {
        display: block;
        height: 1px;
        background: #fff;
    }

    .main-nav {
        position: fixed;
        top: 86px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 16px 24px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.96);
        transform: translateY(-130%);
        transition: transform 220ms ease;
    }

    .nav-open .main-nav {
        transform: translateY(0);
    }

    .nav-link {
        justify-content: space-between;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 14px;
    }

    .hero-rock {
        left: 50%;
        top: 47%;
        width: 55vw;
        max-width: 1100px;
        min-width: 500px;
        height: auto;
        transform: translate(-40%, -50%) scale(1.3);
        opacity: 0.85;
    }

    .hero-grid {
        background-size: 100% 25%, 25% 100%;
    }

    .hero-copy {
        width: min(680px, 82vw);
    }

    .hero-meta {
        display: none;
    }

    .legacy-shell {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 64px;
    }

    .legacy-copy {
        max-width: 820px;
    }

    .legacy-mark {
        margin-bottom: 24px;
    }

    .section-kicker {
        margin-bottom: 24px;
        font-size: 13px;
    }

    .legacy-copy h2 {
        font-size: clamp(42px, 8vw, 66px);
    }

    .legacy-text {
        width: min(100%, 760px);
        margin: 28px 0 32px;
        font-size: 18px;
    }

    .legacy-visual {
        min-height: 410px;
    }

    .orb {
        width: min(430px, 70vw);
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 78px;
    }

    .brand {
        width: 96px;
    }

    .main-nav {
        top: 78px;
    }

    .hero {
        align-items: flex-start;
        min-height: 100svh;
        padding-bottom: 34px;
    }

    .hero-rock {
        top: 42%;
        width: 116vw;
        height: 65vh;
        transform: translate(-45%, -48%);
    }

    .hero-content {
        margin-left: 24px;
        margin-right: 20px;
        padding-top: 144px;
    }

    .eyebrow {
        margin-bottom: 34px;
        font-size: 10px;
        letter-spacing: 0.36em;
        line-height: 1.7;
    }

    .hero h1 {
        font-size: clamp(48px, 17vw, 82px);
        letter-spacing: -0.075em;
    }

    .hero-copy {
        width: 100%;
        margin: 42px 0 46px;
        font-size: 18px;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .pill,
    .pill-light {
        min-width: 0;
        width: 100%;
        height: 60px;
        font-size: 12px;
    }

    .legacy-section {
        min-height: auto;
    }

    .legacy-shell {
        min-height: auto;
        padding: 54px 24px 48px;
    }

    .legacy-mark {
        width: 72px;
        margin-bottom: 20px;
    }

    .section-kicker {
        margin-bottom: 20px;
        font-size: 11px;
        letter-spacing: 0.34em;
    }

    .legacy-copy h2 {
        font-size: clamp(34px, 12vw, 52px);
        letter-spacing: -0.065em;
    }

    .legacy-text {
        margin: 24px 0 28px;
        font-size: 16px;
    }

    .legacy-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat {
        padding-left: 24px;
    }

    .stat strong {
        font-size: 46px;
    }

    .legacy-visual {
        min-height: 280px;
    }

    .orb video {
        inset: 8%;
        width: 84%;
        height: 84%;
    }

    .orb {
        width: min(280px, 78vw);
    }

    .orb-label {
        font-size: 10px;
    }

    .orb-caption {
        font-size: 10px;
        right: 11%;
    }
}
