*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
h1, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grain {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
.emblem {
  position: absolute; z-index: 1; pointer-events: none;
  display: block; height: auto;
}
.steam {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: var(--steam-opacity, 1);
}
.content { position: relative; z-index: 4; flex: 1; display: flex; flex-direction: column; }

.header {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px;
  padding: clamp(22px, 3.2vw, 44px) clamp(22px, 4.4vw, 68px) 0;
}
.logo { justify-self: start; }
.nav { justify-self: center; }
.header__end { justify-self: end; display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: baseline; }
.nav { display: flex; align-items: center; }
.nav a { transition: opacity .25s ease, color .25s ease; }
.nav a:hover { opacity: .62; }
.cta { display: inline-flex; align-items: center; gap: 10px; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.cta svg { flex: none; }

.logo:focus-visible, .nav a:focus-visible, .cta:focus-visible,
.menu-toggle:focus-visible, .menu__nav a:focus-visible {
  outline: 1px solid currentColor; outline-offset: 4px; border-radius: 4px;
}

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px;
  border: 1px solid var(--ui-line); border-radius: 999px;
  color: var(--ui-ink);
  transition: border-color .25s ease, color .25s ease;
}
.menu-toggle span {
  position: absolute; left: 50%; width: 15px; height: 1px;
  background: currentColor; transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }

.menu {
  position: absolute; z-index: 30; top: calc(100% + 10px);
  left: clamp(22px, 4.4vw, 68px); right: clamp(22px, 4.4vw, 68px);
  display: flex; flex-direction: column; gap: 2px; padding: 12px;
  background: var(--ui-menu-bg); border: 1px solid var(--ui-line);
  border-radius: 20px; box-shadow: 0 26px 70px rgba(8, 12, 34, .32);
  backdrop-filter: blur(20px);
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: block; padding: 14px 8px;
  border-bottom: 1px solid var(--ui-line);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ui-menu-text); opacity: .82;
  transition: color .25s ease, opacity .25s ease;
}
.menu__nav a:last-child { border-bottom: 0; }
.menu .cta { justify-content: center; margin-top: 10px; }

.scroll {
  align-self: center; display: inline-flex; align-items: center; gap: 8px;
  pointer-events: none; color: var(--scroll-muted);
}
.scroll__label {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
}
.scroll__arrow {
  flex: none; color: var(--scroll-gold);
  animation: scroll-nudge 2.4s ease-in-out infinite;
}
@keyframes scroll-nudge {
  0%, 100% { transform: translateY(-2px); opacity: .45; }
  50% { transform: translateY(2px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll__arrow { animation: none; opacity: .85; }
}

.main {
  flex: 1; display: flex; flex-direction: column;
  padding: 0 clamp(22px, 4.4vw, 68px) clamp(22px, 3vw, 40px);
}
.title { font-weight: 300; }
.title span { display: block; }

.bottom {
  margin-top: auto;
  border-top: 1px solid;
  padding-top: clamp(14px, 1.5vw, 22px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.subtitle { white-space: pre-line; text-wrap: pretty; }
.date { white-space: nowrap; }

@media (max-width: 900px) {
  .hero { min-height: 100svh; }
  .header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .emblem { opacity: .12 !important; }
  .header__end .cta { display: none; }
  .menu-toggle { display: block; }
  .scroll { display: none; }
  .subtitle { white-space: normal; }
  .bottom { gap: 16px; }
}
@media (max-width: 360px) {
  .bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .date { align-self: flex-end; }
}
