/* Reference composition, using the existing transparent logo and wordmark. */
.hero-screen {
  --hero-header-height: 88px;
  --hero-background-image: url('/assets/hero-image.png');
  display: flex;
  flex-direction: column;
  /* The header is part of the first viewport; the stats sit at its bottom. */
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
}
.hero-screen > .pulse { flex: none; }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  padding: clamp(16px, 3svh, 38px) 24px;
  border-bottom: 0;
  background: none;
}

/* The transparent hero scrolls over a viewport-fixed image.
   Paint only as far as the stats, keeping the marble below them.
   The ivory veil preserves text contrast without fading the content. */
.hero::before {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--hero-header-height)) 0 0;
  z-index: -1;
  pointer-events: none;
  background-color: transparent;
  background-image: linear-gradient(#f7f5f099, #f7f5f099), var(--hero-background-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero .hero-tree {
  width: clamp(72px, 16svh, 150px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 5px;
  object-fit: contain;
}

.hero h1 {
  position: relative;
  width: min(860px, 100%, 100svh);
  aspect-ratio: 5.2;
  margin: 0;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}

/* Compensate for transparent padding without modifying the supplied PNG. */
.hero .wordmark {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-18%);
}

.hero .hero-subtitle {
  margin: 8px 0 0;
  padding-left: .48em;
  color: #3e3020;
  font: 400 clamp(16px, 2.5vw, 30px)/1.4 var(--serif);
  letter-spacing: .48em;
  white-space: nowrap;
}

.hero-divider {
  width: min(620px, 76%);
  height: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px auto 12px;
  color: var(--gold);
}
.hero-divider::before, .hero-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #b78a3c99);
}
.hero-divider::after { transform: rotate(180deg); }
.hero-divider span {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  box-shadow: -6px 6px 0 -2px currentColor, 6px -6px 0 -2px currentColor;
}

.hero .hero-line {
  margin: 0 0 8px;
  max-width: 900px;
  color: #4b3925;
  font: 700 15px/1.7 var(--serif);
  letter-spacing: .3em;
  text-transform: uppercase;
}
.hero .hero-description {
  /* Keep the original responsive line height and wrapping as a spacer. */
  visibility: hidden;
  max-width: 900px;
  color: #5c5143;
  font: 400 11px/1.9 var(--serif);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero .actions { gap: 24px; margin-top: 28px; }
.hero .button { min-width: 230px; }

/* Keep the new typography independent of language-specific older hero rules. */
html[lang] .hero .hero-line { font-size: 15px; }
@media (max-width: 600px) {
  .hero-screen { --hero-header-height: 72px; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); }
  .hero { min-height: 0; padding: 20px 18px; }
  .hero .hero-tree { width: clamp(72px, 12svh, 104px); margin-bottom: 8px; }
  .hero .hero-subtitle { margin-top: 9px; font-size: clamp(12px, 3.9vw, 22px); letter-spacing: .32em; padding-left: .32em; }
  .hero-divider { width: 82%; margin: 7px auto 10px; }
  html[lang] .hero .hero-line { font-size: 11px; letter-spacing: .22em; }
  .hero .hero-description { max-width: 340px; font-size: 9px; letter-spacing: .16em; }
  .hero .actions { width: 100%; max-width: 430px; gap: 12px; margin-top: 24px; }
  .hero .button { min-width: 0; flex: 1 1 145px; font-size: 10px; padding-inline: 16px; }
}
.hero-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 3vw, 32px); width: min(440px, 100%); margin: 0 auto 12px; color: #4b3925; }
.hero-countdown strong { display: block; font: 700 clamp(30px, 4vw, 44px)/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.hero-countdown span { display: block; margin-top: 6px; font: 500 10px/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.hero-countdown.is-finished { visibility: hidden; }
