:root {
  --ink: #25291b;
  --teal: #00343d;
  --teal-soft: #2f5960;
  --olive: #4b4a18;
  --sage: #8b9471;
  --sage-pale: #d8d8c4;
  --ivory: #f8f4eb;
  --paper: #efe8d9;
  --champagne: #d7c09a;
  --gold: #a8864b;
  --white: #fffaf2;
  --hero-light: #f0f0fa;
  --nav-light: #e4dcda;
  --begin-light: #f3dbb9;
  --line: rgba(75, 74, 24, 0.32);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Italiana", "Cormorant Garamond", Georgia, serif;
  --script: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --ui: "Tenor Sans", "Inter", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(215, 192, 154, 0.22), transparent 28rem),
    linear-gradient(115deg, rgba(0, 52, 61, 0.04), transparent 44%),
    var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(rgba(37, 41, 27, 0.13) 0.55px, transparent 0.55px),
    radial-gradient(rgba(255, 250, 242, 0.8) 0.45px, transparent 0.45px);
  background-position: 0 0, 5px 7px;
  background-size: 12px 12px, 10px 10px;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  overflow: clip;
  min-height: 100vh;
}

body.is-locked {
  overflow: hidden;
}

body.is-locked .site-shell {
  display: none;
}

body.is-unlocking .site-shell {
  display: block;
}

.guest-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  perspective: 1800px;
  background: var(--teal);
  color: var(--ivory);
  text-align: center;
  transition:
    opacity 520ms ease 1180ms,
    visibility 520ms ease 1180ms;
}

body.is-unlocking .guest-gate,
body.is-unlocked .guest-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-unlocked .guest-gate {
  display: none;
}

.guest-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(248, 244, 235, 0.1), transparent 31rem),
    linear-gradient(rgba(0, 52, 61, 0.2), rgba(0, 22, 26, 0.46));
  transition: opacity 760ms ease;
}

body.is-unlocking .guest-gate::after {
  opacity: 0;
}

.guest-gate-door {
  position: relative;
  z-index: 1;
  width: 50%;
  min-height: 100svh;
  background-image: url("assets/almirah-teal-bars.png");
  background-repeat: no-repeat;
  background-size: 200% 100%;
  will-change: transform, filter;
  transition:
    transform 1450ms cubic-bezier(0.68, 0, 0.18, 1),
    filter 1450ms ease,
    box-shadow 1450ms ease;
}

.guest-gate-door-left {
  background-position: left center;
  transform-origin: left center;
  box-shadow: inset -4rem 0 7rem rgba(0, 0, 0, 0.42);
}

.guest-gate-door-right {
  background-position: right center;
  transform-origin: right center;
  box-shadow: inset 4rem 0 7rem rgba(0, 0, 0, 0.42);
}

body.is-unlocking .guest-gate-door-left {
  transform: rotateY(-112deg);
  filter: brightness(0.72);
  box-shadow: inset -7rem 0 8rem rgba(0, 0, 0, 0.5);
}

body.is-unlocking .guest-gate-door-right {
  transform: rotateY(112deg);
  filter: brightness(0.72);
  box-shadow: inset 7rem 0 8rem rgba(0, 0, 0, 0.5);
}

.guest-gate-entry {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  width: min(34rem, calc(100% - 2rem));
  height: fit-content;
  margin: auto;
  padding: clamp(1.5rem, 6vw, 3rem);
  color: var(--ivory);
  text-shadow: 0 2px 20px rgba(0, 22, 26, 0.62);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

body.is-unlocking .guest-gate-entry {
  opacity: 0;
  transform: translateY(0.65rem) scale(0.98);
}

.guest-gate-monogram {
  width: clamp(9rem, 25vw, 13rem);
  margin: 0 auto clamp(1.8rem, 5vw, 2.8rem);
  filter: invert(96%) sepia(12%) saturate(414%) hue-rotate(329deg) brightness(108%) contrast(94%)
    drop-shadow(0 14px 24px rgba(0, 22, 26, 0.32));
}

.guest-gate h1 {
  margin: 0;
  color: var(--olive);
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 5.6rem);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.guest-gate p {
  max-width: 30rem;
  margin: 1.1rem auto 0;
  color: rgba(248, 244, 235, 0.78);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.guest-gate-form {
  width: min(25rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.guest-gate-form label {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.128em;
  text-transform: uppercase;
}

.guest-gate-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: min(24rem, 100%);
  margin-inline: auto;
}

.guest-gate-input-row input {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-bottom: 1px solid rgba(248, 244, 235, 0.74);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font: 1rem var(--ui);
  letter-spacing: 0.08em;
  padding: 0 0.25rem;
  text-align: center;
  text-transform: none;
  box-shadow: none;
}

.guest-gate-input-row input::placeholder {
  color: rgba(248, 244, 235, 0.68);
}

.guest-gate-submit {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(248, 244, 235, 0.66);
  border-radius: 999px;
  background: rgba(248, 244, 235, 0.9);
  color: var(--teal);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.128em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.guest-gate-submit:hover,
.guest-gate-submit:focus-visible {
  background: var(--ivory);
  border-color: var(--ivory);
  transform: translateY(-2px);
}

.guest-gate-input-row input:focus-visible,
.guest-gate-submit:focus-visible {
  outline: 2px solid rgba(248, 244, 235, 0.86);
  outline-offset: 2px;
}

.guest-gate-input-row input[aria-invalid="true"] {
  border-color: #9c3d2f;
}

.guest-gate-error {
  margin-top: 0.75rem;
  color: #ffd6d6;
  font-family: var(--sans);
  font-size: 0.9rem;
  text-align: center;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  color: var(--nav-light);
  background: rgba(0, 52, 61, 0.18);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(248, 244, 235, 0.92);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.7rem, 5vw, 3.35rem);
  height: clamp(2.7rem, 5vw, 3.35rem);
  text-decoration: none;
  line-height: 1;
}

.monogram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(96%) sepia(12%) saturate(414%) hue-rotate(329deg) brightness(108%) contrast(94%);
  transition: filter 220ms ease;
}

.site-header.is-scrolled .monogram img,
.site-header.menu-open .monogram img {
  filter: none;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.128em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  padding-block: 0.75rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: currentColor;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 1px;
  margin: 8px auto;
  background: currentColor;
}

.section-panel {
  position: relative;
  padding: clamp(4rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem);
}

#weekend,
#hotel,
#faq,
#rsvp {
  scroll-margin-top: 76px;
}

.hero {
  min-height: 92svh;
  display: grid;
  place-items: center;
  padding-top: clamp(7rem, 13vh, 9rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
  color: var(--hero-light);
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(rgba(0, 52, 61, 0.46), rgba(0, 52, 61, 0.18));
}

.hero::after {
  content: "";
  position: absolute;
  inset: clamp(5.25rem, 8vw, 6.6rem) clamp(1rem, 2vw, 2rem) clamp(1rem, 2vw, 2rem);
  z-index: -1;
  border: 1px solid rgba(240, 240, 250, 0.56);
  outline: 1px solid rgba(168, 134, 75, 0.38);
  outline-offset: -10px;
}

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

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 52, 61, 0.18), rgba(0, 52, 61, 0.72)),
    radial-gradient(circle at center, transparent 0 34%, rgba(0, 52, 61, 0.32) 75%);
}

.hero-inner {
  width: min(920px, 100%);
  padding-inline: clamp(1rem, 4vw, 4rem);
  transform: translateY(1vh);
  overflow-wrap: normal;
  display: grid;
  justify-items: center;
  text-align: center;
}

.date-line,
.section-kicker {
  margin: 0 0 1.35rem;
  font-family: var(--ui);
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.128em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.weekend h3,
.venue-copy h2,
.detail-block h2,
.rsvp h2,
.intro-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-logo-text {
  display: flex;
  justify-content: center;
  width: min(760px, 100%);
  height: auto;
  margin-inline: auto;
  overflow: visible;
  color: transparent;
}

.hero-logo-text img {
  width: 100%;
  height: auto;
  margin-inline: auto;
  filter: invert(96%) sepia(10%) saturate(416%) hue-rotate(198deg) brightness(103%) contrast(96%);
}

.hero-logo-text span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero-script {
  margin: 1.6rem 0 0;
  font-family: var(--ui);
  font-size: clamp(0.72rem, 1.2vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.128em;
  line-height: 1.7;
  text-transform: uppercase;
}

.script-small {
  font-family: var(--script);
  color: var(--gold);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0 0 1.2rem;
}

.countdown-copy .script-small {
  color: var(--begin-light);
  font-family: var(--ui);
  font-size: clamp(0.7rem, 1.15vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.128em;
  line-height: 1.7;
  text-transform: uppercase;
}

.oval-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 58px;
  padding: 0.8rem 2.2rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: var(--olive);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.oval-button:hover,
.oval-button:focus-visible {
  background: var(--teal);
  color: var(--ivory);
  transform: translateY(-2px);
}

.oval-button.light {
  color: var(--ivory);
}

.oval-button.light:hover,
.oval-button.light:focus-visible {
  background: var(--ivory);
  color: var(--teal);
}

.save-date-page {
  min-height: 100svh;
  overflow: hidden;
  background: var(--teal);
  color: var(--ivory);
}

.save-date-stage {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  padding: clamp(1rem, 3vw, 2rem);
  isolation: isolate;
}

.save-date-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.save-date-play {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: clamp(4.5rem, 16vw, 6rem);
  height: clamp(4.5rem, 16vw, 6rem);
  align-self: center;
  justify-self: center;
  border: 1px solid rgba(168, 134, 75, 0.72);
  border-radius: 50%;
  background: rgba(248, 244, 235, 0.84);
  color: var(--teal);
  cursor: pointer;
  box-shadow: 0 18px 56px rgba(0, 22, 26, 0.2);
  backdrop-filter: blur(10px);
}

.save-date-play.is-visible {
  display: inline-flex;
}

.save-date-play span {
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  border-top: 0.86rem solid transparent;
  border-bottom: 0.86rem solid transparent;
  border-left: 1.28rem solid currentColor;
}

.save-date-play:hover,
.save-date-play:focus-visible {
  background: var(--ivory);
  outline: 2px solid rgba(0, 52, 61, 0.48);
  outline-offset: 4px;
}

.save-date-actions {
  position: relative;
  z-index: 2;
  display: none;
  justify-content: center;
  gap: 1rem;
  width: min(32rem, 100%);
  margin-bottom: clamp(1rem, 4vh, 2.5rem);
  text-align: center;
}

.save-date-actions.is-visible {
  display: flex;
}

.save-date-actions .oval-button {
  border-color: rgba(248, 244, 235, 0.72);
  color: var(--ivory);
  background: rgba(0, 52, 61, 0.18);
  backdrop-filter: blur(12px);
}

.save-date-actions .oval-button.primary {
  background: rgba(248, 244, 235, 0.92);
  color: var(--teal);
}

.countdown-band {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) 1.6fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 6rem);
  background: var(--teal);
  color: var(--ivory);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 2vw, 2rem);
  text-align: center;
}

.countdown-grid strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.85;
}

.countdown-grid span {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--ui);
  font-size: clamp(0.62rem, 1.2vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.128em;
  text-transform: uppercase;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 36rem);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  background: var(--paper);
}

.intro-copy {
  max-width: 690px;
}

.intro-copy h2,
.rsvp h2,
.detail-block h2,
.venue-copy h2 {
  color: var(--olive);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
}

.intro-copy h2 {
  font-family: var(--ui);
  font-size: clamp(1.55rem, 3.3vw, 3.15rem);
  letter-spacing: 0.128em;
  line-height: 1.18;
}

.intro-copy p:not(.section-kicker),
.venue-copy p,
.detail-block p,
.rsvp p {
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.65;
}

.portrait-card {
  margin: 0;
  padding: clamp(0.75rem, 1.4vw, 1rem);
  border: 1px solid var(--champagne);
  background: rgba(255, 250, 242, 0.5);
  display: grid;
  gap: 0.85rem;
}

.portrait-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.82) contrast(0.96);
}

.intro-carousel .carousel-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(0, 52, 61, 0.12);
  isolation: isolate;
}

.intro-carousel .carousel-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  clip-path: inset(0 0 0 100%);
  transform: scale(1.04);
  transition:
    opacity 3600ms ease,
    clip-path 4200ms cubic-bezier(0.76, 0, 0.24, 1),
    transform 5200ms ease;
  will-change: opacity, clip-path, transform;
}

.intro-carousel .carousel-stage img.is-active {
  z-index: 1;
  opacity: 1;
  clip-path: inset(0);
  transform: scale(1);
}

.portrait-card figcaption {
  color: rgba(37, 41, 27, 0.72);
  font-family: var(--ui);
  font-size: clamp(0.68rem, 1.1vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.128em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.ornament {
  width: min(270px, 58vw);
  height: 72px;
  margin: 0 auto 1.8rem;
  opacity: 0.72;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='360' height='96' viewBox='0 0 360 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23A8864B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M180 74C150 51 148 27 180 13C212 27 210 51 180 74Z'/%3E%3Cpath d='M180 74C174 45 177 27 180 13C183 27 186 45 180 74Z'/%3E%3Cpath d='M180 70c-27-17-52-18-75 2m75-2c27-17 52-18 75 2'/%3E%3Cpath d='M118 66c-23-28-47-36-84-28m208 28c23-28 47-36 84-28'/%3E%3Cpath d='M92 50c-10-19-27-27-50-27m226 27c10-19 27-27 50-27'/%3E%3Cpath d='M108 70c-17 1-30 8-38 20m182-20c17 1 30 8 38 20'/%3E%3C/g%3E%3C/svg%3E");
}

.weekend.dark {
  background:
    linear-gradient(rgba(0, 52, 61, 0.14), rgba(0, 52, 61, 0.14)),
    url("assets/almirah-crop-teal-75.png") center / cover no-repeat;
  color: var(--ivory);
}

.weekend::before {
  content: "";
  position: absolute;
  inset: clamp(1rem, 2vw, 1.6rem);
  pointer-events: none;
  border: 1px solid rgba(215, 192, 154, 0.58);
  outline: 1px solid rgba(248, 244, 235, 0.22);
  outline-offset: -11px;
}

.section-heading {
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-heading h2 {
  font-size: clamp(3.8rem, 10vw, 8.4rem);
  line-height: 0.9;
}

.event-list {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(248, 244, 235, 0.36);
}

.event-card {
  min-height: 31rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  text-align: center;
  background: rgba(0, 52, 61, 0.2);
}

.event-card.featured {
  background: var(--teal);
}

.event-icon {
  min-height: 4rem;
  color: var(--champagne);
  font-size: 3.2rem;
  line-height: 1;
}

.event-icon.lotus {
  width: 76px;
  height: 76px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D7C09A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M60 99C30 78 29 51 60 27C91 51 90 78 60 99Z'/%3E%3Cpath d='M60 99C51 65 54 43 60 27C66 43 69 65 60 99Z'/%3E%3Cpath d='M58 91C37 82 19 64 18 39C44 43 56 62 58 91Z'/%3E%3Cpath d='M62 91C83 82 101 64 102 39C76 43 64 62 62 91Z'/%3E%3Cpath d='M60 96c-23-3-41-2-55 6m55-6c23-3 41-2 55 6'/%3E%3C/g%3E%3C/svg%3E");
}

.event-date {
  margin: 1.2rem 0 0.8rem;
  font-family: var(--script);
  color: var(--champagne);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
}

.event-card h3 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.7rem, 5.2vw, 4.75rem);
  line-height: 0.9;
}

.event-card p:not(.event-date) {
  margin: 0.35rem 0;
  font-family: var(--ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.128em;
  line-height: 1.7;
  text-transform: uppercase;
}

.event-map-link {
  display: inline-block;
  padding-bottom: 0.16rem;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 192, 154, 0.72);
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.event-map-link:hover,
.event-map-link:focus-visible {
  color: var(--champagne);
  border-color: currentColor;
}

.event-card .event-note {
  max-width: 20rem;
  margin-top: 1.3rem;
  color: rgba(248, 244, 235, 0.76);
  letter-spacing: 0.1em;
  text-transform: none;
}

.details-grid {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--teal);
  padding: clamp(1rem, 4vw, 3rem);
}

.details-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 52, 61, 0.78), rgba(0, 52, 61, 0.34));
}

.room-block-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.detail-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(780px, 100%);
  margin: clamp(1.4rem, 3vw, 2.6rem) auto;
  padding: clamp(1.8rem, 4vw, 3.5rem);
  background: rgba(248, 244, 235, 0.7);
  border: 1px solid rgba(215, 192, 154, 0.8);
  box-shadow: 0 24px 90px rgba(0, 52, 61, 0.28);
  backdrop-filter: blur(16px);
}

.detail-block h2 {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
}

.detail-block .oval-button {
  margin-top: 1.3rem;
}

.faq .section-heading {
  max-width: 820px;
}

.faq-airport-list {
  width: min(1100px, 100%);
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.airport-card {
  padding: clamp(1.6rem, 4vw, 3rem);
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid rgba(168, 134, 75, 0.46);
}

.airport-card.compact {
  padding: clamp(1rem, 2.4vw, 1.45rem);
  background: rgba(248, 244, 235, 0.08);
  border-color: rgba(215, 192, 154, 0.44);
}

.airport-code {
  margin: 0 0 1rem;
  color: var(--teal);
  font-family: var(--display);
  font-size: clamp(3.8rem, 8vw, 6rem);
  line-height: 0.85;
}

.airport-card.compact .airport-code {
  color: var(--begin-light);
  font-size: clamp(2.4rem, 5vw, 3.3rem);
}

.airport-card h3 {
  margin: 0 0 1.5rem;
  color: var(--olive);
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.airport-card.compact h3 {
  color: var(--hero-light);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.05;
}

.airport-card dl {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
}

.airport-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(75, 74, 24, 0.18);
}

.airport-card.compact dl div {
  border-color: rgba(228, 220, 218, 0.2);
}

.airport-card dt,
.airport-card dd {
  margin: 0;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.128em;
  line-height: 1.55;
  text-transform: uppercase;
}

.airport-card dt {
  color: rgba(37, 41, 27, 0.62);
}

.airport-card.compact dt {
  color: rgba(228, 220, 218, 0.72);
}

.airport-card dd {
  color: var(--teal);
  text-align: right;
}

.airport-card.compact dd {
  color: var(--begin-light);
}

.airport-card p:last-child {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}

.faq {
  background:
    linear-gradient(rgba(0, 52, 61, 0.93), rgba(0, 52, 61, 0.9)),
    url("assets/steps.png") center / cover no-repeat;
  color: var(--nav-light);
}

.faq .section-kicker,
.faq .script-small {
  color: var(--begin-light);
}

.faq .section-heading h2 {
  color: var(--hero-light);
}

.faq-list {
  width: min(960px, 100%);
  margin-inline: auto;
  border-top: 1px solid rgba(215, 192, 154, 0.48);
}

.faq-list details {
  border-bottom: 1px solid rgba(215, 192, 154, 0.48);
  background: rgba(0, 22, 26, 0.12);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.25rem;
  padding: 1.4rem 3rem 1.4rem 0;
  color: var(--hero-light);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  color: var(--begin-light);
  font-family: var(--ui);
  font-size: 1.4rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 780px;
  margin: -0.25rem 0 1.7rem;
  color: var(--nav-light);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.rsvp {
  min-height: auto;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) 0;
  background: var(--teal);
}

.rsvp-card {
  width: min(920px, 100%);
  padding: 0;
  text-align: center;
  color: var(--hero-light);
  background: transparent;
  border: 0;
  outline: 0;
}

.rsvp-card img {
  width: min(920px, 88vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 22, 26, 0.34));
}

@media (prefers-reduced-motion: reduce) {
  .intro-carousel .carousel-stage img {
    clip-path: none;
    transform: none;
    transition: opacity 250ms ease;
  }

  .guest-gate,
  .guest-gate-door,
  .guest-gate-entry {
    transition-duration: 1ms;
    transition-delay: 0ms;
  }

  body.is-unlocking .guest-gate-door-left,
  body.is-unlocking .guest-gate-door-right {
    transform: translateY(-1rem);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  padding: 2rem 1rem;
  background: var(--teal);
  color: var(--ivory);
  text-align: center;
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.128em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .countdown-band,
  .intro-section,
  .faq-airport-list {
    grid-template-columns: 1fr;
  }

  .countdown-band {
    text-align: center;
  }

  .event-list {
    grid-template-columns: 1fr;
  }

  .event-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 0.75rem clamp(1.25rem, 6vw, 2rem) 1rem;
    background: rgba(248, 244, 235, 0.96);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    pointer-events: none;
    transform: translateY(calc(-100% - 68px));
    transition:
      opacity 220ms ease,
      transform 220ms ease;
    opacity: 0;
  }

  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(75, 74, 24, 0.18);
  }

  .site-header.menu-open .nav-links,
  .nav-links.is-open {
    pointer-events: auto;
    transform: translateY(0);
    opacity: 1;
  }

  .hero {
    min-height: 90svh;
    padding-inline: 1rem;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .hero::before {
    background: linear-gradient(rgba(0, 52, 61, 0.5), rgba(0, 52, 61, 0.24));
  }

  .hero-logo-text {
    width: 100%;
    height: auto;
    margin-inline: auto;
  }

  .hero .date-line {
    max-width: 21rem;
    margin-inline: auto;
    font-size: 0.56rem;
    letter-spacing: 0.128em;
    line-height: 1.8;
  }

  .hero::after {
    inset: 4.8rem 0.8rem 0.8rem;
    outline-offset: -7px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.6rem;
  }

  .airport-card dl div {
    display: grid;
    gap: 0.25rem;
  }

  .airport-card dd {
    text-align: left;
  }

  .faq-list summary {
    padding-right: 2.5rem;
  }

  .faq-airport-list {
    grid-template-columns: 1fr;
  }

  .rsvp-card img {
    width: min(22rem, 88vw);
  }

  .save-date-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .save-date-actions .oval-button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .section-panel {
    padding-inline: 1rem;
  }

  .guest-gate {
    padding: 1rem;
  }

  .guest-gate-entry {
    width: min(24rem, calc(100% - 2rem));
    padding: 1.25rem;
  }

  .guest-gate-door {
    background-size: auto 100%;
  }

  .guest-gate-door-left {
    background-position: 38% center;
  }

  .guest-gate-door-right {
    background-position: 62% center;
  }

  .guest-gate p {
    max-width: 18rem;
    font-size: 1.04rem;
  }

  .hero::after {
    inset: 4.4rem 0.7rem 0.7rem;
    outline-offset: -7px;
  }

  .date-line,
  .section-kicker {
    letter-spacing: 0.128em;
  }

  .intro-copy h2,
  .detail-block h2,
  .section-heading h2 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  .intro-copy h2 {
    font-size: clamp(1.35rem, 7vw, 2rem);
    line-height: 1.2;
  }


  .event-card h3 {
    font-size: clamp(2.55rem, 14vw, 3.8rem);
  }

  .oval-button {
    width: 100%;
    min-width: 0;
  }
}
