@font-face {
  font-family: "Span";
  src: url("/assets/span.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Classic Script";
  src: url("/assets/classic-script.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #333a31;
  --ink-muted: #697067;
  --forest: #3f4d42;
  --sage: #aeb8a4;
  --sage-deep: #6e7d68;
  --ivory: #fbf8f0;
  --sand: #efe7d8;
  --pearl: #f4f3ed;
  --gold: #a8814a;
  --shadow-ambient: 0 28px 80px rgba(83, 74, 53, .12), 0 6px 18px rgba(83, 74, 53, .08);
  --shadow-soft: 0 16px 42px rgba(83, 74, 53, .1), inset 0 1px 0 rgba(255, 255, 255, .78);
  --curve: cubic-bezier(.32, .72, 0, 1);
  --curve-out: cubic-bezier(.16, 1, .3, 1);
  --display: "Span", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  background: var(--ivory);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -10%, rgba(215, 226, 206, .64), transparent 32rem),
    radial-gradient(circle at 105% 36%, rgba(239, 211, 181, .36), transparent 36rem),
    var(--ivory);
}

body[data-invite="september-6"] {
  --sage: #b8b8a0;
  --sage-deep: #7d836d;
  --sand: #f1dfd7;
}

body[data-invite="september-6"] .hero__tone {
  background:
    radial-gradient(circle at 18% 25%, rgba(243, 206, 203, .7), transparent 36%),
    radial-gradient(circle at 80% 70%, rgba(238, 216, 180, .62), transparent 33%),
    radial-gradient(circle at 48% 105%, rgba(103, 122, 96, .48), transparent 45%);
}

body[data-invite="september-6"] .section--sage {
  background: radial-gradient(circle at 81% 20%, rgba(255, 246, 238, .86), transparent 28rem), #e9ddd8;
}

body[data-invite="september-6"] .rsvp-shell {
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(187, 130, 126, .3));
}

body::after {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }

.page-aura {
  position: fixed;
  z-index: -1;
  width: 36rem;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: .4;
  will-change: transform, opacity;
  animation: aura-drift 18s var(--curve) infinite alternate;
}

.page-aura--one { top: -19rem; left: -14rem; background: #d8e2c8; }
.page-aura--two { right: -18rem; bottom: -22rem; background: #efd9bd; animation-delay: -9s; }

.intro {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  perspective: 1700px;
  background:
    radial-gradient(circle at 50% 15%, rgba(244, 235, 211, .18), transparent 30rem),
    #303c32;
  transition: opacity .9s var(--curve-out), visibility .9s var(--curve-out);
}

.intro__envelope {
  position: relative;
  z-index: 1;
  width: min(92vw, 33rem, 51.75dvh);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 1.8rem;
  background: #aeb8a4;
  box-shadow: 0 0 0 1px rgba(250,248,240,.44), 0 30px 80px rgba(7,13,8,.37), inset 0 1px 0 rgba(255,255,255,.36);
  transform: translateZ(0) rotate(.001deg);
}

.intro__face,
.intro__flap,
.intro__letter { position: absolute; inset: 0; }

.intro__face { z-index: 2; transition: opacity .82s var(--curve-out), transform .82s var(--curve-out); }

.intro__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transition: transform 1.2s var(--curve-out);
}

.intro:hover .intro__face img { transform: scale(1.065); }

.intro__flap {
  z-index: 3;
  height: 53%;
  inset: 0 0 auto;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0;
  background: linear-gradient(160deg, rgba(210,220,193,.94), rgba(114,130,102,.86));
  box-shadow: inset 0 -1px 0 rgba(35,48,36,.26);
  backface-visibility: hidden;
  transform: rotateX(0deg);
  transform-origin: 50% 0;
  transition: opacity .32s var(--curve-out), transform .82s var(--curve-out);
}

.intro__letter {
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .65rem;
  inset: 13% 8% 18%;
  padding: 1.6rem;
  border-radius: 1.25rem;
  color: var(--forest);
  background: #f7f2e7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 15px 33px rgba(22,34,24,.18);
  opacity: 0;
  text-align: center;
  transform: translateY(28%) scale(.94);
  transition: opacity .58s var(--curve-out), transform .9s var(--curve-out);
}

.intro__letter span { font-family: var(--display); font-size: clamp(2.1rem, 7vw, 3.8rem); letter-spacing: -.06em; line-height: .86; }
.intro__letter small { font-size: .57rem; font-weight: 780; letter-spacing: .19em; text-transform: uppercase; }

.intro__copy {
  position: absolute;
  z-index: 4;
  right: 1.25rem;
  bottom: max(2rem, 4.5dvh);
  left: 1.25rem;
  color: var(--ivory);
  text-align: center;
  transition: opacity .42s var(--curve-out), transform .42s var(--curve-out);
}

.intro__copy p,
.hero__date,
.eyebrow,
.micro-tag,
.nav__brand,
.program-card__time,
.venue__eyebrow,
.footer__date {
  text-transform: uppercase;
  letter-spacing: .18em;
}

.intro__copy p { display: inline-flex; min-height: 2.6rem; align-items: center; margin: 0; padding: .5rem 1rem; border-radius: 999px; background: rgba(31,42,34,.46); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 24px rgba(14,20,15,.2); font-size: .62rem; font-weight: 730; }
.intro.is-opening .intro__face { opacity: .17; transform: translateY(10%) scale(.96); }
.intro.is-opening .intro__flap { opacity: .86; transform: rotateX(-178deg); }
.intro.is-opening .intro__letter { opacity: 1; transform: translateY(-9%) scale(1); }
.intro.is-opening .intro__copy { opacity: 0; transform: translateY(.7rem); }
.intro.is-open { visibility: hidden; opacity: 0; pointer-events: none; }

.site-nav {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 50%;
  width: min(calc(100% - 2rem), 900px);
  transform: translateX(-50%);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.8rem;
  padding: .36rem .4rem .36rem 1rem;
  border-radius: 999px;
  background: rgba(251, 248, 240, .62);
  box-shadow: 0 0 0 1px rgba(73, 78, 64, .1), 0 15px 45px rgba(50, 57, 48, .12);
  backdrop-filter: blur(18px) saturate(135%);
}

.nav__brand { font-size: .63rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a { padding: .72rem .8rem; border-radius: 999px; color: var(--ink-muted); text-decoration: none; font-size: .7rem; font-weight: 650; transition: color .6s var(--curve), background-color .6s var(--curve); }
.nav__links a:hover { color: var(--forest); background: rgba(110, 125, 104, .1); }
.nav__actions { display: flex; align-items: center; gap: .35rem; }
.nav__sound { display: inline-flex; align-items: center; gap: .42rem; min-height: 2.8rem; padding: .35rem .72rem; border: 0; border-radius: 999px; color: var(--ivory); background: var(--forest); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); cursor: pointer; font-size: .59rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; transition: transform .54s var(--curve), background-color .54s var(--curve); }
.nav__sound:hover { transform: translateY(-1px); }
.nav__sound:active { transform: scale(.97); }
.nav__sound[hidden] { display: none; }
.nav__sound-mark { display: inline-flex; align-items: end; gap: 2px; height: .78rem; }
.nav__sound-mark i { display: block; width: 1px; border-radius: 999px; background: currentColor; }
.nav__sound-mark i:nth-child(1) { height: .38rem; }
.nav__sound-mark i:nth-child(2) { height: .76rem; animation: sound-pulse .9s var(--curve) infinite alternate; }
.nav__sound-mark i:nth-child(3) { height: .52rem; animation: sound-pulse 1.15s var(--curve) -.35s infinite alternate; }

.nav__toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ivory);
  background: var(--forest);
  cursor: pointer;
}

.nav__toggle span {
  position: relative;
  display: block;
  width: 15px;
  height: 1px;
  margin: auto;
  background: currentColor;
  transition: transform .65s var(--curve), background-color .4s var(--curve);
}

.nav__toggle span::before,
.nav__toggle span::after { position: absolute; left: 0; width: 15px; height: 1px; content: ""; background: currentColor; transition: transform .65s var(--curve); }
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }
.site-nav.menu-open .nav__toggle span { background: transparent; }
.site-nav.menu-open .nav__toggle span::before { transform: translateY(5px) rotate(45deg); }
.site-nav.menu-open .nav__toggle span::after { transform: translateY(-5px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: min(100dvh, 1000px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #d7ddd0;
}

.hero__art {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__tone {
  position: absolute;
  z-index: -2;
  inset: -12%;
  opacity: .48;
  background:
    radial-gradient(circle at 18% 25%, rgba(220, 232, 202, .7), transparent 36%),
    radial-gradient(circle at 80% 70%, rgba(244, 204, 167, .64), transparent 33%),
    radial-gradient(circle at 48% 105%, rgba(87, 109, 95, .54), transparent 45%);
  mix-blend-mode: soft-light;
  will-change: transform, opacity;
  animation: tone-pour 13s var(--curve) infinite alternate;
}

.hero__veil {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 37, 30, .04), rgba(27, 37, 30, .13) 52%, rgba(27, 37, 30, .53));
}

.hero__copy {
  width: min(100%, 990px);
  margin: 0 auto;
  padding: max(8rem, 20vh) clamp(1.25rem, 5vw, 3rem) clamp(3rem, 9vw, 6rem);
  color: var(--ivory);
  text-align: center;
}

.eyebrow { margin-bottom: 1.3rem; font-size: .66rem; font-weight: 700; }
.hero h1 { max-width: 820px; margin: 0 auto; font-size: clamp(3.9rem, 11vw, 8.5rem); line-height: .84; text-wrap: balance; }
.hero__date-plate { display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: .8rem; margin-top: clamp(1.5rem, 4vw, 2.7rem); padding: .65rem 1.15rem .65rem 1rem; border-radius: 1.3rem; color: var(--ivory); background: rgba(31, 43, 34, .34); box-shadow: 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.22); backdrop-filter: blur(9px); }
.hero__date-plate > strong { padding-right: .8rem; border-right: 1px solid rgba(255,255,255,.42); font-family: var(--display); font-size: clamp(3rem, 8vw, 5.3rem); font-weight: 400; letter-spacing: -.07em; line-height: .78; }
.hero__date-plate span { display: grid; gap: .16rem; text-align: left; }
.hero__date-plate b, .hero__date-plate small { text-transform: uppercase; }
.hero__date-plate b { font-size: clamp(.72rem, 1.6vw, .92rem); letter-spacing: .2em; }
.hero__date-plate small { font-size: .65rem; font-weight: 760; letter-spacing: .26em; }

.section { padding: clamp(6.5rem, 14vw, 11rem) clamp(1.25rem, 5vw, 3rem); }
.section--sage { background: radial-gradient(circle at 81% 20%, rgba(250, 245, 232, .8), transparent 28rem), #d9e0d0; }
.section--dark { color: var(--ivory); background: #344137; }
.section__inner { width: min(100%, 1120px); margin: 0 auto; }

.micro-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  margin-bottom: 1.3rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(110, 125, 104, .1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74);
  font-size: .58rem;
  font-weight: 760;
}

.section-head { max-width: 610px; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.section-head--center { margin-right: auto; margin-left: auto; text-align: center; }
.section-head h2 { margin-bottom: 1.2rem; font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: .9; }
.section-head p { margin-bottom: 0; color: var(--ink-muted); font-size: clamp(1rem, 1.7vw, 1.17rem); line-height: 1.65; }
.section--dark .micro-tag { color: var(--ivory); background: rgba(255,255,255,.11); }
.section--dark .section-head p { color: rgba(251,248,240,.72); }

.countdown-shell,
.venue-shell,
.rsvp-shell,
.map-shell,
.program-card,
.information-card,
.date-choice {
  padding: 1px;
  border-radius: 2.1rem;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(119, 126, 105, .14));
  box-shadow: 0 0 0 1px rgba(71, 82, 65, .1), var(--shadow-ambient);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: calc(2.1rem - 1px);
  color: var(--ivory);
  background: rgba(36, 52, 42, .93);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.countdown__item { min-height: 8.2rem; display: grid; place-items: center; align-content: center; gap: .35rem; background: radial-gradient(circle at 50% 0, rgba(169, 182, 154, .21), transparent 74%); }
.countdown__item + .countdown__item { box-shadow: -1px 0 0 rgba(255,255,255,.12); }
.countdown__item strong { font-family: var(--display); font-size: clamp(2.15rem, 6vw, 4.5rem); font-weight: 400; letter-spacing: -.055em; line-height: .9; }
.countdown__item span { font-size: .56rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }

.venue-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr); gap: clamp(1rem, 3vw, 2.2rem); align-items: stretch; }
.venue-shell { min-height: 100%; }
.venue {
  position: relative;
  height: 100%;
  min-height: 540px;
  overflow: hidden;
  border-radius: calc(2.1rem - 1px);
  background: #edf0e7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.venue__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .78; transition: transform 1.1s var(--curve-out); }
.venue:hover .venue__image { transform: scale(1.045); }
.venue__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,248,240,.88) 0%, rgba(251,248,240,.35) 48%, rgba(51,61,50,.65) 100%); }
.venue__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; min-height: 540px; padding: clamp(1.7rem, 5vw, 3.2rem); }
.venue__eyebrow { margin: 0 0 .8rem; color: var(--forest); font-size: .62rem; font-weight: 760; }
.venue__copy h3 { max-width: 24rem; margin: 0; color: var(--forest); font-size: clamp(3rem, 6vw, 5rem); line-height: .88; }
.venue__meta { margin-top: auto; color: var(--ivory); }
.venue__meta p { margin: 0 0 .45rem; font-size: .95rem; line-height: 1.45; }
.venue__meta strong { font-size: 1.06rem; }

.map-shell { min-height: 540px; }
.map-card {
  position: relative;
  min-height: 538px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: calc(2.1rem - 1px);
  background: #f5f1e8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.map-card__topography {
  position: absolute;
  inset: 0;
  opacity: .66;
  background:
    repeating-linear-gradient(114deg, transparent 0 42px, rgba(104, 122, 101, .16) 43px 45px, transparent 46px 98px),
    repeating-linear-gradient(31deg, transparent 0 65px, rgba(179, 137, 87, .12) 66px 68px, transparent 69px 140px),
    radial-gradient(circle at 79% 18%, rgba(199, 218, 193, .76), transparent 22%),
    #f5f1e8;
}

.map-card__grid { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(77, 91, 73, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 91, 73, .2) 1px, transparent 1px); background-size: 42px 42px; transform: rotate(-9deg) scale(1.18); }
.map-card__body { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1.7rem, 5vw, 3.2rem); }
.map-card__body h3 { max-width: 20rem; margin: 0 0 .8rem; color: var(--forest); font-size: clamp(2.4rem, 5vw, 4rem); line-height: .9; }
.map-card__body p { max-width: 18rem; margin: 0; color: var(--ink-muted); font-size: .94rem; line-height: 1.55; }
.map-pin { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin: auto; border-radius: 50% 50% 50% 10%; color: var(--ivory); background: var(--forest); box-shadow: 0 18px 32px rgba(43,60,45,.26), inset 0 1px 0 rgba(255,255,255,.2); transform: rotate(-45deg); }
.map-pin svg { width: 1.6rem; height: 1.6rem; transform: rotate(45deg); }
.map-card__actions { display: flex; flex-wrap: wrap; gap: .65rem; width: 100%; margin-top: auto; }
.map-frame { position: relative; z-index: 1; flex: 1; min-height: 538px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  min-height: 3.15rem;
  padding: .38rem .45rem .38rem 1.15rem;
  border: 0;
  border-radius: 999px;
  color: var(--ivory);
  background: var(--forest);
  box-shadow: 0 12px 26px rgba(43, 60, 45, .18), inset 0 1px 0 rgba(255,255,255,.16);
  cursor: pointer;
  font-size: .65rem;
  font-weight: 780;
  letter-spacing: .125em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .62s var(--curve), box-shadow .62s var(--curve), background-color .62s var(--curve);
}

.button::after,
.button-link::after {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  content: "↗";
  border-radius: 50%;
  color: var(--forest);
  background: var(--ivory);
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0;
  transition: transform .62s var(--curve), background-color .62s var(--curve);
}

.button:hover,
.button-link:hover { box-shadow: 0 17px 34px rgba(43,60,45,.25), inset 0 1px 0 rgba(255,255,255,.18); transform: translateY(-2px); }
.button:hover::after,
.button-link:hover::after { transform: translate(2px, -2px) scale(1.06); }
.button:active,
.button-link:active { transform: scale(.98); }
.button--quiet { color: var(--forest); background: rgba(251,248,240,.72); box-shadow: 0 0 0 1px rgba(63,77,66,.12), inset 0 1px 0 rgba(255,255,255,.82); }
.button--quiet::after { color: var(--ivory); background: var(--sage-deep); }

.program-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(.9rem, 2.5vw, 1.6rem); align-items: stretch; }
.program-card { min-height: 270px; }
.program-card__inner { position: relative; height: 100%; min-height: 268px; display: flex; flex-direction: column; padding: clamp(1.4rem, 3.5vw, 2.2rem); overflow: hidden; border-radius: calc(2.1rem - 1px); background: rgba(250, 248, 240, .72); box-shadow: inset 0 1px 0 rgba(255,255,255,.86); }
.program-card--lead { grid-row: span 2; min-height: 556px; }
.program-card--lead .program-card__inner { background: #758574 var(--card-image) center / cover no-repeat; color: var(--ivory); isolation: isolate; }
.program-card--lead .program-card__inner::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(160deg, rgba(29, 44, 36, .19), rgba(28, 40, 34, .74)); }
.program-card--registration .program-card__inner { color: var(--ivory); background: #627164 var(--card-image) center / cover no-repeat; isolation: isolate; }
.program-card--registration .program-card__inner::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(150deg, rgba(31, 47, 35, .5), rgba(31, 47, 35, .14)); }
.program-card--final .program-card__inner { color: var(--ivory); background: #23352f var(--card-image) center / cover no-repeat; isolation: isolate; }
.program-card--final .program-card__inner::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(145deg, rgba(17, 31, 28, .32), rgba(17, 31, 28, .75)); }
.program-card__time { margin-bottom: auto; font-size: .64rem; font-weight: 780; }
.program-card h3 { max-width: 20rem; margin: 1.2rem 0 .75rem; font-size: clamp(2.3rem, 4.2vw, 3.9rem); line-height: .86; }
.program-card p { max-width: 19rem; margin-bottom: 0; color: var(--ink-muted); font-size: .92rem; line-height: 1.55; }
.program-card--lead p,
.program-card--registration p,
.program-card--final p { color: rgba(251,248,240,.82); }

.information-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.9rem, 2.5vw, 1.6rem); }
.information-card { min-height: 160px; }
.information-card__inner { height: 100%; padding: clamp(1.5rem, 3vw, 2rem); border-radius: calc(2.1rem - 1px); background: rgba(251,248,240,.74); box-shadow: inset 0 1px 0 rgba(255,255,255,.84); }
.information-card h3 { margin: 0 0 .7rem; font-size: clamp(1.8rem, 3.5vw, 2.7rem); line-height: .92; }
.information-card p { margin: 0; color: var(--ink-muted); font-size: .92rem; line-height: 1.55; }

.rsvp-shell { width: min(100%, 760px); margin: 0 auto; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,.68), rgba(176, 137, 74, .28)); }
.rsvp { position: relative; overflow: hidden; padding: clamp(1.5rem, 6vw, 4.4rem); border-radius: calc(2.1rem - 1px); background: #f5f1e8 url("/assets/rsvp-muslim-v1.png") center / cover no-repeat; box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.rsvp::before { position: absolute; z-index: 0; inset: 0; content: ""; background: rgba(250,248,240,.78); }
.rsvp > * { position: relative; z-index: 1; }
.rsvp__head { max-width: 470px; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.rsvp__head h2 { margin: .35rem 0 1rem; color: var(--forest); font-size: clamp(3rem, 7.2vw, 5.4rem); line-height: .88; }
.rsvp__head p { margin: 0; color: var(--ink-muted); line-height: 1.6; }
.rsvp__steps { display: flex; justify-content: center; gap: .55rem; margin-bottom: 2rem; }
.rsvp__steps span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; color: var(--ivory); background: var(--sage-deep); box-shadow: inset 0 1px 0 rgba(255,255,255,.22); font-size: .64rem; font-weight: 800; }
.field { margin-top: 1.45rem; }
.field > label,
.field legend { display: block; margin-bottom: .7rem; color: var(--forest); font-size: .91rem; font-weight: 760; }
.field > label span { color: var(--ink-muted); font-weight: 500; }
.field input[type="text"] { width: 100%; min-height: 3.65rem; padding: .9rem 1.1rem; border: 0; border-radius: 1.05rem; outline: none; color: var(--ink); background: rgba(255,255,255,.64); box-shadow: 0 0 0 1px rgba(68,81,64,.12), inset 0 1px 0 rgba(255,255,255,.86); transition: box-shadow .55s var(--curve), transform .55s var(--curve); }
.field input[type="text"]:focus { box-shadow: 0 0 0 2px rgba(109,125,104,.54), 0 13px 28px rgba(58,71,55,.1), inset 0 1px 0 rgba(255,255,255,.9); transform: translateY(-1px); }
fieldset.field { padding: 0; border: 0; }
.attendance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
.attendance { position: relative; display: flex; align-items: center; min-height: 5.1rem; padding: .9rem 1rem .9rem 3.35rem; border-radius: 1.18rem; color: var(--ink); background: rgba(255,255,255,.52); box-shadow: 0 0 0 1px rgba(68,81,64,.1), inset 0 1px 0 rgba(255,255,255,.78); cursor: pointer; font-size: .86rem; font-weight: 660; line-height: 1.32; transition: transform .55s var(--curve), box-shadow .55s var(--curve), background-color .55s var(--curve); }
.attendance input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.attendance::before { position: absolute; top: 50%; left: 1rem; width: 1.35rem; height: 1.35rem; content: ""; border-radius: 50%; background: rgba(110,125,104,.13); box-shadow: 0 0 0 1px rgba(70,84,67,.26); transform: translateY(-50%); transition: transform .55s var(--curve), background-color .55s var(--curve), box-shadow .55s var(--curve); }
.attendance:has(input:checked) { color: var(--ivory); background: var(--forest); box-shadow: 0 14px 30px rgba(46,59,46,.22), inset 0 1px 0 rgba(255,255,255,.16); transform: translateY(-2px); }
.attendance:has(input:checked)::before { background: var(--ivory); box-shadow: inset 0 0 0 .38rem var(--sage-deep); transform: translateY(-50%) scale(1.08); }
.attendance:focus-within { box-shadow: 0 0 0 2px rgba(109,125,104,.56), inset 0 1px 0 rgba(255,255,255,.78); }

.consents { display: grid; gap: .7rem; margin-top: 1.6rem; }
.consent { position: relative; display: flex; gap: .7rem; align-items: flex-start; padding: .88rem .95rem; border-radius: 1rem; color: var(--ink-muted); background: rgba(255,255,255,.42); box-shadow: inset 0 1px 0 rgba(255,255,255,.75); cursor: pointer; font-size: .72rem; line-height: 1.46; }
.consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent__box { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: .02rem; border-radius: .38rem; background: rgba(112,125,104,.14); box-shadow: 0 0 0 1px rgba(69,82,65,.24); transition: transform .48s var(--curve), box-shadow .48s var(--curve), background-color .48s var(--curve); }
.consent input:checked + .consent__box { background: var(--forest); box-shadow: 0 0 0 1px var(--forest), inset 0 0 0 3px var(--ivory); transform: rotate(-6deg) scale(1.06); }
.consent:focus-within { box-shadow: 0 0 0 2px rgba(109,125,104,.52), inset 0 1px 0 rgba(255,255,255,.75); }
.consent a { color: var(--forest); font-weight: 780; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.rsvp__submit { width: 100%; margin-top: 1.5rem; }
.rsvp__submit[disabled] { cursor: wait; opacity: .62; }
.rsvp__legal-hint { margin: .95rem 0 0; color: var(--ink-muted); font-size: .7rem; line-height: 1.45; text-align: center; }
.rsvp__legal-hint a { color: var(--forest); font-weight: 750; text-underline-offset: 2px; }
.form-status { min-height: 1.35rem; margin: 1rem 0 0; color: var(--forest); text-align: center; font-size: .79rem; line-height: 1.45; }
.form-status.is-error { color: #8f3f38; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.footer { position: relative; overflow: hidden; padding: clamp(6rem, 13vw, 10rem) 1.25rem 3rem; color: var(--ivory); text-align: center; background: #354137; }
.footer::before { position: absolute; inset: 0; content: ""; opacity: .35; background: var(--footer-image, url("/assets/program-muslim-v1.png")) center / cover no-repeat; }
.footer__inner { position: relative; width: min(100%, 780px); margin: 0 auto; }
.footer__rings { width: 5.2rem; margin: 0 auto 1.2rem; }
.footer h2 { margin-bottom: .85rem; font-size: clamp(3.4rem, 8vw, 6rem); line-height: .86; }
.footer__date { font-size: .63rem; font-weight: 770; }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: .55rem 1.2rem; margin-top: 2.2rem; }
.footer__links a { color: rgba(251,248,240,.76); font-size: .68rem; text-decoration: none; text-underline-offset: 3px; }
.footer__links a:hover { color: var(--ivory); text-decoration: underline; }

.chooser-page { min-height: 100dvh; display: grid; place-items: center; padding: 2rem 1.25rem; }
.chooser { width: min(100%, 800px); padding: clamp(2rem, 6vw, 4rem); text-align: center; }
.chooser__eyebrow { margin: 0 0 .8rem; color: var(--sage-deep); font-size: .69rem; font-weight: 770; letter-spacing: .18em; text-transform: uppercase; }
.chooser h1 { margin: 0; color: var(--forest); font-size: clamp(3.6rem, 9vw, 7rem); line-height: .88; }
.chooser__lead { max-width: 28rem; margin: 1.5rem auto 3rem; color: var(--ink-muted); line-height: 1.55; }
.chooser__links { display: grid; gap: .9rem; }
.date-choice { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1px; color: var(--forest); text-align: left; text-decoration: none; transition: transform .68s var(--curve), box-shadow .68s var(--curve); }
.date-choice > * { position: relative; z-index: 1; }
.date-choice::before { grid-column: 1/-1; grid-row: 1; height: 100%; content: ""; border-radius: calc(2.1rem - 1px); background: rgba(251,248,240,.76); box-shadow: inset 0 1px 0 rgba(255,255,255,.86); }
.date-choice__date { grid-column: 1; grid-row: 1; margin-left: clamp(1.1rem, 4vw, 2rem); font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.05em; }
.date-choice__detail { grid-column: 2; grid-row: 1; display: grid; gap: .38rem; }
.date-choice__detail strong { font-size: clamp(.92rem, 2vw, 1.1rem); }
.date-choice__detail small { color: var(--ink-muted); font-size: .72rem; line-height: 1.35; }
.date-choice__arrow { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; margin-right: clamp(.65rem, 2vw, 1rem); border-radius: 50%; color: var(--ivory); background: var(--forest); font-family: var(--display); font-size: 1.35rem; transition: transform .64s var(--curve); }
.date-choice:hover { box-shadow: 0 22px 45px rgba(59,71,53,.16); transform: translateY(-3px); }
.date-choice:hover .date-choice__arrow { transform: translate(3px,-3px) rotate(4deg); }

.legal-page { min-height: 100dvh; padding: clamp(2rem, 8vw, 6rem) 1.25rem; }
.legal { width: min(100%, 820px); margin: 0 auto; padding: clamp(2rem, 7vw, 5rem); border-radius: 2.2rem; background: rgba(251,248,240,.7); box-shadow: 0 0 0 1px rgba(68,81,64,.1), var(--shadow-ambient), inset 0 1px 0 rgba(255,255,255,.88); }
.back-link { display: inline-block; margin-bottom: 3rem; color: var(--forest); font-size: .78rem; font-weight: 730; text-decoration: none; }
.legal h1 { max-width: 48rem; margin: .25rem 0 1.5rem; color: var(--forest); font-size: clamp(3.1rem, 8vw, 6.2rem); line-height: .88; }
.legal__lead { max-width: 43rem; margin-bottom: 4rem; color: var(--ink-muted); font-size: 1.06rem; line-height: 1.65; }
.legal section { margin-top: 2.5rem; }
.legal h2 { margin-bottom: .7rem; color: var(--forest); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: .9; }
.legal p { margin-bottom: 0; color: var(--ink-muted); line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(3rem); transition: opacity 1s var(--curve-out), transform 1s var(--curve-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes tone-pour {
  0% { opacity: .28; transform: translate3d(-2%, -1%, 0) rotate(-3deg) scale(1.04); }
  48% { opacity: .57; transform: translate3d(3%, 2%, 0) rotate(2deg) scale(1.11); }
  100% { opacity: .34; transform: translate3d(-1%, 4%, 0) rotate(-1deg) scale(1.07); }
}

@keyframes aura-drift {
  0% { opacity: .28; transform: translate3d(-2rem, 0, 0) scale(.92); }
  100% { opacity: .6; transform: translate3d(3rem, 2rem, 0) scale(1.07); }
}

@keyframes sound-pulse {
  0% { transform: scaleY(.54); opacity: .62; }
  100% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 760px) {
  .site-nav { top: .7rem; width: calc(100% - 1.4rem); }
  .nav-shell { min-height: 3.45rem; padding-left: .9rem; }
  .nav__sound { min-height: 2.55rem; padding-right: .62rem; padding-left: .62rem; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__links { position: absolute; top: calc(100% + .65rem); right: 0; left: 0; display: grid; gap: .25rem; padding: .55rem; border-radius: 1.5rem; visibility: hidden; opacity: 0; background: rgba(251,248,240,.88); box-shadow: 0 0 0 1px rgba(73,78,64,.1), 0 20px 50px rgba(47,56,44,.16); backdrop-filter: blur(18px); transform: translateY(-.7rem) scale(.98); transition: opacity .55s var(--curve), transform .55s var(--curve), visibility .55s var(--curve); }
  .nav__links a { padding: .9rem 1rem; }
  .site-nav.menu-open .nav__links { visibility: visible; opacity: 1; transform: translateY(0) scale(1); }
  .hero__copy { padding-top: 9rem; }
  .section { padding: 6.5rem 1.15rem; }
  .section-head { margin-bottom: 3rem; }
  .venue-layout,
  .program-grid,
  .information-grid { grid-template-columns: 1fr; }
  .venue,
  .venue__copy,
  .map-card,
  .map-frame { min-height: 470px; }
  .program-card--lead { grid-row: auto; min-height: 420px; }
  .program-card--lead .program-card__inner { min-height: 418px; }
  .countdown__item { min-height: 6.6rem; }
  .countdown__item strong { font-size: 2.25rem; }
  .countdown__item span { letter-spacing: .08em; font-size: .48rem; }
  .attendance-grid { grid-template-columns: 1fr; }
  .footer { padding-top: 6.5rem; }
}

@media (max-width: 410px) {
  .nav__brand { font-size: .57rem; }
  .hero h1 { font-size: 3.55rem; }
  .hero__date-plate { gap: .55rem; padding: .6rem .86rem .6rem .75rem; }
  .hero__date-plate > strong { padding-right: .58rem; font-size: 3.35rem; }
  .hero__date-plate b { font-size: .63rem; letter-spacing: .13em; }
  .hero__date-plate small { font-size: .53rem; letter-spacing: .19em; }
  .countdown__item strong { font-size: 2rem; }
  .countdown__item span { letter-spacing: .035em; }
  .date-choice { grid-template-columns: 1fr auto; gap: .25rem .7rem; }
  .date-choice__date { grid-column: 1; grid-row: 1; margin-top: 1.15rem; }
  .date-choice__detail { grid-column: 1; grid-row: 2; margin: 0 1rem 1.15rem; }
  .date-choice__arrow { grid-column: 2; grid-row: 1/3; }
}

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