:root {
  --ink: #ffffff;
  --muted-ink: rgba(255, 255, 255, 0.68);
  --gold: #ffdea8;
  --deep: #080f1d;
  --font-display: "Libre Caslon Text", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--font-body);
}

main {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 72px 24px;
  text-align: center;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(4, 10, 21, 0.58) 0%, rgba(5, 12, 25, 0.87) 58%, rgba(6, 13, 27, 0.96) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
}

h1 {
  max-width: 1060px;
  margin: 0 auto 30px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.68);
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 33px;
}

.hero__subtitle {
  margin: 0 0 48px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 56px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.34;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.76);
}

.hero__subtitle span {
  display: block;
}

.hero__subtitle strong {
  font-size: 1.32em;
  font-weight: 700;
  letter-spacing: 0;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: clamp(18px, 3vw, 54px);
  justify-content: center;
  max-width: 760px;
}

.countdown__unit {
  min-width: 76px;
}

.countdown__number,
.countdown__label {
  display: block;
}

.countdown__number {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.25rem);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.countdown__label {
  margin-top: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.countdown__complete {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}

@media (max-width: 700px) {
  .hero {
    align-items: flex-start;
    min-height: 100svh;
    padding: 88px 20px 52px;
  }

  .hero__image {
    object-position: center top;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(5, 12, 25, 0.58) 0%, rgba(5, 12, 25, 0.86) 46%, rgba(6, 13, 27, 0.98) 100%);
  }

  h1 {
    max-width: 340px;
    margin-bottom: 34px;
    font-size: clamp(1.9rem, 8.15vw, 2.9rem);
    line-height: 1.02;
  }

  h1 span + span {
    margin-top: 29px;
  }

  .hero__subtitle {
    max-width: 330px;
    margin: 0 auto 64px;
    font-size: clamp(1.45rem, 6.1vw, 2.05rem);
    line-height: 1.35;
  }

  .countdown-block {
    gap: 20px;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(4px, 1.4vw, 8px);
    width: min(100%, 340px);
    max-width: 340px;
  }

  .countdown__unit {
    min-width: 0;
  }

  .countdown__unit--seconds {
    grid-column: auto;
  }

  .countdown__number {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 0.9;
  }

  .countdown__label {
    margin-top: 8px;
    color: var(--gold);
    font-size: clamp(0.48rem, 1.8vw, 0.62rem);
    font-weight: 700;
    letter-spacing: 0.09em;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: 1.78rem;
  }

  .countdown {
    gap: 5px;
  }
}
