@font-face {
  font-family: "The Seasons Local";
  src:
    local("The Seasons Regular"),
    local("The Seasons"),
    local("FSP DEMO - The Seasons Light"),
    local("FONTSPRINGDEMO-TheSeasonsLightRegular");
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "The Seasons Local";
  src:
    local("The Seasons Italic"),
    local("FSP DEMO - The Seasons Light Italic"),
    local("FONTSPRINGDEMO-TheSeasonsLightItalic");
  font-style: italic;
  font-weight: 300;
}

:root {
  --ink: #2a0e15;
  --ink-soft: #4a1724;
  --cream: #f4eadf;
  --paper: #efe6da;
  --brass: #9da270;
  --sage: #6f7447;
  --burgundy: #5b1d2b;
  --burgundy-deep: #2a0e15;
  --olive: #6f7447;
  --olive-light: #a7aa7c;
  --line: rgba(42, 14, 21, 0.18);
  --display: "Italiana", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --hero-parallax: 0px;
  --founder-parallax: 0px;
  --manifesto-parallax: 0px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(15, 13, 10, 0.78), rgba(15, 13, 10, 0.78)),
    url("assets/ada-project-building-dusk.png") center / cover fixed;
  font-family: var(--sans);
  line-height: 1.6;
}

body.is-locked {
  overflow: hidden;
}

body.is-locked main {
  visibility: hidden;
}

main {
  position: relative;
  width: min(100%, 620px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.42);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: max(0px, calc((100vw - 620px) / 2));
  z-index: 88;
  width: min(100%, 620px);
  height: 3px;
  opacity: 0;
  background: rgba(243, 237, 223, 0.13);
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #8f6a34, #d4b477, #f3eddf);
  box-shadow: 0 0 12px rgba(212, 180, 119, 0.5);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

body:not(.is-locked) .scroll-progress {
  opacity: 1;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.gate.is-open {
  opacity: 0;
  visibility: hidden;
}

.gate__image,
.hero__image,
.manifesto__image {
  background: url("assets/ada-project-building-dusk.png") center 72% / cover no-repeat;
}

.gate__image,
.gate__shade {
  position: absolute;
  inset: 0;
}

.gate__image {
  animation: slowZoom 15s ease-out both;
}

.gate__shade {
  background:
    linear-gradient(180deg, rgba(10, 11, 12, 0.56), rgba(14, 12, 9, 0.36) 45%, rgba(14, 12, 9, 0.8)),
    linear-gradient(90deg, rgba(10, 8, 5, 0.18), transparent, rgba(10, 8, 5, 0.18));
  animation: duskBreathe 8s ease-in-out infinite alternate;
}

.gate__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(90%, 520px);
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.45s ease;
}

.gate__guest-loader {
  position: absolute;
  z-index: 2;
  display: none;
  width: min(72%, 260px);
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(243, 237, 223, 0.72);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.gate__guest-loader img {
  width: 150px;
  height: 72px;
  object-fit: contain;
  animation: guestLoaderPulse 1.8s ease-in-out infinite alternate;
}

html.is-resolving-guest .gate__content {
  opacity: 0;
  pointer-events: none;
}

html.is-resolving-guest .gate__content > * {
  animation-play-state: paused;
}

html.is-resolving-guest .gate__guest-loader {
  display: flex;
  animation: fadeIn 0.55s ease both;
}

.gate__content > * {
  opacity: 0;
  animation: gateReveal 1.2s var(--ease-soft) both;
}

.gate__content > :nth-child(1) { animation-delay: 0.08s; }
.gate__content > :nth-child(2) { animation-delay: 0.2s; }
.gate__content > :nth-child(3) { animation-delay: 0.3s; }
.gate__content > :nth-child(4) { animation-delay: 0.4s; }
.gate__content > :nth-child(5) { animation-delay: 0.48s; }
.gate__content > :nth-child(6) { animation-delay: 0.56s; }
.gate__content > :nth-child(7) { animation-delay: 0.64s; }
.gate__content > :nth-child(8) { animation-delay: 0.72s; }
.gate__content > :nth-child(9) { animation-delay: 0.8s; }
.gate__content > :nth-child(10) { animation-delay: 0.88s; }

@keyframes guestLoaderPulse {
  from { opacity: 0.48; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.02); }
}

.gate__note {
  animation: fadeIn 1s 1s both;
}

.logo-window {
  overflow: hidden;
  background: transparent;
}

.logo-window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.logo-window--gate {
  width: 148px;
  height: 70px;
  margin-bottom: 26px;
}

.logo-window--gate img {
  filter: invert(1) brightness(1.08);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--brass);
}

.gate h1,
.hero h2,
.section-heading h2,
.manifesto h2,
.rsvp__intro h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-wrap: balance;
}

.gate h1 {
  font-size: clamp(4.25rem, 9vw, 7rem);
  font-family: "The Seasons Local", "Bodoni Moda", Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.gate__brand {
  margin: 20px 0 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
}

.gate__tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--display);
  font-size: 0.94rem;
  font-style: italic;
}

.gate__invite {
  max-width: 390px;
  margin: 24px 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  line-height: 1.65;
  text-wrap: balance;
}

.gate__guest {
  display: grid;
  gap: 2px;
  margin: -4px 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gate__guest strong {
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

em {
  font-weight: 400;
  color: var(--brass);
}

.gate__line {
  width: 1px;
  height: 42px;
  margin: 17px 0 10px;
  background: rgba(255, 255, 255, 0.55);
}

.gate__date {
  margin: 0 0 17px;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
}

.guest-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
}

.guest-name {
  margin: 2px 0 18px;
  font-family: var(--display);
  font-size: 1.5rem;
}

.gate__note {
  position: absolute;
  bottom: 18px;
  z-index: 1;
  margin: 0;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, background 0.25s ease, color 0.25s ease;
}

.button::before {
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -65%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-18deg);
  transition: left 0.75s var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(23, 20, 15, 0.16);
}

.button:hover::before,
.button:focus-visible::before {
  left: 132%;
}

.button svg {
  transition: transform 0.35s var(--ease-out);
}

.button:hover svg {
  transform: translateX(3px);
}

.button--light {
  color: var(--ink);
  background: var(--cream);
}

.button--dark {
  color: var(--cream);
  background: var(--ink);
}

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

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
}

.hero__image,
.hero__glow,
.hero__motes,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-position: center 70%;
  transform: translate3d(0, var(--hero-parallax), 0) scale(1.09);
  transform-origin: center;
  will-change: transform;
}

body:not(.is-locked) .hero__image {
  animation: facadeLight 9s ease-in-out infinite alternate;
}

.hero__glow {
  z-index: 0;
  inset: -18%;
  opacity: 0;
  background:
    radial-gradient(circle at 60% 54%, rgba(243, 181, 94, 0.32), transparent 24%),
    radial-gradient(circle at 20% 28%, rgba(255, 217, 170, 0.16), transparent 22%);
  mix-blend-mode: screen;
  pointer-events: none;
}

body:not(.is-locked) .hero__glow {
  animation: duskGlow 11s 0.3s ease-in-out infinite alternate;
}

.hero__motes {
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero__motes span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  background: rgba(255, 220, 160, 0.82);
  box-shadow: 0 0 12px rgba(255, 190, 98, 0.72);
}

.hero__motes span:nth-child(1) { left: 14%; bottom: 26%; }
.hero__motes span:nth-child(2) { right: 20%; bottom: 35%; width: 3px; height: 3px; }
.hero__motes span:nth-child(3) { left: 68%; bottom: 18%; width: 2px; height: 2px; }
.hero__motes span:nth-child(4) { left: 36%; bottom: 42%; width: 3px; height: 3px; }

body:not(.is-locked) .hero__motes span {
  animation: moteRise 8s ease-in-out infinite;
}

body:not(.is-locked) .hero__motes span:nth-child(2) { animation-delay: -2.4s; animation-duration: 10s; }
body:not(.is-locked) .hero__motes span:nth-child(3) { animation-delay: -5s; animation-duration: 7s; }
body:not(.is-locked) .hero__motes span:nth-child(4) { animation-delay: -6.8s; animation-duration: 11s; }

.hero__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 12, 11, 0.45), transparent 31%, rgba(13, 11, 8, 0.88));
}

.hero__topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 24px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.61rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__topbar span {
  opacity: 0;
  transform: translateY(-10px);
}

body:not(.is-locked) .hero__topbar span {
  animation: topbarIn 0.8s 0.2s var(--ease-out) forwards;
}

body:not(.is-locked) .hero__topbar span:last-child {
  animation-delay: 0.35s;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 150px 0 90px;
}

.hero__content::before {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--brass), rgba(255, 255, 255, 0.15));
}

.hero__content.is-visible::before {
  animation: heroLineOpen 1.2s 0.08s var(--ease-out) forwards;
}

.hero h2 {
  max-width: 560px;
  font-size: clamp(4.8rem, 15vw, 6.3rem);
}

body:not(.is-locked) .hero h2 em {
  animation: titleGlow 5s 1.6s ease-in-out infinite;
}

.hero__brand {
  margin: 28px 0 4px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.32em;
}

.hero__tagline {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--display);
  font-size: clamp(1rem, 3.4vw, 1.18rem);
  font-style: italic;
  text-wrap: balance;
}

.hero__intro {
  max-width: 510px;
  margin: 30px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.9rem, 1.5vw, 1.04rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link svg {
  transition: transform 0.4s var(--ease-out);
}

.text-link:hover svg,
.text-link:focus-visible svg {
  transform: translateX(6px);
}

.hero__scroll {
  position: absolute;
  right: 24px;
  bottom: 80px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.hero__scroll span {
  width: 36px;
  height: 1px;
  background: currentColor;
  animation: scrollLine 1.8s ease-in-out infinite;
  transform-origin: left center;
}

.section-pad {
  padding: clamp(82px, 12vw, 118px) clamp(24px, 7vw, 48px);
}

.chapter {
  position: relative;
  isolation: isolate;
}

.chapter__meta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 clamp(72px, 14vh, 118px);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 20, 15, 0.18);
  color: rgba(23, 20, 15, 0.62);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.chapter__meta::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  content: "";
}

.chapter__meta.is-visible::after,
.reveal.is-visible .chapter__meta::after {
  animation: chapterRule 1.2s 0.2s var(--ease-out) forwards;
}

.chapter__meta--light {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.62);
}

.chapter__meta--overlay {
  position: absolute;
  top: 28px;
  right: 24px;
  left: 24px;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.8);
}

.welcome {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 0 15%, rgba(176, 138, 74, 0.12), transparent 28%),
    var(--paper);
}

.welcome--night {
  min-height: 100svh;
  padding-top: clamp(170px, 26svh, 240px);
  padding-bottom: clamp(110px, 16vh, 150px);
  color: var(--cream);
  background:
    radial-gradient(circle at 90% 12%, rgba(176, 138, 74, 0.2), transparent 30%),
    linear-gradient(160deg, #262219, #15130f 72%);
}

.welcome--night .chapter__meta {
  margin-bottom: clamp(92px, 16vh, 132px);
}

.welcome--night .welcome__mark {
  top: 190px;
  color: rgba(243, 237, 223, 0.045);
}

.welcome--night .welcome__copy {
  color: rgba(255, 255, 255, 0.68);
}

.welcome--night .date-lockup__main,
.welcome--night .countdown div {
  border-color: rgba(255, 255, 255, 0.2);
}

.welcome--night .countdown span {
  color: rgba(255, 255, 255, 0.5);
}

.welcome__mark {
  position: absolute;
  top: 30px;
  right: 5vw;
  color: rgba(176, 138, 74, 0.09);
  font-family: var(--display);
  font-size: clamp(12rem, 30vw, 28rem);
  line-height: 1;
}

.welcome__mark.is-visible {
  animation: watermarkFloat 8s 1s ease-in-out infinite;
}

.section-heading {
  position: relative;
  z-index: 1;
}

.section-heading h2,
.rsvp__intro h2 {
  font-size: clamp(3.2rem, 11vw, 4.8rem);
}

.welcome__copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin: 30px auto 72px;
  color: #5e584f;
}

.date-lockup {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.date-lockup__month,
.date-lockup__time {
  display: block;
  color: var(--brass);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.date-lockup__main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.date-lockup__main span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.date-lockup__main strong {
  padding: 12px 34px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(4.8rem, 10vw, 7.4rem);
  font-weight: 400;
  line-height: 1;
}

.date-lockup.is-visible .date-lockup__main {
  animation: lineOpen 1.15s 0.15s var(--ease-out) both;
}

.date-lockup.is-visible .date-lockup__main strong {
  animation: datePop 0.9s 0.3s var(--ease-out) both;
}

.countdown {
  display: grid;
  max-width: 600px;
  grid-template-columns: repeat(4, 1fr);
  margin: 60px auto 38px;
}

.countdown div {
  border-right: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
}

.countdown div:last-child {
  border: 0;
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
}

.countdown.is-visible div {
  animation: counterIn 0.7s var(--ease-out) forwards;
}

.countdown.is-visible div:nth-child(2) { animation-delay: 0.08s; }
.countdown.is-visible div:nth-child(3) { animation-delay: 0.16s; }
.countdown.is-visible div:nth-child(4) { animation-delay: 0.24s; }

.countdown strong.is-ticking {
  animation: digitTick 0.48s var(--ease-out);
}

.countdown span {
  color: #746d62;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), transparent 48%),
    #d8d1c1;
}

.about::after {
  position: absolute;
  right: -95px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(23, 20, 15, 0.12);
  border-radius: 50%;
  content: "";
}

.about__watermark {
  position: absolute;
  top: 22px;
  right: -24px;
  color: rgba(23, 20, 15, 0.045);
  font-family: var(--display);
  font-size: clamp(5.8rem, 22vw, 9rem);
  letter-spacing: -0.06em;
  line-height: 1;
  writing-mode: vertical-rl;
}

.about__header,
.about__lead,
.about__statement,
.about__closing {
  position: relative;
  z-index: 1;
}

.about__header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 15vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.82;
}

.about__lead {
  max-width: 430px;
  margin: 38px 0 0;
  color: #484239;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  line-height: 1.35;
}

.about__portrait {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 52px -48px 0;
  background: var(--ink-soft);
}

.about__portrait img {
  display: block;
  width: 100%;
  height: min(74svh, 700px);
  object-fit: cover;
  object-position: center 68%;
  filter: saturate(0.88) contrast(1.02);
  transform: scale(1.06);
}

.about__portrait.is-visible img {
  animation: editorialZoom 13s 0.2s ease-out both;
}

.about__portrait figcaption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.53rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about__statement {
  z-index: 2;
  display: grid;
  gap: 24px;
  margin: -38px 0 0 26px;
  padding: clamp(28px, 6vw, 42px);
  color: var(--cream);
  border: 1px solid rgba(176, 138, 74, 0.32);
  background:
    radial-gradient(circle at 100% 0, rgba(176, 138, 74, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(43, 38, 30, 0.97), rgba(23, 20, 15, 0.97));
  box-shadow: 0 28px 65px rgba(23, 20, 15, 0.24);
  backdrop-filter: blur(14px);
}

.about__statement-kicker {
  color: var(--brass);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about__statement > p {
  max-width: 470px;
  margin: 0;
  color: rgba(243, 237, 223, 0.7);
  font-size: 0.9rem;
}

.about__statement > p em {
  display: block;
  margin-bottom: 9px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.65rem, 6vw, 2.35rem);
  line-height: 1;
}

.about__services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  counter-reset: service;
}

.about__services span {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: flex-end;
  padding: 34px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  counter-increment: service;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-soft);
}

.about__services span::before {
  position: absolute;
  top: 13px;
  left: 14px;
  color: var(--brass);
  content: "0" counter(service);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.about__services span:hover {
  border-color: rgba(176, 138, 74, 0.62);
  background: rgba(176, 138, 74, 0.09);
  transform: translateY(-2px);
}

.about__closing {
  max-width: 430px;
  margin: 2px 0 0 !important;
  padding-left: 22px;
  border-left: 2px solid var(--brass);
  color: rgba(243, 237, 223, 0.58) !important;
  font-size: 0.78rem !important;
}

.manifesto {
  position: relative;
  display: grid;
  min-height: 760px;
  grid-template-columns: 1fr;
  background: var(--ink);
}

.manifesto__image {
  min-height: 680px;
  filter: saturate(0.78) sepia(0.08);
  background-position: center calc(74% + var(--manifesto-parallax));
}

.manifesto__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(55px, 7vw, 110px);
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(176, 138, 74, 0.06), transparent),
    var(--ink-soft);
}

.manifesto h2 {
  font-size: clamp(3.3rem, 11vw, 4.9rem);
}

.manifesto__card p:not(.eyebrow) {
  max-width: 430px;
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.66);
}

.manifesto__card blockquote {
  max-width: 430px;
  margin: 0 0 32px;
  padding-left: 18px;
  border-left: 1px solid var(--brass);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: italic;
}

.text-link--light {
  color: var(--cream);
}

.location {
  background: var(--cream);
}

.location .section-heading {
  text-align: center;
}

.location__grid {
  display: grid;
  max-width: 1040px;
  grid-template-columns: 1fr;
  margin: 65px auto 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.location__map {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #dad6c8;
}

.location__map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.62) sepia(0.12) contrast(0.94);
  transition: filter 0.45s ease, transform 1.2s var(--ease-out);
  transform: scale(1.035);
}

.location__map:hover .location__map-frame,
.location__map:focus-within .location__map-frame {
  filter: saturate(0.9) sepia(0.03) contrast(1);
  transform: scale(1);
}

.map-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  color: var(--cream);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 30px rgba(23, 20, 15, 0.2);
  pointer-events: none;
}

.location__map .map-badge {
  opacity: 0;
}

.location__map.is-visible .map-badge {
  animation: pinDrop 0.85s 0.7s var(--ease-out) forwards;
}

.location__map.is-visible .map-badge i {
  animation: pinPulse 2s 1.5s ease-out infinite;
}

.map-badge i {
  width: 7px;
  height: 7px;
  background: var(--brass);
  border-radius: 50%;
}

.location__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(35px, 5vw, 68px);
}

.location__type {
  margin: 0 0 18px;
  color: var(--brass);
  font-family: var(--display);
  font-size: 1.9rem;
}

.location address {
  margin-bottom: 28px;
  color: #5e584f;
  font-size: 0.9rem;
  font-style: normal;
}

.rsvp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 20%, rgba(176, 138, 74, 0.18), transparent 30%),
    var(--ink);
}

.rsvp__intro p:not(.eyebrow) {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.62);
}

.rsvp__deadline {
  display: inline-block;
  margin-top: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rsvp-form {
  position: relative;
  display: grid;
  gap: 25px;
  padding: clamp(28px, 5vw, 60px);
  overflow: hidden;
  color: var(--cream);
  border: 1px solid rgba(176, 138, 74, 0.34);
  background:
    radial-gradient(circle at 100% 0, rgba(176, 138, 74, 0.17), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.rsvp-form::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 92px;
  height: 2px;
  background: var(--brass);
  content: "";
}

.rsvp-form label > span,
.rsvp-form legend {
  display: block;
  margin-bottom: 8px;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rsvp-form label > span,
.rsvp-form legend {
  color: rgba(243, 237, 223, 0.76);
}

.rsvp-form small {
  color: rgba(243, 237, 223, 0.42);
  font-size: inherit;
  text-transform: none;
}

.rsvp-form input[type="text"],
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: 0;
  color: var(--cream);
  background: transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: rgba(243, 237, 223, 0.34);
}

.rsvp-form select option {
  color: var(--ink);
  background: var(--paper);
}

.rsvp-form textarea {
  resize: vertical;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  border-color: var(--brass);
}

.rsvp-form fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.attendance-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.attendance-options label {
  position: relative;
  cursor: pointer;
}

.attendance-options input {
  position: absolute;
  opacity: 0;
}

.attendance-options span {
  position: relative;
  display: grid;
  min-height: 76px;
  place-items: center;
  margin: 0 !important;
  padding: 24px 15px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(243, 237, 223, 0.76) !important;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.67rem !important;
  text-align: center;
  transition: transform 0.35s var(--ease-soft), border-color 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.attendance-options span::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(243, 237, 223, 0.48);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.attendance-options label:hover span {
  border-color: rgba(176, 138, 74, 0.7);
  background: rgba(176, 138, 74, 0.08);
  transform: translateY(-2px);
}

.attendance-options input:focus-visible + span {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.attendance-options input:checked + span {
  color: var(--ink) !important;
  border-color: var(--brass);
  background: linear-gradient(135deg, #c29a58, #a77f3e);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.attendance-options input:checked + span::before {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 0 0 3px rgba(23, 20, 15, 0.12);
}

.rsvp-form .button--cream {
  border-color: var(--brass);
  color: var(--ink);
  background: linear-gradient(100deg, var(--cream), #dfcda8);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.rsvp-form .button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.rsvp-sync-status {
  min-height: 1.2em;
  margin: -10px 0 0;
  color: rgba(243, 237, 223, 0.5);
  font-size: 0.66rem;
  text-align: center;
}

.rsvp-sync-status.is-saving {
  color: rgba(243, 237, 223, 0.7);
}

.rsvp-sync-status.is-saved {
  color: #d8b979;
}

.rsvp-sync-status.is-error {
  color: #e3a99b;
}

.rsvp-success {
  align-self: center;
  padding: clamp(35px, 5vw, 65px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rsvp-success__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 22px;
  color: var(--ink);
  background: var(--brass);
  border-radius: 50%;
  font-size: 1.4rem;
}

.rsvp-success:not([hidden]) .rsvp-success__icon {
  animation: successPop 0.75s var(--ease-out) both;
}

.rsvp-success h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 400;
}

.rsvp-success p {
  color: rgba(255, 255, 255, 0.68);
}

.rsvp-guests {
  position: relative;
  margin-top: 8px;
  padding: clamp(30px, 5vw, 52px) 0 0;
  border-top: 1px solid rgba(176, 138, 74, 0.32);
}

.rsvp-guests__heading {
  max-width: 410px;
  margin-bottom: 28px;
}

.rsvp-guests__heading .eyebrow {
  margin-bottom: 12px;
}

.rsvp-guests__heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 8vw, 3.3rem);
  font-weight: 400;
  line-height: 1;
}

.rsvp-guests__heading > p:last-child {
  margin: 12px 0 0;
  color: rgba(243, 237, 223, 0.55);
  font-size: 0.78rem;
}

.rsvp-guests__list {
  counter-reset: rsvp-guest;
  border-bottom: 1px solid rgba(243, 237, 223, 0.14);
}

.rsvp-guest {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid rgba(243, 237, 223, 0.14);
}

.rsvp-guest__number {
  padding-top: 4px;
  color: var(--brass);
  font-size: 0.61rem;
  letter-spacing: 0.14em;
}

.rsvp-guest h4 {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
}

.rsvp-guest__attendance {
  margin: 7px 0 0;
  color: rgba(216, 185, 121, 0.86);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rsvp-guest blockquote {
  position: relative;
  margin: 16px 0 0;
  padding-left: 17px;
  color: rgba(243, 237, 223, 0.68);
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.55;
}

.rsvp-guest blockquote::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 1px;
  background: var(--brass);
  content: "";
}

.rsvp-guests.is-visible .rsvp-guest {
  animation: formFieldIn 0.8s var(--ease-out) both;
}

.rsvp-guests.is-visible .rsvp-guest:nth-child(2) { animation-delay: 0.12s; }
.rsvp-guests.is-visible .rsvp-guest:nth-child(3) { animation-delay: 0.24s; }

.text-button {
  display: block;
  margin: 16px auto 0;
  padding: 5px;
  border: 0;
  color: rgba(255, 255, 255, 0.62);
  background: none;
  font-size: 0.7rem;
  text-decoration: underline;
  cursor: pointer;
}

.footer {
  padding: 85px 22px 30px;
  text-align: center;
  background: var(--paper);
}

.story {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 85% 15%, rgba(176, 138, 74, 0.22), transparent 32%),
    var(--ink-soft);
}

.story__ornament {
  position: absolute;
  top: -16px;
  right: -8px;
  color: rgba(243, 237, 223, 0.055);
  font-family: var(--display);
  font-size: 8rem;
  line-height: 1;
}

.story__ornament.is-visible {
  animation: ornamentDrift 10s 0.8s ease-in-out infinite;
}

.story .section-heading {
  text-align: center;
}

.story__copy {
  position: relative;
  max-width: 440px;
  margin: 40px auto 0;
  color: rgba(255, 255, 255, 0.69);
  text-align: center;
}

.story__copy p + p {
  margin-top: 22px;
}

.story__copy strong {
  color: var(--cream);
  font-weight: 500;
}

.story__copy strong em {
  color: var(--cream);
}

.journey {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 470px;
  gap: 1px;
  margin: 48px auto 0;
  background: rgba(255, 255, 255, 0.14);
}

.journey article {
  padding: 28px 24px;
  background: #2b271f;
  text-align: left;
}

.journey span {
  color: var(--brass);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.journey h3 {
  margin: 8px 0 10px;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 400;
}

.journey p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.journey.is-visible article {
  animation: childReveal 0.8s var(--ease-out) both;
}

.journey.is-visible article:nth-child(2) { animation-delay: 0.12s; }
.journey.is-visible article:nth-child(3) { animation-delay: 0.24s; }

.story__signature {
  width: fit-content;
  margin: 44px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--brass);
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
}

.story__closing {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 42px auto 0;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.story.chapter--story {
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 10%, rgba(176, 138, 74, 0.18), transparent 28%),
    linear-gradient(155deg, #ded7c9, #cfc5b3 72%);
}

.story.chapter--story .story__ornament {
  color: rgba(23, 20, 15, 0.055);
}

.story.chapter--story .story__copy,
.story.chapter--story .story__closing {
  color: rgba(23, 20, 15, 0.7);
}

.story.chapter--story .story__copy strong,
.story.chapter--story .story__copy strong em {
  color: var(--ink);
}

.story.chapter--story .journey {
  gap: 12px;
  background: transparent;
}

.story.chapter--story .journey article {
  border: 1px solid rgba(23, 20, 15, 0.13);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.story.chapter--story .journey h3 {
  color: var(--ink);
}

.story.chapter--story .journey p {
  color: rgba(23, 20, 15, 0.65);
}

.story.chapter--story .story__signature {
  border-color: rgba(23, 20, 15, 0.2);
}

.founder {
  display: grid;
  min-height: 760px;
  grid-template-rows: auto auto;
  color: var(--cream);
  background: #29251e;
}

.founder__visual {
  position: relative;
  display: grid;
  height: clamp(440px, 58svh, 520px);
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #1d1a16;
}

.founder__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 15, 11, 0.4), transparent 30%, transparent 54%, rgba(18, 15, 11, 0.76));
  content: "";
  pointer-events: none;
}

.founder__duo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 54%;
  transform: translateY(var(--founder-parallax)) scale(1.03);
  transition: transform 0.2s linear;
}

.founder__photo-kicker {
  position: absolute;
  top: clamp(42px, 8vw, 62px);
  right: 22px;
  left: 22px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
  text-transform: uppercase;
}

.founder__visual-label {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  color: var(--cream);
  font-size: 0.56rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.founder__content {
  padding: 54px clamp(28px, 8vw, 54px) 68px;
  text-align: center;
}

.founder__content h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.45rem, 9vw, 3.65rem);
  font-weight: 400;
  line-height: 0.9;
}

.founder__content p:not(.eyebrow) {
  max-width: 390px;
  margin: 28px auto 20px;
  color: rgba(255, 255, 255, 0.65);
}

.founder__portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 30px auto 26px;
}

.founder__portraits figure {
  margin: 0;
  text-align: left;
}

.founder__portraits img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
}

.founder__portraits figure:first-child img {
  object-position: center 42%;
}

.founder__portraits figure:last-child img {
  object-position: 68% center;
}

.founder__portraits figcaption {
  display: grid;
  gap: 2px;
  padding: 13px 4px 0;
}

.founder__portraits figcaption strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
}

.founder__portraits figcaption span {
  color: var(--brass);
  font-size: 0.53rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.founder__facts span {
  color: var(--brass);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.founder__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.gallery {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 36%),
    var(--cream);
}

.gallery__heading {
  text-align: left;
}

.gallery__intro {
  max-width: 410px;
  margin: 32px 0 54px auto;
  padding-left: 22px;
  border-left: 1px solid var(--brass);
  color: #6f685d;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 0;
  border: 0;
  color: var(--cream);
  background: #2a261f;
  cursor: zoom-in;
}

.gallery__item--building,
.gallery__item--duo {
  grid-column: 1 / -1;
  min-height: 520px;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: filter 0.7s ease, transform 1s var(--ease-out);
}

.gallery__item--building img {
  object-position: center 70%;
}

.gallery__item--duo img {
  object-position: center 62%;
}

.gallery__item:not(.gallery__item--building, .gallery__item--duo):nth-child(3) img {
  object-position: center 42%;
}

.gallery__item:not(.gallery__item--building, .gallery__item--duo):nth-child(4) img {
  object-position: 68% center;
}

.gallery__item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(15, 12, 8, 0.74));
  content: "";
  pointer-events: none;
}

.gallery__item > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--display);
  font-size: 1.1rem;
  text-align: left;
}

.gallery__item small {
  font-family: var(--sans);
  font-size: 0.53rem;
  letter-spacing: 0.16em;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  filter: brightness(1.06);
  transform: scale(1.035);
}

.reveal--gallery .gallery__item {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
}

.reveal--gallery.is-visible .gallery__item {
  animation: galleryIn 1s var(--ease-out) forwards;
}

.reveal--gallery.is-visible .gallery__item:nth-child(2) { animation-delay: 0.12s; }
.reveal--gallery.is-visible .gallery__item:nth-child(3) { animation-delay: 0.22s; }
.reveal--gallery.is-visible .gallery__item:nth-child(4) { animation-delay: 0.3s; }

.gallery-lightbox {
  width: min(92vw, 560px);
  max-height: 92svh;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--cream);
  background: #17140f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.gallery-lightbox::backdrop {
  background: rgba(8, 7, 5, 0.84);
  backdrop-filter: blur(7px);
}

.gallery-lightbox[open] {
  animation: lightboxIn 0.45s var(--ease-out) both;
}

.gallery-lightbox img {
  display: block;
  width: 100%;
  max-height: 82svh;
  object-fit: contain;
}

.gallery-lightbox p {
  margin: 0;
  padding: 14px 52px 17px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--display);
  font-size: 0.95rem;
}

.gallery-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: white;
  background: rgba(15, 12, 8, 0.66);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.collection {
  text-align: center;
  background: var(--cream);
}

.collection__intro {
  max-width: 400px;
  margin: 28px auto 45px;
  color: #70695f;
}

.collection__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.collection__item {
  position: relative;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
  color: var(--cream);
  text-align: left;
  transition: box-shadow 0.5s ease, filter 0.5s ease, transform 0.5s var(--ease-out);
}

.collection__item::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scale(0.94);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out);
}

.collection__item:hover {
  z-index: 1;
  filter: brightness(1.06);
  box-shadow: 0 18px 38px rgba(23, 20, 15, 0.18);
  transform: translateY(-5px);
}

.collection__item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.collection__item span {
  margin-bottom: 5px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.collection__item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
}

.reveal--collection .collection__item {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
}

.reveal--collection.is-visible .collection__item {
  animation: collectionIn 0.9s var(--ease-out) forwards;
}

.reveal--collection.is-visible .collection__item:nth-child(2) { animation-delay: 0.12s; }
.reveal--collection.is-visible .collection__item:nth-child(3) { animation-delay: 0.22s; }
.reveal--collection.is-visible .collection__item:nth-child(4) { animation-delay: 0.32s; }

.collection__item--photo {
  grid-row: span 2;
  min-height: 498px;
  background:
    linear-gradient(180deg, transparent 45%, rgba(15, 12, 8, 0.82)),
    url("assets/ada-project-building-dusk.png") center 70% / cover;
}

.collection__item--linen {
  background:
    linear-gradient(145deg, rgba(111, 100, 81, 0.22), rgba(23, 20, 15, 0.66)),
    repeating-linear-gradient(35deg, #c8bda8 0 3px, #b9ad98 3px 7px);
}

.collection__item--dark {
  background:
    radial-gradient(circle at 70% 25%, rgba(176, 138, 74, 0.38), transparent 22%),
    #27231d;
}

.collection__item--mark {
  grid-column: span 2;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(176, 138, 74, 0.1), transparent 48%),
    var(--cream);
}

.collection__item--mark img {
  width: 74%;
  height: 100%;
  object-fit: cover;
}

.reveal--collection.is-visible .collection__item--mark img {
  animation: logoBreathe 5s 1.1s ease-in-out infinite;
}

.music-toggle {
  position: fixed;
  right: max(16px, calc((100vw - 620px) / 2 + 16px));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 85;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(243, 237, 223, 0.45);
  border-radius: 50%;
  opacity: 0;
  color: var(--cream);
  background: rgba(23, 20, 15, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  pointer-events: none;
  cursor: pointer;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease;
}

body:not(.is-locked) .music-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.music-toggle__note {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  line-height: 1;
}

.music-toggle__pulse {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(176, 138, 74, 0.7);
  border-radius: 50%;
}

.music-toggle.is-playing .music-toggle__pulse {
  animation: musicPulse 2.4s ease-out infinite;
}

.music-toggle__label {
  position: absolute;
  right: calc(100% + 9px);
  padding: 5px 8px;
  border-radius: 99px;
  opacity: 0;
  color: var(--cream);
  background: rgba(23, 20, 15, 0.82);
  font-size: 0.53rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.music-toggle:hover .music-toggle__label,
.music-toggle:focus-visible .music-toggle__label {
  opacity: 1;
}

@keyframes musicPulse {
  0% { opacity: 0.85; transform: scale(0.82); }
  75%, 100% { opacity: 0; transform: scale(1.42); }
}

.collection__note {
  margin: 24px 0 0;
  color: #8e867a;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.logo-window--footer {
  width: 210px;
  height: 100px;
  margin: 0 auto 26px;
}

.footer p {
  margin: 0 auto 32px;
  color: #6c655b;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
}

.footer__links a {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer small {
  color: #8d877e;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  --reveal-x: 0px;
  --reveal-y: 28px;
  --reveal-scale: 1;
  --reveal-blur: 4px;
  opacity: 0;
  filter: blur(var(--reveal-blur));
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transform-origin: 50% 55%;
  will-change: opacity, filter, transform;
  backface-visibility: hidden;
  transition:
    opacity 1.15s ease,
    filter 1.25s ease,
    transform 1.25s var(--ease-soft);
}

.reveal--left {
  --reveal-x: -40px;
  --reveal-y: 0px;
}

.reveal--right {
  --reveal-x: 40px;
  --reveal-y: 0px;
}

.reveal--scale,
.reveal--image {
  --reveal-y: 20px;
  --reveal-scale: 0.965;
  --reveal-blur: 7px;
}

.reveal--heading {
  --reveal-y: 0px;
  --reveal-blur: 0px;
  overflow: visible;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.hero__content > *,
.section-heading > *,
.founder__content > *,
.manifesto__card > *,
.rsvp__intro > *,
.location__details > *,
.footer > * {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(22px) scale(1.025);
  transform-origin: 50% 60%;
  will-change: opacity, filter, transform;
}

.hero__content.is-visible > *,
.section-heading.is-visible > *,
.founder__content.is-visible > *,
.manifesto__card.is-visible > *,
.rsvp__intro.is-visible > *,
.location__details.is-visible > *,
.footer.is-visible > * {
  animation: childReveal 1.2s var(--ease-soft) forwards;
}

.hero__content.is-visible > :nth-child(2),
.section-heading.is-visible > :nth-child(2),
.founder__content.is-visible > :nth-child(2),
.manifesto__card.is-visible > :nth-child(2),
.rsvp__intro.is-visible > :nth-child(2),
.location__details.is-visible > :nth-child(2),
.footer.is-visible > :nth-child(2) { animation-delay: 0.14s; }

.hero__content.is-visible > :nth-child(3),
.founder__content.is-visible > :nth-child(3),
.manifesto__card.is-visible > :nth-child(3),
.rsvp__intro.is-visible > :nth-child(3),
.location__details.is-visible > :nth-child(3),
.footer.is-visible > :nth-child(3) { animation-delay: 0.28s; }

.hero__content.is-visible > :nth-child(4),
.founder__content.is-visible > :nth-child(4),
.manifesto__card.is-visible > :nth-child(4),
.rsvp__intro.is-visible > :nth-child(4),
.footer.is-visible > :nth-child(4) { animation-delay: 0.42s; }

.rsvp-form.is-visible > * {
  opacity: 0;
  animation: formFieldIn 0.7s var(--ease-out) forwards;
}

.rsvp-form.is-visible > :nth-child(2) { animation-delay: 0.08s; }
.rsvp-form.is-visible > :nth-child(3) { animation-delay: 0.16s; }
.rsvp-form.is-visible > :nth-child(4) { animation-delay: 0.24s; }
.rsvp-form.is-visible > :nth-child(5) { animation-delay: 0.32s; }
.rsvp-form.is-visible > :nth-child(6) { animation-delay: 0.4s; }

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@keyframes chapterRule {
  from { width: 0; }
  to { width: min(92px, 28%); }
}

@keyframes editorialZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.01); }
}

@keyframes galleryIn {
  from { opacity: 0; transform: translateY(34px) scale(0.97); clip-path: inset(8% 0 0); }
  to { opacity: 1; transform: none; clip-path: inset(0); }
}

@keyframes lightboxIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes duskBreathe {
  from { opacity: 0.9; }
  to { opacity: 1; }
}

@keyframes facadeLight {
  from { filter: brightness(0.94) saturate(0.96); }
  to { filter: brightness(1.07) saturate(1.08); }
}

@keyframes duskGlow {
  from { opacity: 0.35; transform: translate3d(-2%, 1%, 0) scale(0.98); }
  to { opacity: 0.78; transform: translate3d(2%, -1%, 0) scale(1.04); }
}

@keyframes moteRise {
  0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.6); }
  28% { opacity: 0.7; }
  75% { opacity: 0.25; }
  100% { opacity: 0; transform: translate3d(13px, -95px, 0) scale(1.25); }
}

@keyframes heroLineOpen {
  from { width: 0; opacity: 0; }
  to { width: 74px; opacity: 1; }
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(176, 138, 74, 0); }
  50% { text-shadow: 0 0 28px rgba(176, 138, 74, 0.24); }
}

@keyframes gateReveal {
  from { opacity: 0; transform: translateY(16px) scale(1.045); filter: blur(9px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes topbarIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

@keyframes childReveal {
  from { opacity: 0; filter: blur(7px); transform: translateY(22px) scale(1.025); }
  58% { opacity: 0.92; }
  to { opacity: 1; filter: blur(0); transform: none; }
}

@keyframes formFieldIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.35; transform: scaleX(0.35); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes watermarkFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(-10px, 12px, 0) rotate(2deg); }
}

@keyframes ornamentDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  50% { transform: translate3d(-14px, 10px, 0) rotate(-3deg); }
}

@keyframes lineOpen {
  from { opacity: 0; clip-path: inset(0 50%); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes datePop {
  from { opacity: 0; transform: scale(0.75); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes counterIn {
  to { opacity: 1; transform: none; }
}

@keyframes digitTick {
  0% { opacity: 0.35; transform: translateY(-8px) scale(0.92); }
  100% { opacity: 1; transform: none; }
}

@keyframes pinDrop {
  0% { opacity: 0; transform: translateY(-35px) scale(0.7); }
  65% { opacity: 1; transform: translateY(5px) scale(1.04); }
  100% { opacity: 1; transform: none; }
}

@keyframes pinPulse {
  0% { box-shadow: 0 0 0 0 rgba(176, 138, 74, 0.65); }
  75%, 100% { box-shadow: 0 0 0 11px rgba(176, 138, 74, 0); }
}

@keyframes monogramFloat {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-12px) rotate(47deg); }
}

@keyframes monogramHalo {
  0%, 100% { opacity: 0.25; transform: scale(0.88); }
  50% { opacity: 0.8; transform: scale(1.04); }
}

@keyframes collectionIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes logoBreathe {
  0%, 100% { opacity: 0.78; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes successPop {
  0% { opacity: 0; transform: scale(0.4) rotate(-18deg); }
  65% { transform: scale(1.1) rotate(4deg); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .manifesto,
  .location__grid,
  .rsvp {
    grid-template-columns: 1fr;
  }

  .manifesto__image {
    min-height: 65svh;
  }

  .manifesto__card {
    min-height: 520px;
  }

  .location__map {
    min-height: 330px;
  }

  .rsvp {
    gap: 48px;
  }
}

@media (max-width: 540px) {
  .section-pad {
    padding: 82px 20px;
  }

  .chapter__meta {
    margin-bottom: 76px;
  }

  .chapter__meta--overlay {
    top: 20px;
    right: 18px;
    left: 18px;
    margin: 0;
  }

  .about {
    padding-top: 46px;
  }

  .about__portrait {
    margin-right: -20px;
    margin-left: -20px;
  }

  .about__portrait img {
    height: 66svh;
  }

  .about__statement {
    margin: 28px 0 0;
    padding: 30px 24px;
  }

  .about__services span {
    min-height: 78px;
    padding-right: 11px;
    padding-left: 11px;
    font-size: 0.56rem;
    letter-spacing: 0.09em;
  }

  .about__services span::before {
    left: 11px;
  }

  .welcome--night {
    padding-top: 150px;
    padding-bottom: 110px;
  }

  .welcome--night .chapter__meta {
    margin-bottom: 104px;
  }

  .gate__content {
    width: calc(100% - 32px);
  }

  .logo-window--gate {
    width: 138px;
    height: 66px;
    margin-bottom: 22px;
  }

  .gate h1 {
    max-width: 100%;
    font-size: clamp(3.8rem, 19vw, 4.7rem);
  }

  .gate__line {
    height: 32px;
    margin-top: 18px;
  }

  .gate__note {
    width: 100%;
    padding: 0 16px;
    text-align: center;
  }

  .button {
    min-height: 52px;
  }

  .hero__content {
    width: calc(100% - 40px);
    padding-bottom: 70px;
  }

  .hero h2 {
    font-size: clamp(4rem, 21vw, 5rem);
  }

  .hero__intro {
    margin-top: 24px;
    font-size: 0.95rem;
  }

  .hero__scroll {
    display: none;
  }

  .date-lockup__main strong {
    padding: 12px 20px;
  }

  .countdown {
    margin-top: 48px;
  }

  .countdown strong {
    font-size: 2rem;
  }

  .manifesto__image {
    min-height: 58svh;
    background-position: center 72%;
  }

  .manifesto__card {
    min-height: auto;
    padding: 72px 22px;
  }

  .manifesto h2,
  .section-heading h2,
  .rsvp__intro h2 {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .location__grid {
    margin-top: 44px;
  }

  .location__details {
    padding: 34px 26px 38px;
  }

  .location__details .button,
  .rsvp-form .button,
  .rsvp-success .button {
    width: 100%;
  }

  .rsvp {
    gap: 42px;
  }

  .rsvp-form {
    gap: 24px;
    padding: 30px 24px;
  }

  .rsvp-form input[type="text"],
  .rsvp-form select,
  .rsvp-form textarea {
    font-size: 1rem;
  }

  .rsvp-success {
    padding: 38px 24px;
  }

  .rsvp-guests {
    margin-top: 4px;
    padding-top: 36px;
  }

  .gallery__item {
    min-height: 270px;
  }

  .gallery__item--building,
  .gallery__item--duo {
    min-height: 470px;
  }

  .attendance-options {
    grid-template-columns: 1fr;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}

/* Full-screen vertical story: each gesture lands on one focused chapter. */
html,
body {
  height: 100%;
  overflow: hidden;
}

main {
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

main::-webkit-scrollbar {
  display: none;
}

body.is-locked main {
  overflow: hidden;
}

.snap-slide {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.slide-indicator {
  position: fixed;
  top: 50%;
  right: max(12px, calc((100vw - 620px) / 2 + 12px));
  z-index: 87;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(244, 234, 223, 0.72);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.8s var(--ease-soft);
  transform: translateY(-50%) translateX(8px);
}

.slide-indicator i {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--olive-light), rgba(244, 234, 223, 0.18));
}

body:not(.is-locked) .slide-indicator {
  opacity: 1;
  transform: translateY(-50%);
}

.about,
.founder,
.story.chapter--story,
.welcome--night,
.gallery,
.location,
.rsvp {
  display: block;
  min-height: 0;
  padding: 0;
}

.about__intro,
.story__intro,
.story__finale,
.event__intro,
.event__details,
.gallery__intro-slide,
.location__intro-slide,
.rsvp__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 10vw, 82px) clamp(28px, 8vw, 54px);
}

.about__intro {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(111, 116, 71, 0.22), transparent 31%),
    linear-gradient(155deg, #f3ebdf, #e4dfca 76%);
}

.about__watermark {
  top: 28px;
}

.about__portrait,
.story__image {
  height: 100svh;
  margin: 0;
}

.about__portrait img,
.story__image img {
  height: 100%;
  min-height: 100%;
}

.about__statement {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 4vh, 32px);
  margin: 0;
  padding: clamp(44px, 8vh, 68px) clamp(34px, 8vw, 58px);
  border: 0;
  box-shadow: none;
}

.about__services {
  gap: 0;
  border-top: 1px solid rgba(167, 170, 124, 0.32);
}

.about__services span {
  min-height: 64px;
  padding: 25px 12px 14px 46px;
  border: 0;
  border-bottom: 1px solid rgba(167, 170, 124, 0.32);
  background: transparent;
}

.about__services span::before {
  top: 25px;
  left: 12px;
}

.founder__visual {
  height: 100svh;
  min-height: 100svh;
}

.founder__content {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vh, 68px) clamp(28px, 8vw, 54px);
}

.story__intro,
.story__finale {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(111, 116, 71, 0.24), transparent 29%),
    linear-gradient(155deg, #eee7da, #dfe0c8 82%);
}

.story__ornament {
  top: 18px;
}

.story__copy {
  margin-top: 34px;
}

.story.chapter--story .journey {
  display: block;
  max-width: none;
  margin: 0;
}

.story.chapter--story .journey article {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 10vw, 82px) clamp(34px, 9vw, 60px);
  border: 0;
  background: #efe8dc;
}

.story.chapter--story .journey article:nth-child(2) {
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0, rgba(244, 234, 223, 0.1), transparent 35%),
    var(--olive);
}

.story.chapter--story .journey article:nth-child(3) {
  color: var(--cream);
  background:
    radial-gradient(circle at 0 100%, rgba(111, 116, 71, 0.26), transparent 38%),
    var(--burgundy);
}

.story.chapter--story .journey article:nth-child(n + 2) h3 {
  color: var(--cream);
}

.story.chapter--story .journey article:nth-child(n + 2) p {
  color: rgba(244, 234, 223, 0.72);
}

.story.chapter--story .journey article:nth-child(n + 2) span {
  color: var(--olive-light);
}

.story__finale {
  align-items: center;
  text-align: center;
}

.story__closing,
.story__signature {
  margin-right: auto;
  margin-left: auto;
}

.welcome--night {
  text-align: center;
}

.event__intro,
.event__details {
  align-items: center;
  overflow: hidden;
}

.event__intro .welcome__mark {
  top: 50%;
  transform: translateY(-50%);
}

.event__intro .welcome__copy {
  margin: 32px auto 0;
}

.event__details {
  background:
    radial-gradient(circle at 12% 88%, rgba(111, 116, 71, 0.24), transparent 34%),
    rgba(42, 14, 21, 0.28);
}

.event__details .countdown {
  width: 100%;
}

.manifesto {
  padding: 0;
}

.manifesto__image {
  min-height: 100svh;
}

.manifesto__card {
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: clamp(52px, 9vh, 82px) clamp(34px, 9vw, 60px);
  border: 0;
  box-shadow: none;
}

.gallery__intro-slide,
.location__intro-slide {
  background:
    radial-gradient(circle at 12% 5%, rgba(111, 116, 71, 0.18), transparent 28%),
    var(--cream);
}

.gallery__intro {
  margin-top: 36px;
  margin-bottom: 0;
}

.gallery__grid {
  display: block;
  margin: 0;
}

.gallery__item,
.gallery__item--building,
.gallery__item--duo {
  display: block;
  width: 100%;
  min-height: 100svh;
  grid-column: auto;
}

.gallery__item img {
  min-height: 100svh;
}

.location__grid {
  display: block;
  margin: 0;
  border: 0;
  box-shadow: none;
}

.location__map,
.location__details {
  min-height: 100svh;
}

.location__details {
  padding: clamp(48px, 9vh, 78px) clamp(34px, 9vw, 60px);
  background: linear-gradient(155deg, #f2eadf, #e3dfcb);
}

.rsvp__intro {
  background:
    radial-gradient(circle at 8% 8%, rgba(111, 116, 71, 0.34), transparent 29%),
    linear-gradient(160deg, #651f31, var(--burgundy-deep) 74%);
}

.rsvp-form,
.rsvp-success,
.rsvp-guests {
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: clamp(34px, 6vh, 54px) clamp(28px, 7vw, 48px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.rsvp-form {
  align-content: center;
  gap: clamp(17px, 2.6vh, 25px);
}

.rsvp-form textarea {
  height: 78px;
  resize: none;
}

.rsvp-success {
  align-content: center;
}

.rsvp-guests {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 28px;
}

.snap-slide.is-active-slide {
  z-index: 2;
}

@media (max-width: 540px) {
  .about__intro,
  .story__intro,
  .story__finale,
  .event__intro,
  .event__details,
  .gallery__intro-slide,
  .location__intro-slide,
  .rsvp__intro {
    padding: 44px 24px;
  }

  .about__statement {
    width: 100%;
    margin: 0;
    padding: 40px 28px;
  }

  .about__statement > p {
    font-size: 0.82rem;
  }

  .about__services {
    grid-template-columns: 1fr 1fr;
  }

  .about__services span {
    min-height: 70px;
    padding: 31px 8px 12px;
    font-size: 0.52rem;
    text-align: center;
  }

  .about__services span::before {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
  }

  .about__closing {
    font-size: 0.68rem !important;
  }

  .founder__visual {
    height: 100svh;
    min-height: 100svh;
  }

  .founder__content {
    padding: 42px 28px;
  }

  .founder__content h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .founder__content p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 0.76rem;
  }

  .founder__portraits {
    margin-top: 22px;
    margin-bottom: 18px;
  }

  .story__image,
  .about__portrait {
    height: 100svh;
    margin: 0;
  }

  .story.chapter--story .journey article {
    padding: 52px 28px;
  }

  .welcome--night {
    padding: 0;
  }

  .event__intro .welcome__copy {
    font-size: 0.84rem;
  }

  .event__details .countdown {
    margin: 48px auto 34px;
  }

  .manifesto {
    padding-bottom: 0;
  }

  .manifesto__image {
    min-height: 100svh;
  }

  .manifesto__card {
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 48px 28px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    margin: 0;
  }

  .gallery__item,
  .gallery__item--building,
  .gallery__item--duo {
    min-height: 100svh;
  }

  .gallery__item img {
    min-height: 100svh;
  }

  .location__grid {
    margin: 0;
  }

  .location__map {
    min-height: 100svh;
  }

  .location__details {
    min-height: 100svh;
    padding: 48px 30px;
  }

  .rsvp {
    gap: 0;
  }

  .rsvp-form {
    gap: 17px;
    padding: 34px 26px;
  }

  .attendance-options {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .attendance-options span {
    min-height: 66px;
    padding: 24px 8px 10px;
    font-size: 0.56rem !important;
  }

  .rsvp-form input[type="text"],
  .rsvp-form select,
  .rsvp-form textarea {
    padding: 9px 0;
    font-size: 0.9rem;
  }

  .rsvp-form textarea {
    height: 66px;
  }

  .slide-indicator {
    right: 8px;
  }
}

/* Keep typography crisp throughout slide transitions. */
.reveal,
.reveal.is-visible,
.hero__content > *,
.section-heading > *,
.founder__content > *,
.manifesto__card > *,
.rsvp__intro > *,
.location__details > *,
.footer > * {
  filter: none !important;
}

@keyframes gateReveal {
  from { opacity: 0; transform: translateY(14px) scale(1.018); }
  to { opacity: 1; transform: none; }
}

@keyframes childReveal {
  from { opacity: 0; transform: translateY(18px) scale(1.012); }
  58% { opacity: 0.92; }
  to { opacity: 1; transform: none; }
}

@media (max-width: 360px) {
  .hero__topbar span:last-child {
    display: none;
  }

  .gate h1 {
    font-size: 3.65rem;
  }

  .date-lockup__main strong {
    padding: 12px 14px;
  }

  .countdown span {
    letter-spacing: 0.08em;
  }

  .footer__links {
    flex-direction: column;
  }
}

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

/* Burgundy and olive editorial direction inspired by chapter-based invitations. */
body {
  background:
    linear-gradient(rgba(42, 14, 21, 0.86), rgba(42, 14, 21, 0.86)),
    url("assets/ada-project-building-dusk.png") center / cover fixed;
}

main {
  background: var(--paper);
  box-shadow: 0 0 90px rgba(24, 5, 10, 0.58);
}

.scroll-progress {
  background: rgba(244, 234, 223, 0.13);
}

.scroll-progress span {
  background: linear-gradient(90deg, var(--burgundy), var(--olive-light), var(--cream));
  box-shadow: 0 0 14px rgba(167, 170, 124, 0.56);
}

.gate {
  background: var(--burgundy-deep);
}

.gate__shade {
  background:
    linear-gradient(180deg, rgba(35, 8, 16, 0.38), rgba(63, 18, 31, 0.18) 42%, rgba(31, 8, 14, 0.88)),
    linear-gradient(115deg, rgba(83, 90, 53, 0.2), transparent 48%, rgba(83, 22, 38, 0.26));
}

.gate__guest-loader,
.gate__brand,
.gate__guest {
  color: rgba(244, 234, 223, 0.82);
}

.gate h1 em,
.gate__tagline,
.eyebrow,
.date-lockup__month,
.date-lockup__time {
  color: var(--olive-light);
}

.button--light,
.button--cream {
  border-color: rgba(167, 170, 124, 0.72);
  background: linear-gradient(115deg, var(--cream), #d9dab9);
}

.music-toggle {
  border-color: rgba(167, 170, 124, 0.7);
  background: rgba(42, 14, 21, 0.93);
  box-shadow: 0 12px 36px rgba(30, 4, 12, 0.36);
}

.music-toggle__pulse {
  border-color: var(--olive-light);
}

.chapter {
  box-shadow: inset 0 1px rgba(244, 234, 223, 0.08);
}

.chapter::before {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: linear-gradient(180deg, rgba(244, 234, 223, 0.1), rgba(42, 14, 21, 0.08));
  content: "";
  opacity: 0.14;
  pointer-events: none;
  transition: opacity 1.35s ease;
}

.chapter.is-current-chapter::before {
  opacity: 0;
}

.reveal {
  transition:
    opacity 1.45s ease,
    filter 1.5s ease,
    transform 1.55s var(--ease-soft);
}

.about {
  padding-bottom: clamp(105px, 17vw, 150px);
  background:
    radial-gradient(circle at 88% 8%, rgba(111, 116, 71, 0.22), transparent 31%),
    linear-gradient(155deg, #f3ebdf, #e4dfca 76%);
}

.about::after {
  border-color: rgba(111, 116, 71, 0.28);
}

.about__watermark {
  color: rgba(91, 29, 43, 0.06);
}

.about__lead {
  color: rgba(42, 14, 21, 0.78);
}

.about__portrait {
  margin-top: 64px;
  background: var(--burgundy-deep);
  box-shadow: 0 30px 70px rgba(42, 14, 21, 0.24);
}

.about__portrait::after,
.story__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 14, 21, 0.06), transparent 50%, rgba(42, 14, 21, 0.56));
  content: "";
  pointer-events: none;
}

.about__portrait figcaption,
.story__image figcaption {
  z-index: 2;
}

.about__statement {
  margin-top: -54px;
  color: var(--cream);
  border-color: rgba(167, 170, 124, 0.48);
  background:
    radial-gradient(circle at 100% 0, rgba(111, 116, 71, 0.34), transparent 38%),
    linear-gradient(150deg, rgba(91, 29, 43, 0.98), rgba(42, 14, 21, 0.98));
  box-shadow: 0 30px 72px rgba(42, 14, 21, 0.32);
}

.about__statement-kicker,
.about__services span::before,
.about__closing {
  color: var(--olive-light);
}

.about__services span:hover {
  border-color: rgba(167, 170, 124, 0.72);
  background: rgba(111, 116, 71, 0.18);
}

.founder {
  background: linear-gradient(165deg, var(--burgundy), var(--burgundy-deep) 76%);
}

.founder__visual {
  height: clamp(560px, 76svh, 720px);
  background: var(--burgundy-deep);
}

.founder__visual::after {
  background:
    linear-gradient(180deg, rgba(42, 14, 21, 0.46), transparent 32%, transparent 58%, rgba(42, 14, 21, 0.86)),
    linear-gradient(90deg, rgba(71, 77, 45, 0.12), transparent 55%);
}

.founder__photo-kicker {
  color: var(--cream);
}

.founder__visual-label,
.founder__portraits figcaption span,
.founder__facts span {
  color: var(--olive-light);
}

.founder__portraits img {
  filter: saturate(0.72) contrast(0.96) sepia(0.05);
}

.story.chapter--story {
  padding-top: clamp(110px, 17vw, 155px);
  padding-bottom: clamp(110px, 17vw, 155px);
  background:
    radial-gradient(circle at 8% 12%, rgba(111, 116, 71, 0.27), transparent 29%),
    linear-gradient(155deg, #eee7da, #dfe0c8 82%);
}

.story.chapter--story .story__ornament {
  color: rgba(91, 29, 43, 0.07);
}

.story__image {
  position: relative;
  overflow: hidden;
  margin: 62px -48px 0;
  background: var(--burgundy-deep);
}

.story__image img {
  display: block;
  width: 100%;
  height: min(76svh, 720px);
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.8) contrast(0.98);
  transform: scale(1.04);
}

.story__image figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 11px;
  border-top: 1px solid rgba(244, 234, 223, 0.48);
  color: rgba(244, 234, 223, 0.9);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story.chapter--story .journey {
  gap: 0;
  margin-top: 62px;
}

.story.chapter--story .journey article {
  padding: 34px 4px;
  border: 0;
  border-top: 1px solid rgba(91, 29, 43, 0.2);
  background: transparent;
  backdrop-filter: none;
}

.story.chapter--story .journey article:last-child {
  border-bottom: 1px solid rgba(91, 29, 43, 0.2);
}

.story.chapter--story .journey span,
.story.chapter--story .story__signature {
  color: var(--burgundy);
}

.welcome--night {
  background:
    radial-gradient(circle at 88% 8%, rgba(111, 116, 71, 0.34), transparent 30%),
    linear-gradient(165deg, #641f30, var(--burgundy-deep) 76%);
}

.welcome--night .welcome__mark {
  color: rgba(167, 170, 124, 0.07);
}

.welcome--night .date-lockup__main,
.welcome--night .countdown div {
  border-color: rgba(167, 170, 124, 0.32);
}

.manifesto {
  display: block;
  min-height: 0;
  padding-bottom: 52px;
  background: var(--olive);
}

.manifesto__image {
  min-height: min(82svh, 780px);
  filter: saturate(0.72) sepia(0.08) contrast(0.98);
  background-size: 108% auto;
}

.manifesto__card {
  position: relative;
  z-index: 2;
  width: calc(100% - 44px);
  min-height: auto;
  margin: -92px auto 0;
  padding: clamp(52px, 10vw, 82px) clamp(28px, 8vw, 54px);
  border: 1px solid rgba(167, 170, 124, 0.4);
  background:
    radial-gradient(circle at 100% 0, rgba(111, 116, 71, 0.32), transparent 35%),
    linear-gradient(150deg, var(--burgundy), var(--burgundy-deep));
  box-shadow: 0 30px 70px rgba(42, 14, 21, 0.34);
}

.manifesto__card blockquote {
  border-color: var(--olive-light);
}

.gallery {
  padding-top: clamp(115px, 18vw, 160px);
  background:
    radial-gradient(circle at 12% 5%, rgba(111, 116, 71, 0.18), transparent 28%),
    var(--cream);
}

.gallery__intro {
  border-color: var(--burgundy);
  color: rgba(42, 14, 21, 0.68);
}

.gallery__grid {
  gap: 10px;
  margin-right: -48px;
  margin-left: -48px;
}

.gallery__item {
  background: var(--burgundy-deep);
}

.gallery__item--building {
  min-height: min(84svh, 780px);
}

.gallery__item--duo {
  min-height: min(74svh, 680px);
}

.gallery__item::after {
  background: linear-gradient(180deg, transparent 46%, rgba(42, 14, 21, 0.82));
}

.location {
  padding-top: clamp(120px, 18vw, 160px);
  background:
    radial-gradient(circle at 92% 10%, rgba(111, 116, 71, 0.2), transparent 28%),
    linear-gradient(155deg, #f2eadf, #e3dfcb);
}

.location__grid {
  border-color: rgba(91, 29, 43, 0.2);
  box-shadow: 0 28px 65px rgba(42, 14, 21, 0.14);
}

.location__type {
  color: var(--burgundy);
}

.button--dark {
  color: var(--cream);
  border-color: var(--burgundy);
  background: var(--burgundy);
}

.rsvp {
  padding-top: clamp(120px, 18vw, 160px);
  padding-bottom: clamp(120px, 18vw, 160px);
  background:
    radial-gradient(circle at 8% 8%, rgba(111, 116, 71, 0.34), transparent 29%),
    linear-gradient(160deg, #651f31, var(--burgundy-deep) 74%);
}

.rsvp-form {
  border-color: rgba(167, 170, 124, 0.48);
  background:
    radial-gradient(circle at 100% 0, rgba(111, 116, 71, 0.28), transparent 36%),
    linear-gradient(145deg, rgba(244, 234, 223, 0.09), rgba(244, 234, 223, 0.025));
}

.attendance-options input:checked + span {
  color: var(--cream) !important;
  border-color: var(--olive-light);
  background: linear-gradient(135deg, var(--olive), #565b38);
}

.attendance-options input:checked + span::before {
  border-color: var(--cream);
  background: var(--cream);
}

.rsvp-success,
.rsvp-guests {
  border-color: rgba(167, 170, 124, 0.34);
}

.rsvp-success__icon {
  color: var(--burgundy-deep);
  background: var(--olive-light);
}

.footer {
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 0, rgba(167, 170, 124, 0.18), transparent 34%),
    var(--olive);
}

.footer p,
.footer small {
  color: rgba(244, 234, 223, 0.72);
}

.footer__links a {
  border-color: rgba(244, 234, 223, 0.45);
}

.about__portrait.is-visible img,
.story__image.is-visible img {
  animation: adaKenBurns 18s 0.15s ease-in-out infinite alternate;
}

.founder__visual.is-visible .founder__duo {
  animation: founderKenBurns 19s 0.15s ease-in-out infinite alternate;
}

.manifesto__image.is-visible {
  animation: backgroundKenBurns 20s 0.15s ease-in-out infinite alternate;
}

.reveal--gallery.is-visible .gallery__item img {
  animation: galleryKenBurns 17s ease-in-out infinite alternate;
}

.reveal--gallery.is-visible .gallery__item:nth-child(even) img {
  animation-direction: alternate-reverse;
}

@keyframes adaKenBurns {
  from { transform: scale(1.035) translate3d(0, 0, 0); }
  to { transform: scale(1.105) translate3d(-1.3%, -1%, 0); }
}

@keyframes founderKenBurns {
  from { transform: translateY(var(--founder-parallax)) scale(1.025); }
  to { transform: translateY(calc(var(--founder-parallax) - 10px)) scale(1.095); }
}

@keyframes backgroundKenBurns {
  from { background-position: center calc(76% + var(--manifesto-parallax)); background-size: 108% auto; }
  to { background-position: 48% calc(72% + var(--manifesto-parallax)); background-size: 116% auto; }
}

@keyframes galleryKenBurns {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.075) translate3d(-1%, -0.7%, 0); }
}

@media (max-width: 540px) {
  .about__portrait,
  .story__image,
  .gallery__grid {
    margin-right: -20px;
    margin-left: -20px;
  }

  .about__statement {
    width: calc(100% - 20px);
    margin: -34px 0 0 20px;
    padding: 32px 24px;
  }

  .about__services {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(167, 170, 124, 0.3);
  }

  .about__services span {
    min-height: 62px;
    padding: 22px 10px 13px 46px;
    border: 0;
    border-bottom: 1px solid rgba(167, 170, 124, 0.3);
    background: transparent;
  }

  .about__services span::before {
    top: 24px;
    left: 10px;
  }

  .founder__visual {
    height: 68svh;
    min-height: 520px;
  }

  .founder__duo {
    object-position: center 58%;
  }

  .founder__photo-kicker {
    top: 30px;
  }

  .story__image img {
    height: 68svh;
    min-height: 520px;
    object-position: center 62%;
  }

  .manifesto {
    padding-bottom: 34px;
  }

  .manifesto__image {
    min-height: 72svh;
  }

  .manifesto__card {
    width: calc(100% - 28px);
    margin-top: -66px;
  }

  .gallery__item--building,
  .gallery__item--duo {
    min-height: 70svh;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item,
  .gallery__item--building,
  .gallery__item--duo {
    grid-column: 1;
    min-height: 64svh;
  }
}

/* Final slide constraints override the former continuous-scroll composition. */
.about,
.founder,
.story,
.welcome,
.manifesto,
.gallery,
.location,
.rsvp {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: clip !important;
}

.about__portrait,
.story__image,
.founder__visual,
.manifesto__image,
.gallery__item,
.gallery__item--building,
.gallery__item--duo,
.location__map,
.location__details {
  width: 100% !important;
  height: 100svh !important;
  min-height: 100svh !important;
  margin: 0 !important;
}

.about__portrait img,
.story__image img,
.gallery__item img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
}

.about__statement,
.manifesto__card {
  width: 100% !important;
  min-height: 100svh !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.gallery__grid,
.location__grid {
  display: block !important;
  margin: 0 !important;
}

@media (max-width: 540px) {
  .about__services {
    grid-template-columns: 1fr 1fr !important;
  }

  .about__services span {
    min-height: 70px;
    padding: 31px 8px 12px;
    text-align: center;
  }

  .about__services span::before {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.reveal--left,
.reveal--right {
  --reveal-x: 0px;
  --reveal-y: 18px;
}

.snap-slide.reveal {
  --reveal-x: 0px;
  --reveal-y: 0px;
  --reveal-scale: 1;
  opacity: 1;
  filter: none !important;
  transform: none;
}

.journey article > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s ease, transform 1s var(--ease-soft);
}

.journey article.is-active-slide > * {
  opacity: 1;
  transform: none;
}

.journey article.is-active-slide > :nth-child(2) {
  transition-delay: 0.08s;
}

.journey article.is-active-slide > :nth-child(3) {
  transition-delay: 0.16s;
}

.gallery__item.is-active-slide img {
  animation: galleryKenBurns 17s ease-in-out infinite alternate;
}

.gallery__item:nth-child(even).is-active-slide img {
  animation-direction: alternate-reverse;
}

.slide-indicator {
  top: auto;
  right: auto;
  bottom: 22px;
  left: max(20px, calc((100vw - 620px) / 2 + 20px));
  flex-direction: row;
  gap: 6px;
  padding: 5px 9px;
  color: rgba(244, 234, 223, 0.82);
  border: 1px solid rgba(244, 234, 223, 0.2);
  border-radius: 999px;
  background: rgba(42, 14, 21, 0.48);
  backdrop-filter: blur(8px);
  transform: translateY(8px);
}

.slide-indicator i {
  width: 16px;
  height: 1px;
}

body:not(.is-locked) .slide-indicator {
  transform: none;
}

@media (max-width: 540px) {
  .about__portrait figcaption,
  .story__image figcaption {
    bottom: 76px;
  }

  .founder__visual-label,
  .gallery__item > span {
    bottom: 78px;
  }

  .slide-indicator {
    right: auto;
    left: 14px;
  }
}
