.hero {
    position: relative;
    min-height: calc(100svh - var(--arme-header-height));
    overflow: hidden;
    isolation: isolate;
    background: var(--arme-hero-bg);
    transition: background 280ms ease;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    opacity: 0.62;
    background-image:
        linear-gradient(
            var(--arme-hero-grid) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            var(--arme-hero-grid) 1px,
            transparent 1px
        );
    background-size: 78px 78px;
    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 36%,
            #000 65%,
            rgba(0, 0, 0, 0.3) 100%
        );
    pointer-events: none;
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: 8;
    content: "";
    background: var(--arme-hero-veil);
    pointer-events: none;
}

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

.hero__layout {
    position: relative;
    z-index: 12;
    display: grid;
    grid-template-columns:
        minmax(360px, 0.75fr)
        minmax(560px, 1.25fr);
    align-items: center;
    width: min(var(--page-width), calc(100% - 80px));
    min-height: 100%;
    margin: 0 auto;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 14;
    max-width: 640px;
    padding: 50px 0 165px;
    pointer-events: auto;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 25px;
    color: var(--arme-blue-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero__eyebrow::before {
    width: 30px;
    height: 1px;
    content: "";
    background: currentColor;
    box-shadow: 0 0 10px var(--arme-blue);
}

.hero__title {
    max-width: 100%;
    margin: 0;
    overflow: visible;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(3.6rem, 6.4vw, 7.2rem);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: 0.012em;
    text-transform: uppercase;
    text-wrap: balance;
}

.hero__title-line {
    display: block;
    overflow: visible;
}

.hero__title-line--accent {
    color: transparent;
    background: var(--arme-title-accent);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero__title-dot {
    color: var(--arme-blue);
    text-shadow:
        0 0 18px rgba(22, 63, 139, 0.7),
        0 0 38px rgba(22, 63, 139, 0.3);
}

.hero__separator {
    width: 56px;
    height: 2px;
    margin: 30px 0 24px;
    background:
        linear-gradient(
            90deg,
            var(--arme-blue-light),
            rgba(22, 63, 139, 0)
        );
    box-shadow: 0 0 15px rgba(22, 63, 139, 0.42);
}

.hero__description {
    max-width: 500px;
    margin: 0;
    color: var(--arme-text-soft);
    font-size: clamp(0.98rem, 1.2vw, 1.1rem);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero__visual {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.hero__canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
    pointer-events: auto;
}

.hero__canvas:active {
    cursor: grabbing;
}

.hero__canvas canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__technical-ring,
.hero__orbit-line {
    display: none;
}

.hero__annotation {
    position: absolute;
    z-index: 14;
    color: var(--arme-blue-light);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}

.hero__annotation::before {
    position: absolute;
    top: 8px;
    right: calc(100% + 12px);
    width: 52px;
    height: 1px;
    content: "";
    background:
        linear-gradient(
            90deg,
            rgba(74, 116, 184, 0.12),
            rgba(74, 116, 184, 0.75)
        );
}

.hero__annotation::after {
    position: absolute;
    top: 5px;
    right: calc(100% + 61px);
    width: 7px;
    height: 7px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 12px var(--arme-blue);
}

.hero__annotation--tl,
.hero__annotation--bl {
    text-align: right;
}

.hero__annotation--tl::before,
.hero__annotation--bl::before {
    right: auto;
    left: calc(100% + 12px);
    background:
        linear-gradient(
            90deg,
            rgba(74, 116, 184, 0.75),
            rgba(74, 116, 184, 0.12)
        );
}

.hero__annotation--tl::after,
.hero__annotation--bl::after {
    right: auto;
    left: calc(100% + 61px);
}

.hero__annotation--tl {
    top: 22%;
    left: 36%;
}

.hero__annotation--tr {
    top: 22%;
    right: 4.5%;
}

.hero__annotation--bl {
    bottom: 25%;
    left: 38%;
}

.hero__annotation--br {
    right: 8%;
    bottom: 25%;
}

.hero__drag-hint {
    position: absolute;
    right: auto;
    bottom: 18%;
    left: calc(50% + 14%);
    z-index: 14;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--arme-drag-hint);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    pointer-events: none;
    transform: translateX(-50%);
}

.hero__drag-hint::before,
.hero__drag-hint::after {
    color: var(--arme-blue-light);
    font-size: 1rem;
}

.hero__drag-hint::before {
    content: "\2039";
}

.hero__drag-hint::after {
    content: "\203A";
}

.hero__stats {
    position: absolute;
    right: 40px;
    bottom: 24px;
    left: 40px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding: 14px 16px;
    border: 1px solid var(--arme-stats-border);
    border-radius: 12px;
    background: var(--arme-stats-bg);
    box-shadow: var(--arme-stats-shadow);
    opacity: 0.92;
}
