:root {
  --black: #070807;
  --ink: #f3efe6;
  --ink-soft: rgba(243, 239, 230, 0.78);
  --ink-muted: rgba(243, 239, 230, 0.58);
  --rule: rgba(243, 239, 230, 0.22);
  --panel: rgba(7, 8, 7, 0.34);
  --accent: #d9d0bf;
  --display: "Avenir Next Condensed", "Avenir Next", "DIN Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "Avenir Next", "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100svh;
  background: var(--black);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(20px, 3.5vw, 44px);
}

.hero__video,
.hero__shade,
.hero__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  object-fit: cover;
  object-position: center;
  z-index: -4;
  filter: saturate(0.82) contrast(1.08) brightness(0.9);
}

.hero__shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7, 8, 7, 0.86) 0%, rgba(7, 8, 7, 0.64) 32%, rgba(7, 8, 7, 0.28) 63%, rgba(7, 8, 7, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 8, 7, 0.52) 0%, rgba(7, 8, 7, 0.2) 34%, rgba(7, 8, 7, 0.18) 54%, rgba(7, 8, 7, 0.76) 100%);
}

.hero__texture {
  z-index: -2;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.65) 42%, transparent 84%);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(118px, 12vw, 172px);
  opacity: 0.94;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.topbar__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  background: rgba(7, 8, 7, 0.22);
  color: rgba(243, 239, 230, 0.82);
  font-size: 13px;
  line-height: 1;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.topbar__contact:hover {
  border-color: rgba(243, 239, 230, 0.5);
  background: rgba(243, 239, 230, 0.1);
  color: var(--ink);
}

.hero__content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(880px, 100%);
  padding-bottom: clamp(56px, 7vh, 84px);
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__copy {
  max-width: 660px;
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.34;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: clamp(22px, 3vw, 32px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #fffaf0;
}

.hero__actions p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.35;
}

.sound-toggle {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 3.5vw, 44px);
  bottom: clamp(20px, 3.5vw, 44px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(243, 239, 230, 0.78);
  cursor: pointer;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] {
  color: var(--ink);
  opacity: 1;
}

.sound-toggle:hover {
  transform: translateY(-1px);
}

.sound-toggle__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-toggle__icon--on {
  display: none;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon--off {
  display: none;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon--on {
  display: block;
}

@media (max-width: 760px) {
  .hero {
    padding: 18px;
  }

  .brand {
    width: 126px;
  }

  .topbar__contact {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 8, 7, 0.72) 0%, rgba(7, 8, 7, 0.42) 28%, rgba(7, 8, 7, 0.44) 54%, rgba(7, 8, 7, 0.88) 100%),
      linear-gradient(90deg, rgba(7, 8, 7, 0.7) 0%, rgba(7, 8, 7, 0.32) 100%);
  }

  .hero__texture {
    opacity: 0.22;
    background-size: 36px 36px;
  }

  .hero__content {
    align-self: center;
    padding-bottom: 72px;
    transform: translateY(4vh);
  }

  h1 {
    font-size: clamp(44px, 11vw, 64px);
    line-height: 0.94;
  }

  .hero__copy {
    max-width: 32rem;
    font-size: 16px;
    line-height: 1.38;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .button {
    width: 100%;
    max-width: 220px;
  }
}

@media (max-width: 420px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar__contact {
    display: none;
  }

  .hero__copy {
    font-size: 15px;
  }

  .sound-toggle {
    left: 18px;
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    animation: none;
  }

  .button,
  .topbar__contact,
  .sound-toggle {
    transition: none;
  }
}
