:root {
  --ink: #fff7eb;
  --cream: #fff7eb;
  --yellow: #ffda62;
  --line: rgba(255, 247, 235, 0.46);
  --page-padding: clamp(1.25rem, 3vw, 3.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  background: #181814;
  color: var(--ink);
  font-family: "Helvetica Neue", "Aptos", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  background: #181814;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 0.9rem;
  transform: translateY(-160%);
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: #181814;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #181814;
  pointer-events: none;
}

.background__video {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
  transform: scale(1.015);
}

.page {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.42),
    0 10px 34px rgba(0, 0, 0, 0.5);
  min-height: 100vh;
  min-height: 100svh;
  padding: max(var(--page-padding), env(safe-area-inset-top))
    max(var(--page-padding), env(safe-area-inset-right))
    max(var(--page-padding), env(safe-area-inset-bottom))
    max(var(--page-padding), env(safe-area-inset-left));
}

.site-header {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  animation: reveal 800ms 80ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-header img {
  display: block;
  width: min(8.75rem, 100%);
  height: auto;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.26rem;
  padding: 0.15rem 0.35rem;
  text-align: left;
}

.brand__name {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand__name strong {
  font-weight: 800;
}

.brand__location {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  width: 100%;
  max-width: 76rem;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vh, 7rem) 0;
  text-align: center;
}

.hero:focus {
  outline: none;
}

.hero:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 0.5rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 clamp(1.2rem, 2.8vh, 2rem);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  animation: reveal 850ms 180ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.status__dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid rgba(255, 247, 235, 0.72);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0.22rem rgba(255, 247, 235, 0.48);
}

h1 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  font-size: clamp(3.15rem, 6.6vw, 7.25rem);
  font-weight: 650;
  letter-spacing: 4px;
  line-height: 0.88;
  text-wrap: balance;
  animation: reveal 900ms 260ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.title-line {
  display: block;
  max-width: 100%;
}

.highlight {
  display: inline-block;
  white-space: nowrap;
}

.hero__intro {
  width: 100%;
  max-width: 38rem;
  min-width: 0;
  margin: clamp(1.75rem, 4vh, 3rem) auto 0;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 450;
  line-height: 1.55;
  text-wrap: balance;
  animation: reveal 900ms 350ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: clamp(0.75rem, 0.9vw, 0.82rem);
  line-height: 1.45;
  animation: reveal 850ms 520ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-footer address {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  margin: 0;
  font-style: normal;
}

.footer-label {
  margin-bottom: 0.25rem;
  color: rgba(255, 247, 235, 0.78);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero {
    padding-block: clamp(2.5rem, 6vh, 4rem);
  }

  h1 {
    font-size: clamp(2.65rem, 12.2vw, 4.65rem);
    letter-spacing: -0.03em;
    line-height: 0.92;
  }

  .site-footer {
    align-items: start;
    gap: 0.75rem;
  }
}

@media (max-width: 380px) {
  .page {
    --page-padding: 1rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3rem);
  }

  .hero__intro {
    font-size: 0.95rem;
  }

  .site-footer {
    font-size: 0.72rem;
  }
}

@media (max-height: 800px) and (min-width: 621px) {
  .hero {
    padding-block: 2.2rem;
  }

  h1 {
    font-size: clamp(3rem, 9vh, 5.4rem);
  }

  .hero__intro {
    margin-top: 1.4rem;
  }
}

@media (max-height: 650px) {
  .page {
    --page-padding: 1rem;
  }

  .hero {
    padding-block: 1.25rem;
  }

  .status {
    margin-bottom: 0.8rem;
  }

  h1 {
    font-size: clamp(2.35rem, min(12vw, 9.5vh), 4.8rem);
    line-height: 0.9;
  }

  .hero__intro {
    margin-top: 1rem;
    font-size: 0.94rem;
  }

  .site-footer {
    padding-top: 0.7rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .site-footer address {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.75rem;
  }

  .footer-label {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .background__video {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  .page {
    text-shadow:
      0 2px 5px #000,
      0 0 22px #000;
  }

  .site-footer {
    border-top-color: var(--ink);
  }
}
