:root {
  --fog: #e8eaee;
  --cream: #fbf5ec;
  --latte: #b08158;
  --peach: #ffb39b;
  --rose: #ff9aa2;
  --gg-red: #c1432b;
  --eucalyptus: #7a9b7a;
  --sunset: #d68fb2;
  --ink: #2b2b3a;
  --paper: #fbf5ec;
  --hero-bg: var(--paper);
  --hero-paper: #f8faf8;
  --hero-line: #102c3a;
  --hero-wash: #c8d0d7;

  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --scroll: 0;

  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

/* ── hero ─────────────────────────────────────────────── */
.hero {
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  display: grid;
  grid-template-rows: 2fr 1fr;
  gap: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--hero-bg);
}

.hero-art {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: end center;
  padding: 1.8rem 1rem 0;
}

.hero-copy {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 0 1rem 5.5rem;
  text-align: center;
}

.kicker {
  font-family: var(--sans);
  max-width: 44rem;
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  opacity: 0.88;
  font-weight: 450;
  margin-top: 1.4rem;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 4.5rem;
  line-height: 0.86;
  text-align: center;
  letter-spacing: 0;
  text-wrap: balance;
  color: #020303;
  cursor: default;
  width: min(calc(100% - 2rem), 112rem);
}
.hero-title .word { display: inline-block; }
.hero-title .word + .word { margin-left: 0.16em; }
.hero-title .ampersand {
  font-style: italic;
  font-weight: 400;
  color: #020303;
}
.hero-title .place {
  font-weight: 700;
  color: #020303;
}
.hero-title .char {
  display: inline-block;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--i, 0) * 25ms);
}
.hero-title:hover .char {
  transform: translateY(-7px) rotate(-3deg);
}
.hero-title:hover .char:nth-child(even) {
  transform: translateY(7px) rotate(3deg);
}

.icon-grid {
  list-style: none;
  display: block;
  width: min(72rem, 94vw);
  height: min(34.5rem, 58vh);
  min-height: 24rem;
  margin: 0 auto;
  position: relative;
  padding: 0;
}
.icon-grid li {
  list-style: none;
}

.icon-tile {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  z-index: var(--z, 1);
  width: var(--tile-w, 8rem);
  aspect-ratio: 4 / 5;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--hero-line);
  outline: none;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  transition: transform 280ms cubic-bezier(.34, 1.56, .64, 1);
  will-change: transform;
}

.icon-wrap {
  display: block;
  width: 100%;
  height: 100%;
  transition: filter 220ms ease;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0.12rem 0.28rem 0.14rem rgba(16, 44, 58, 0.2));
  pointer-events: none;
  user-select: none;
}

.icon-tile .label {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 6px;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: lowercase;
  padding: .26rem .65rem;
  background: var(--hero-line);
  color: var(--hero-paper);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, translate 240ms cubic-bezier(.34, 1.56, .64, 1);
}

/* alternating hover-rotation flavor based on index */
.icon-grid li:nth-child(odd) .icon-tile  { --hover-rot:  9deg; }
.icon-grid li:nth-child(even) .icon-tile { --hover-rot: -9deg; }
.icon-grid li:nth-child(3n) .icon-tile   { --hover-rot: 12deg; }
.icon-grid li:nth-child(4n) .icon-tile   { --hover-rot: -12deg; }

.icon-tile:hover,
.icon-tile:focus-visible {
  transform: translate(-50%, -50%) rotate(calc(var(--rot, 0deg) + var(--hover-rot, 8deg))) scale(1.07);
  z-index: 30;
}

.icon-tile:hover .icon-wrap,
.icon-tile:focus-visible .icon-wrap {
  filter: saturate(1.08);
}

.icon-tile:hover .label,
.icon-tile:focus-visible .label {
  opacity: 1;
  translate: -50% 14px;
}

.icon-tile:active {
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(0.98);
}

.scroll-hint {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: lowercase;
  text-align: center;
  opacity: .52;
  margin-top: 1.1rem;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@media (min-width: 760px) {
  .hero {
    grid-template-rows: 2fr 1fr;
  }
  .hero-title {
    font-size: 6.5rem;
  }
  .kicker {
    font-size: 1.35rem;
  }
}

@media (min-width: 1160px) {
  .hero-title {
    font-size: 8.4rem;
  }
  .hero-copy {
    padding-bottom: 4.75rem;
  }
}

@media (min-width: 1560px) {
  .hero-title {
    font-size: 10.5rem;
  }
}

@media (min-width: 1900px) {
  .hero-title {
    font-size: 12rem;
  }
}

@media (max-width: 700px) {
  .hero {
    grid-template-rows: 1.75fr 1fr;
  }
  .hero-art {
    padding-top: 1rem;
  }
  .hero-copy {
    padding-bottom: 4.5rem;
  }
  .icon-grid {
    width: min(25rem, 94vw);
    height: 22rem;
    min-height: 22rem;
  }
  .icon-tile {
    left: var(--mobile-x, var(--x, 50%));
    top: var(--mobile-y, var(--y, 50%));
    width: var(--mobile-tile-w, var(--tile-w, 8rem));
  }
  .hero-image {
    filter: drop-shadow(0.08rem 0.18rem 0.1rem rgba(16, 44, 58, 0.18));
  }
  .icon-grid li:nth-child(1) .icon-tile { --mobile-x: 20%; --mobile-y: 45%; --mobile-tile-w: 7.2rem; }
  .icon-grid li:nth-child(2) .icon-tile { --mobile-x: 39%; --mobile-y: 34%; --mobile-tile-w: 8.1rem; }
  .icon-grid li:nth-child(3) .icon-tile { --mobile-x: 52%; --mobile-y: 52%; --mobile-tile-w: 13.1rem; }
  .icon-grid li:nth-child(4) .icon-tile { --mobile-x: 70%; --mobile-y: 42%; --mobile-tile-w: 6.4rem; }
  .icon-grid li:nth-child(5) .icon-tile { --mobile-x: 23%; --mobile-y: 70%; --mobile-tile-w: 5.3rem; }
  .icon-grid li:nth-child(6) .icon-tile { --mobile-x: 72%; --mobile-y: 32%; --mobile-tile-w: 11.2rem; }
  .icon-grid li:nth-child(7) .icon-tile { --mobile-x: 60%; --mobile-y: 24%; --mobile-tile-w: 5.3rem; }
  .icon-grid li:nth-child(8) .icon-tile { --mobile-x: 78%; --mobile-y: 76%; --mobile-tile-w: 5.2rem; }
  .icon-grid li:nth-child(9) .icon-tile { --mobile-x: 51%; --mobile-y: 20%; --mobile-tile-w: 4.8rem; }
  .icon-grid li:nth-child(10) .icon-tile { --mobile-x: 78%; --mobile-y: 82%; --mobile-tile-w: 6.6rem; }
  .hero-title {
    font-size: 4rem;
    line-height: 0.9;
  }
  .hero-title .word + .word {
    margin-left: 0.12em;
  }
  .kicker {
    font-size: 1rem;
    max-width: 20rem;
  }
  .scroll-hint {
    display: none;
  }
}

@media (max-width: 410px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

/* ── simple event scroll ──────────────────────────────── */
.event-scroll {
  --event-gutter: clamp(1.25rem, 5vw, 6rem);

  position: relative;
  min-height: 280vh;
  padding: clamp(5rem, 9vw, 9rem) var(--event-gutter);
  overflow: visible;
  background: var(--paper);
  isolation: isolate;
}

.scroll-shapes {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  margin-left: calc(var(--event-gutter) * -1);
  margin-bottom: -100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.scroll-shape {
  position: absolute;
  display: block;
  will-change: transform;
}

.scroll-shape--circle {
  top: 8vh;
  left: min(-7.5rem, -7vw);
  width: min(18.5rem, 29vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8f38dc;
  transform: translate3d(0, calc(var(--scroll) * -0.012px), 0);
}

.scroll-shape--triangle-pink {
  top: -6rem;
  right: 10vw;
  width: min(20rem, 36vw);
  aspect-ratio: 1;
  background: #dc8bbb;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: translate3d(0, calc(var(--scroll) * 0.01px), 0) rotate(3deg);
}

.scroll-shape--triangle-blue {
  top: 68vh;
  left: 47vw;
  width: min(15rem, 32vw);
  aspect-ratio: 1;
  background: #abc5d1;
  opacity: 0.95;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  transform: translate3d(0, calc(var(--scroll) * -0.008px), 0) rotate(-4deg);
}

.scroll-shape--dot {
  top: 44vh;
  left: 18vw;
  width: clamp(0.8rem, 1.8vw, 1.6rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8f38dc;
  transform: translate3d(0, calc(var(--scroll) * -0.018px), 0);
}

.scroll-shape--triangle-orange {
  top: 74vh;
  right: -1.5rem;
  width: min(7.5rem, 22vw);
  aspect-ratio: 1;
  background: #bb6b35;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  transform: translate3d(0, calc(var(--scroll) * -0.012px), 0) rotate(8deg);
}

.simple-events {
  position: relative;
  z-index: 1;
  width: min(70rem, 100%);
  margin: 0 auto;
  color: #706b65;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 400;
  text-align: center;
}

.simple-event {
  min-height: min(36vh, 21rem);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.575rem;
  padding: clamp(1rem, 3vw, 2.5rem) 0;
}

.simple-event + .simple-event {
  border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
}

.simple-event p {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.84rem, 1.44vw, 1.4rem);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .event-scroll {
    min-height: 240vh;
    padding: 4rem 1.25rem 6rem;
  }
  .scroll-shape--circle {
    left: -5.5rem;
    width: 11rem;
  }
  .scroll-shape--triangle-pink {
    right: -4rem;
    width: 13.5rem;
  }
  .scroll-shape--triangle-blue {
    left: 42vw;
    width: 10.5rem;
  }
  .simple-event {
    min-height: 31vh;
  }
}

/* ── focus styles ─────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--gg-red);
  outline-offset: 4px;
  border-radius: 6px;
}
.icon-tile:focus-visible { outline: none; }

::selection {
  background: var(--rose);
  color: var(--paper);
}

/* ── reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .scroll-shape {
    transform: none;
  }
}
