/*
 * S115 — the whole site's stylesheet.
 *
 * Ported 1:1 from the React/styled-components version (src/Styles/*,
 * src/Pages/**\/*.styles.ts). Design tokens live in :root below; never
 * hardcode a colour, radius, shadow or easing elsewhere in this file.
 *
 * Breakpoints (same as src/Styles/media.ts):
 *   xs ≤ 420 · sm ≤ 620 · md ≤ 860 · lg ≤ 1080 · xl ≤ 1320 (up(xl) = ≥ 1321)
 */

@font-face {
    font-family: 'IconicS115';
    src: url('/boston.ttf') format('truetype');
    font-display: swap;
}

:root {
    --bg: #08080A;
    --surface: #0E0E12;
    --surface-raised: #14141A;
    --surface-hover: #1B1B22;
    --surface-sunken: #050506;

    --color: #F4F4F6;
    --muted: #9C9CA8;
    --faint: #66666F;
    --inverted: #08080A;

    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.22);
    --line-faint: rgba(255, 255, 255, 0.05);

    --accent: #B4BAC4;
    --accent-hover: #D6DAE1;
    --accent-soft: rgba(180, 186, 196, 0.12);
    --accent-line: rgba(180, 186, 196, 0.42);
    --accent-contrast: #0A0A0B;

    --success: #35C46A;
    --danger: #FF4F4F;

    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.6);
    --shadow-accent: 0 12px 32px rgba(180, 186, 196, 0.18);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --header: 72px;
    --font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-logo: IconicS115, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SFMono-Regular', ui-monospace, Menlo, Monaco, Consolas, monospace;
    --gutter: clamp(18px, 4vw, 48px);
}

@media (max-width: 860px) {
    :root {
        --header: 62px;
    }
}

/* ------------------------------------------------------------------ global */

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

/* `hidden` always wins over a component's own display. */
[hidden] {
    display: none !important;
}

html {
    background-color: var(--bg);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--color);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body.is-locked {
    overflow: hidden;
}

/* Ambient light so pure black never looks flat. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(1200px 600px at 12% -10%, rgba(214, 218, 225, 0.07), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(180, 186, 196, 0.05), transparent 65%);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

p {
    margin: 0;
}

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

input, textarea, select {
    font: inherit;
}

ul, ol {
    margin: 0;
    padding: 0;
}

img, video {
    max-width: 100%;
}

::selection {
    background-color: var(--accent);
    color: var(--accent-contrast);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.28);
    background-clip: content-box;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Font Awesome inline svg (same defaults as `.svg-inline--fa`). */
.i {
    display: inline-block;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

.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;
}

/* ------------------------------------------------------------ primitives */

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Eyebrow with the short accent rule in front of it. */
.kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.kicker::before {
    content: '';
    width: 22px;
    height: 1px;
    background-color: var(--accent);
}

.display {
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.98;
    color: var(--color);
    margin: 0;
}

.glass {
    background-color: rgba(10, 10, 13, 0.72);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
}

/* ------------------------------------------------------- consent banner */

/* Shown only while `html.consent-ask` is set (by the inline script in <head>). Sits under the overlay and drawers. */
.consent {
    display: none;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 9600;
    max-width: 560px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    animation: consent-in 520ms var(--ease) 400ms both;
}

.consent-ask .consent {
    display: flex;
}

.consent__text {
    flex: 1 1 260px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.consent__link {
    color: var(--color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent__actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 420px) {
    .consent__actions {
        flex: 1 1 100%;
    }

    .consent__actions .btn {
        flex: 1 1 0;
    }
}

@keyframes consent-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* --------------------------------------------------------------- shell */

.page {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

.main {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1 0 auto;
    padding-top: var(--header);
}

/* ------------------------------------------------------------ button */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease),
    box-shadow 240ms var(--ease), transform 240ms var(--ease);
    /* md */
    min-height: 44px;
    padding: 0 20px;
    font-size: 14px;
    border-radius: var(--r-sm);
    /* primary */
    background-color: var(--accent);
    color: var(--accent-contrast);
}

.btn:hover:not(:disabled) {
    background-color: var(--accent-hover);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

.btn--sm {
    min-height: 34px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: var(--r-sm);
}

.btn--lg {
    min-height: 54px;
    padding: 0 28px;
    font-size: 15px;
    border-radius: var(--r-md);
}

.btn--outline {
    background-color: transparent;
    color: var(--color);
    border-color: var(--line-strong);
}

.btn--outline:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--color);
    box-shadow: none;
    transform: none;
}

.btn--full {
    width: 100%;
}

.btn:active:not(:disabled) {
    transform: translateY(1px);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn .i {
    width: 15px;
    height: 15px;
}

/* ----------------------------------------------------------- stepper */

.stepper {
    display: inline-flex;
    align-items: stretch;
    flex-shrink: 0;
    width: auto;
    height: 34px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background-color: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: border-color 220ms var(--ease);
}

.stepper--full {
    display: flex;
    width: 100%;
}

.stepper:hover {
    border-color: var(--accent-line);
}

.stepper__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    flex-shrink: 0;
    color: var(--muted);
    transition: background-color 200ms var(--ease), color 200ms var(--ease);
}

.stepper__btn:hover:not(:disabled) {
    background-color: var(--accent);
    color: var(--accent-contrast);
}

.stepper__btn:disabled {
    color: var(--faint);
    cursor: not-allowed;
}

.stepper__btn .i {
    width: 11px;
    height: 11px;
}

.stepper__value {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 46px;
    padding: 0 6px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    background-color: rgba(255, 255, 255, 0.03);
    user-select: none;
}

.stepper__num {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--color);
    animation: num-pop 260ms var(--ease) both;
}

.stepper__unit {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--faint);
}

@keyframes num-pop {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* -------------------------------------------------------- smart image */

.img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
    transform: translateZ(0);
    transition: opacity 600ms var(--ease), filter 600ms var(--ease), transform 900ms var(--ease);
}

.img--contain img {
    object-fit: contain;
}

/* Fade-in on load only once JS is there to tell us it loaded. */
.js .img img {
    opacity: 0;
}

.js .img.is-loaded img {
    opacity: 1;
}

.img__ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 400ms var(--ease);
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0.02) 20%, rgba(255, 255, 255, 0.07) 42%, rgba(255, 255, 255, 0.02) 64%);
    background-size: 220% 100%;
    animation: shimmer 1.6s linear infinite;
}

.img.is-loaded .img__ph, html:not(.js) .img__ph {
    opacity: 0;
}

.img__ph .i {
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.16);
}

@keyframes shimmer {
    0% {
        background-position: -180% 0;
    }
    100% {
        background-position: 180% 0;
    }
}

/* ------------------------------------------------- reveal on scroll */

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
    transition-delay: var(--delay, 0ms);
}

/* ============================================================== header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background-color 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}

.header.is-scrolled {
    border-bottom-color: var(--line);
    background-color: rgba(10, 10, 13, 0.72);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    box-shadow: var(--shadow-sm);
}

.header__bar {
    display: flex;
    align-items: center;
    gap: 18px;
    height: var(--header);
}

.header__burger {
    display: none;
    justify-self: start;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    margin-left: -8px;
    border-radius: var(--r-sm);
    color: var(--color);
    transition: background-color 200ms var(--ease);
}

.header__burger:hover {
    background-color: rgba(255, 255, 255, 0.07);
}

.header__burger .i {
    width: 20px;
    height: 20px;
}

.header__burger .i--close, .menu-open .header__burger .i--open {
    display: none;
}

.menu-open .header__burger .i--close {
    display: inline-block;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 2px;
    font-family: var(--font-logo);
    font-size: 40px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--color);
    transition: color 240ms var(--ease), opacity 240ms var(--ease);
}

.logo:hover {
    color: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 24px;
}

.nav__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--muted);
    transition: color 220ms var(--ease), background-color 220ms var(--ease);
}

.nav__item:hover {
    color: var(--color);
    background-color: rgba(255, 255, 255, 0.06);
}

.nav__item.is-active {
    color: var(--color);
}

.nav__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

.is-active > .nav__dot {
    opacity: 1;
    transform: scale(1);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.lang {
    display: flex;
    align-items: center;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
}

.lang__opt {
    padding: 4px 11px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    background-color: transparent;
    transition: color 200ms var(--ease), background-color 200ms var(--ease);
}

.lang__opt:hover {
    color: var(--color);
}

.lang__opt.is-active {
    color: var(--accent-contrast);
    background-color: var(--color);
}

.call {
    display: none;
    align-items: center;
    gap: 9px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--color);
    transition: border-color 220ms var(--ease), background-color 220ms var(--ease);
}

.call:hover {
    border-color: var(--accent-line);
    background-color: var(--accent-soft);
}

.call .i {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

@media (min-width: 1321px) {
    .call {
        display: flex;
    }
}

.basket-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    background-color: var(--color);
    color: var(--inverted);
    font-size: 13px;
    font-weight: 700;
    transition: transform 220ms var(--ease), background-color 220ms var(--ease);
}

.basket-btn:hover {
    transform: translateY(-1px);
    background-color: var(--accent);
    color: var(--accent-contrast);
}

.basket-btn > .i {
    width: 16px;
    height: 16px;
}

.basket-btn__bubble {
    position: absolute;
    top: -3px;
    right: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: var(--r-pill);
    border: 2px solid var(--bg);
    background-color: var(--accent);
    color: var(--accent-contrast);
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    animation: bubble-pop 420ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.basket-btn__bubble[hidden] {
    display: none;
}

@keyframes bubble-pop {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1080px) {
    /* burger | logo | actions — the wordmark stays centred on the viewport. */
    .header__bar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 8px;
    }

    .header__burger {
        display: flex;
    }

    .logo {
        justify-self: center;
    }

    .nav {
        display: none;
    }

    .header__right {
        justify-self: end;
    }
}

@media (max-width: 860px) {
    .logo {
        font-size: 32px;
    }

    .basket-btn {
        padding: 0;
        width: 42px;
        justify-content: center;
        background-color: transparent;
        color: var(--color);
    }

    .basket-btn:hover {
        background-color: rgba(255, 255, 255, 0.07);
        color: var(--color);
    }

    .basket-btn__label {
        display: none;
    }
}

@media (max-width: 620px) {
    .header .lang {
        display: none;
    }
}

/* ============================================================== drawers */

.overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9688;
    background-color: rgba(4, 4, 6, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 400ms var(--ease), visibility 0s linear 400ms;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms var(--ease);
}

.drawer {
    position: fixed;
    top: 0;
    z-index: 9799;
    display: flex;
    flex-direction: column;
    width: auto;
    height: 100%;
    outline: none !important;
    overflow: hidden;
    background-color: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    transition: transform 300ms var(--ease), visibility 0s linear 300ms;
}

.drawer--left {
    left: 0;
    transform: translateX(-100%);
}

.drawer--right {
    right: 0;
    transform: translateX(100%);
}

.drawer.is-open {
    transform: none;
    visibility: visible;
    transition: transform 300ms var(--ease);
}

.drawer__head {
    display: flex;
    flex-shrink: 0;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    padding: 0 6px;
    border-bottom: 1px solid var(--line);
    background-color: rgba(255, 255, 255, 0.02);
}

.drawer__title {
    display: flex;
    align-items: center;
    color: var(--color);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0 12px;
}

.drawer__close {
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    border-radius: var(--r-sm);
    transition: color 200ms var(--ease), background-color 200ms var(--ease);
}

.drawer__close:hover {
    color: var(--color);
    background-color: rgba(255, 255, 255, 0.08);
}

/* FA size="lg" */
.drawer__close .i {
    font-size: 1.25em;
    line-height: 0.05em;
    vertical-align: -0.075em;
}

.drawer__content {
    overflow: auto;
    flex-grow: 1;
    overscroll-behavior: contain;
}

.drawer__controls {
    display: flex;
    flex-shrink: 0;
    min-height: 50px;
    border-top: 1px solid var(--line);
    background-color: rgba(255, 255, 255, 0.02);
}

.drawer__controls[hidden] {
    display: none;
}

/* ----------------------------------------------------------- menu drawer */

.menu {
    display: flex;
    flex-direction: column;
    width: 380px;
    max-width: 100vw;
    min-height: 100%;
    padding: 10px 0 24px;
}

.menu__logo {
    font-family: var(--font-logo);
    font-size: 34px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: normal;
    color: var(--color);
}

.menu__logo:hover {
    color: var(--accent);
}

.menu__items {
    display: flex;
    flex-direction: column;
}

.menu__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line-faint);
    background-color: transparent;
    transition: background-color 220ms var(--ease);
}

.menu__item.is-active {
    background-color: rgba(255, 255, 255, 0.04);
}

.menu__item:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.menu__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent);
    opacity: 0;
    transition: opacity 220ms var(--ease);
}

.menu__item.is-active::before {
    opacity: 1;
}

.menu__index {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--faint);
    padding-top: 4px;
}

.menu__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.menu__label {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color);
}

.menu__desc {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
}

.menu__arrow {
    width: 13px;
    height: 13px;
    margin-left: auto;
    flex-shrink: 0;
    color: var(--faint);
    transition: transform 240ms var(--ease), color 240ms var(--ease);
}

.menu__item:hover .menu__arrow {
    transform: translateX(4px);
    color: var(--accent);
}

.menu__bottom {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: auto;
    padding: 24px 20px 0;
}

.menu__block-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.menu__langs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.menu__lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    background-color: transparent;
    transition: color 200ms var(--ease), background-color 200ms var(--ease);
}

.menu__lang:hover {
    color: var(--color);
}

.menu__lang.is-active {
    border-color: transparent;
    color: var(--accent-contrast);
    background-color: var(--color);
}

.menu__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.menu__contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--muted);
    transition: color 200ms var(--ease);
}

.menu__contact:hover {
    color: var(--color);
}

.menu__contact .i {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

@media (max-width: 420px) {
    .menu {
        width: 100vw;
    }
}

/* --------------------------------------------------------- basket drawer */

.basket {
    display: flex;
    flex-direction: column;
    width: 430px;
    max-width: 100vw;
}

@media (max-width: 420px) {
    .basket {
        width: 100vw;
    }
}

.basket__title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color);
}

.basket__title-count {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.basket__state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: clamp(48px, 14vh, 96px) 28px;
    text-align: center;
}

.basket__state--success {
    gap: 14px;
    animation: fade-up-12 400ms ease-out both;
}

.basket__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(70% 70% at 50% 40%, rgba(214, 218, 225, 0.12), transparent 70%);
}

.basket__ring .i {
    width: 26px;
    height: 26px;
    color: var(--color);
}

.basket__ring--success {
    width: 84px;
    height: 84px;
    margin-bottom: 0;
    border-color: rgba(53, 196, 106, 0.5);
    background: radial-gradient(70% 70% at 50% 40%, rgba(53, 196, 106, 0.22), transparent 70%);
    animation: ring-pop 500ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.basket__ring--success .i {
    width: 30px;
    height: 30px;
    color: var(--success);
}

.basket__state-title, .form__title {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.basket__state-title {
    font-size: 20px;
    color: var(--color);
}

.basket__state--success .basket__state-title {
    font-size: 21px;
}

.basket__state-text {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

@keyframes fade-up-12 {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ring-pop {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

.basket__items {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.line {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line-faint);
}

.line.is-new {
    animation: fade-up-8 300ms ease-out both;
}

@keyframes fade-up-8 {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.line__img {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border: 1px solid var(--line-faint);
    border-radius: var(--r-sm);
    padding: 8px;
    background: radial-gradient(70% 70% at 50% 40%, rgba(255, 255, 255, 0.06), transparent 70%);
}

.line__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.line__producer {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.line__name {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color);
    padding-right: 24px;
}

.line__unit {
    font-size: 12.5px;
    color: var(--faint);
}

.line__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.line__total {
    margin-left: auto;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color);
}

.line__remove {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--faint);
    transition: color 200ms var(--ease), background-color 200ms var(--ease);
}

.line__remove:hover {
    color: var(--danger);
    background-color: rgba(255, 79, 79, 0.12);
}

.line__remove .i {
    width: 12px;
    height: 12px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 18px 26px;
}

.form__head {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form__title {
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--color);
}

.form__lead {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.field__input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14.5px;
    outline: none;
    transition: border-color 220ms ease, background-color 220ms ease;
    border: 1px solid var(--line);
    background-color: rgba(255, 255, 255, 0.035);
    color: var(--color);
}

textarea.field__input {
    min-height: 92px;
    resize: vertical;
    font-family: inherit;
}

.field__input::placeholder {
    color: var(--faint);
}

.field__input:focus {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.055);
}

.field.has-error .field__input {
    border-color: var(--danger);
}

.field__error {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--danger);
}

.field.has-error .field__error {
    display: flex;
}

.field__error .i, .alert .i {
    width: 11px;
    height: 11px;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--danger);
    border-radius: var(--r-sm);
    background-color: rgba(255, 79, 79, 0.1);
    font-size: 13px;
    line-height: 1.5;
    color: var(--color);
}

.alert .i {
    color: var(--danger);
    margin-top: 4px;
}

.alert[hidden] {
    display: none;
}

.disclaimer {
    border-top: 1px solid var(--line-faint);
    padding-top: 14px;
}

.disclaimer summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--faint);
}

.disclaimer summary::-webkit-details-marker {
    display: none;
}

.disclaimer summary:hover {
    color: var(--muted);
}

.disclaimer summary .i {
    width: 11px;
    height: 11px;
}

.disclaimer p {
    margin-top: 10px;
    font-size: 11.5px;
    line-height: 1.65;
    white-space: pre-line;
    color: var(--faint);
}

.basket__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 16px 18px 18px;
}

.basket__total-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.basket__total-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.basket__total {
    margin-left: auto;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--color);
}

.basket__total-unit {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--faint);
}

.basket__note {
    font-size: 11.5px;
    color: var(--faint);
}

.basket__note[hidden] {
    display: none;
}

/* ============================================================== footer */

.footer {
    position: relative;
    margin-top: auto;
    padding-top: clamp(56px, 8vw, 96px);
    border-top: 1px solid var(--line);
    background-color: var(--surface-sunken);
}

.footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 64px);
    padding-bottom: clamp(40px, 6vw, 72px);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.footer__logo {
    font-family: var(--font-logo);
    font-size: 54px;
    line-height: 0.9;
    color: var(--color);
}

.footer__logo:hover {
    color: var(--accent);
}

.footer__claim {
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.footer__col {
    display: flex;
    flex-direction: column;
}

.footer__col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 11px;
    list-style: none;
}

.footer__links li {
    display: flex;
}

.footer__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    color: var(--muted);
    transition: color 200ms var(--ease), transform 200ms var(--ease);
}

.footer__link:hover {
    color: var(--color);
    transform: translateX(3px);
}

.footer__link .i, .footer__top-btn .i {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

.footer__bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 0 26px;
    border-top: 1px solid var(--line-faint);
}

.footer__copy {
    font-size: 13px;
    color: var(--faint);
}

.footer__top-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    transition: color 200ms var(--ease);
}

.footer__top-btn:hover {
    color: var(--color);
}

.footer__watermark {
    overflow: hidden;
    padding-bottom: 8px;
    font-family: var(--font-logo);
    font-size: clamp(72px, 20vw, 260px);
    line-height: 0.8;
    letter-spacing: 0.02em;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    user-select: none;
    pointer-events: none;
}

@media (max-width: 1080px) {
    .footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .footer {
        padding-top: 44px;
    }
}

@media (max-width: 620px) {
    .footer__top {
        gap: 28px 20px;
        padding-bottom: 32px;
    }

    .footer__brand {
        grid-column: 1 / -1;
        gap: 12px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer__top-btn {
        margin-left: 0;
    }
}

@media (max-width: 420px) {
    .footer__top {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ========================================================== page wipe */

.wipe {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg);
    background-image: radial-gradient(60% 60% at 50% 50%, rgba(214, 218, 225, 0.10), transparent 70%);
    transform: translateX(-100%);
    visibility: hidden;
}

.wipe img {
    width: min(220px, 34vw);
    height: auto;
    object-fit: contain;
    opacity: 0;
}

/* Arriving after a wipe: covered from the very first paint (class set in <head>). */
.wipe-arrive .wipe {
    visibility: visible;
    transform: none;
}

.wipe-arrive .wipe img {
    opacity: 1;
}

/* Leaving: sweep in from the left and flash the logo (0 → 34 % of 700 ms). */
.wipe.is-in {
    visibility: visible;
    animation: wipe-in 238ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.wipe.is-in img {
    animation: wipe-logo-in 238ms linear forwards;
}

/* Arriving: start covered, hold, then leave to the right (60 → 100 %). */
.wipe.is-out {
    visibility: visible;
    transform: none;
    animation: wipe-out 462ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.wipe.is-out img {
    opacity: 1;
    animation: wipe-logo-out 462ms linear forwards;
}

@keyframes wipe-in {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes wipe-logo-in {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes wipe-out {
    0%, 40% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes wipe-logo-out {
    0%, 40% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.04);
    }
}

/* ======================================================== landing page */

.landing {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: calc(var(--header) * -1);
}

.section {
    padding-top: clamp(64px, 9vw, 130px);
}

.section__head {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: clamp(28px, 4vw, 52px);
}

.section__head-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
}

.section__title {
    font-size: clamp(30px, 4.4vw, 54px);
}

.section__lead {
    max-width: 56ch;
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.65;
    color: var(--muted);
}

.section__side {
    margin-left: auto;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .section {
        padding-top: 46px;
    }

    .section__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .section__side {
        margin-left: 0;
    }
}

/* hero */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-height: clamp(600px, 100vh, 960px);
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(112%);
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.82) 0%, rgba(8, 8, 10, 0.35) 38%, rgba(8, 8, 10, 0.96) 100%),
    radial-gradient(70% 60% at 20% 80%, rgba(214, 218, 225, 0.10), transparent 70%);
}

.hero__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 38px);
    padding-top: clamp(120px, 16vw, 190px);
    padding-bottom: clamp(38px, 5vw, 64px);
}

.hero__title {
    max-width: 20ch;
    font-size: clamp(42px, 8.4vw, 112px);
}

.hero__line {
    display: block;
    animation: fade-up-40 900ms var(--ease) both;
    animation-delay: calc(var(--i, 0) * 80ms);
}

.hero__accent {
    font-style: normal;
    color: var(--accent);
}

.hero__lead {
    max-width: 52ch;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.65;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 56px);
    margin: 0;
    padding-top: clamp(18px, 3vw, 30px);
    border-top: 1px solid var(--line);
}

.hero__stats > * {
    flex: 0 0 auto;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__stat dt {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color);
    font-variant-numeric: tabular-nums;
}

.hero__stat dd {
    margin: 0;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.fade-up {
    animation: fade-up-26 750ms var(--ease) both;
}

@keyframes fade-up-40 {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade-up-26 {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.scroll-cue {
    position: absolute;
    right: clamp(18px, 4vw, 48px);
    bottom: clamp(38px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.scroll-cue__label {
    writing-mode: vertical-rl;
    letter-spacing: 0.22em;
}

.scroll-cue__line {
    width: 1px;
    height: 54px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

@media (max-width: 1080px) {
    .scroll-cue {
        display: none;
    }
}

@media (max-width: 860px) {
    .hero {
        min-height: min(88vh, 720px);
    }

    .hero__inner {
        gap: 20px;
        padding-top: 104px;
    }
}

@media (max-width: 620px) {
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__stats {
        gap: 16px 28px;
    }
}

/* gear rail */

.rail-controls {
    display: flex;
    gap: 8px;
}

.rail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--color);
    transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.rail-btn:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--line-strong);
}

.rail-btn .i {
    width: 14px;
    height: 14px;
}

.rail-viewport {
    position: relative;
}

.rail {
    display: flex;
    gap: clamp(12px, 1.4vw, 20px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    list-style: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rail::-webkit-scrollbar {
    display: none;
}

.rail-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: clamp(215px, 26vw, 300px);
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
    cursor: pointer;
    transition: border-color 300ms var(--ease), transform 300ms var(--ease);
}

.rail-card:hover {
    border-color: var(--accent-line);
    transform: translateY(-4px);
}

.rail-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.rail-card__media .img {
    position: absolute;
    inset: 0;
    padding: 16px;
}

.rail-card__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 16px 16px;
}

.rail-card__producer {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.rail-card__name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color);
}

.rail-card__price {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.rail-footer {
    display: flex;
    margin-top: 26px;
}

@media (max-width: 860px) {
    .rail-controls {
        display: none;
    }
}

@media (max-width: 620px) {
    .rail-footer {
        margin-top: 20px;
    }

    .rail-footer > * {
        width: 100%;
    }
}

/* brand marquee */

.marquee {
    margin-top: clamp(64px, 9vw, 130px);
    padding: clamp(24px, 3vw, 38px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.015);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 34s linear infinite;
}

.marquee__track:hover {
    animation-play-state: paused;
}

.marquee__group {
    display: flex;
    align-items: center;
    gap: clamp(30px, 5vw, 72px);
    padding-right: clamp(30px, 5vw, 72px);
}

.marquee__item {
    font-size: clamp(17px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.32);
    transition: color 300ms var(--ease);
}

.marquee__item:hover {
    color: var(--color);
}

.marquee__dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--accent);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 860px) {
    .marquee {
        margin-top: 46px;
    }
}

/* contact band */

.band {
    padding-top: clamp(64px, 9vw, 130px);
    padding-bottom: clamp(64px, 9vw, 120px);
}

.band__panel {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(30px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: radial-gradient(120% 140% at 100% 0%, rgba(214, 218, 225, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.band__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.band__title {
    font-size: clamp(28px, 4.2vw, 52px);
}

.band__lead {
    max-width: 46ch;
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.65;
    color: var(--muted);
}

.band__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.band__link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: min(265px, 100%);
    padding: 15px 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background-color: rgba(8, 8, 10, 0.5);
    font-size: 15px;
    font-weight: 600;
    color: var(--color);
    transition: border-color 240ms var(--ease), background-color 240ms var(--ease), transform 240ms var(--ease);
}

.band__link:hover {
    border-color: var(--accent-line);
    background-color: var(--accent-soft);
    transform: translateY(-2px);
}

.band__link .i {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.band__link .band__arrow {
    width: 12px;
    height: 12px;
    margin-left: auto;
    color: var(--faint);
}

@media (max-width: 860px) {
    .band {
        padding-top: 46px;
        padding-bottom: 56px;
    }

    .band__panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .band__actions {
        margin-left: 0;
        width: 100%;
    }
}

/* =========================================================== offer list */

.offer {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: clamp(56px, 8vw, 110px);
}

.offer__head {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    padding-top: clamp(38px, 6vw, 76px);
    padding-bottom: clamp(24px, 3vw, 40px);
}

.offer__head-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.offer__title {
    font-size: clamp(32px, 5.4vw, 68px);
}

.offer__lead {
    max-width: 58ch;
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.65;
    color: var(--muted);
}

.offer__count {
    margin-left: auto;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.toolbar {
    position: sticky;
    top: var(--header);
    z-index: 500;
    background-color: rgba(10, 10, 13, 0.72);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-top: 1px solid var(--line-faint);
    border-bottom: 1px solid var(--line);
}

.toolbar__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    height: 36px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--muted);
    background-color: transparent;
    transition: color 220ms var(--ease), background-color 220ms var(--ease);
}

.tab:hover {
    color: var(--color);
    background-color: rgba(255, 255, 255, 0.06);
}

.tab.is-active, .tab.is-active:hover {
    color: var(--accent-contrast);
    background-color: var(--color);
}

.tab__count {
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    opacity: 0.8;
    color: var(--faint);
}

.tab.is-active .tab__count {
    opacity: 0.6;
    color: var(--accent-contrast);
}

.toolbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: clamp(200px, 26vw, 300px);
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background-color: rgba(255, 255, 255, 0.035);
    transition: border-color 220ms var(--ease);
}

.search:focus-within {
    border-color: var(--accent-line);
}

.search .i {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--faint);
}

.search input {
    appearance: none;
    -webkit-appearance: none;
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--color);
}

.search input::placeholder {
    color: var(--faint);
}

.search input::-webkit-search-cancel-button {
    display: none;
}

.search__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: var(--faint);
}

.search__clear[hidden] {
    display: none;
}

.search__clear:hover {
    color: var(--color);
    background-color: rgba(255, 255, 255, 0.1);
}

.sort {
    position: relative;
    display: flex;
    align-items: center;
}

.sort select {
    appearance: none;
    -webkit-appearance: none;
    height: 42px;
    padding: 0 38px 0 40px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background-color: rgba(255, 255, 255, 0.035);
    font-size: 14px;
    font-weight: 600;
    color: var(--color);
    cursor: pointer;
    transition: border-color 220ms var(--ease);
}

.sort select:hover {
    border-color: var(--line-strong);
}

.sort option {
    background-color: var(--surface-raised);
    color: var(--color);
}

.sort .i {
    position: absolute;
    left: 15px;
    width: 14px;
    height: 14px;
    pointer-events: none;
    color: var(--faint);
}

.sort .sort__chevron {
    left: auto;
    right: 15px;
    width: 11px;
    height: 11px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(272px, 100%), 1fr));
    gap: clamp(12px, 1.5vw, 20px);
    padding-top: clamp(22px, 3vw, 36px);
    list-style: none;
}

.grid[hidden] {
    display: none;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
    transition: border-color 300ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.js .card.reveal {
    transform: translateY(22px);
}

.js .card.reveal.is-in {
    transform: none;
    transition: opacity 500ms var(--ease), transform 500ms var(--ease),
    border-color 300ms var(--ease), box-shadow 300ms var(--ease);
    transition-delay: var(--delay, 0ms), var(--delay, 0ms), 0ms, 0ms;
}

.js .card.reveal.is-in:hover {
    transform: translateY(-4px);
    transition-delay: 0ms;
    transition-duration: 300ms;
}

.card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: radial-gradient(70% 70% at 50% 40%, rgba(255, 255, 255, 0.06), transparent 70%);
}

.card__media .img {
    position: absolute;
    inset: 0;
    padding: 18px;
    transition: transform 700ms var(--ease);
}

.card:hover .card__media .img {
    transform: scale(1.05);
}

.chip-type {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background-color: rgba(8, 8, 10, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.chip-type .i {
    width: 11px;
    height: 11px;
    color: var(--accent);
}

.hot {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background-color: var(--accent);
    color: var(--accent-contrast);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hot .i {
    width: 11px;
    height: 11px;
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px 0;
    flex: 1;
}

.card__producer {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.card__name {
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color);
}

.card__meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.card__price {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color);
}

.card__price.is-hot {
    color: var(--accent);
}

.card__unit {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--faint);
}

.stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.stock::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color);
}

.stock.is-low {
    color: var(--faint);
}

.stock.is-low::before {
    background-color: var(--faint);
}

.card__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    border-top: 1px solid var(--line-faint);
}

.card__action {
    display: flex;
    flex: 1;
    min-width: 0;
}

.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: clamp(56px, 10vw, 120px) 0;
    text-align: center;
}

.empty[hidden] {
    display: none;
}

.empty > .i {
    width: 30px;
    height: 30px;
    color: var(--faint);
}

.empty__title {
    font-size: 22px;
    color: var(--color);
}

.empty__text {
    max-width: 42ch;
    font-size: 15px;
    color: var(--muted);
}

@media (max-width: 1080px) {
    .toolbar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .toolbar__right {
        margin-left: 0;
    }
}

@media (max-width: 860px) {
    .offer__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .offer__count {
        margin-left: 0;
    }
}

@media (max-width: 620px) {
    .toolbar__right {
        flex-direction: column;
        align-items: stretch;
    }

    .search {
        width: 100%;
    }

    .sort select {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ======================================================= editorial kit */

.ed {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: clamp(56px, 8vw, 110px);
}

.ed__section {
    padding-top: clamp(48px, 7vw, 104px);
}

.ed__head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: clamp(20px, 2.6vw, 40px);
}

.ed__page-title {
    max-width: 22ch;
    font-size: clamp(34px, 6vw, 80px);
}

.ed__section-title {
    font-size: clamp(26px, 3.4vw, 44px);
}

.ed__lead {
    max-width: 62ch;
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.6;
    color: var(--muted);
}

.ed__body {
    max-width: 68ch;
    font-size: 15.5px;
    line-height: 1.75;
    white-space: pre-line;
    color: var(--muted);
}

.ed__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(268px, 100%), 1fr));
    gap: clamp(12px, 1.6vw, 20px);
}

.ed__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.ed__card > .i {
    width: 18px;
    height: 18px;
    margin-bottom: 4px;
    color: var(--accent);
}

.ed__card-title {
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--color);
}

.ed__card-text {
    font-size: 14.5px;
    line-height: 1.65;
    white-space: pre-line;
    color: var(--muted);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.chip .i {
    width: 12px;
    height: 12px;
    color: var(--accent);
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
    transition: border-color 240ms var(--ease), background-color 240ms var(--ease), transform 240ms var(--ease);
}

.link-card:hover {
    border-color: var(--accent-line);
    transform: translateY(-3px);
}

.link-card__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background-color: var(--accent-soft);
}

.link-card__ring .i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.link-card__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.link-card__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.link-card__value {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color);
    overflow-wrap: anywhere;
}

.link-card__arrow {
    width: 13px;
    height: 13px;
    margin-left: auto;
    flex-shrink: 0;
    color: var(--faint);
    transition: transform 240ms var(--ease), color 240ms var(--ease);
}

.link-card:hover .link-card__arrow {
    transform: translate(3px, -3px);
    color: var(--accent);
}

.cta {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(28px, 4.6vw, 60px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: radial-gradient(120% 140% at 100% 0%, rgba(214, 218, 225, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.cta__text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: auto;
}

.inline-link {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-line);
    transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.inline-link:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

@media (max-width: 860px) {
    .ed__section {
        padding-top: 42px;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta__actions {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .cta__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ---------------------------------------------------------------- studio */

.studio-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: stretch;
    padding-top: clamp(20px, 2.6vw, 40px);
}

.studio-hero__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.studio-hero__title {
    font-size: clamp(36px, 5.6vw, 74px);
}

.studio-hero__actions {
    margin-left: 0;
    margin-top: 6px;
}

.studio-hero__frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background-color: var(--surface);
}

.studio-hero__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, transparent 40%, rgba(8, 8, 10, 0.55) 100%);
    pointer-events: none;
}

.studio-hero__frame .img {
    position: absolute;
    inset: 0;
}

.price-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(22px, 2.8vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.price-card__kicker {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.price-card__value {
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--color);
}

@media (max-width: 1080px) {
    .studio-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .studio-hero__frame {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

/* --------------------------------------------------------------- contact */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(12px, 1.6vw, 20px);
    padding-top: clamp(30px, 4vw, 48px);
}

@media (max-width: 420px) {
    .contact-grid--links {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------------------------------------------------------------- 404 */

.not-found {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: clamp(48px, 8vw, 120px);
    padding-bottom: clamp(56px, 8vw, 110px);
}
