:root {
  --green: #0d2516;
  --ivory: #f4efe4;
  --line: rgba(244, 239, 228, 0.34);
  --muted: rgba(244, 239, 228, 0.72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--green); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--green);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--green) url("assets/avoriq-poster.jpg") center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 15, 8, .28) 0%, rgba(4, 15, 8, .04) 42%, rgba(4, 15, 8, .68) 100%),
    linear-gradient(90deg, rgba(4, 15, 8, .34) 0%, rgba(4, 15, 8, 0) 55%);
}

.nav,
.hero__footer {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(20px, 4vw, 64px);
}

.nav {
  top: 0;
  padding-top: max(24px, env(safe-area-inset-top));
}

.nav__brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.4vw, 22px);
  letter-spacing: .42em;
}

.nav__link,
.hero__footer {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav__link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.hero__content {
  position: absolute;
  left: clamp(20px, 6vw, 96px);
  right: clamp(20px, 6vw, 96px);
  bottom: clamp(108px, 15vh, 170px);
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 116px);
  line-height: .92;
  letter-spacing: -.045em;
}

.intro {
  max-width: 610px;
  margin: 25px 0 0;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button--solid { background: var(--ivory); color: var(--green); border-color: var(--ivory); }
.button--ghost { backdrop-filter: blur(10px); background: rgba(7, 23, 13, .18); }
.button--ghost:hover { background: rgba(244, 239, 228, .12); border-color: rgba(244, 239, 228, .65); }

.hero__footer {
  bottom: 0;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  color: rgba(244, 239, 228, .66);
}

.sound {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.sound__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(244, 239, 228, .08);
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  padding: 12px 16px;
  background: #fff;
  color: #111;
  z-index: 10;
}

@media (max-width: 700px) {
  .hero__video { object-position: center; }
  .hero__content { bottom: 115px; }
  h1 { font-size: clamp(48px, 17vw, 78px); }
  .intro { max-width: 94%; }
  .button { width: 100%; }
  .actions { max-width: 360px; }
}

@media (max-width: 420px) {
  .hero__content { bottom: 102px; }
  .intro { font-size: 14px; }
  .nav__link { font-size: 10px; }
  .hero__footer > span { display: none; }
  .hero__footer { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .hero__video { display: none; }
}

.sound.is-on {
  color: var(--ivory);
}

.sound.is-on .sound__dot {
  animation: soundPulse 1.2s ease-in-out infinite alternate;
}

@keyframes soundPulse {
  from { transform: scale(.85); opacity: .65; }
  to { transform: scale(1.15); opacity: 1; }
}
