:root {
      --background: #000000;
      --panel: #0b0b0b;
      --panel-soft: #141414;
      --text: #ffffff;
      --muted: #9b9b9b;
      --line: rgba(255,255,255,.15);
      --red: #ff0000;
      --red-dark: #c90000;
    }

    * { box-sizing: border-box; }

    html, body { min-height: 100%; }

    body {
      margin: 0;
      min-height: 100vh;
      overflow-x: hidden;
      color: var(--text);
      background: var(--background);
      font-family: Arial, Helvetica, sans-serif;
    }

    button, a { -webkit-tap-highlight-color: transparent; }
    button { color: inherit; font: inherit; }

    .page {
      min-height: 100vh;
      display: grid;
      grid-template-rows: 1fr auto;
      position: relative;
    }

    .main {
      width: min(920px, calc(100% - 40px));
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: clamp(26px, 5vh, 50px);
      padding: 54px 0 42px;
    }

    .logo {
      width: min(330px, 66vw);
      text-align: center;
      flex: 0 0 auto;
    }

    .logo h1 { margin: 0; font-size: inherit; font-weight: normal; }

    .logo img {
      display: block;
      width: 100%;
      height: auto;
      margin: 0 auto;
    }

    .logo p {
      margin: 16px 0 0;
      color: var(--text);
      font-size: clamp(.78rem, 1.4vw, 1rem);
      letter-spacing: .52em;
      text-indent: .52em;
    }

    .video-carousel {
      width: min(760px, 100%);
      border: 1px solid var(--line);
      background: var(--panel);
    }

    .carousel-window { overflow: hidden; }

    .carousel-track {
      display: flex;
      transition: transform .45s ease;
      will-change: transform;
    }

    .slide {
      flex: 0 0 100%;
      min-width: 0;
      aspect-ratio: 16 / 9;
      background: #050505;
    }

    .slide video {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #050505;
    }

    .carousel-bar {
      min-height: 52px;
      display: grid;
      grid-template-columns: 44px 1fr auto 44px;
      align-items: center;
      gap: 10px;
      padding: 4px 7px;
      border-top: 1px solid var(--line);
      background: var(--panel-soft);
    }

    .carousel-button,
    .icon-button {
      display: inline-grid;
      place-items: center;
      border: 1px solid var(--line);
      background: transparent;
      cursor: pointer;
      transition: background .2s ease, border-color .2s ease;
    }

    .carousel-button {
      width: 38px;
      height: 38px;
      border-radius: 50%;
    }

    .carousel-button:hover,
    .icon-button:hover {
      background: rgba(255,255,255,.08);
      border-color: rgba(255,255,255,.3);
    }

    .carousel-button svg,
    .icon-button svg { width: 20px; height: 20px; }

    .dots {
      display: flex;
      justify-content: center;
      gap: 9px;
    }

    .dot {
      width: 8px;
      height: 8px;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background: #5d5d5d;
      cursor: pointer;
    }

    .dot[aria-current="true"] {
      background: var(--red);
    }

    .counter {
      color: var(--muted);
      font-size: .75rem;
      letter-spacing: .12em;
      white-space: nowrap;
    }

    .floating-actions {
      position: fixed;
      z-index: 20;
      right: 24px;
      top: 50%;
      display: grid;
      gap: 13px;
      transform: translateY(-50%);
    }

    .icon-button {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      color: var(--text);
      text-decoration: none;
      background: rgba(14,14,14,.88);
      backdrop-filter: blur(8px);
    }

    .icon-button--contact {
      border-color: rgba(255,0,0,.65);
      background: var(--red);
    }

    .icon-button--contact:hover {
      border-color: var(--red);
      background: var(--red-dark);
    }

    .footer {
      padding: 18px 20px 24px;
      color: #777;
      font-size: .78rem;
      text-align: center;
    }

    .offcanvas {
      position: fixed;
      z-index: 30;
      top: 0;
      right: 0;
      width: min(390px, 90vw);
      height: 100vh;
      padding: 28px;
      border-left: 1px solid var(--line);
      color: var(--text);
      background: #090909;
      transform: translateX(101%);
      transition: transform .28s ease;
    }

    .offcanvas.is-open { transform: translateX(0); }

    .offcanvas header { display: flex; justify-content: flex-end; }

    .close-button {
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: transparent;
      cursor: pointer;
    }

    .offcanvas section { margin-top: 80px; }
    .offcanvas h2 { margin: 0 0 18px; font-size: 1.25rem; }
    .offcanvas p { margin: 0; }
    .offcanvas a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 5px; }

    .scrim {
      position: fixed;
      z-index: 25;
      inset: 0;
      border: 0;
      background: rgba(0,0,0,.68);
      opacity: 0;
      pointer-events: none;
      transition: opacity .28s ease;
    }

    .scrim.is-open { opacity: 1; pointer-events: auto; }

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

    @media (max-width: 760px) {
      .main {
        width: min(100% - 24px, 920px);
        justify-content: flex-start;
        padding-top: 48px;
      }

      .logo { width: min(270px, 68vw); }

      .floating-actions {
        top: 18px;
        right: 16px;
        grid-auto-flow: column;
        transform: none;
      }

      .icon-button { width: 46px; height: 46px; }
      .carousel-bar { grid-template-columns: 40px 1fr auto 40px; }
    }

    @media (max-width: 480px) {
      .main { gap: 28px; padding-top: 88px; }
      .logo p { margin-top: 11px; font-size: .7rem; }
      .slide { aspect-ratio: 4 / 3; }
      .counter { display: none; }
      .carousel-bar { grid-template-columns: 40px 1fr 40px; }
      .carousel-button--next { grid-column: 3; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition-duration: .01ms !important; }
    }
