@font-face {
  font-family: 'Anton';
  src: url('./anton.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* The centered event identity is taken from the supplied reference artwork. */
.hero { min-height: 820px; }
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding-block: 42px 36px;
  text-align: center;
}
.hero-content > *, .hero-content h1, .hero-bottom, .site-header, .hero-controls {
  animation: none;
}
.hero .hero-dedication {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 32px;
}
.hero h1 {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(110px, 10.5vw, 164px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: #f3f0e4;
  max-width: 100%;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { font-size: .825em; }
.hero .hero-theme {
  color: #ffc567;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 1.7;
  margin-top: 20px;
}
.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}
.hero-lead { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-lead p { font-size: 16px; min-width: 0; }
.hero-lead .button { min-height: 50px; font-size: 14px; gap: 40px; }
.hero-date { flex-direction: row; align-items: center; gap: 18px; }
.hero-date p { font-size: 25px; }
.hero-date > span { font-size: 13px; text-align: left; }
.hero video { animation: ocean-arrive 1.7s cubic-bezier(.2,.6,.2,1) both; }
.hero .site-header { animation: surface-arrive .9s .35s both; }
.hero .hero-dedication { animation: water-type 1s .65s both; }
.hero h1 span:first-child { animation: water-type 1.25s .85s both; }
.hero h1 span:last-child { animation: water-type 1.25s 1.05s both; }
.hero .hero-theme { animation: water-type 1.1s 1.3s both; }
.hero .hero-bottom { animation: surface-arrive 1s 1.6s both; }
.hero .hero-controls { animation: surface-arrive 1s 1.9s both; }
.hero-scrim { background: rgba(0, 10, 12, .3); }
@keyframes ocean-arrive {
  from { opacity: 0; transform: scale(1.065); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes water-type {
  from { opacity: 0; transform: translateY(18px) scale(.98); filter: blur(15px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes surface-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll entrances replay on return; without JavaScript, content stays visible. */
.landing [data-reveal].reveal-pending {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 22px, 0);
}
.landing [data-reveal].is-revealed {
  animation: scroll-blur-reveal 1s cubic-bezier(.22, .65, .25, 1) var(--reveal-delay, 0ms) both;
}
@keyframes scroll-blur-reveal {
  from { opacity: 0; filter: blur(12px); transform: translate3d(0, 22px, 0); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }
}
.landing [data-reveal]:focus-within {
  animation: none;
  opacity: 1;
  filter: none;
  transform: none;
}

/* SVG refraction runs only during the screen transition. */
.water-filter-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
#typeform-overlay.water-entering { will-change: opacity, filter; }
#typeform-overlay.water-leaving { pointer-events: none; will-change: opacity, filter; }
.hero.water-out .hero-content { animation: submerge 1.25s ease both; }
.hero.water-out .hero-media { filter: url('#water-refraction'); }
.hero.water-return .hero-content { animation: water-type 1.1s ease both; }
#typeform-overlay .mist-child-enter { animation-duration: 1.1s; }
#typeform-overlay.water-entering .mist-child-enter { animation-delay: calc(.4s + var(--mist-stagger-delay, 0s)); }
#typeform-overlay h3[tabindex='-1']:focus { outline: none; }
@keyframes submerge {
  from { opacity: 1; filter: blur(0); transform: scale(1); }
  to { opacity: 0; filter: blur(16px); transform: scale(1.045); }
}
@media (min-width: 768px) and (max-height: 850px) {
  .hero { min-height: 740px; }
  .hero h1 { font-size: clamp(100px, 9vw, 130px); }
  .hero .hero-dedication { margin-bottom: 22px; }
  .hero-content { padding-block: 24px; }
  .hero-bottom { margin-top: 18px; gap: 16px; }
}
@media (max-width: 767px) {
  .hero { min-height: 760px; }
  .hero-content { padding-block: 40px 30px; }
  .hero .hero-dedication { font-size: 15px; margin-bottom: 26px; }
  .hero h1 { font-size: clamp(78px, 24vw, 140px); letter-spacing: -.025em; line-height: 1.08; }
  .hero .hero-theme { font-size: 12px; letter-spacing: .16em; margin-top: 18px; }
  .hero-bottom { margin-top: 24px; gap: 24px; }
  .hero-lead { align-items: center; gap: 18px; }
  .hero-lead p { font-size: 14px; }
  .hero-date { flex-direction: column; align-items: center; gap: 8px; }
  .hero-date p { font-size: 24px; white-space: nowrap; }
  .hero-date > span { font-size: 13px; max-width: none; text-align: center; }
}
@media (max-width: 360px) {
  .hero .hero-theme { font-size: 11px; }
  .hero-date { gap: 8px; }
  .hero-date p { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero *, #typeform-overlay { animation: none !important; filter: none !important; }
  .hero.water-out .hero-content { opacity: 1; }
  .landing [data-reveal] {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
