:root {
  --ink: #15110d;
  --deep: #062b32;
  --river: #117bb3;
  --sky: #67b8ec;
  --cream: #fff4dc;
  --paper: #efd8ad;
  --paper-deep: #d6aa68;
  --pine: #17432d;
  --leaf: #4f8b34;
  --rust: #c94d21;
  --sun: #f49a25;
  --gold: #e8bd58;
  --shadow: 0 24px 70px rgba(42, 24, 10, 0.25);
  --display: "Modak", "Fascinate Inline", Georgia, serif;
  --western: "Bungee Shade", "Fascinate Inline", Georgia, serif;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(49, 135, 166, 0.24), transparent 24rem),
    radial-gradient(circle at 88% 14%, rgba(214, 81, 42, 0.2), transparent 25rem),
    radial-gradient(circle at 18% 72%, rgba(95, 155, 75, 0.22), transparent 25rem),
    radial-gradient(circle at 92% 82%, rgba(198, 95, 128, 0.18), transparent 22rem),
    linear-gradient(135deg, #f1d7a4 0%, #f3c982 34%, #eecb9c 58%, #d9d596 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(21, 17, 13, 0.14) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(21, 17, 13, 0.11) 0 1px, transparent 1px),
    linear-gradient(120deg, rgba(255, 244, 220, 0.22), transparent 35%, rgba(49, 135, 166, 0.08));
  background-size: 22px 22px, 31px 31px, 100% 100%;
  mix-blend-mode: multiply;
}

main {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem;
  background: rgba(62, 29, 12, 0.88);
  border-bottom: 3px solid rgba(21, 17, 13, 0.55);
  backdrop-filter: blur(8px);
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover {
  background: rgba(255, 244, 220, 0.13);
}

a {
  color: inherit;
}

.hero {
  min-height: 82svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(1rem, 3vw, 3rem);
  position: relative;
}

.hero__paper {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 244, 220, 0.88), transparent 27rem),
    radial-gradient(circle at 18% 18%, rgba(49, 135, 166, 0.18), transparent 22rem),
    radial-gradient(circle at 92% 28%, rgba(214, 81, 42, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(241, 215, 164, 0.8) 0%, rgba(237, 209, 155, 0.72) 100%);
  box-shadow: none;
}

.hero__content {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(1.6rem, 4vh, 3.5rem) 0;
  text-align: center;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 0.75rem;
  color: var(--rust);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-carousel {
  position: relative;
  width: min(980px, 94vw);
  aspect-ratio: 16 / 9;
  margin: 0 auto clamp(0.6rem, 1.3vw, 0.85rem);
  transform: rotate(-0.7deg);
  filter: drop-shadow(0 18px 22px rgba(35, 24, 11, 0.28));
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 7px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-carousel__slide.is-active {
  opacity: 1;
}

.hero__logo {
  width: min(340px, 52vw);
  display: block;
  margin: -0.4rem auto 0.45rem;
  filter: drop-shadow(0 12px 16px rgba(35, 24, 11, 0.18));
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin: clamp(0.45rem, 1.4vw, 0.9rem) 0 0.65rem;
  position: relative;
  display: inline-block;
  color: transparent;
  font-family: "Fascinate Inline", "Bungee Shade", var(--display);
  font-size: clamp(3.45rem, 9.8vw, 8.6rem);
  line-height: 0.78;
  font-weight: 400;
  background:
    radial-gradient(circle at 18% 24%, #ffe09b 0 7%, transparent 8%),
    radial-gradient(circle at 72% 68%, #ff9b2f 0 10%, transparent 11%),
    linear-gradient(115deg, #8a2d15 0%, #d94b1d 24%, #ff7a1f 48%, #ffc04d 66%, #b43b1e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: skewX(-9deg) rotate(-1.2deg);
  text-shadow:
    0 4px 0 #fff4dc,
    5px 8px 0 #5f2415,
    -6px 12px 0 rgba(255, 146, 36, 0.48),
    0 18px 24px rgba(83, 33, 13, 0.28);
  filter: url("#groovy-wobble");
}

h2 {
  margin-bottom: 0.9rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 0.96;
  font-weight: 400;
}

h3 {
  margin-bottom: 1rem;
  font-family: var(--western);
  font-size: clamp(2.3rem, 6vw, 4.9rem);
  line-height: 0.95;
}

p,
li,
dd,
dt {
  font-size: clamp(1.13rem, 2.1vw, 1.42rem);
  line-height: 1.45;
}

.hero__copy {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 850;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.15rem;
  border: 3px solid var(--ink);
  border-radius: 7px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(21, 17, 13, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.poster-tabs button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--sun);
}

.button--ghost {
  background: var(--cream);
}

.intro-section,
.board-section,
.photo-dump-section,
.rsvp-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.intro-section {
  position: relative;
  width: 100%;
  padding-inline: max(1rem, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 244, 220, 0.28), transparent 19rem),
    radial-gradient(circle at 88% 24%, rgba(198, 95, 128, 0.26), transparent 20rem),
    linear-gradient(135deg, #c94d21 0%, #e58a2e 44%, #f1c75a 100%);
  box-shadow:
    inset 0 4px 0 rgba(255, 244, 220, 0.2),
    inset 0 -4px 0 rgba(21, 17, 13, 0.14);
}

.intro-section .eyebrow {
  color: #fff4dc;
  text-shadow: 0 2px 0 rgba(21, 17, 13, 0.28);
}

.intro-section h2 {
  color: #fff4dc;
  font-weight: 400;
  opacity: 0.92;
  text-shadow:
    0 2px 0 rgba(21, 17, 13, 0.18),
    0 8px 20px rgba(21, 17, 13, 0.12);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.experience-card {
  min-width: 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(to top, rgba(21, 17, 13, 0.84), rgba(21, 17, 13, 0.08)),
    var(--paper);
  color: var(--cream);
  box-shadow: 8px 9px 0 rgba(21, 17, 13, 0.22);
}

.experience-card--food {
  background:
    linear-gradient(to top, rgba(21, 17, 13, 0.86), rgba(21, 17, 13, 0.1)),
    radial-gradient(circle at 74% 18%, #f49a25 0 4rem, transparent 4.2rem),
    linear-gradient(135deg, #1d6f78, #f2bd55);
}

.experience-card--camp {
  background:
    linear-gradient(to top, rgba(21, 17, 13, 0.86), rgba(21, 17, 13, 0.1)),
    linear-gradient(135deg, #1b4d2e, #83a84a 56%, #f3dfb3);
}

.experience-card--music {
  background:
    linear-gradient(to top, rgba(21, 17, 13, 0.86), rgba(21, 17, 13, 0.1)),
    repeating-radial-gradient(circle at 22% 18%, rgba(255, 244, 220, 0.2) 0 7px, transparent 8px 16px),
    linear-gradient(135deg, #062b32, #c94d21);
}

.experience-card--games {
  background:
    linear-gradient(to top, rgba(21, 17, 13, 0.86), rgba(21, 17, 13, 0.1)),
    linear-gradient(135deg, #b46b2d, #117bb3 52%, #fff4dc);
}

.experience-card span {
  display: block;
  margin-bottom: auto;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.experience-card h3 {
  color: var(--cream);
  font-size: 2.45rem;
  line-height: 1;
  overflow-wrap: break-word;
  text-shadow: 0 3px 0 rgba(21, 17, 13, 0.45);
}

.experience-card p {
  margin: 0;
  color: rgba(255, 244, 220, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 850;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 1.4rem;
  padding: 1rem 0;
}

.section-heading h2 {
  max-width: 840px;
}

.poster-shell {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.screenshot-facts {
  display: grid;
  gap: 0.55rem;
  max-width: 760px;
  margin: 1rem 0 1.5rem;
}

.screenshot-facts p {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-left: 7px solid #e58a2e;
  border-radius: 6px;
  background: rgba(255, 246, 222, 0.76);
  color: var(--deep);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 850;
  line-height: 1.35;
}

.poster-tabs {
  display: grid;
  gap: 0;
  align-content: start;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 8px 9px 0 rgba(21, 17, 13, 0.16);
  perspective: 900px;
}

.poster-tabs button {
  min-height: 64px;
  padding: 0.8rem;
  border: 0;
  border-radius: 0;
  background: var(--cream);
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 950;
  text-shadow: 0 2px 0 rgba(21, 17, 13, 0.28);
  box-shadow:
    inset 0 5px 0 rgba(255, 244, 220, 0.24),
    inset 0 -7px 0 rgba(21, 17, 13, 0.18),
    0 1px 0 rgba(255, 244, 220, 0.18);
  transform: translateZ(0);
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.poster-tabs button:nth-child(1) {
  background: #d35b2f;
}

.poster-tabs button:nth-child(2) {
  background: #e58a2e;
}

.poster-tabs button:nth-child(3) {
  background: #5f9b4b;
}

.poster-tabs button:nth-child(4) {
  background: #3187a6;
}

.poster-tabs button:nth-child(5) {
  background: #7a568f;
}

.poster-tabs button:nth-child(6) {
  background: #c65f80;
}

.poster-tabs button:nth-child(7) {
  background: #0f6f78;
}

.poster-tabs button.is-active {
  color: var(--cream);
  filter: saturate(1.25) brightness(0.86);
  text-shadow: 0 2px 0 rgba(21, 17, 13, 0.35);
  box-shadow:
    inset 0 3px 0 rgba(255, 244, 220, 0.14),
    inset 0 -3px 0 rgba(21, 17, 13, 0.22);
  transform: translateY(4px) translateZ(-10px);
}

.poster-frame {
  position: relative;
  min-height: 720px;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 18px solid #6f3c18;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 244, 220, 0.38), transparent 35% 65%, rgba(116, 63, 28, 0.22)),
    var(--paper);
  box-shadow:
    inset 0 0 0 4px rgba(49, 25, 9, 0.35),
    12px 14px 0 rgba(21, 17, 13, 0.26),
    0 24px 70px rgba(31, 14, 5, 0.42);
  overflow: hidden;
}

.poster-frame::before,
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.poster-frame::before {
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(21, 17, 13, 0.22) 0 1px, transparent 1px),
    radial-gradient(circle at 76% 48%, rgba(21, 17, 13, 0.18) 0 1px, transparent 1px);
  background-size: 23px 23px, 31px 31px;
}

.poster-frame::after {
  border: 4px dashed rgba(21, 17, 13, 0.18);
  margin: 1rem;
  border-radius: 5px;
}

.poster-panel {
  position: relative;
  z-index: 1;
  display: none;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 5px;
  transform-origin: 50% 0;
  animation: posterDrift 7s ease-in-out infinite;
}

.poster-panel.is-active {
  display: block;
}

.poster-panel ul,
.schedule-list {
  margin: 0;
  padding: 0;
}

.poster-panel ul {
  display: grid;
  gap: 1rem;
  list-style: none;
}

.poster-panel li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 850;
}

.poster-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--rust);
}

.schedule-list {
  display: grid;
  gap: 1.1rem;
}

.schedule-list div {
  padding: 1rem;
  border: 3px solid rgba(21, 17, 13, 0.75);
  border-radius: 6px;
  background: rgba(255, 244, 220, 0.5);
}

.schedule-list dt {
  color: var(--deep);
  font-family: var(--western);
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
}

.schedule-list dd {
  margin: 0.32rem 0 0;
  font-weight: 850;
}

.poster-map {
  margin-top: 1.4rem;
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hotel-grid article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 1rem;
  border: 3px solid rgba(21, 17, 13, 0.75);
  border-radius: 7px;
  background:
    radial-gradient(circle at 86% 12%, rgba(244, 154, 37, 0.22), transparent 5rem),
    rgba(255, 244, 220, 0.52);
}

.hotel-grid span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--rust);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hotel-grid h4 {
  margin: 0 0 0.65rem;
  color: var(--deep);
  font-family: "Fascinate Inline", var(--western);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.hotel-grid p {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.55vw, 1.14rem);
  font-weight: 850;
  line-height: 1.42;
}

.hotel-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.75rem;
  border: 3px solid var(--ink);
  border-radius: 7px;
  background: #55a9d8;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(21, 17, 13, 0.2);
}

.hotel-grid article:nth-child(2) .hotel-link {
  background: #f1c75a;
}

.hotel-grid article:nth-child(3) .hotel-link {
  background: #73a94d;
}

.photo-dump-section {
  display: grid;
  gap: 0.9rem;
  margin-top: clamp(-2.5rem, -4vw, -1rem);
  padding-top: clamp(0.25rem, 2vw, 1.25rem);
}

.photo-dump-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 16%, rgba(244, 154, 37, 0.34), transparent 10rem),
    linear-gradient(135deg, rgba(255, 244, 220, 0.92), rgba(241, 199, 90, 0.88));
  box-shadow: 10px 12px 0 rgba(21, 17, 13, 0.18);
}

.photo-dump-card h2 {
  max-width: 780px;
  margin-bottom: 0.65rem;
  color: var(--deep);
  font-size: clamp(2rem, 4.4vw, 3.8rem);
}

.photo-dump-card p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 800;
}

.photo-dump-card__button {
  min-width: min(230px, 100%);
  background: #d35b2f;
  color: var(--cream);
  font-size: 1.16rem;
  text-shadow: 0 2px 0 rgba(21, 17, 13, 0.3);
}

.photo-gallery {
  display: grid;
  gap: 0.8rem;
}

.photo-gallery p {
  margin: 0;
  padding: 1rem;
  border: 3px dashed rgba(21, 17, 13, 0.5);
  border-radius: 8px;
  background: rgba(255, 244, 220, 0.72);
  color: rgba(21, 17, 13, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 800;
  text-align: center;
}

.photo-gallery__featured {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 9px 10px 0 rgba(21, 17, 13, 0.16);
}

.photo-gallery__open {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: var(--deep);
  cursor: zoom-in;
}

.photo-gallery img,
.photo-gallery video {
  width: 100%;
  display: block;
  background: var(--deep);
  object-fit: cover;
}

.photo-gallery__featured img,
.photo-gallery__featured video {
  max-height: min(70svh, 720px);
  aspect-ratio: 16 / 10;
}

.photo-gallery figcaption {
  padding: 0.55rem 0.65rem;
  background: rgba(255, 244, 220, 0.94);
  color: var(--deep);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.photo-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(118px, 22vw, 178px);
  gap: 0.7rem;
  margin-inline: -0.25rem;
  padding: 0.45rem 0.25rem 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(49, 135, 166, 0.72) rgba(255, 244, 220, 0.72);
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.photo-gallery__thumbs:active {
  cursor: grabbing;
}

.photo-gallery__thumb {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 3px solid rgba(21, 17, 13, 0.7);
  border-radius: 8px;
  background: var(--cream);
  color: var(--deep);
  cursor: pointer;
  box-shadow: 4px 5px 0 rgba(21, 17, 13, 0.12);
  scroll-snap-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.photo-gallery__thumb:hover {
  transform: translateY(-2px);
}

.photo-gallery__thumb.is-active {
  border-color: var(--rust);
  box-shadow:
    0 0 0 4px rgba(244, 154, 37, 0.38),
    4px 5px 0 rgba(21, 17, 13, 0.12);
}

.photo-gallery__thumb img,
.photo-gallery__thumb video {
  aspect-ratio: 1 / 1;
}

.photo-gallery__thumb span {
  display: block;
  padding: 0.35rem;
  overflow: hidden;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.has-photo-lightbox {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 3vw, 2rem);
  background: rgba(6, 43, 50, 0.9);
}

.photo-lightbox figure {
  width: min(1120px, 100%);
  max-height: 92svh;
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--cream);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
}

.photo-lightbox img,
.photo-lightbox video {
  width: 100%;
  max-height: 82svh;
  display: block;
  background: var(--deep);
  object-fit: contain;
}

.photo-lightbox figcaption {
  padding: 0.7rem;
  color: var(--deep);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.photo-lightbox__close {
  position: absolute;
  top: clamp(0.7rem, 2vw, 1.4rem);
  right: clamp(0.7rem, 2vw, 1.4rem);
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  border: 3px solid var(--cream);
  border-radius: 7px;
  background: var(--rust);
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.28);
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: clamp(48px, 8vw, 70px);
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border: 3px solid var(--cream);
  border-radius: 999px;
  background: rgba(201, 77, 33, 0.92);
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 950;
  line-height: 0.8;
  transform: translateY(-50%);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
}

.photo-lightbox__nav--prev {
  left: clamp(0.55rem, 2vw, 1.5rem);
}

.photo-lightbox__nav--next {
  right: clamp(0.55rem, 2vw, 1.5rem);
}

.photo-lightbox__nav:hover,
.photo-lightbox__nav:focus-visible,
.photo-lightbox__close:hover,
.photo-lightbox__close:focus-visible {
  background: var(--sun);
  color: var(--ink);
}

.rsvp-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 244, 220, 0.86);
  box-shadow: 0 24px 70px rgba(31, 14, 5, 0.42);
}

.rsvp-section p {
  max-width: 780px;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 850;
}

.rsvp-game {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.rsvp-game h3,
.leaderboard h4 {
  margin: 0 0 0.8rem;
  color: var(--deep);
  font-family: var(--western);
  font-size: clamp(1.75rem, 2.75vw, 2.65rem);
  font-weight: 400;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.rsvp-game__intro h3 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
}

.rsvp-game__intro p {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.travel-groups {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: 25rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff1c8;
  box-shadow: 6px 7px 0 rgba(21, 17, 13, 0.14);
}

.travel-groups h4 {
  margin: 0 0 0.8rem;
  color: var(--deep);
  font-family: var(--western);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 0.96;
}

.travel-groups > div {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 0;
  padding-right: 0.35rem;
  overflow-y: auto;
  scrollbar-color: rgba(49, 135, 166, 0.72) rgba(255, 244, 220, 0.78);
}

.travel-groups p {
  margin: 0;
  color: rgba(21, 17, 13, 0.72);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.25;
}

.travel-groups article {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  border-radius: 6px;
  background: rgba(85, 169, 216, 0.26);
}

.travel-groups article:nth-child(2n) {
  background: rgba(241, 199, 90, 0.42);
}

.flight-groups article {
  background: rgba(214, 81, 42, 0.14);
}

.flight-groups article:nth-child(2n) {
  background: rgba(49, 135, 166, 0.2);
}

.travel-groups strong {
  color: var(--rust);
  font-size: 0.94rem;
  line-height: 1;
}

.travel-groups article div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.travel-groups span {
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(21, 17, 13, 0.1);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
}

.optional-note {
  max-width: 620px;
  margin-bottom: 0.9rem !important;
  padding: 0.75rem;
  border: 3px solid var(--ink);
  border-radius: 7px;
  background: #f1c75a;
  color: var(--ink);
}

.travel-form,
.leaderboard {
  padding: 1rem;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff1c8;
  box-shadow: 6px 7px 0 rgba(21, 17, 13, 0.14);
}

.travel-form {
  display: grid;
  gap: 0.9rem;
}

.leaderboard {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.travel-form label,
.days-field,
.flight-field {
  display: grid;
  gap: 0.35rem;
  color: var(--deep);
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.days-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.flight-field {
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem;
  border: 3px solid rgba(21, 17, 13, 0.85);
  border-radius: 7px;
  background: rgba(85, 169, 216, 0.18);
}

.days-field legend,
.flight-field legend {
  margin-bottom: 0.45rem;
}

.days-field legend span,
.flight-field legend span {
  color: var(--rust);
  font-size: 0.78rem;
}

.flight-field p {
  margin: 0;
  color: rgba(21, 17, 13, 0.72);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.days-field label {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.days-field label span {
  display: block;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 3px solid rgba(21, 17, 13, 0.85);
  border-radius: 6px;
  background: rgba(255, 244, 220, 0.78);
  color: rgba(21, 17, 13, 0.72);
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.days-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.days-field input:checked + span {
  background: #d6512a;
  color: #fff4dc;
  transform: scale(1.045);
  box-shadow:
    inset 0 4px 0 rgba(255, 244, 220, 0.24),
    inset 0 -5px 0 rgba(21, 17, 13, 0.18),
    4px 5px 0 rgba(21, 17, 13, 0.16);
}

.days-field input:focus-visible + span {
  outline: 3px solid #3187a6;
  outline-offset: 3px;
}

.travel-form input,
.travel-form select,
.travel-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem;
  border: 3px solid rgba(21, 17, 13, 0.85);
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 850;
}

.travel-form .days-field input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
}

.travel-form textarea {
  min-height: 112px;
  resize: vertical;
}

.birthday-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(90px, 0.65fr);
  gap: 0.6rem;
}

.height-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.flight-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(110px, 0.9fr);
  gap: 0.6rem;
}

.travel-form button {
  width: 100%;
}

.travel-form button:disabled {
  cursor: wait;
  filter: grayscale(0.4);
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--rust);
  font-size: 1rem;
}

.leaderboard ol {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  margin: 0;
  min-height: 0;
  padding: 0 0.35rem 0 0;
  overflow-y: auto;
  scrollbar-color: rgba(214, 81, 42, 0.72) rgba(255, 244, 220, 0.78);
  list-style: none;
}

.leaderboard li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.65rem 0.75rem 0.75rem;
  border-radius: 6px;
  background: rgba(241, 199, 90, 0.42);
  font-weight: 950;
  min-width: 0;
}

.leaderboard button {
  min-width: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard button:hover,
.leaderboard button:focus-visible {
  color: var(--rust);
  outline: none;
}

.leaderboard li:nth-child(2n) {
  background: rgba(85, 169, 216, 0.26);
}

.leaderboard strong {
  display: grid;
  flex: 0 0 min(46%, 8.5rem);
  gap: 0.08rem;
  justify-items: end;
  min-width: 0;
  overflow: hidden;
  color: var(--rust);
  text-align: right;
}

.leaderboard strong small {
  max-width: 100%;
  overflow: hidden;
  color: rgba(21, 17, 13, 0.62);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard strong span {
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1.05;
  white-space: nowrap;
}

.leaderboard-stack {
  display: grid;
  gap: 1rem;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 0;
  max-height: 100%;
}

@media (min-width: 821px) {
  .leaderboard-stack {
    height: 100%;
    max-height: 860px;
  }
}

.travel-map-card {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff1c8;
  box-shadow: 6px 7px 0 rgba(21, 17, 13, 0.14);
}

.travel-map-card h3 {
  margin: 0 0 0.85rem;
  color: var(--deep);
}

.travel-map-card p:not(.eyebrow) {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.origin-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 3px solid rgba(21, 17, 13, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 57, 69, 0.22), rgba(214, 81, 42, 0.18)),
    #123947;
  box-shadow:
    inset 0 0 0 5px rgba(255, 244, 220, 0.24),
    8px 10px 0 rgba(21, 17, 13, 0.16);
}

.origin-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 10px solid rgba(255, 244, 220, 0.36);
  pointer-events: none;
}

.origin-map__controls {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.origin-map__controls button {
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: #d6512a;
  color: #fff4dc;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    inset 0 4px 0 rgba(255, 244, 220, 0.24),
    inset 0 -5px 0 rgba(21, 17, 13, 0.18),
    3px 4px 0 rgba(21, 17, 13, 0.18);
}

.origin-map__controls button:nth-child(2) {
  background: #422d67;
}

.origin-map__controls button:nth-child(3) {
  background: #3187a6;
}

.origin-map__controls button:nth-child(4) {
  background: #5f9b4b;
}

.origin-map__controls button.is-active {
  filter: brightness(0.82) saturate(1.25);
  transform: translateY(2px);
}

.origin-map__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib {
  opacity: 0.72;
}

.origin-marker {
  --pin-color: #d6512a;
  display: grid;
  place-items: center;
  width: 20px;
  aspect-ratio: 1;
  border: 3px solid #15110d;
  border-radius: 50% 50% 50% 0;
  background: var(--pin-color);
  transform: rotate(-45deg);
  box-shadow:
    0 0 0 4px rgba(255, 244, 220, 0.68),
    3px 4px 0 rgba(21, 17, 13, 0.22);
}

.origin-marker--home {
  width: 26px;
  background: #3187a6;
}

.origin-marker.is-highlighted {
  width: 28px;
  background: #ff7a1f;
  box-shadow:
    0 0 0 8px rgba(255, 244, 220, 0.72),
    0 0 24px rgba(255, 122, 31, 0.86),
    3px 4px 0 rgba(21, 17, 13, 0.22);
}

.origin-map__empty {
  position: absolute;
  left: 50%;
  top: 60%;
  z-index: 6;
  width: min(360px, calc(100% - 2rem));
  transform: translate(-50%, -50%);
  padding: 0.85rem;
  border: 3px solid var(--ink);
  border-radius: 7px;
  background: rgba(255, 244, 220, 0.9);
  font-weight: 950;
  text-align: center;
}

.birthday-calendar {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(85, 169, 216, 0.2), transparent 13rem),
    #fff1c8;
  box-shadow: 6px 7px 0 rgba(21, 17, 13, 0.14);
}

.family-clans {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    radial-gradient(circle at 5% 15%, rgba(214, 81, 42, 0.22), transparent 12rem),
    #fff1c8;
  box-shadow: 6px 7px 0 rgba(21, 17, 13, 0.14);
}

.family-clans h3 {
  margin: 0;
  color: var(--deep);
}

.family-clans__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.family-clans__total {
  flex: 0 0 auto;
  padding: 0.65rem 0.8rem;
  border: 3px solid var(--ink);
  border-radius: 7px;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(21, 17, 13, 0.18);
}

.family-clans p {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 650;
}

.family-clans__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 0.75rem;
}

.family-clans__grid article {
  display: grid;
  align-content: start;
  align-self: end;
  gap: 0.55rem;
  min-height: 9rem;
  padding: 0.85rem;
  border: 3px solid rgba(21, 17, 13, 0.8);
  border-radius: 7px;
  background: rgba(85, 169, 216, 0.24);
}

.family-clans__grid article:nth-child(2n) {
  background: rgba(241, 199, 90, 0.36);
}

.family-clans__grid h4 {
  margin: 0;
  color: var(--rust);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 0.9;
}

.family-clans__grid strong {
  color: rgba(21, 17, 13, 0.68);
  font-size: 0.85rem;
  line-height: 1;
  text-transform: uppercase;
}

.family-clans__grid ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.family-clans__grid li {
  padding: 0.42rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 244, 220, 0.72);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
}

.birthday-calendar h3 {
  margin: 0;
  color: var(--deep);
}

.birthday-months {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.birthday-months article {
  min-height: 150px;
  padding: 0.85rem;
  border: 3px solid rgba(21, 17, 13, 0.8);
  border-radius: 7px;
  background: rgba(241, 199, 90, 0.34);
}

.birthday-months h4 {
  margin: 0 0 0.65rem;
  color: var(--rust);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 0.9;
}

.birthday-months p {
  margin: 0;
  font-size: 1rem;
}

.birthday-months ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.birthday-months li {
  --birthday-color: #3187a6;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  font-weight: 500;
}

.birthday-months li strong {
  flex: 0 0 1.65rem;
  width: 1.65rem;
  min-height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--birthday-color);
  color: var(--cream);
  font-size: 0.82rem;
  line-height: 1;
}

.birthday-months li button {
  min-width: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
  text-align: left;
  text-overflow: ellipsis;
  text-decoration: none;
  white-space: nowrap;
}

.birthday-months li button:hover,
.birthday-months li button:focus-visible {
  color: var(--rust);
  outline: none;
}

@keyframes posterDrift {
  0%,
  100% {
    transform: rotate(-0.45deg) translateY(0);
  }
  50% {
    transform: rotate(0.55deg) translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 94svh;
  }

  .poster-shell,
  .experience-grid,
  .hotel-grid,
  .rsvp-game,
  .travel-map-card,
  .birthday-months,
  .family-clans__grid,
  .rsvp-section {
    grid-template-columns: 1fr;
  }

  .photo-dump-card {
    grid-template-columns: 1fr;
  }

  .photo-dump-card__button {
    width: 100%;
  }

  .photo-gallery__featured img,
  .photo-gallery__featured video {
    max-height: 58svh;
    aspect-ratio: 4 / 3;
  }

  .photo-gallery__thumbs {
    grid-auto-columns: minmax(132px, 42vw);
    gap: 0.8rem;
    margin-inline: -0.65rem;
    padding-inline: 0.65rem;
  }

  .photo-lightbox {
    padding-inline: 0.55rem;
  }

  .photo-lightbox__nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .photo-lightbox figure {
    margin-bottom: 4.6rem;
  }

  .poster-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .poster-frame {
    min-height: 0;
    border-width: 12px;
  }

  .leaderboard-stack {
    grid-template-rows: none;
    max-height: none;
  }

  .leaderboard ol {
    max-height: 320px;
  }

}

@media (max-width: 620px) {
  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    padding: 0.75rem;
  }

  .family-clans__header {
    display: grid;
  }

  .family-clans__total {
    justify-self: start;
  }

  .hero__paper {
    inset: 0;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .poster-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poster-tabs button {
    min-height: 56px;
  }

  .flight-fields {
    grid-template-columns: 1fr;
  }

}
