:root {
  --ink: #ffffff;
  --paper: #ffffff;
  --dark: #000000;
  --muted: #d8d8d8;
  --accent: #9f1020;
  --shadow: rgba(0, 0, 0, 0.46);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--dark);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

body.is-panel-open,
body.is-menu-open {
  overflow: hidden;
}

.sticky-header {
  position: fixed;
  z-index: 20;
  top: clamp(14px, 3vw, 34px);
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 10px 14px 10px clamp(12px, 2vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.28));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
  backdrop-filter: blur(20px);
  transition: opacity 1200ms var(--ease-premium), transform 1200ms var(--ease-premium);
}

body.is-mobile-header-visible .sticky-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.is-sticky-header-visible .sticky-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

body.is-menu-open .sticky-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-logo {
  display: block;
  width: clamp(190px, 28vw, 360px);
  line-height: 0;
}

.sticky-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 300ms ease, transform 300ms ease;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 520ms var(--ease-premium), opacity 520ms var(--ease-premium);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(159, 16, 32, 0.72);
  outline: none;
}

body.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: grid;
  place-items: center;
  padding: clamp(28px, 8vw, 110px);
  background:
    radial-gradient(circle at 50% 40%, rgba(159, 16, 32, 0.2), transparent 30%),
    rgba(0, 0, 0, 0.84);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(22px);
  transition: opacity 900ms var(--ease-premium);
}

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

.mobile-menu {
  display: grid;
  justify-items: center;
  gap: clamp(22px, 4vw, 42px);
}

.mobile-menu a {
  color: var(--ink);
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  filter: blur(9px);
  transform: translateY(22px);
  transition:
    color 300ms ease,
    filter 1200ms var(--ease-premium),
    letter-spacing 1200ms var(--ease-premium),
    opacity 1200ms var(--ease-premium),
    transform 1200ms var(--ease-premium);
}

.menu-overlay.is-open .mobile-menu a {
  opacity: 1;
  filter: blur(0);
  letter-spacing: 0.08em;
  transform: translateY(0);
}

.menu-overlay.is-open .mobile-menu a:nth-child(2) {
  transition-delay: 80ms;
}

.menu-overlay.is-open .mobile-menu a:nth-child(3) {
  transition-delay: 160ms;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--accent);
  outline: none;
}

.floating-nav {
  position: fixed;
  z-index: 18;
  right: clamp(18px, 4vw, 56px);
  top: clamp(18px, 4vw, 48px);
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  backdrop-filter: blur(18px);
  transition: opacity 1200ms var(--ease-premium), transform 1200ms var(--ease-premium);
}

body.is-sticky-header-visible .floating-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 300ms ease, color 300ms ease;
}

.floating-nav a:hover,
.floating-nav a:focus-visible {
  color: var(--ink);
  background: rgba(159, 16, 32, 0.68);
  outline: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
}

.site-logo {
  position: absolute;
  z-index: 2;
  top: clamp(22px, 4vw, 48px);
  left: clamp(22px, 4vw, 56px);
  display: block;
  width: clamp(68px, 8vw, 118px);
  line-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 1600ms var(--ease-premium), transform 1600ms var(--ease-premium);
}

.hero.is-video-ended .site-logo {
  opacity: 0.72;
  transform: translateY(0);
}

.site-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.56));
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--dark);
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.01);
  transition: filter 1800ms var(--ease-premium), transform 3000ms var(--ease-premium);
}

.hero-video,
.site-logo {
  will-change: transform;
}

.hero.is-video-ended .hero-video {
  filter: grayscale(1) contrast(1.2) brightness(0.88);
  transform: scale(1.025);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18) 50%, rgba(0, 0, 0, 0.82)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 48%);
  transition: opacity 2200ms var(--ease-premium);
}

.hero.is-overlay-visible .hero-shade {
  opacity: 1;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.1), transparent 28%),
    radial-gradient(circle at 35% 60%, rgba(159, 16, 32, 0.12), transparent 32%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.24) 100%);
  mix-blend-mode: screen;
  transition: opacity 2400ms var(--ease-premium);
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 65%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.5px);
  background-size: 4px 4px, 7px 7px;
  mix-blend-mode: soft-light;
  animation: grainDrift 9s steps(6) infinite;
}

.hero.is-overlay-visible .hero-atmosphere {
  opacity: 0.55;
}

.hero.is-overlay-visible::after {
  opacity: 0.16;
}

.hero-menu {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - clamp(48px, 10vw, 180px)));
  display: grid;
  justify-items: center;
  gap: clamp(28px, 4.5vw, 56px);
  padding-top: clamp(42px, 8vw, 96px);
}

.hero-menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 104px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 18px 42px var(--shadow);
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
  transition:
    color 400ms ease,
    filter 1800ms var(--ease-premium),
    letter-spacing 1800ms var(--ease-premium),
    opacity 1800ms var(--ease-premium),
    transform 1800ms var(--ease-premium);
}

.hero-menu-link:nth-child(odd) {
  transform: translateX(-28px);
}

.hero-menu-link:nth-child(even) {
  transform: translateX(28px);
}

.hero-menu-link.is-visible {
  opacity: 1;
  filter: blur(0);
  letter-spacing: 0.08em;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-menu-link:hover,
.hero-menu-link:focus-visible {
  color: var(--accent);
  outline: none;
}

.feature-strip {
  min-height: 62svh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: clamp(84px, 12vw, 160px) clamp(28px, 9vw, 140px);
  background:
    radial-gradient(circle at 18% 40%, rgba(159, 16, 32, 0.18), transparent 26%),
    linear-gradient(180deg, #050505, #000000);
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition: opacity 1400ms var(--ease-premium), transform 1400ms var(--ease-premium), filter 1400ms var(--ease-premium);
}

.feature-strip-right {
  justify-items: end;
  text-align: right;
  background:
    radial-gradient(circle at 82% 42%, rgba(159, 16, 32, 0.2), transparent 28%),
    linear-gradient(180deg, #020202, #080808);
}

.feature-strip.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.feature-index {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.feature-strip h2 {
  margin: 0;
  font-size: clamp(46px, 8vw, 116px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-link {
  min-height: 44px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 7px;
  transition: color 300ms ease;
}

.feature-link:hover,
.feature-link:focus-visible {
  color: var(--accent);
  outline: none;
}

.panel-shell {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(26px, 6vw, 92px);
  color: var(--ink);
  background:
    radial-gradient(circle at 52% 44%, rgba(159, 16, 32, 0.22), transparent 28%),
    rgba(0, 0, 0, 0.86);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(24px);
  transition: opacity 900ms var(--ease-premium);
}

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

.panel-close {
  position: absolute;
  top: clamp(20px, 4vw, 48px);
  right: clamp(20px, 4vw, 58px);
  min-height: 42px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-close:hover,
.panel-close:focus-visible {
  color: var(--accent);
  outline: none;
}

.panel-content {
  display: none;
  width: min(920px, 100%);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(10px);
}

.panel-content.is-active {
  display: block;
  animation: panelIn 1300ms var(--ease-premium) forwards;
}

.panel-content p {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.panel-content h2 {
  margin: 0 0 26px;
  font-size: clamp(54px, 10vw, 138px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-content a {
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-underline-offset: 8px;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px clamp(28px, 7vw, 96px);
  margin-top: 0;
  padding: 110px clamp(24px, 6vw, 92px) 34px;
  color: var(--ink);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.86) 48%, rgba(0, 0, 0, 0));
  border-top: 0;
}

.footer-block {
  width: min(430px, 100%);
}

.footer-block h2 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.site-footer a {
  text-underline-offset: 6px;
}

.legal-page {
  color: var(--dark);
  background: var(--paper);
}

.legal-header {
  position: sticky;
  top: 0;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.legal-main {
  min-height: calc(100svh - 150px);
  display: grid;
  align-items: center;
  padding: 80px 20px;
}

.legal-content {
  width: min(780px, 100%);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.legal-content h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
}

.legal-content p,
.legal-content address {
  color: #202020;
  font-size: 18px;
}

.legal-content .text-link {
  color: var(--dark);
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
  }

  .site-logo {
    width: clamp(64px, 18vw, 92px);
  }

  .hero-menu-link {
    font-size: clamp(34px, 11vw, 58px);
    letter-spacing: 0.12em;
  }

  .hero-menu {
    width: min(100%, calc(100% - 48px));
    gap: 30px;
  }

  .sticky-header {
    min-height: 64px;
    border-radius: 18px;
  }

  .sticky-logo {
    width: min(58vw, 260px);
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .floating-nav {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 18px;
    max-width: calc(100% - 28px);
    overflow-x: auto;
    transform: translate(-50%, 18px);
  }

  body.is-sticky-header-visible .floating-nav {
    transform: translate(-50%, 0);
  }

  .floating-nav a {
    flex: 0 0 auto;
    padding: 0 10px;
    font-size: 10px;
  }

  .site-footer {
    flex-direction: column;
    padding-top: 96px;
  }
}

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

  20% {
    transform: translate3d(-3%, 2%, 0);
  }

  40% {
    transform: translate3d(2%, -3%, 0);
  }

  60% {
    transform: translate3d(3%, 3%, 0);
  }

  80% {
    transform: translate3d(-2%, -2%, 0);
  }

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

@keyframes panelIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
