@font-face {
    font-family: "Arimo";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/arimo-v35-latin-400-700.woff2") format("woff2");
}

@font-face {
    font-family: "Arimo";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/arimo-v35-latin-400-700.woff2") format("woff2");
}

@font-face {
    font-family: "Arimo";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/arimo-v35-latin-400-700.woff2") format("woff2");
}

@font-face {
    font-family: "Arimo";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/arimo-v35-latin-400-700.woff2") format("woff2");
}

@font-face {
    font-family: "Material Symbols Outlined";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../fonts/material-symbols-nav.woff2") format("woff2");
}

:root {
    --color-bg: #020305;
    --color-bg-soft: #090d12;
    --color-panel: rgba(8, 12, 16, 0.76);
    --color-panel-strong: rgba(11, 16, 22, 0.92);
    --color-panel-soft: rgba(255, 255, 255, 0.05);
    --color-border: rgba(232, 238, 245, 0.12);
    --color-text: #edf2f6;
    --color-muted: #a2adb8;
    --color-muted-strong: #d7dde3;
    --color-accent: #dbe3ea;
    --color-accent-strong: #97a3af;
    --color-sage: #85919b;
    --color-success: #7aa48b;
    --color-error: #d18e7b;
    --shadow-panel: 0 36px 120px rgba(0, 0, 0, 0.44);
    --radius-xl: 2.1rem;
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-sm: 0.8rem;
    --shell: min(1240px, calc(100vw - 2rem));
    --marker-brush-image: url("../images/brushes/marker-brush-dark.svg");
    --font-display: "Arimo", Arial, sans-serif;
    --font-body: "Arimo", Arial, sans-serif;
    --nav-shell-bg:
        radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.12), transparent 52%),
        linear-gradient(180deg, rgba(7, 11, 15, 0.74) 0%, rgba(4, 7, 10, 0.84) 100%);
    --nav-shell-border: rgba(236, 242, 248, 0.14);
    --nav-shell-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
    --nav-shell-surface: rgba(10, 14, 19, 0.42);
    --nav-shell-surface-strong: rgba(14, 19, 25, 0.58);
    --nav-shell-hover: rgba(255, 255, 255, 0.08);
    --nav-shell-active: rgba(246, 248, 250, 0.98);
    --nav-shell-active-text: #05070a;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
    --marker-brush-image: url("../images/brushes/marker-brush-light.svg");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 76% 4%, rgba(255, 255, 255, 0.18), transparent 22%),
        radial-gradient(circle at 18% 14%, rgba(191, 204, 216, 0.08), transparent 18%),
        radial-gradient(circle at 54% 96%, rgba(122, 132, 142, 0.11), transparent 26%),
        linear-gradient(180deg, #010203 0%, #05070a 42%, #030507 100%);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.76;
    letter-spacing: 0.01em;
}

body::before {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 64% -8%, rgba(255, 255, 255, 0.1), transparent 24%),
        radial-gradient(circle at 100% 78%, rgba(204, 214, 224, 0.06), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.018));
    content: "";
    opacity: 0.9;
    pointer-events: none;
}

body::after {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 35;
}

body.nav-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

body.nav-open::after {
    opacity: 1;
}

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

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

.deferred-media {
    position: relative;
}

.deferred-media__poster,
.deferred-media__video {
    position: absolute;
    inset: 0;
}

.deferred-media__poster {
    transition: opacity 280ms ease;
}

.deferred-media__poster img,
.deferred-media__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deferred-media__video {
    opacity: 0;
    transition: opacity 320ms ease;
}

.deferred-media.is-playing .deferred-media__poster {
    opacity: 0;
}

.deferred-media.is-playing .deferred-media__video {
    opacity: 1;
}

.deferred-media--contain .deferred-media__poster img,
.deferred-media--contain .deferred-media__video {
    object-fit: contain;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
    font-weight: 500;
}

textarea {
    resize: vertical;
}

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.page-shell {
    position: relative;
    z-index: 1;
    overflow: clip;
}

.site-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.site-backdrop__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.site-backdrop__orb--one {
    top: -8rem;
    left: -6rem;
    width: 26rem;
    height: 26rem;
    background: rgba(222, 231, 239, 0.08);
}

.site-backdrop__orb--two {
    top: 22%;
    right: -7rem;
    width: 30rem;
    height: 30rem;
    background: rgba(171, 183, 196, 0.08);
}

.site-backdrop__orb--three {
    bottom: -10rem;
    left: 18%;
    width: 34rem;
    height: 34rem;
    background: rgba(104, 116, 128, 0.1);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding-top: 1rem;
    background: transparent;
    border-bottom: 0;
    transition: padding 220ms ease, background 220ms ease;
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    min-height: 5.4rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transition:
        min-height 220ms ease,
        padding 220ms ease,
        border-color 220ms ease,
        background 220ms ease,
        box-shadow 220ms ease,
        border-radius 220ms ease;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    transition: gap 220ms ease;
}

.brand-mark__logo {
    display: block;
    width: 5.25rem;
    height: 5.25rem;
    flex: 0 0 auto;
    line-height: 0;
    transition: width 220ms ease, height 220ms ease, transform 220ms ease;
}

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

.brand-mark__copy {
    display: grid;
    gap: 0.12rem;
    max-width: 12rem;
    overflow: hidden;
    visibility: visible;
    transition: opacity 180ms ease, transform 180ms ease, max-width 180ms ease;
}

.brand-mark__eyebrow {
    color: var(--color-muted);
    font-size: 0.58rem;
    font-weight: 500;
    max-height: 1rem;
    overflow: hidden;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: opacity 180ms ease, transform 180ms ease, max-height 180ms ease;
}

.brand-mark__text {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transition: font-size 180ms ease;
}

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    user-select: none;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" -25, "opsz" 24;
}

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

.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.95rem;
    height: 2.95rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 14, 19, 0.52);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: var(--color-text);
    box-shadow: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.menu-button:hover {
    transform: translateY(-1px);
    background: var(--nav-shell-surface-strong);
}

.menu-button__bars {
    display: grid;
    gap: 0.24rem;
    width: 1.05rem;
}

.menu-button__bars span {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] .menu-button__bars span:nth-child(1) {
    transform: translateY(0.34rem) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__bars span:nth-child(2) {
    opacity: 0;
}

.menu-button[aria-expanded="true"] .menu-button__bars span:nth-child(3) {
    transform: translateY(-0.34rem) rotate(-45deg);
}

.site-header.is-condensed {
    padding-top: 0.65rem;
    background: linear-gradient(180deg, rgba(2, 3, 5, 0.94) 0%, rgba(2, 3, 5, 0.82) 72%, rgba(2, 3, 5, 0) 100%);
}

.site-header.is-condensed .site-header__inner {
    min-height: 3.9rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.site-header.is-condensed .brand-mark {
    gap: 0;
}

.site-header.is-condensed .brand-mark__logo {
    width: 3.65rem;
    height: 3.65rem;
    transform: none;
}

.site-header.is-condensed .brand-mark__copy {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(-0.35rem);
}

.site-header.is-condensed .brand-mark__eyebrow {
    opacity: 0;
    max-height: 0;
    transform: translateY(-0.35rem);
}

.site-header.is-condensed .brand-mark__text {
    font-size: 1.08rem;
}

.site-header.is-condensed .menu-button {
    width: 2.75rem;
    height: 2.75rem;
}

.site-header.is-condensed .menu-button:hover {
    transform: translateY(-1px);
}

.site-header.is-condensed .menu-button__bars {
    width: 1.05rem;
    gap: 0.24rem;
}

.site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    width: min(24rem, calc(100vw - 1.5rem));
    max-width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem) scale(0.98);
    transform-origin: top right;
    transition: opacity 200ms ease, transform 220ms ease;
    z-index: 45;
}

.site-nav.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.site-nav__rail {
    display: grid;
    gap: 0.65rem;
    padding: 0.7rem;
    border: 0;
    border-radius: 1.55rem;
    background: var(--nav-shell-bg);
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: none;
}

.site-nav__links {
    display: grid;
    gap: 0.3rem;
    padding: 0.45rem;
    border: 0;
    border-radius: 1.25rem;
    background: var(--nav-shell-surface);
    overflow: hidden;
    isolation: isolate;
}

.nav-link,
.footer-link {
    color: var(--color-muted);
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.72rem;
    min-height: 3rem;
    padding: 0.52rem 0.7rem;
    border-radius: 1rem;
    border-bottom: 0;
    text-align: left;
}

.nav-link__bubble {
    display: grid;
    place-items: center;
    width: 1.95rem;
    height: 1.95rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: currentColor;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.nav-link__icon {
    font-size: 1rem;
}

.nav-link__label {
    max-width: none;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: transform 180ms ease, color 180ms ease;
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover .nav-link__bubble {
    border-color: rgba(255, 255, 255, 0.08);
    background: var(--nav-shell-hover);
}

.nav-link.is-active {
    color: var(--color-text);
}

.nav-link.is-active .nav-link__bubble {
    transform: none;
    border-color: rgba(255, 255, 255, 0.14);
    background: var(--nav-shell-active);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    color: var(--nav-shell-active-text);
}

.nav-link.is-active .nav-link__icon {
    font-variation-settings: "FILL" 1, "wght" 450, "GRAD" 0, "opsz" 24;
}

.nav-link.is-active .nav-link__label {
    transform: none;
    color: var(--color-text);
}

.site-nav__utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    flex-wrap: nowrap;
}

.nav-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem;
    border: 0;
    border-radius: 999px;
    background: var(--nav-shell-surface-strong);
    overflow: hidden;
    isolation: isolate;
    box-shadow: none;
    justify-self: start;
    max-width: 100%;
    width: fit-content;
}

.theme-switcher {
    grid-template-columns: repeat(2, max-content);
}

.language-switcher {
    grid-template-columns: repeat(2, max-content);
}

.nav-switcher__lead {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    color: var(--color-muted);
    font-size: 1rem;
}

.language-switcher form {
    margin: 0;
    display: block;
}

.nav-switcher button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 1.95rem;
    padding: 0.45rem 0.75rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.theme-switcher button {
    min-width: 2.3rem;
    padding: 0.45rem 0.6rem;
}

.theme-switcher button .material-symbols-outlined {
    font-size: 1rem;
}

.language-switcher button {
    min-width: 3.1rem;
}

.nav-switcher button:hover {
    background: var(--nav-shell-hover);
    color: var(--color-text);
}

.nav-switcher button.is-current {
    background: var(--nav-shell-active);
    color: var(--nav-shell-active-text);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.nav-switcher button.is-current .material-symbols-outlined {
    font-variation-settings: "FILL" 1, "wght" 450, "GRAD" 0, "opsz" 24;
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.2rem;
    padding: 0.85rem 1.3rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(237, 242, 246, 0.96) 0%, rgba(176, 186, 195, 0.88) 100%);
    color: #06080b;
    font-weight: 500;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.45) 48%, transparent 70%);
    content: "";
    transform: translateX(-140%);
    transition: transform 420ms ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(213, 222, 230, 0.16);
}

.button:hover::after {
    transform: translateX(140%);
}

.button--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.16);
}

.button--small {
    min-height: 2.8rem;
    padding: 0.6rem 1rem;
}

.site-main {
    padding-bottom: 4rem;
}

.page-hero,
.legal-shell {
    padding: 8.4rem 0 0;
}

.hero-stage,
.page-hero__frame,
.editorial-card,
.editorial-visual,
.spotlight-card,
.machine-card,
.operator-banner,
.info-card,
.contact-panel,
.site-footer__frame,
.legal-card,
.network-strip__card,
.empty-panel {
    position: relative;
    background: var(--color-panel);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
}

.hero-stage,
.page-hero__frame,
.contact-panel,
.site-footer__frame,
.legal-card,
.operator-banner {
    padding: 1.3rem;
}

.hero-stage::before,
.page-hero__frame::before,
.contact-panel::before,
.site-footer__frame::before {
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.06), transparent 36%),
        linear-gradient(330deg, rgba(174, 186, 198, 0.06), transparent 30%);
    content: "";
    pointer-events: none;
}

.hero-stage__rail,
.eyebrow,
.footer-label,
.kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-stage__rail {
    margin-bottom: 1.4rem;
    gap: 0.7rem;
}

.hero-stage__rail span {
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.eyebrow::before,
.footer-label::before,
.kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(231, 238, 244, 0.62) 0%, rgba(231, 238, 244, 0) 100%);
    content: "";
}

.hero-grid,
.page-hero__frame,
.editorial-layout,
.contact-panel {
    display: grid;
    gap: 1.2rem;
}

.hero-copy,
.page-hero__copy,
.contact-panel__copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.1rem;
}

.hero-copy h1,
.page-hero__copy h1,
.legal-shell h1,
.section-heading h2,
.editorial-card h3,
.spotlight-card h3,
.info-card h2,
.site-footer__intro h2,
.operator-banner h2,
.legal-card h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 7.2vw, 5.6rem);
    max-width: 11ch;
}

.page-hero__copy h1,
.legal-shell h1,
.section-heading h2,
.site-footer__intro h2,
.operator-banner h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.section-heading h2,
.contact-panel__copy h2,
.site-footer__intro h2 {
    color: #f4f8fb;
    text-wrap: balance;
}

.section-heading h2 {
    line-height: 1.02;
}

.marker-highlight {
    display: inline;
    padding: 0 0.18em 0.14em 0.14em;
    color: inherit;
    background-image: var(--marker-brush-image);
    background-repeat: no-repeat;
    background-position: 0 80%;
    background-size: 100% 0.88em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.site-footer__intro .marker-highlight {
    padding-right: 0.22em;
    background-position: 0 84%;
    background-size: 100% 0.82em;
}

.editorial-card h3,
.spotlight-card h3,
.info-card h2,
.legal-card h2 {
    font-size: clamp(1.35rem, 3vw, 1.95rem);
}

.hero-copy__lead,
.hero-copy__subcopy,
.page-hero__copy p,
.editorial-card p,
.editorial-points p,
.spotlight-card p,
.machine-card p,
.info-card p,
.network-strip__card p,
.contact-panel p,
.legal-card p,
.site-footer__intro p,
.footer-note,
.metric-card span {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.78;
}

.hero-copy__lead {
    max-width: 38rem;
    color: var(--color-muted-strong);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.hero-visual,
.editorial-visual {
    position: relative;
    min-height: 26rem;
}

.hero-visual__word,
.editorial-visual__word {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: clamp(3rem, 13vw, 7rem);
    color: rgba(255, 255, 255, 0.06);
    line-height: 0.9;
    text-transform: uppercase;
    pointer-events: none;
}

.hero-media,
.editorial-visual img,
.spotlight-card img,
.machine-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-visual picture,
.spotlight-card picture,
.machine-card__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-media {
    position: relative;
    min-height: 32rem;
    border-radius: calc(var(--radius-xl) - 0.35rem);
    overflow: hidden;
    background: linear-gradient(160deg, #181d23 0%, #0f1318 100%);
}

.hero-media::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 38%, rgba(8, 10, 13, 0.6) 100%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.01) 36%, transparent 60%);
    content: "";
}

.hero-float {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 0.4rem;
    max-width: 14rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    background: rgba(7, 9, 12, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
    animation: drift 6.2s ease-in-out infinite;
}

.hero-float span,
.editorial-visual__badge span,
.machine-card__city {
    color: var(--color-accent);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-float strong,
.editorial-visual__badge strong {
    font-size: 0.95rem;
    line-height: 1.4;
}

.hero-float--left {
    top: 1.25rem;
    left: 1.25rem;
}

.hero-float--right {
    right: 1.25rem;
    bottom: 1.25rem;
    animation-delay: -2.6s;
}

.metrics-strip,
.page-hero__aside,
.network-strip,
.benefit-grid,
.info-grid,
.site-footer__columns {
    display: grid;
    gap: 0.9rem;
}

.metrics-strip {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.home-hero {
    position: relative;
    min-height: 100svh;
}

.home-hero__media {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
}

.home-hero__media picture,
.home-hero__media img,
.home-hero__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero__media .deferred-media__video {
    z-index: 0;
}

.home-hero__media .deferred-media__poster {
    z-index: 0;
}

.home-hero__media::before {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.16), transparent 18%),
        linear-gradient(180deg, rgba(3, 4, 5, 0.58) 0%, rgba(4, 5, 6, 0.42) 28%, rgba(4, 5, 6, 0.64) 68%, rgba(6, 7, 9, 0.92) 100%),
        linear-gradient(90deg, rgba(2, 3, 4, 0.74) 0%, rgba(2, 3, 4, 0.12) 38%, rgba(2, 3, 4, 0.62) 100%);
    content: "";
    z-index: 1;
}

.home-hero__media::after {
    position: absolute;
    inset: auto 0 0;
    height: 18rem;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 11, 0.96) 100%);
    content: "";
    z-index: 1;
}

html:not([data-theme="light"]) .home-hero__media--dark-overlay-lightest::before {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.22), transparent 18%),
        linear-gradient(180deg, rgba(3, 4, 5, 0.28) 0%, rgba(4, 5, 6, 0.18) 28%, rgba(4, 5, 6, 0.35) 68%, rgba(6, 7, 9, 0.65) 100%),
        linear-gradient(90deg, rgba(2, 3, 4, 0.38) 0%, rgba(2, 3, 4, 0.04) 38%, rgba(2, 3, 4, 0.32) 100%);
}

html:not([data-theme="light"]) .home-hero__media--dark-overlay-lightest::after {
    background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 11, 0.76) 100%);
}

html:not([data-theme="light"]) .home-hero__media--dark-overlay-light::before {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.19), transparent 18%),
        linear-gradient(180deg, rgba(3, 4, 5, 0.42) 0%, rgba(4, 5, 6, 0.28) 28%, rgba(4, 5, 6, 0.5) 68%, rgba(6, 7, 9, 0.82) 100%),
        linear-gradient(90deg, rgba(2, 3, 4, 0.56) 0%, rgba(2, 3, 4, 0.08) 38%, rgba(2, 3, 4, 0.46) 100%);
}

html:not([data-theme="light"]) .home-hero__media--dark-overlay-light::after {
    background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 11, 0.88) 100%);
}

html:not([data-theme="light"]) .home-hero__media--dark-overlay-dark::before {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 18%),
        linear-gradient(180deg, rgba(3, 4, 5, 0.72) 0%, rgba(4, 5, 6, 0.56) 28%, rgba(4, 5, 6, 0.74) 68%, rgba(6, 7, 9, 0.96) 100%),
        linear-gradient(90deg, rgba(2, 3, 4, 0.84) 0%, rgba(2, 3, 4, 0.18) 38%, rgba(2, 3, 4, 0.72) 100%);
}

html:not([data-theme="light"]) .home-hero__media--dark-overlay-dark::after {
    background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 11, 0.98) 100%);
}

html:not([data-theme="light"]) .home-hero__media--dark-overlay-darkest::before {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.08), transparent 18%),
        linear-gradient(180deg, rgba(3, 4, 5, 0.82) 0%, rgba(4, 5, 6, 0.68) 28%, rgba(4, 5, 6, 0.84) 68%, rgba(6, 7, 9, 0.98) 100%),
        linear-gradient(90deg, rgba(2, 3, 4, 0.9) 0%, rgba(2, 3, 4, 0.24) 38%, rgba(2, 3, 4, 0.82) 100%);
}

html:not([data-theme="light"]) .home-hero__media--dark-overlay-darkest::after {
    background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 11, 1) 100%);
}

.home-hero__actions {
    position: absolute;
    left: 50%;
    bottom: max(2rem, 7svh);
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    transform: translateX(-50%);
    width: min(100% - 2rem, 32rem);
}

.metric-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
}

.metric-card strong {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    line-height: 1;
}

.section-heading,
.collection-panel,
.spotlight-section,
.network-strip,
.benefit-grid,
.info-grid,
.contact-section,
.legal-shell__inner {
    display: grid;
    gap: 1rem;
}

.section-heading__row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.editorial-section,
.spotlight-section,
.collection-panel,
.network-strip,
.benefit-grid,
.info-grid,
.contact-section {
    margin-top: 1.2rem;
}

.editorial-section--lead {
    margin-top: 0;
    padding-top: 2.6rem;
    border-top: 0;
}

.editorial-layout {
    grid-template-columns: 1fr;
}

.editorial-card,
.info-card,
.network-strip__card {
    padding: 1.3rem;
}

.editorial-points,
.site-footer__socials,
.contact-panel__direct,
.machine-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.editorial-points {
    flex-direction: column;
}

.editorial-points div {
    display: grid;
    gap: 0.32rem;
}

.editorial-points strong,
.network-strip__card strong,
.info-card li::marker {
    color: var(--color-muted-strong);
}

.editorial-visual {
    display: grid;
    align-items: end;
    padding: 1rem;
}

.editorial-visual img {
    position: relative;
    z-index: 1;
    min-height: 32rem;
    border-radius: calc(var(--radius-xl) - 0.55rem);
}

.editorial-visual__badge {
    position: absolute;
    right: 1.3rem;
    bottom: 1.3rem;
    z-index: 2;
    display: grid;
    gap: 0.3rem;
    max-width: 14rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.1rem;
    background: rgba(7, 9, 12, 0.76);
    backdrop-filter: blur(14px);
}

.spotlight-grid {
    display: grid;
    gap: 1rem;
}

.spotlight-card {
    min-height: 32rem;
}

.spotlight-card img {
    position: absolute;
    inset: 0;
}

.spotlight-card::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08) 20%, rgba(6, 8, 11, 0.82) 100%),
        linear-gradient(120deg, rgba(219, 227, 234, 0.16), transparent 36%);
    content: "";
}

.spotlight-card__content {
    position: absolute;
    inset: auto 1.3rem 1.3rem 1.3rem;
    z-index: 1;
    display: grid;
    gap: 0.6rem;
}

.machine-collection {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.machine-card {
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.machine-card:hover {
    transform: translateY(-4px);
    border-color: rgba(219, 227, 234, 0.18);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.machine-card__media {
    position: relative;
    aspect-ratio: 0.88;
    overflow: hidden;
}

.machine-card__media img {
    transition: transform 320ms ease;
}

.machine-card:hover .machine-card__media img {
    transform: scale(1.04);
}

.machine-card__mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 9, 12, 0.08) 0%, rgba(7, 9, 12, 0.2) 30%, rgba(7, 9, 12, 0.88) 100%);
}

.machine-card__tags,
.machine-card__status {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.machine-card__tags {
    top: 1rem;
    left: 1rem;
}

.machine-card__status {
    top: 1rem;
    right: 1rem;
}

.machine-card__tags span,
.machine-card__status,
.machine-card__features > *,
.social-link {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.machine-card__tags span,
.machine-card__status,
.machine-card__features > * {
    padding: 0.4rem 0.72rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.machine-card__body {
    display: grid;
    gap: 0.7rem;
    padding: 1.1rem 1.1rem 1.2rem;
}

.machine-card__headline {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.8rem;
}

.machine-card__headline h3,
.empty-panel h3 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.02;
}

.machine-card__link {
    flex-shrink: 0;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: var(--color-text);
}

.machine-card__features > * {
    color: var(--color-muted-strong);
}

.error-hero__frame {
    align-items: center;
}

.error-hero__copy p {
    max-width: 36rem;
    color: var(--color-muted-strong);
}

.error-hero__metrics {
    margin-top: 0.5rem;
}

.error-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 36rem;
    padding: 1.4rem;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(7, 10, 14, 0.94) 0%, rgba(4, 7, 10, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
    isolation: isolate;
}

.error-stage::before {
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.06), transparent 38%),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.06), transparent 30%);
    content: "";
    pointer-events: none;
}

.error-stage::after {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 1.15rem;
    height: 2.6rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.42) 0%, transparent 72%);
    content: "";
    filter: blur(14px);
    z-index: 0;
}

.error-stage__halo {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(196, 208, 219, 0.06) 42%, transparent 72%);
    filter: blur(8px);
    z-index: 0;
    animation: pulse-glow 7s ease-in-out infinite;
}

.error-stage__code {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    font-family: var(--font-display);
    font-size: clamp(5.4rem, 18vw, 9.8rem);
    line-height: 0.82;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.error-stage__machine {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.9rem;
    width: min(100%, 18.5rem);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(18, 25, 33, 0.96) 0%, rgba(8, 12, 16, 0.98) 100%);
    box-shadow: 0 30px 62px rgba(0, 0, 0, 0.36);
    animation: bob-machine 6.4s ease-in-out infinite;
}

.error-stage__machine-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--color-accent);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.error-stage__machine-top strong {
    font-weight: 500;
}

.error-stage__status {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: #f4f8fb;
    box-shadow: 0 0 0 0.4rem rgba(244, 248, 251, 0.08);
}

.error-stage__screen {
    position: relative;
    display: grid;
    place-items: center;
    gap: 0.6rem;
    min-height: 14.5rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    overflow: hidden;
}

.error-stage__screen::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 36%),
        linear-gradient(180deg, transparent 0%, rgba(5, 7, 9, 0.28) 100%);
    content: "";
}

.error-stage__bear,
.error-stage__screen-copy {
    position: relative;
    z-index: 1;
}

.error-stage__bear {
    width: 5.2rem;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.24));
    animation: bear-bounce 5.2s ease-in-out infinite;
}

.error-stage__screen-copy {
    display: grid;
    gap: 0.18rem;
    text-align: center;
}

.error-stage__screen-copy span {
    color: var(--color-accent);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.error-stage__screen-copy strong {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 11vw, 4.8rem);
    line-height: 0.82;
    letter-spacing: -0.08em;
}

.error-stage__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
}

.error-stage__grid span {
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.9rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
    animation: snack-blink 3.8s ease-in-out infinite;
}

.error-stage__grid span:nth-child(2),
.error-stage__grid span:nth-child(5),
.error-stage__grid span:nth-child(7) {
    animation-delay: -1.1s;
}

.error-stage__grid span:nth-child(3),
.error-stage__grid span:nth-child(6) {
    animation-delay: -2.2s;
}

.error-stage__slot {
    width: 70%;
    height: 0.55rem;
    justify-self: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.error-stage__drop {
    height: 2.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.error-stage__snack {
    position: absolute;
    z-index: 1;
    width: 4.2rem;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.3rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
    animation: orbit-snack 7.2s ease-in-out infinite;
}

.error-stage__snack::before {
    position: absolute;
    inset: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent);
    content: "";
}

.error-stage__snack--one {
    top: 14%;
    left: 8%;
    background: linear-gradient(135deg, rgba(216, 146, 141, 0.28) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.error-stage__snack--two {
    top: 24%;
    right: 10%;
    width: 3.8rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(140, 162, 182, 0.28) 0%, rgba(255, 255, 255, 0.06) 100%);
    animation-delay: -2.2s;
}

.error-stage__snack--three {
    bottom: 18%;
    left: 12%;
    width: 4.6rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(199, 173, 125, 0.26) 0%, rgba(255, 255, 255, 0.06) 100%);
    animation-delay: -4.1s;
}

.error-stage__float {
    z-index: 3;
    max-width: 12.6rem;
    gap: 0.35rem;
    background: rgba(7, 9, 12, 0.62);
    backdrop-filter: blur(16px);
}

.error-stage__float strong {
    text-wrap: balance;
}

.error-stage__float--top {
    top: 1rem;
    left: 1rem;
}

.error-stage__float--bottom {
    right: 1rem;
    bottom: 1.2rem;
    animation-delay: -2.1s;
}

.error-strip {
    grid-template-columns: 1fr;
}

.error-strip__card {
    display: grid;
    gap: 0.9rem;
}

.error-strip__card .button {
    justify-self: start;
}

html[data-theme="light"] .error-stage {
    background:
        radial-gradient(circle at 50% 18%, rgba(214, 189, 156, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(251, 245, 236, 0.96) 0%, rgba(241, 232, 221, 0.98) 100%);
    border-color: rgba(84, 95, 106, 0.12);
    box-shadow: 0 30px 72px rgba(113, 86, 57, 0.12);
}

html[data-theme="light"] .error-stage__code {
    color: rgba(84, 95, 106, 0.08);
}

html[data-theme="light"] .error-stage__machine {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 236, 226, 0.96) 100%);
    border-color: rgba(84, 95, 106, 0.12);
    box-shadow: 0 24px 54px rgba(113, 86, 57, 0.16);
}

html[data-theme="light"] .error-stage__screen {
    border-color: rgba(84, 95, 106, 0.12);
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.72), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 236, 226, 0.94) 100%);
}

html[data-theme="light"] .error-stage__snack,
html[data-theme="light"] .error-stage__drop,
html[data-theme="light"] .error-stage__grid span {
    border-color: rgba(84, 95, 106, 0.12);
}

html[data-theme="light"] .error-stage__float {
    background: rgba(255, 250, 244, 0.72);
    border-color: rgba(84, 95, 106, 0.12);
    box-shadow: 0 18px 42px rgba(113, 86, 57, 0.12);
}

.empty-panel {
    padding: 1.4rem;
}

.page-hero__aside {
    align-content: start;
}

.network-strip,
.benefit-grid,
.info-grid {
    grid-template-columns: 1fr;
}

.info-card ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--color-muted);
}

.info-card li + li {
    margin-top: 0.6rem;
}

.info-card--accent {
    background:
        linear-gradient(150deg, rgba(219, 227, 234, 0.08), transparent 46%),
        var(--color-panel);
}

.operator-banner {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.operator-banner .button {
    justify-self: start;
    width: fit-content;
}

.contact-panel__direct a {
    padding: 0.4rem 0 0;
    color: var(--color-muted-strong);
}

.contact-panel__form-wrap {
    position: relative;
    z-index: 1;
}

.notice {
    margin-bottom: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.notice--success {
    background: rgba(122, 164, 139, 0.12);
    border-color: rgba(122, 164, 139, 0.28);
}

.notice--error {
    background: rgba(209, 142, 123, 0.12);
    border-color: rgba(209, 142, 123, 0.26);
}

.contact-form {
    display: grid;
    gap: 0.9rem;
}

.contact-form__grid {
    display: grid;
    gap: 0.9rem;
}

.field {
    display: grid;
    gap: 0.42rem;
}

.field span {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
    outline: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: rgba(219, 227, 234, 0.36);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(219, 227, 234, 0.06);
}

@keyframes pulse-glow {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.72;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes bob-machine {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(0, -10px, 0) rotate(-1deg);
    }
}

@keyframes orbit-snack {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-12deg);
    }

    50% {
        transform: translate3d(0, -12px, 0) rotate(12deg);
    }
}

@keyframes snack-blink {
    0%,
    100% {
        opacity: 0.76;
    }

    50% {
        opacity: 1;
    }
}

@keyframes bear-bounce {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -6px, 0);
    }
}

@media (min-width: 720px) {
    .metrics-strip,
    .contact-form__grid,
    .site-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .benefit-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .menu-button {
        display: none;
    }

    .site-header__inner {
        align-items: center;
    }

    .site-nav {
        position: static;
        inset: auto;
        width: auto;
        margin-left: auto;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        max-width: none;
    }

    .site-nav__rail {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0;
        border: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }

    .site-nav__links {
        display: flex;
        align-items: flex-start;
        gap: 0.1rem;
        padding: 0.95rem 0.35rem 0.4rem;
        border-radius: 999px;
        background: var(--nav-shell-surface);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        box-shadow: none;
    }

    .nav-link {
        display: grid;
        justify-items: center;
        align-content: start;
        gap: 0.22rem;
        min-width: max-content;
        min-height: 3.6rem;
        padding: 0 0.62rem 0.12rem;
        text-align: center;
    }

    .nav-link__label {
        max-width: none;
        font-size: 0.68rem;
    }

    .nav-link.is-active .nav-link__bubble {
        transform: translateY(-0.8rem);
    }

    .nav-link.is-active .nav-link__label {
        transform: translateY(-0.28rem);
    }

    .site-nav__utility {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.55rem;
        width: auto;
        flex: 0 0 auto;
    }

    .site-header.is-condensed .site-nav {
        position: fixed;
        top: 4.35rem;
        right: max(1rem, calc((100vw - var(--shell)) / 2));
        width: min(18rem, calc(100vw - 2rem));
        margin-left: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-0.35rem) scale(0.98);
        transform-origin: top right;
        z-index: 45;
    }

    .site-header.is-condensed .menu-button {
        display: inline-flex;
    }

    .site-header.is-condensed .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .site-header.is-condensed .site-nav__rail {
        display: grid;
        gap: 0.65rem;
        padding: 0.7rem;
        background: var(--nav-shell-bg);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
    }

    .site-header.is-condensed .site-nav__links {
        display: grid;
        justify-items: stretch;
        gap: 0.3rem;
        padding: 0.45rem;
        border-radius: 1.25rem;
        background: var(--nav-shell-surface);
    }

    .site-header.is-condensed .site-nav__links {
        padding-top: 0.45rem;
    }

    .site-header.is-condensed .nav-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.72rem;
        min-height: 3rem;
        padding: 0.52rem 0.7rem;
        text-align: left;
    }

    .site-header.is-condensed .nav-link.is-active .nav-link__bubble {
        transform: none;
    }

    .site-header.is-condensed .nav-link.is-active .nav-link__label {
        transform: none;
    }

    .site-header.is-condensed .nav-link__label {
        font-size: 0.8rem;
    }

    .site-header.is-condensed .site-nav__utility {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
        flex-wrap: nowrap;
    }

    .site-header.is-condensed .nav-switcher {
        min-height: auto;
    }

    .error-hero__frame {
        grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 0.98fr);
    }

    .error-stage {
        min-height: 32rem;
    }

    .error-stage__float {
        max-width: 11rem;
    }
}

@media (max-width: 959.98px) {
    .brand-mark {
        gap: 0;
    }

    .brand-mark__logo {
        width: 4.35rem;
        height: 4.35rem;
    }

    .site-header.is-condensed .brand-mark__logo {
        width: 3.65rem;
        height: 3.65rem;
    }

    .brand-mark__copy {
        display: none;
    }
}

@media (max-width: 719px) {
    .site-header {
        padding-top: 0.75rem;
    }

    .page-hero__copy h1,
    .section-heading h2,
    .contact-panel__copy h2,
    .site-footer__intro h2,
    .operator-banner h2,
    .info-card h2,
    .legal-card h2 {
        line-height: 1.02;
    }

    .marker-highlight {
        padding: 0 0.16em 0.08em 0.14em;
        background-position: 0 80%;
        background-size: 100% 1.08em;
    }

    .page-hero__frame,
    .operator-banner,
    .collection-panel,
    .network-strip__card,
    .editorial-card,
    .info-card,
    .legal-card,
    .contact-panel {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .page-hero__frame::before,
    .contact-panel::before,
    .site-footer__frame::before {
        content: none;
    }

    .hero-copy h1 {
        max-width: 10ch;
    }

    .hero-float {
        max-width: 11.5rem;
        padding: 0.85rem;
    }

    .home-hero__actions {
    }

    .error-stage {
        min-height: 32rem;
        padding: 1rem;
    }

    .error-stage__float {
        max-width: 11rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .error-stage__halo,
    .error-stage__machine,
    .error-stage__snack,
    .error-stage__grid span,
    .error-stage__bear,
    .error-stage__float {
        animation: none;
    }
}
