@layer reset, tokens, base, layout, components, pages;

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

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body,
  h1,
  h2,
  h3,
  p,
  ul,
  figure {
    margin: 0;
  }

  ul {
    list-style: none;
    padding: 0;
  }

  img,
  picture,
  video,
  svg,
  iframe {
    display: block;
    max-width: 100%;
  }

  img,
  video {
    height: auto;
  }

  button,
  input,
  textarea {
    font: inherit;
  }

  button {
    cursor: pointer;
    border: 0;
    background: none;
  }

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

  dialog {
    border: 0;
    padding: 0;
  }
}

@layer tokens {
  :root {
    --ink: #232323;
    --ink-muted: #343434;
    --paper: #fff;
    --mist: #f5f5f5;
    --line: #e8e8e8;
    --hero: #171111;
    --radius: 24px;
    --radius-pill: 50px;
    --container: 1338px;
    --gutter: 16px;
    --header-h: 120px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 35px 60px -15px rgb(0 0 0 / 0.3);
    --font: "Inter", system-ui, sans-serif;
    --step-0: clamp(0.9375rem, 0.88rem + 0.3vw, 1.125rem);
    --step-1: clamp(1.0625rem, 0.95rem + 0.55vw, 1.375rem);
    --step-2: clamp(1.125rem, 0.95rem + 1vw, 1.75rem);
    --step-3: clamp(1.375rem, 1rem + 1.7vw, 2.25rem);
    --step-4: clamp(1.625rem, 0.95rem + 2.9vw, 3.5rem);
    --step-5: clamp(1.75rem, 0.5rem + 4.7vw, 5.5rem);
  }

  @media (max-width: 768px) {
    :root {
      --step-0: 0.9375rem;
      --step-1: 1.0625rem;
      --step-2: 1.125rem;
      --step-3: 1.3125rem;
      --step-4: 1.5rem;
      --step-5: 1.75rem;
      --gutter: 14px;
    }
  }
}

@property --phone-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@layer base {
  body {
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.4;
    color: var(--ink);
    background: var(--paper);
    min-height: 100dvh;
    overflow-x: clip;
    overflow-wrap: break-word;
  }

  html:has(.modal[open]) {
    overflow: hidden;
  }

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

  .container {
    width: min(100% - var(--gutter) * 2, var(--container));
    margin-inline: auto;
  }

  .section-title {
    font-size: var(--step-4);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.03em;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .section-title--center {
    text-align: center;
  }

  .section-title--light {
    color: var(--paper);
  }
}

@layer layout {
  .site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    padding: 48px 0;
  }

  .site-header.is-scrolled {
    position: fixed;
    background: rgb(23 17 17 / 0.88);
    backdrop-filter: blur(16px);
    padding: 16px 0;
  }

  .site-header--solid {
    position: relative;
    background: var(--paper);
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .site-header__logo img {
    width: 97px;
    height: auto;
  }

  .site-header__phone {
    --phone-ring: 3px;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-width: 248px;
    height: 60px;
    padding: 0 16px;
    border: 2px solid var(--paper);
    border-radius: var(--radius-pill);
    color: var(--paper);
    font-size: 1.25rem;
    overflow: visible;
    transition: border-color 0.3s var(--ease);
  }

  .site-header__phone::before {
    content: "";
    position: absolute;
    inset: calc(var(--phone-ring) * -1);
    border-radius: inherit;
    padding: var(--phone-ring);
    background: conic-gradient(from var(--phone-angle), #6ea8ff, #22e0ff, #ff7ad9, #ffd56a, #6ea8ff);
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
    z-index: -1;
  }

  .site-header__phone:hover {
    border-color: transparent;
  }

  .site-header__phone:hover::before {
    opacity: 1;
    animation: phone-ring 2.2s linear infinite;
  }

  .site-header--solid .site-header__phone {
    border-color: var(--ink);
    color: var(--ink);
  }

  .site-footer {
    background: var(--ink);
    color: rgb(255 255 255 / 0.8);
    padding: 44px 0;
  }

  .site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
  }

  .site-footer__logo img {
    width: 137px;
    height: auto;
    margin-bottom: 24px;
  }

  .site-footer__meta {
    display: flex;
    gap: 32px;
    align-items: center;
  }

  .site-footer__meta a:hover {
    text-decoration: underline;
  }

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

  @media (max-width: 768px) {
    .site-header {
      padding: 16px 0;
    }

    .site-header__logo img {
      width: 72px;
    }

    .site-header__phone {
      min-width: 0;
      height: 40px;
      font-size: 0.8125rem;
      padding: 0 12px;
    }

    .site-footer__inner,
    .site-footer__meta {
      flex-direction: column;
      align-items: flex-start;
    }

    .site-footer__logo img {
      width: 72px;
      margin-bottom: 8px;
    }
  }
}

@layer components {
  .btn {
    --btn-shine: rgb(255 255 255 / 0.55);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 328px;
    height: 72px;
    padding: 0 36px;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
    color: var(--paper);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow:
      0 14px 30px rgb(0 0 0 / 0.28),
      inset 0 1px 0 rgb(255 255 255 / 0.18);
    transition:
      transform 0.25s var(--ease),
      box-shadow 0.25s var(--ease),
      filter 0.25s var(--ease);
  }

  .btn::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -40%;
    width: 28%;
    background: linear-gradient(90deg, transparent, var(--btn-shine), transparent);
    transform: skewX(-18deg);
    animation: shine 3.8s var(--ease) infinite;
    pointer-events: none;
  }

  .btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow:
      0 20px 36px rgb(0 0 0 / 0.34),
      inset 0 1px 0 rgb(255 255 255 / 0.24);
  }

  .btn:active {
    transform: translateY(-1px);
    filter: none;
  }

  .btn--light {
    --btn-shine: rgb(255 255 255 / 0.85);
    background: linear-gradient(180deg, #fff 0%, #ececec 100%);
    color: var(--ink);
    box-shadow:
      0 16px 32px rgb(0 0 0 / 0.32),
      inset 0 1px 0 #fff;
  }

  .btn--light:hover {
    filter: brightness(1.04);
    box-shadow:
      0 22px 40px rgb(0 0 0 / 0.4),
      inset 0 1px 0 #fff;
  }

  .btn--small {
    min-width: 0;
    height: 52px;
    font-size: 1rem;
    padding-inline: 24px;
  }

  .btn[disabled] {
    opacity: 0.7;
    pointer-events: none;
  }

  .btn__spinner {
    width: 22px;
    height: 22px;
    margin-left: 12px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
  }

  .contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 16px 12px;
    border-radius: 12px;
    background: var(--ink-muted);
    color: var(--paper);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }

  a.contact-chip:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }

  .contact-chip svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
  }

  .contact-chip--on-light {
    background: var(--mist);
    color: var(--ink);
  }

  .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    border-radius: var(--radius);
    min-height: 280px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }

  .card--light {
    background: var(--mist);
  }

  .card--dark {
    background: var(--ink-muted);
    color: var(--paper);
  }

  .card__icon {
    width: 60px;
    height: 60px;
  }

  @media (hover: hover) {
    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
    }
  }

  .lead-form {
    display: grid;
    gap: 10px;
  }

  .modal .lead-form {
    gap: 18px;
  }

  .lead-form__field input {
    width: 100%;
    height: 80px;
    border: 0;
    border-radius: 12px;
    background: var(--mist);
    padding: 0 24px;
    font-size: 1.25rem;
  }

  .lead-form__field input:focus {
    outline: 2px solid var(--ink);
    background: var(--paper);
  }

  .lead-form__field input.is-invalid {
    color: #c1121f;
    outline: 2px solid #c1121f;
  }

  .lead-form__consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.35;
    color: rgb(255 255 255 / 0.8);
  }

  .lead-form--light .lead-form__consent {
    color: #666;
  }

  .lead-form__consent input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--ink);
    flex-shrink: 0;
  }

  .lead-form__consent a {
    text-decoration: underline;
  }

  .lead-form__error,
  .lead-form__status {
    font-size: 0.9rem;
    color: #ffb4b4;
  }

  .lead-form--light .lead-form__error {
    color: #c1121f;
  }

  .lead-form .btn {
    width: 100%;
    margin-top: 8px;
  }

  .modal {
    width: min(560px, calc(100% - 32px));
    max-width: calc(100vw - 32px);
    background: transparent;
    overflow: hidden;
  }

  .modal::backdrop {
    background: rgb(0 0 0 / 0.55);
  }

  .modal--video::backdrop {
    background: rgb(6 4 4 / 0.84);
    backdrop-filter: blur(14px);
  }

  .modal[open] {
    animation: modal-in 0.35s var(--ease);
  }

  .modal__panel {
    position: relative;
    background: var(--paper);
    border-radius: 20px;
    padding: 40px 32px 32px;
  }

  .modal--video {
    width: min(1120px, calc(100% - 32px));
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 40px);
    overflow: hidden;
    color: var(--paper);
  }

  .modal__stage {
    position: relative;
    max-width: 100%;
    overflow: hidden;
  }

  .modal__video-frame {
    overflow: hidden;
    border-radius: 22px;
    background: #000;
    box-shadow:
      0 40px 90px rgb(0 0 0 / 0.55),
      0 0 0 1px rgb(255 255 255 / 0.14);
  }

  .modal__video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
  }

  .modal__video-caption {
    margin-top: 16px;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: rgb(255 255 255 / 0.78);
  }

  .modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
  }

  .modal__close--light {
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgb(0 0 0 / 0.55);
    color: #fff;
    box-shadow: 0 8px 20px rgb(0 0 0 / 0.35);
  }

  .modal__close--light:hover {
    background: rgb(0 0 0 / 0.8);
  }

  .modal__close--light::before,
  .modal__close--light::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .modal__close--light::before {
    transform: rotate(45deg);
  }

  .modal__close--light::after {
    transform: rotate(-45deg);
  }

  .modal__title {
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin: 0 40px 8px 0;
  }

  .modal__subtitle {
    font-size: 1rem;
    line-height: 1.45;
    color: #666;
    margin: 0 0 24px;
  }

  @media (max-width: 768px) {
    .modal {
      width: calc(100% - 24px);
      max-width: calc(100vw - 24px);
      max-height: calc(100dvh - 24px);
      margin: auto;
    }

    .modal__panel {
      padding: 24px 20px 20px;
      border-radius: 16px;
      max-height: calc(100dvh - 24px);
      overflow: auto;
    }

    .modal__close {
      top: 8px;
      right: 8px;
      width: 40px;
      height: 40px;
    }

    .modal__title {
      font-size: 1.25rem;
      margin: 0 36px 6px 0;
    }

    .modal__subtitle {
      font-size: 0.9375rem;
      line-height: 1.4;
      margin: 0 0 16px;
    }

    .modal .lead-form {
      gap: 12px;
    }

    .modal .lead-form__field input {
      height: 48px;
      font-size: 1rem;
      padding: 0 16px;
    }

    .modal .lead-form__consent {
      gap: 10px;
      font-size: 0.8125rem;
      line-height: 1.4;
    }

    .modal .lead-form__consent input {
      width: 18px;
      height: 18px;
      margin-top: 2px;
    }

    .modal .lead-form__error,
    .modal .lead-form__status {
      font-size: 0.8125rem;
    }

    .modal .lead-form .btn {
      width: 100%;
      max-width: none;
      height: 48px;
      margin-top: 4px;
      font-size: 1rem;
    }

    .modal--video {
      width: calc(100% - 24px);
      max-width: calc(100vw - 24px);
      max-height: calc(100dvh - 24px);
      overflow: auto;
    }

    .modal__video-frame {
      border-radius: 14px;
    }

    .modal__close--light {
      top: 8px;
      right: 8px;
      width: 40px;
      height: 40px;
    }

    .modal__close--light::before,
    .modal__close--light::after {
      width: 16px;
    }

    .modal__video-caption {
      margin-top: 12px;
      font-size: 0.875rem;
      line-height: 1.35;
    }
  }

  .cookies {
    position: fixed;
    z-index: 40;
    right: 24px;
    bottom: 24px;
    max-width: 420px;
    padding: 20px;
    background: var(--paper);
    border-radius: 20px;
    box-shadow: 0 0 10px 1px #929090;
    display: none;
    gap: 16px;
  }

  .cookies.is-visible,
  .cookies:not([hidden]) {
    display: grid;
  }

  .cookies[hidden] {
    display: none !important;
  }

  .cookies .btn {
    min-width: 0;
    width: max-content;
    max-width: 100%;
  }

  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(3px);
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease),
      filter 0.35s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

  [data-reveal].is-in,
  [data-reveal-stagger] > *.is-in {
    opacity: 1;
    transform: none;
    filter: none;
  }

  @media (max-width: 768px) {
    [data-reveal],
    [data-reveal-stagger] > * {
      opacity: 1;
      transform: none;
      filter: none;
      transition: none;
    }
  }

  .slider-nav {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    background: var(--line);
    color: #707070;
    display: grid;
    place-items: center;
  }

  .slider-nav:hover {
    color: var(--ink);
  }

  .slider-nav--next {
    right: 0;
  }

  .slider-nav--prev {
    right: 72px;
  }

  @media (max-width: 650px) {
    .btn {
      min-width: 0;
      width: 100%;
      max-width: 320px;
      height: 52px;
      font-size: 1rem;
      padding: 0 22px;
    }

    .card,
    .lead-form__field input {
      padding: 18px;
    }

    .card {
      min-height: 0;
      gap: 16px;
    }

    .lead-form__field input {
      height: 50px;
      font-size: 1rem;
      padding-inline: 16px;
    }

    .card__icon {
      width: 40px;
      height: 40px;
    }

    .cookies {
      inset: auto 12px 12px;
      max-width: none;
    }
  }
}

@layer pages {
  .hero {
    position: relative;
    min-height: 100dvh;
    display: grid;
    align-items: end;
    background: var(--hero) center / cover no-repeat;
    background-image: url("../images/hero/poster.webp");
    color: var(--paper);
    overflow: hidden;
  }

  .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.14);
    filter: blur(6px) saturate(1.5) contrast(0.9) brightness(1.1);
  }

  .hero__grain {
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.38;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    animation: grain-shift 0.45s steps(4) infinite;
  }

  .hero__shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      linear-gradient(90deg, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.1) 55%, rgb(0 0 0 / 0.5) 100%),
      linear-gradient(180deg, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.1) 38%, rgb(0 0 0 / 0.5) 100%);
    pointer-events: none;
  }

  .hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 188px 0 106px;
  }

  .hero__badge {
    position: absolute;
    right: 0;
    top: 216px;
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 450px;
  }

  .hero__badge svg {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
  }

  .hero__title {
    font-size: clamp(1.85rem, 0.55rem + 5.2vw, 5.75rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 32px;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .hero__lead {
    margin-bottom: 56px;
    max-width: 42rem;
  }

  .hero__lead p {
    font-size: var(--step-2);
    color: rgb(255 255 255 / 0.82);
    margin-bottom: 16px;
  }

  .hero__lead-break {
    display: none;
  }

  .hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px 0 12px;
    border-radius: var(--radius-pill);
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.22);
    backdrop-filter: blur(10px);
    color: var(--paper);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  .hero__chip svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .hero__inner > * {
    animation: rise 0.45s var(--ease) both;
  }

  .hero__badge {
    animation-delay: 0.08s;
  }

  .hero__title {
    animation-delay: 0.16s;
  }

  .hero__lead {
    animation-delay: 0.28s;
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    animation-delay: 0.4s;
  }

  .hero__play {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 72px;
    padding: 0 22px 0 14px;
    border-radius: var(--radius-pill);
    color: var(--paper);
    font-size: 1.125rem;
    font-weight: 600;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.28);
    backdrop-filter: blur(10px);
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .hero__play:hover {
    background: rgb(255 255 255 / 0.2);
    transform: translateY(-2px);
  }

  .hero__play-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 0 8px 18px rgb(0 0 0 / 0.28);
  }

  .hero__play-icon::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent var(--ink);
  }

  .experience {
    padding: 128px 0 64px;
  }

  .experience__intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
  }

  .experience__cta {
    flex-shrink: 0;
  }

  .experience__subtitle {
    font-size: var(--step-2);
    margin-top: 20px;
    max-width: 42ch;
  }

  .experience__grid,
  .showcase__grid,
  .immersion__grid {
    display: grid;
    gap: 24px;
  }

  .experience__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .showcase {
    padding-bottom: 64px;
  }

  .showcase .section-title {
    margin-bottom: 28px;
  }

  .showcase__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    margin-bottom: 32px;
    align-items: stretch;
  }

  .showcase__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--mist);
    color: var(--ink);
    box-shadow: 0 18px 40px rgb(0 0 0 / 0.08);
  }

  .showcase__item picture {
    position: relative;
    display: block;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    background: var(--hero);
  }

  .showcase__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
  }

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

  .showcase__item p {
    flex: 1;
    margin: 0;
    padding: 14px 16px 16px;
    font-size: 1rem;
    line-height: 1.35;
    background: var(--ink);
    color: var(--paper);
  }

  .showcase__cta {
    display: flex;
    margin-inline: auto;
  }

  .systems {
    background: var(--ink);
    color: var(--paper);
    padding: 64px 0;
  }

  .systems__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: start;
  }

  .systems__lead {
    font-size: var(--step-3);
    font-weight: 500;
    margin: 32px 0 40px;
  }

  .systems__photo {
    overflow: hidden;
    border-radius: 25px;
  }

  .systems__photo img {
    width: 100%;
    object-fit: cover;
  }

  .systems__list {
    display: grid;
    gap: 16px;
  }

  .lineup {
    padding: 0;
    --slides: 4;
    --lineup-progress: 0;
  }

  .lineup__track {
    height: calc(100dvh + (var(--slides) - 1) * 36dvh);
    position: relative;
  }

  .lineup__pin {
    position: sticky;
    top: 0;
    z-index: 3;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 96px 0 40px;
    background: var(--paper);
    overflow: hidden;
  }

  .lineup__pin::after {
    content: none;
  }

  .lineup__progress {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--ease);
    background: rgb(0 0 0 / 0.06);
  }

  .lineup.is-pinning .lineup__progress {
    opacity: 1;
  }

  .lineup__progress-bar {
    display: block;
    height: 100%;
    width: calc(var(--lineup-progress) * 100%);
    background: #b3b3b3;
    transition: width 0.12s linear;
  }

  .lineup__stage {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
  }

  .lineup__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
  }

  .lineup__title {
    margin: 0;
  }

  .lineup--fit .lineup__nav,
  .lineup--fit .lineup__picker-nav {
    display: none;
  }

  .lineup--fit .lineup__picker {
    grid-template-columns: 1fr;
  }

  .lineup__nav {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
  }

  .lineup .slider-nav {
    position: static;
    width: 48px;
    height: 48px;
    background: var(--mist);
    color: #8a8a8a;
    transition:
      transform 0.25s var(--ease),
      background 0.25s var(--ease),
      color 0.25s var(--ease);
  }

  .lineup .slider-nav svg {
    width: 22px;
    height: 22px;
  }

  .lineup .slider-nav:hover {
    background: var(--ink);
    color: var(--paper);
    transform: none;
  }

  .lineup__viewport {
    display: grid;
    min-height: 0;
  }

  .lineup__slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.6fr) 1fr;
    gap: 40px 48px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(4%, 0, 0);
    transition:
      opacity 0.5s var(--ease),
      transform 0.5s var(--ease),
      visibility 0.5s;
  }

  .lineup[data-dir="prev"] .lineup__slide:not(.is-active) {
    transform: translate3d(-4%, 0, 0);
  }

  .lineup__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    z-index: 1;
  }

  .lineup__photo {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .lineup__photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: contain;
    transform: scale(0.97);
    transition: transform 0.7s var(--ease);
    border-radius: 12px;
  }

  .lineup__slide.is-active .lineup__photo img {
    transform: scale(1);
  }

  .lineup__copy h3 {
    font-size: var(--step-3);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .lineup__copy p {
    max-width: 38em;
    color: rgb(35 35 35 / 0.72);
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .lineup__copy p + p {
    margin-top: 14px;
  }

  .lineup__picker {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px 16px;
  }

  .lineup__picker-nav {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #b3b3b3;
    transition: color 0.25s var(--ease);
  }

  .lineup__picker-nav:hover {
    color: var(--ink);
  }

  .lineup__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    min-width: 0;
  }

  .lineup__thumb {
    width: auto;
    min-width: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    opacity: 0.55;
    transition: opacity 0.3s var(--ease);
  }

  .lineup__thumb:hover,
  .lineup__thumb.is-active {
    opacity: 1;
  }

  .lineup__thumb-photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    margin: 0 auto 12px;
    border-radius: 8px;
    background: var(--mist);
    overflow: hidden;
    transition: transform 0.3s var(--ease);
  }

  .lineup__thumb-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease);
  }

  .lineup__thumb:hover .lineup__thumb-photo {
    transform: translateY(-2px);
  }

  .lineup__thumb.is-active .lineup__thumb-photo img {
    transform: scale(1.03);
  }

  .immersion,
  .sound {
    padding-bottom: 16px;
  }

  .immersion__inner,
  .sound__inner {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
    padding: 64px 80px;
  }

  .immersion__head {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    margin-bottom: 42px;
  }

  .immersion__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
  }

  .immersion__grid > li {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--ink-muted);
  }

  .immersion__grid picture {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
  }

  .immersion__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .immersion__copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--ink-muted);
    padding: 32px 36px 36px;
  }

  .immersion__copy h3,
  .sound__copy h3 {
    font-size: var(--step-2);
    font-weight: 500;
    margin-bottom: 16px;
  }

  .sound__inner {
    margin-top: 40px;
  }

  .sound__inner .section-title {
    margin-bottom: 40px;
  }

  .sound__panel {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: var(--ink-muted);
    border-radius: 20px;
    overflow: hidden;
  }

  .sound__photo {
    min-height: 0;
    height: 100%;
  }

  .sound__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sound__copy {
    padding: 40px 40px 80px;
  }

  .sound__logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .sound__logo {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
  }

  .sound__logo img {
    width: auto;
    max-width: 100%;
    height: 36px;
    object-fit: contain;
    mix-blend-mode: lighten;
  }

  .sound__copy h3 + p {
    margin-bottom: 40px;
  }

  .contacts {
    padding: 128px 0;
  }

  .contacts__title {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin: 0 auto 56px;
    text-align: center;
    font-size: var(--step-4);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .contacts__title span {
    font-size: var(--step-2);
    font-weight: 500;
    color: var(--ink-muted);
  }

  .contacts__layout {
    display: grid;
    grid-template-columns: 560px 1fr;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .contacts__form {
    background: var(--ink);
    color: var(--paper);
    padding: 40px 32px;
  }

  .contacts__intro {
    font-size: var(--step-2);
    font-weight: 500;
    margin-bottom: 32px;
  }

  .contacts__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
  }

  .contacts__map {
    min-height: 560px;
    background: var(--mist);
  }

  .contacts__map iframe,
  .contacts__map--page iframe {
    width: 100%;
    height: 100%;
    min-height: 560px;
    border: 0;
    background: var(--mist);
  }

  .page {
    padding: 80px 0 120px;
  }

  .page--thanks .page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .page--thanks .section-title,
  .page--error .section-title {
    margin-bottom: 24px;
  }

  .page--thanks p,
  .page--error p {
    margin-bottom: 12px;
  }

  .page--thanks .btn,
  .page--error .btn {
    margin-top: 32px;
  }

  .page__code {
    font-size: var(--step-5);
    font-weight: 700;
    color: var(--line);
  }

  .prose {
    max-width: 820px;
  }

  .prose h1 {
    font-size: var(--step-4);
    margin-bottom: 32px;
  }

  .prose h2 {
    font-size: var(--step-2);
    margin: 32px 0 12px;
  }

  .prose p,
  .prose li {
    margin-bottom: 12px;
  }

  .prose ul {
    padding-left: 1.2em;
    list-style: disc;
  }

  @media (max-width: 1050px) {
    .hero__title {
      order: 1;
      margin-bottom: 16px;
    }

    .hero__badge {
      position: static;
      order: 2;
      max-width: none;
      margin: 0 0 20px;
    }

    .hero__lead {
      order: 3;
    }

    .hero__actions {
      order: 4;
    }

    .experience__intro,
    .immersion__head,
    .systems__inner,
    .lineup__slide,
    .immersion__grid,
    .sound__panel,
    .contacts__layout,
    .page--thanks .page__grid {
      grid-template-columns: 1fr;
      flex-direction: column;
    }

    .experience__intro {
      align-items: stretch;
      gap: 24px;
    }

    .showcase__grid {
      grid-template-columns: 1fr 1fr;
    }

    .experience__cta,
    .immersion__cta {
      order: 2;
      width: 100%;
      max-width: 328px;
      margin-inline: auto;
    }

    .lineup__pin {
      padding: 88px 0 28px;
      gap: 20px;
    }

    .lineup__toolbar {
      margin-bottom: 20px;
    }

    .lineup__slide {
      width: 100%;
      gap: 20px;
    }

    .lineup__photo {
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 3;
    }

    .lineup__photo img {
      position: absolute;
      object-fit: cover;
      width: 100%;
      height: 100%;
      border-radius: 12px;
    }

    .lineup__viewport {
      min-height: 0;
    }

    .lineup__copy p {
      font-size: 1rem;
    }

    .lineup__copy p:nth-of-type(n+3) {
      display: none;
    }

    .lineup__thumbs {
      gap: 12px;
    }

    .lineup__thumb {
      width: auto;
      font-size: 0.85rem;
    }

    .immersion__inner,
    .sound__inner {
      padding: 40px 24px;
    }

    .contacts__map iframe {
      min-height: 360px;
    }
  }

  @media (max-width: 768px) {
    .experience,
    .contacts {
      padding-block: 64px;
    }

    .experience {
      padding-bottom: 32px;
    }

    .showcase {
      padding-block: 24px 64px;
    }

    .experience__grid,
    .showcase__grid {
      grid-template-columns: 1fr;
      grid-auto-rows: auto;
    }

    .card {
      min-height: 0;
      gap: 14px;
      padding: 18px 16px;
    }

    .card__icon {
      width: 36px;
      height: 36px;
    }

    .lineup__pin {
      justify-content: flex-start;
      padding: 72px 0 16px;
      gap: 14px;
      overflow-x: hidden;
      overflow-y: auto;
    }

    .lineup__progress {
      top: 68px;
    }

    .lineup__stage {
      flex: 0 0 auto;
      min-height: 0;
      padding: 16px 0 18px;
    }

    .lineup__toolbar {
      margin-bottom: 14px;
    }

    .section-title,
    .contacts__title,
    .lineup__title {
      font-size: clamp(1.35rem, 0.7rem + 3.2vw, 1.6rem);
      line-height: 1.22;
      letter-spacing: -0.03em;
    }

    .section-title br,
    .contacts__title br {
      display: none;
    }

    .lineup .slider-nav {
      width: 40px;
      height: 40px;
    }

    .lineup__copy {
      overflow: visible;
    }

    .lineup__copy h3 {
      font-size: 1.1rem;
      margin-bottom: 8px;
    }

    .lineup__copy p {
      font-size: 0.86rem;
      line-height: 1.45;
    }

    .lineup__copy p + p {
      margin-top: 8px;
    }

    .lineup__photo {
      height: auto;
      max-height: none;
      aspect-ratio: 16 / 10;
      border-radius: 16px;
    }

    .lineup__pin > .container:last-child {
      flex: 0 0 auto;
      display: block;
      min-height: 0;
    }

    .lineup__picker {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .lineup__picker-nav {
      display: none;
    }

    .lineup__thumbs {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      justify-content: stretch;
      gap: 12px;
      width: 100%;
    }

    .lineup__thumb {
      width: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 0.78rem;
      line-height: 1.25;
    }

    .lineup__thumb > span:last-child {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .lineup__thumb-photo {
      width: 100%;
      max-width: none;
      aspect-ratio: 16 / 9;
      margin-bottom: 8px;
      border-radius: 12px;
    }

    .hero {
      align-items: center;
      background-image: url("../images/hero/poster-mobile.webp");
    }

    .hero__inner {
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 72px 0 28px;
    }

    .hero__title {
      font-size: clamp(1.75rem, calc((100vw - 2 * var(--gutter)) / 10.4), 2.25rem);
      line-height: 1.08;
      margin-bottom: 16px;
    }

    .hero__title-start {
      display: inline-block;
      max-width: 100%;
      white-space: nowrap;
      letter-spacing: -0.04em;
    }

    .hero__badge {
      justify-content: center;
      gap: 8px;
      font-size: 0.8125rem;
      line-height: 1.35;
    }

    .hero__badge svg {
      width: 22px;
      height: 22px;
    }

    .hero__lead {
      width: min(100%, 22.5rem);
      max-width: none;
      margin-inline: auto;
      margin-bottom: 22px;
    }

    .hero__lead p {
      font-size: 1.0625rem;
      font-weight: 500;
      line-height: 1.35;
      letter-spacing: -0.02em;
      color: rgb(255 255 255 / 0.88);
      margin-bottom: 14px;
      text-wrap: balance;
    }

    .hero__lead-break {
      display: block;
    }

    .hero__chips {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      justify-content: stretch;
      gap: 6px;
      width: 100%;
    }

    .hero__chip {
      width: 100%;
      min-width: 0;
      justify-content: center;
      height: 38px;
      gap: 5px;
      padding: 0 6px;
      font-size: 0.72rem;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .hero__chip svg {
      width: 15px;
      height: 15px;
    }

    @media (max-width: 380px) {
      .hero__chip svg {
        display: none;
      }

      .hero__chip {
        font-size: 0.75rem;
        padding: 0 4px;
      }
    }

    .experience__subtitle,
    .systems__lead,
    .contacts__intro,
    .contacts__title span {
      font-size: 0.98rem;
      line-height: 1.45;
    }

    .experience__subtitle {
      margin-top: 12px;
      max-width: none;
    }

    .systems__lead {
      margin: 14px 0 22px;
    }

    .contacts__title {
      gap: 10px;
      margin-bottom: 28px;
    }

    .immersion__copy h3,
    .sound__copy h3 {
      font-size: 1.125rem;
      margin-bottom: 10px;
    }

    .btn,
    .hero__play {
      min-width: 0;
      height: 52px;
      font-size: 1rem;
      padding: 0 22px;
    }

    .hero__play {
      padding: 0 18px 0 10px;
    }

    .hero__play-icon {
      width: 34px;
      height: 34px;
    }

    .lead-form__field input {
      height: 48px;
      font-size: 1rem;
      padding-inline: 14px;
    }

    .modal .lead-form__field input {
      height: 48px;
      padding: 0 16px;
    }

    .modal .btn {
      width: 100%;
      max-width: none;
      height: 48px;
      margin-top: 4px;
    }

    .contacts__form {
      padding: 24px 20px;
    }

    .contacts__chips {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin-bottom: 24px;
    }

    .contact-chip {
      width: 100%;
      min-width: 0;
      display: flex;
      align-items: center;
      font-size: 0.875rem;
      padding: 14px 14px 14px 12px;
      line-height: 1.35;
    }

    .contact-chip span {
      min-width: 0;
      overflow-wrap: break-word;
    }

    .hero__actions {
      flex-direction: column;
      align-items: center;
    }

    .hero__play {
      width: 100%;
      max-width: 320px;
      justify-content: center;
    }

    .showcase__item p {
      padding: 12px 14px 14px;
      font-size: 0.9rem;
      line-height: 1.35;
    }

    .lineup__copy p:nth-of-type(n+2) {
      display: block;
    }

    .lineup__track {
      height: auto;
    }

    .lineup__pin {
      position: static;
      height: auto;
      overflow: visible;
      padding: 48px 0 32px;
    }

    .lineup__progress {
      display: none;
    }

    .sound__logos {
      grid-template-columns: 1fr 1fr;
    }

    .sound__copy {
      padding: 24px 20px 20px;
    }
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes phone-ring {
  to {
    --phone-angle: 360deg;
  }
}

@keyframes shine {
  0% {
    left: -40%;
  }
  45%,
  100% {
    left: 130%;
  }
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes grain-shift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-1.5%, 1%);
  }
  50% {
    transform: translate(1.2%, -1.8%);
  }
  75% {
    transform: translate(-0.8%, -1%);
  }
  100% {
    transform: translate(0, 0);
  }
}

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

  .hero__inner > *,
  [data-reveal],
  [data-reveal-stagger] > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .lineup__track {
    height: auto;
  }

  .lineup__pin {
    position: static;
    height: auto;
    padding: 64px 0;
    overflow: visible;
  }

  .lineup__slide {
    transition: none;
  }

  .hero__grain {
    animation: none;
  }
}
