.site-header,
.site-footer {
  min-block-size: 4rem;
  padding-block: var(--space-4);
}

.site-header {
  position: absolute;
  z-index: 10;
  inline-size: 100%;
  color: var(--color-surface);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  min-block-size: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand-logo {
  display: block;
  inline-size: 8.75rem;
  block-size: auto;
}

.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-cta { display: none; }

.hero-section {
  position: relative;
  display: grid;
  block-size: 100svh;
  min-block-size: 100svh;
  overflow: clip;
  background:
    linear-gradient(rgb(0 0 0 / 78%), rgb(0 0 0 / 78%)),
    url('../../assets/images/bghero.png') center / cover no-repeat,
    linear-gradient(135deg, #000 0%, #373435 58%, #1e1d1f 100%);
  color: var(--color-surface);
}

.hero-section::before {
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(
    from 90deg at 50% 50%,
    rgb(255 204 41 / 20%) 0 25%,
    transparent 0 50%
  );
  background-size: 0.5rem 0.5rem;
  content: '';
  mix-blend-mode: screen;
  opacity: 0.08;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  min-block-size: 100%;
  align-items: center;
  gap: var(--space-6);
  padding-block: 6.25rem var(--space-8);
}

.hero-content {
  display: grid;
  max-inline-size: 39rem;
  gap: var(--space-4);
}

.hero-title {
  max-inline-size: 100%;
  font-family: var(--font-hero);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-title span { display: block; white-space: nowrap; }
.hero-title span:last-child { color: var(--color-brand-yellow); }

.hero-subtitle {
  max-inline-size: 34ch;
  color: rgb(255 255 255 / 76%);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 500;
  line-height: 1.4;
}

.hero-cta {
  inline-size: 100%;
  padding-inline: var(--space-4);
  font-size: clamp(0.75rem, 2.6vw, 0.875rem);
}
.hero-cta::after { margin-inline-start: var(--space-3); content: '→'; }

.hero-scroll-cue {
  position: absolute;
  inset-inline: 0;
  inset-block-end: var(--space-4);
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 0.35rem;
  color: rgb(255 255 255 / 68%);
  font-size: clamp(0.7rem, 1.2vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  color: var(--color-brand-yellow);
}

.hero-scroll-cue__arrows {
  position: relative;
  inline-size: 1rem;
  block-size: 0.8rem;
  animation: hero-scroll-cue-bounce 2.4s ease-in-out infinite;
}

.hero-scroll-cue__arrows::before,
.hero-scroll-cue__arrows::after {
  position: absolute;
  inset-inline-start: 50%;
  inline-size: 0.5rem;
  block-size: 0.5rem;
  border-inline-end: 1px solid currentColor;
  border-block-end: 1px solid currentColor;
  content: '';
  transform: translateX(-50%) rotate(45deg);
}

.hero-scroll-cue__arrows::before {
  inset-block-start: 0;
  opacity: 0.55;
}

.hero-scroll-cue__arrows::after {
  inset-block-start: 0.28rem;
}

@keyframes hero-scroll-cue-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(0.18rem);
  }
}

@media (width <= 47.99rem) {
  .site-header__inner {
    justify-content: center;
  }

  .site-header__inner > a {
    margin-inline: auto;
  }

  .header-actions {
    display: none;
  }
}

@media (width >= 48rem) {
  .page-shell { inline-size: min(100% - 2 * var(--space-8), var(--container)); }
  .hero-cta { inline-size: fit-content; }
}

@media (width >= 64rem) {
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header-actions { justify-content: end; }
  .header-cta { display: inline-flex; min-inline-size: auto; min-block-size: 3rem; }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-block: 5.5rem var(--space-6);
  }
}
