:root {
  --night: #0b1030;
  --deep: #05071a;
  --red: #e0222f;
  --gold: #f2c14e;
  --snow: #f6f4ee;
  --muted: #b9bfd8;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--deep);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: linear-gradient(#0b1030, #05071a 70%);
  color: var(--snow);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.page {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 40px 16px 56px;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(44px, 10vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.banners {
  display: grid;
  gap: 20px;
}

.banner {
  position: relative;
  display: block;
  aspect-ratio: 5 / 2;
  overflow: hidden;
  border-radius: 14px;
  background: var(--night);
  color: var(--snow);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.banner:hover {
  transform: translateY(-3px);
}

.banner:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(16px, 4vw, 34px);
  background: linear-gradient(90deg, rgba(5, 7, 26, 0.86), rgba(5, 7, 26, 0) 62%);
}

.banner-title {
  font-size: clamp(30px, 6.4vw, 56px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.banner-tagline {
  max-width: 22em;
  font-size: clamp(16px, 2.4vw, 21px);
  line-height: 1.3;
}

@media (max-width: 560px) {
  .banner {
    aspect-ratio: auto;
  }

  .banner img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .banner-text {
    position: static;
    background: none;
  }
}
