@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/geist-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/geist-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/geist-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/geist-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #23241f;
  --on-photo: #ffffff;
  --on-photo-dim: rgba(255, 255, 255, 0.82);
  --nav-h: 4.75rem;
  /* Below the hero the page turns over to paper. */
  --paper: #f6f3ec;
  --ink: #2a2b25;
  --ink-dim: rgba(42, 43, 37, 0.68);
  --rule: rgba(42, 43, 37, 0.13);
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ground);
  color: var(--on-photo);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.photo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  z-index: -2;
}

.has-photo::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 30%),
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.3) 38%, rgba(0, 0, 0, 0) 68%);
}

.langs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  height: var(--nav-h);
  padding: 0 2rem;
  mix-blend-mode: difference;
}

.langs button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--on-photo-dim);
  font: inherit;
  font-size: .8125rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s ease;
}

.langs button:hover { color: var(--on-photo); }

.langs button[aria-pressed='true'] { color: var(--on-photo); }

.langs button:focus-visible {
  outline: 1px solid var(--on-photo);
  outline-offset: 4px;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem clamp(2.5rem, 9vh, 5rem);
}

.eyebrow {
  margin: 0 0 clamp(1.25rem, 3vh, 2rem);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--on-photo-dim);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.date {
  margin: clamp(1.25rem, 3vh, 1.75rem) 0 0;
  font-size: clamp(1.0625rem, 2.8vw, 1.375rem);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--on-photo);
}

.lead {
  margin: clamp(1rem, 2.5vh, 1.5rem) 0 0;
  font-size: clamp(.9375rem, 2.2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .01em;
  color: var(--on-photo-dim);
  max-width: 26rem;
}

.cue {
  margin-top: clamp(1.75rem, 5vh, 3rem);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  color: var(--on-photo-dim);
  text-decoration: none;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.cue::after {
  content: '';
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(to bottom, var(--on-photo-dim), rgba(255, 255, 255, 0));
}

.cue:hover { color: var(--on-photo); }

/* Opaque, so the fixed photo stays behind the hero only. */
.sheet {
  position: relative;
  background: var(--paper);
  color: var(--ink);
}

.block {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 1rem) 1.5rem clamp(4rem, 9vh, 5.5rem);
  text-align: center;
}

.group {
  max-width: 32rem;
  width: 100%;
}

.group + .group { margin-top: clamp(2.5rem, 6vh, 3.75rem); }

/* One screen at a time. The deck scrolls rather than the document, so a panel
   and the scrollport are the same box and every snap position lands flush.
   Sizing panels against the document viewport cannot hold that: the mobile URL
   bar grows the scrollport without resizing the panels. Viewports too short to
   be a deck at all fall back to scrolling the document. */
@media (min-height: 600px) {
  body { overflow: hidden; }

  main {
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: y mandatory;
  }

  .hero,
  .block {
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

.next {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(1.75rem, 4vh, 2.75rem);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: rgba(42, 43, 37, 0.4);
  transition: color .2s ease;
}

.next::after {
  content: '';
  width: .5rem;
  height: .5rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
}

.next:hover { color: var(--ink); }

.next:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}


.block h2 {
  margin: 0 0 clamp(1.5rem, 4vh, 2.25rem);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.block p {
  margin: 0 0 1.125rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.75;
  color: var(--ink-dim);
}

.block p:last-child { margin-bottom: 0; }

.block .venue {
  margin-bottom: .875rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.block .address {
  font-size: .9375rem;
  line-height: 1.7;
}

.block .site {
  margin-top: 1.25rem;
  font-size: .8125rem;
  letter-spacing: .04em;
}

.sep {
  margin: 0 .5rem;
  color: rgba(42, 43, 37, 0.35);
}

.block .site a,
.mails a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: .35em;
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(42, 43, 37, 0.3);
  color: var(--ink);
  text-decoration: none;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.cta:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.block .soon {
  margin-top: 1.75rem;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: rgba(42, 43, 37, 0.62);
}

.mails a { line-height: 2.4; }

/* Rides along at the bottom of the last screen rather than owning one. */
.foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: none;
  padding: 0 1.5rem clamp(1.75rem, 4vh, 2.75rem);
}

.foot p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.7;
  color: rgba(42, 43, 37, 0.62);
}

.home {
  color: var(--on-photo);
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

@media (prefers-reduced-motion: no-preference) {
  html, main { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
