:root {
  color-scheme: dark;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: #09090a;
  color: #fcfaf9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.page {
  --gutter: clamp(1.25rem, 6vw, 6rem);
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem var(--gutter);
  border-block-end: 1px solid #282325;
}

.brand {
  display: block;
  width: clamp(8rem, 16vw, 12rem);
  height: auto;
}

.language-switch,
.video-toggle {
  min-height: 2.75rem;
  min-width: 5.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid #595153;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.language-switch:hover,
.video-toggle:hover {
  border-color: #ff534b;
  background: #271316;
}

.language-switch:focus-visible,
.video-toggle:focus-visible {
  outline: 2px solid #ff766d;
  outline-offset: 4px;
}

.hero {
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 25%;
  z-index: -1;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #09090a, #09090a00 32%),
    linear-gradient(0deg, #09090a 1%, #09090a00 26%, #09090a00 80%, #09090a 100%);
}

.hero-content {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 4rem var(--gutter);
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 9.2vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.86;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 span + span {
  margin-block-start: 0.12em;
  color: #ff534b;
}

.hero-content p {
  max-width: 25ch;
  margin: 1.75rem 0 0;
  color: #d0c8ca;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.video-toggle {
  margin-block-start: 1.25rem;
}

[dir="rtl"] .hero-visual {
  inset: 0 25% 0 0;
}

[dir="rtl"] .hero-visual::after {
  transform: scaleX(-1);
}

[dir="rtl"] h1 {
  font-size: clamp(3.75rem, 8vw, 8rem);
  letter-spacing: normal;
  line-height: 1.15;
}

@media (max-width: 50rem) {
  .hero {
    grid-template-rows: auto 1fr;
    align-items: start;
  }

  .hero-content {
    grid-row: 1;
    padding-block: clamp(3rem, 11vw, 5rem) 1.5rem;
  }

  h1 {
    font-size: clamp(3.5rem, 12.5vw, 6.25rem);
  }

  .hero-visual,
  [dir="rtl"] .hero-visual {
    position: relative;
    inset: auto;
    grid-row: 2;
    height: min(62svh, 177.78vw);
    align-self: start;
  }

  .hero-visual::after {
    background: linear-gradient(0deg, #09090a 1%, #09090a00 25%, #09090a00 77%, #09090a 100%);
  }
}
