/* =========================================================================
   TEMPLATE B — GLASS HOUSE
   Contemporary organic forms, architectural framing and solarium glass.
   ========================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--gh-ground);
  font-size: 16px;
}

body {
  min-width: 320px;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 12% 12%, rgba(212, 175, 110, 0.075), transparent 36rem),
    radial-gradient(ellipse at 88% 48%, rgba(88, 112, 92, 0.12), transparent 42rem),
    linear-gradient(180deg, #0A110D 0%, var(--gh-ground) 48%, #090F0C 100%);
  background-attachment: fixed;
  color: var(--gh-ink);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  min-height: 44px;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

::selection {
  color: var(--gh-ground-deep);
  background: var(--gh-brass);
}

.main-suite {
  position: relative;
  isolation: isolate;
}

.site-view[hidden],
[hidden],
.hidden {
  display: none !important;
}

#moments,
#countdown,
#story,
#rsvp,
#gifting,
#faq,
#venues-grid {
  scroll-margin-top: 84px;
}

/* Docked glass line navigation */
.floating-nav {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 18, 13, 0.76);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.nav-wordmark {
  position: absolute;
  left: clamp(20px, 4vw, 64px);
  color: var(--gh-ink);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.nav-wordmark span {
  color: var(--gh-muted);
  font-size: 0.57rem;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0px, 1.2vw, 18px);
  height: 100%;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--gh-muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 220ms ease;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--gh-ink);
}

.nav-links a.is-current {
  color: var(--gh-brass);
}

.nav-links a.is-current::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 1px;
  background: var(--gh-brass);
  box-shadow: 0 0 11px rgba(212, 175, 110, 0.82);
  content: "";
}

.audio-btn {
  position: fixed;
  z-index: 1001;
  top: 82px;
  right: 28px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--gh-hairline);
  border-radius: 50%;
  background: var(--gh-glass);
  box-shadow: var(--shadow-subtle);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  cursor: pointer;
  transition: border-color 220ms ease, transform 220ms ease;
}

.audio-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gh-brass-line);
}

.audio-toggle-img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(79%) sepia(26%) saturate(536%) hue-rotate(354deg);
}

/* Asymmetric split entrance and integrated live countdown */
.solarium-entrance {
  position: relative;
  display: grid;
  width: min(100%, 1720px);
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.17fr) minmax(390px, 0.83fr);
  align-items: stretch;
  gap: clamp(22px, 4vw, 64px);
  margin: 0 auto;
  padding: 104px clamp(24px, 5vw, 82px) 42px;
}

.section-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 80px;
}

.hero-section {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: min(74svh, 790px);
  height: 100%;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px 180px 3px 3px;
  background:
    linear-gradient(135deg, rgba(212, 175, 110, 0.14), transparent 40%),
    linear-gradient(145deg, #314338, #101B14 70%);
  box-shadow: var(--shadow-float);
}

.hero-media-wrapper,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media-wrapper {
  overflow: hidden;
}

.hero-slide {
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.1s var(--ease-solarium);
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transform: scale(1.015);
  transition: transform 8s ease;
}

.hero-slide.is-active .hero-image {
  transform: scale(1.08);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 10, 7, 0.02) 20%, rgba(5, 10, 7, 0.22) 58%, rgba(5, 10, 7, 0.7) 100%),
    linear-gradient(90deg, rgba(6, 11, 8, 0.12), transparent 45%);
  pointer-events: none;
}

.hero-section.is-placeholder .hero-media-wrapper::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 48%, rgba(212, 175, 110, 0.1) 49%, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 32%, rgba(255, 255, 255, 0.035) 32.1% 32.25%, transparent 32.35% 100%);
  content: "";
}

.hero-pagination {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-indicator {
  width: 27px;
  min-height: 3px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 240ms ease, background 240ms ease;
}

.hero-indicator.is-active {
  width: 48px;
  background: var(--gh-brass);
  box-shadow: 0 0 12px rgba(212, 175, 110, 0.66);
}

.hero-arrows {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}

.hero-arrow,
.moments-arrow,
.lightbox-nav,
.lightbox-close,
.lightbox-zoom-button {
  display: grid;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--gh-hairline);
  border-radius: 50%;
  background: rgba(12, 20, 15, 0.68);
  color: var(--gh-ink);
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.hero-arrow:hover,
.moments-arrow:hover,
.lightbox-nav:hover,
.lightbox-close:hover,
.lightbox-zoom-button:hover {
  border-color: var(--gh-brass);
  background: rgba(212, 175, 110, 0.12);
  color: var(--gh-brass);
}

.hero-image-index {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.65rem;
  letter-spacing: 0.17em;
}

.hero-image-index i {
  margin: 0 5px;
  color: var(--gh-brass);
  font-style: normal;
}

.entrance-pillar {
  position: relative;
  display: flex;
  min-height: 580px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 5vw, 72px) clamp(30px, 4vw, 62px) 32px;
  overflow: hidden;
  border: 1px solid var(--gh-brass-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%),
    linear-gradient(180deg, rgba(20, 34, 26, 0.82), rgba(10, 18, 13, 0.86));
  box-shadow: var(--shadow-float), var(--shadow-inset);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.entrance-pillar::before,
.entrance-pillar::after {
  position: absolute;
  z-index: 0;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(212, 175, 110, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.entrance-pillar::before {
  top: -110px;
  right: -80px;
}

.entrance-pillar::after {
  right: -36px;
  bottom: -128px;
  width: 230px;
  height: 230px;
}

.pillar-mark {
  position: relative;
  z-index: 1;
  display: flex;
  width: 68px;
  height: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.pillar-mark span {
  width: 1px;
  height: 25px;
  background: var(--gh-brass);
  opacity: 0.72;
}

.pillar-mark span:nth-child(2) {
  height: 17px;
}

.pillar-kicker,
.eyebrow,
.hero-eyebrow,
.countdown-label {
  color: var(--gh-brass);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.23em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pillar-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 224px;
}

.hero-copy {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.hero-copy.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.hero-copy .hero-eyebrow {
  display: block;
  margin-bottom: 14px;
}

.hero-title {
  max-width: 12ch;
  margin: 0;
  color: #F5F4ED;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 4.5vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero-meta {
  max-width: 32ch;
  margin: 18px 0 0;
  color: var(--gh-muted);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.4;
}

.countdown-bar {
  position: relative;
  z-index: 1;
  margin-top: 27px;
  padding-top: 21px;
  border-top: 1px solid var(--gh-brass-line);
}

.countdown-label {
  display: block;
  margin-bottom: 15px;
  color: var(--gh-muted);
  font-size: 0.59rem;
  letter-spacing: 0.16em;
}

.countdown-units {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 7px;
}

.countdown-box {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.countdown-box .num {
  color: #F5F4ED;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-box .unit {
  margin-top: 8px;
  color: var(--gh-faint);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown-units .sep {
  margin-top: 1px;
  color: var(--gh-brass);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  opacity: 0.56;
}

.btn-calendar,
.details-cta,
.schedule-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gh-brass);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, gap 220ms ease;
}

.btn-calendar {
  margin-top: 26px;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--gh-brass-line);
}

.btn-calendar:hover,
.details-cta:hover,
.schedule-link:hover {
  gap: 18px;
  color: #F5D49A;
}

.pillar-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--gh-faint);
  font-size: 0.59rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Shared section typography and hairline dividers */
.section-header {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-header > .eyebrow,
.attire-content > .eyebrow,
.details-intro > .eyebrow,
.gift-note > .eyebrow,
.desk-heading > .eyebrow,
.concierge-lounge > .eyebrow {
  display: block;
  margin: 0 0 12px;
}

.section-header h2,
.attire-content h2,
.gift-note h2,
.details-intro h1,
.concierge-lounge h2 {
  margin: 0;
  color: #F2F1E9;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.ornament-divider {
  display: flex;
  width: min(100%, 260px);
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 21px auto 0;
}

.ornament-divider span {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gh-brass-line));
}

.ornament-divider span:last-child {
  transform: rotate(180deg);
}

.ornament-divider i {
  color: var(--gh-brass);
  font-size: 0.68rem;
  font-style: normal;
}

/* Cathedral Solarium Arch invitation credential */
.formal-invite-section {
  position: relative;
  display: flex;
  justify-content: center;
  padding: clamp(76px, 11vw, 156px) 24px clamp(78px, 10vw, 140px);
  overflow: hidden;
}

.formal-invite-section::before {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(88vw, 920px);
  height: 82%;
  border: 1px solid rgba(212, 175, 110, 0.08);
  border-radius: 50% 50% 0 0;
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.invite-card-outer {
  position: relative;
  width: min(100%, 700px);
  padding: 1px;
  border-radius: var(--curve-arch);
  background:
    linear-gradient(155deg, rgba(212, 175, 110, 0.72), rgba(255, 255, 255, 0.1) 37%, rgba(88, 112, 92, 0.38) 100%);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.5), 0 0 54px rgba(212, 175, 110, 0.065);
}

.invite-card-inner {
  position: relative;
  min-height: 660px;
  padding: 94px clamp(30px, 8vw, 88px) 72px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 260px 260px 18px 18px;
  background:
    radial-gradient(ellipse at 50% 9%, rgba(212, 175, 110, 0.11), transparent 35%),
    linear-gradient(180deg, rgba(22, 37, 28, 0.93), rgba(10, 18, 13, 0.97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 70px rgba(88, 112, 92, 0.08);
  text-align: center;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.invite-card-inner::before,
.invite-card-inner::after {
  position: absolute;
  top: 30px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 110, 0.3) 20%, rgba(212, 175, 110, 0.18) 80%, transparent);
  content: "";
  pointer-events: none;
}

.invite-card-inner::before { left: 25px; }
.invite-card-inner::after { right: 25px; }

.wedding-crest-mark {
  position: relative;
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 27px;
  place-items: center;
}

.wedding-crest-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(77%) sepia(28%) saturate(547%) hue-rotate(355deg);
}

.crest-letters {
  position: relative;
  z-index: 1;
  color: var(--gh-brass);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.11em;
}

.invite-pre {
  display: block;
  margin: 0 0 14px;
  color: var(--gh-brass);
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.invite-names {
  margin: 0 0 20px;
  color: #F6F4EC;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 300;
  line-height: 1;
}

.invite-request {
  max-width: 38ch;
  margin: 0 auto 30px;
  color: var(--gh-muted);
  font-family: var(--font-serif);
  font-size: 1.17rem;
  line-height: 1.55;
}

.invite-recipient {
  margin: -2px 0 18px;
  color: var(--gh-brass);
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.invite-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 32px);
  max-width: 420px;
  margin: 0 auto 24px;
  padding: 17px 5px;
  border-top: 1px solid var(--gh-brass-line);
  border-bottom: 1px solid var(--gh-brass-line);
  color: var(--gh-muted);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.date-num {
  color: var(--gh-brass);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
}

.invite-location {
  margin: 0 auto 9px;
  color: var(--gh-ink);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
}

.invite-reception-note {
  margin: 0;
  color: var(--gh-muted);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
}

.credential-watermark,
.corner-flourish {
  display: none !important;
}

/* Our story as a sequence of architectural glass panels */
.story-section,
.moments-gallery,
.rsvp-section,
.gifting-section,
.guestbook-section,
.details-section,
.attire-section,
.faq-section {
  padding: clamp(76px, 9vw, 130px) clamp(20px, 5vw, 76px);
}

.story-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 55%);
}

.story-timeline {
  display: grid;
  width: min(100%, 1220px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 3vw, 44px);
  margin: 54px auto 0;
}

.timeline-step {
  position: relative;
  padding-top: 20px;
}

.timeline-step:nth-child(2) {
  padding-top: 72px;
}

.timeline-step:nth-child(3n) {
  padding-top: 42px;
}

.timeline-dot {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 25px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gh-brass);
  border-radius: 50%;
  background: var(--gh-ground);
  box-shadow: 0 0 15px rgba(212, 175, 110, 0.38);
}

.timeline-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 285px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(212, 175, 110, 0.42);
  border-radius: 2px 54px 2px 2px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 45%),
    rgba(18, 31, 23, 0.73);
  box-shadow: var(--shadow-inset), 0 24px 55px rgba(0, 0, 0, 0.22);
  color: inherit;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: transform 300ms var(--ease-solarium), border-color 300ms ease, background 300ms ease;
}

.timeline-card:hover {
  transform: translateY(-6px);
  border-color: var(--gh-brass-line);
  background-color: rgba(25, 42, 31, 0.88);
}

.timeline-date {
  display: block;
  margin-bottom: 18px;
  color: var(--gh-brass);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-card-title {
  margin-bottom: 10px;
  color: #F2F1E9;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.1;
}

.timeline-card-copy {
  color: var(--gh-muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.timeline-card-hint {
  margin-top: auto;
  padding-top: 24px;
  color: var(--gh-brass);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Conservatory window gallery */
.moments-gallery {
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
}

.moments-gallery > .moments-heading,
.moments-gallery > .moments-controls {
  padding-right: clamp(20px, 5vw, 76px);
  padding-left: clamp(20px, 5vw, 76px);
}

.moments-heading {
  margin: 0 auto 35px;
  text-align: center;
}

.moments-heading h2 {
  margin: 0;
  color: #F2F1E9;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.moments-controls {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  width: min(100%, 1600px);
  margin: 0 auto 18px;
}

.moments-arrow {
  background: rgba(18, 31, 23, 0.72);
}

.moments-carousel {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 8px clamp(20px, 5vw, 76px) 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.moments-carousel::-webkit-scrollbar {
  display: none;
}

.moments-track {
  display: flex;
  min-width: max-content;
  align-items: flex-start;
  gap: clamp(16px, 2.3vw, 34px);
}

.moments-carousel-ready {
  display: none;
}

.moment-slide {
  position: relative;
  flex: 0 0 clamp(230px, 25vw, 350px);
  height: clamp(340px, 40vw, 520px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50% 50% 3px 3px / 28% 28% 3px 3px;
  background:
    linear-gradient(145deg, rgba(212, 175, 110, 0.12), transparent 38%),
    var(--gh-ground-raised);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.3);
  color: #fff;
  cursor: zoom-in;
  scroll-snap-align: center;
  transition: transform 420ms var(--ease-solarium), border-color 300ms ease;
}

.moment-slide:nth-child(even) {
  margin-top: 48px;
}

.moment-slide:nth-child(3n) {
  margin-top: 90px;
}

.moment-slide:hover {
  transform: translateY(-8px);
  border-color: var(--gh-brass-line);
}

.moment-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease-solarium);
}

.moment-slide:hover img {
  transform: scale(1.045);
}

.moment-slide.is-placeholder {
  display: grid;
  align-items: center;
  justify-items: center;
  cursor: default;
}

.gallery-image-placeholder {
  padding: 28px;
  color: var(--gh-muted);
  font-family: var(--font-serif);
  text-align: center;
}

.moment-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 54px 20px 22px;
  background: linear-gradient(180deg, transparent, rgba(7, 13, 9, 0.87));
  color: #F3F0E8;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  text-align: center;
}

/* Concierge RSVP desk: lounge details and multi-layered response panel */
.rsvp-section {
  position: relative;
  background:
    radial-gradient(ellipse at 12% 52%, rgba(88, 112, 92, 0.13), transparent 37rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 70%);
}

.rsvp-container {
  display: grid;
  width: min(100%, 1280px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
  margin: 0 auto;
}

.concierge-lounge {
  align-self: start;
  padding: 10px 0;
}

.concierge-lounge h2 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 4.5vw, 4.1rem);
}

.concierge-copy {
  max-width: 37ch;
  margin: 18px 0 28px;
  color: var(--gh-muted);
  font-family: var(--font-serif);
  font-size: 1.14rem;
}

.deadline-plaque {
  max-width: 340px;
  padding: 15px 18px;
  border-left: 1px solid var(--gh-brass);
  background: linear-gradient(90deg, rgba(212, 175, 110, 0.1), transparent);
}

.plaque-label {
  display: block;
  margin-bottom: 3px;
  color: var(--gh-muted);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rsvp-deadline {
  margin: 0;
  color: var(--gh-brass);
  font-family: var(--font-serif);
  font-size: 1.14rem;
}

.quick-schedule {
  margin-top: 42px;
}

.schedule-heading {
  margin: 0 0 16px;
  color: var(--gh-faint);
  font-size: 0.61rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.schedule-stop {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-index {
  color: var(--gh-brass);
  font-family: var(--font-serif);
  font-size: 1.14rem;
}

.schedule-stop strong,
.schedule-stop span:not(.schedule-index) {
  display: block;
}

.schedule-stop strong {
  color: var(--gh-ink);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-stop div span {
  margin-top: 2px;
  color: var(--gh-muted);
  font-family: var(--font-serif);
  font-size: 0.91rem;
}

.schedule-link {
  margin-top: 16px;
  font-size: 0.59rem;
}

.concierge-signoff {
  margin: 42px 0 0;
  color: var(--gh-muted);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.35;
}

.concierge-signoff span {
  display: inline-block;
  margin-top: 5px;
  color: var(--gh-brass);
  font-size: 1.28rem;
}

.rsvp-desk {
  position: relative;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid var(--gh-hairline);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
    rgba(13, 23, 17, 0.78);
  box-shadow: var(--shadow-float), var(--shadow-inset);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.rsvp-desk::before {
  position: absolute;
  top: -1px;
  left: 36px;
  width: 74px;
  height: 1px;
  background: var(--gh-brass);
  box-shadow: 0 0 13px rgba(212, 175, 110, 0.65);
  content: "";
}

.desk-heading {
  margin-bottom: 28px;
}

.desk-heading h3 {
  margin: 0;
  color: #F1EFE7;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.rsvp-box {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lookup-pane {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.input-label {
  display: block;
  margin: 0 0 8px;
  color: var(--gh-muted);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-group {
  min-width: 0;
  margin: 0 0 19px;
}

.form-group input,
.form-group textarea,
.form-group select,
.search-input-group input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  outline: 0;
  background: rgba(6, 12, 8, 0.62);
  color: var(--gh-ink);
  font-size: 0.84rem;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.form-group textarea {
  min-height: 102px;
  resize: vertical;
}

.form-group select {
  color-scheme: dark;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.search-input-group input::placeholder {
  color: #718077;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.search-input-group input:focus {
  border-color: var(--gh-brass);
  background: rgba(6, 12, 8, 0.8);
  box-shadow: 0 0 0 3px rgba(212, 175, 110, 0.1);
}

.search-input-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.error-msg {
  margin: 12px 0 0;
  color: #F0A694;
  font-size: 0.78rem;
}

.guest-badge {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 2px solid var(--gh-brass);
  background: rgba(212, 175, 110, 0.08);
  color: var(--gh-brass);
  font-size: 0.83rem;
}

.guest-badge p {
  margin: 0;
}

.radio-pill-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.radio-pill {
  position: relative;
  display: block;
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.radio-pill span {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gh-muted);
  font-size: 0.72rem;
  text-align: center;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.radio-pill input:checked + span {
  border-color: var(--gh-brass-line);
  background: rgba(212, 175, 110, 0.1);
  color: var(--gh-brass);
}

.radio-pill input:focus-visible + span {
  outline: 2px solid var(--gh-brass);
  outline-offset: 2px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dietary-details {
  margin-top: 16px;
}

.btn-primary,
.gcash-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 20px;
  border: 1px solid var(--gh-brass);
  border-radius: 0;
  background: var(--gh-brass);
  color: #111A14;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.btn-primary:hover,
.gcash-button:hover {
  transform: translateY(-1px);
  background: #E5C385;
  box-shadow: var(--gh-brass-glow);
}

.btn-primary:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn-full {
  width: 100%;
}

/* Registry, guestbook and footer */
.gifting-section {
  padding-top: clamp(74px, 9vw, 120px);
  padding-bottom: 68px;
  text-align: center;
}

.gift-note {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid var(--gh-brass-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 50%),
    rgba(16, 28, 21, 0.68);
  box-shadow: var(--shadow-inset), 0 26px 70px rgba(0, 0, 0, 0.25);
}

.gift-note h2 {
  margin: 0;
}

.gift-note p {
  max-width: 55ch;
  margin: 18px auto 28px;
  color: var(--gh-muted);
}

.payment-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.guestbook-section {
  padding-top: 76px;
}

.guestbook-section .section-header > p {
  color: var(--gh-muted);
}

.guestbook-wall {
  display: grid;
  width: min(100%, 1160px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.guestbook-note {
  min-height: 160px;
  padding: 25px;
  border: 1px solid var(--gh-hairline);
  border-top: 1px solid var(--gh-brass-line);
  background: rgba(18, 31, 23, 0.68);
  backdrop-filter: blur(14px);
}

.guestbook-note p {
  margin: 0 0 17px;
  color: var(--gh-ink);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
}

.guestbook-note span {
  color: var(--gh-brass);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.details-cta-wrap {
  padding: 0 20px 90px;
  text-align: center;
}

.details-cta-wrap p {
  margin: 0 0 13px;
  color: var(--gh-muted);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.details-cta {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gh-brass-line);
}

.site-footer {
  padding: 52px 20px 40px;
  border-top: 1px solid var(--gh-hairline);
  text-align: center;
}

.footer-monogram {
  color: var(--gh-brass);
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

.footer-title {
  margin: 8px 0 4px;
  color: var(--gh-ink);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.footer-date {
  margin: 0;
  color: var(--gh-muted);
  font-size: 0.72rem;
}

/* Details view: architectural schedule, venue panels and attire */
.details-intro {
  padding: 150px 24px 58px;
  text-align: center;
}

.details-intro h1 {
  margin: 0;
}

.details-intro .js-couple-names {
  margin: 0 0 9px;
  color: var(--gh-brass);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.details-date {
  color: var(--gh-muted);
}

.venues-subheading {
  margin: 52px auto 24px;
  color: var(--gh-ink);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
}

.event-details-grid {
  display: grid;
  width: min(100%, 1120px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
}

.event-detail {
  overflow: hidden;
  border: 1px solid var(--gh-hairline);
  background: rgba(18, 31, 23, 0.72);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.event-detail-copy {
  padding: 26px;
}

.event-detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  object-fit: cover;
}

.event-pill {
  color: var(--gh-brass);
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-name {
  margin: 6px 0;
  color: var(--gh-ink);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.event-time,
.event-address {
  margin: 3px 0;
  color: var(--gh-muted);
  font-size: 0.81rem;
}

.event-address {
  margin-bottom: 20px;
}

.venue-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.action-btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border: 1px solid var(--gh-hairline);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gh-ink);
  font-size: 0.64rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.action-btn:hover,
.action-btn-primary {
  border-color: var(--gh-brass-line);
  background: rgba(212, 175, 110, 0.12);
  color: var(--gh-brass);
}

.copy-pin-status {
  color: var(--gh-muted);
  font-size: 0.73rem;
}

.map-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--gh-ground-raised);
  pointer-events: auto;
  touch-action: pan-x pan-y;
  user-select: none;
}

.map-interaction-hint {
  margin: 15px auto 0;
  color: var(--gh-muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.wedding-day-timeline {
  position: relative;
  display: grid;
  width: min(100%, 950px);
  gap: 16px;
  margin: 0 auto 54px;
  padding: 0;
  list-style: none;
}

.wedding-day-timeline::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 97px;
  width: 1px;
  background: linear-gradient(var(--gh-brass-line), rgba(212, 175, 110, 0.04));
  content: "";
}

.wedding-day-stop {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.wedding-day-stop::before {
  position: absolute;
  top: 24px;
  left: 93px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gh-brass);
  border-radius: 50%;
  background: var(--gh-ground);
  content: "";
}

.wedding-day-time {
  padding-top: 15px;
  color: var(--gh-brass);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: right;
  white-space: nowrap;
}

.wedding-day-card {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--gh-hairline);
  background: rgba(18, 31, 23, 0.78);
  transition: border-color 200ms ease, transform 200ms ease;
}

.wedding-day-card:hover {
  transform: translateY(-2px);
  border-color: var(--gh-brass-line);
}

.wedding-day-card-trigger {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wedding-day-title {
  margin: 0 0 5px;
  color: var(--gh-ink);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.wedding-day-place {
  margin: 0 0 8px;
  color: var(--gh-brass);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wedding-day-description,
.wedding-day-note {
  margin: 0;
  color: var(--gh-muted);
  font-size: 0.79rem;
}

.wedding-day-photo {
  min-height: 92px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(212, 175, 110, 0.1), transparent),
    var(--gh-ground-raised);
}

.wedding-day-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attire-content {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.attire-content > p {
  color: var(--gh-muted);
}

.attire-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px auto 20px;
}

.attire-tab {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--gh-hairline);
  background: rgba(18, 31, 23, 0.7);
  color: var(--gh-muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 180ms ease;
}

.attire-tab.is-active,
.attire-tab:hover {
  border-color: var(--gh-brass-line);
  background: rgba(212, 175, 110, 0.1);
  color: var(--gh-brass);
}

.attire-guidance {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 1 / 0.86;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--gh-hairline);
  background: var(--gh-ground-raised);
  text-align: left;
}

.attire-example-image,
.attire-example-image img {
  width: 100%;
  height: 100%;
}

.attire-example-image img {
  object-fit: cover;
}

.attire-example-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 50px 24px 22px;
  background: linear-gradient(transparent, rgba(7, 13, 9, 0.92));
  color: var(--gh-ink);
}

.attire-example-copy span {
  color: var(--gh-brass);
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.attire-example-copy p {
  margin: 5px 0 0;
  color: var(--gh-muted);
  font-size: 0.79rem;
}

.swatches-wrap {
  margin-top: 42px;
}

.swatch-label {
  color: var(--gh-brass);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.palette-swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.swatch-item {
  display: flex;
  min-width: 72px;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.swatch {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.swatch-name {
  color: var(--gh-ink);
  font-size: 0.64rem;
}

.swatch-hex,
.swatch-fabric {
  color: var(--gh-muted);
  font-size: 0.58rem;
  text-align: center;
}

.faq-container {
  width: min(100%, 780px);
  margin: 0 auto;
}

.faq-accordion {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.faq-item {
  border: 1px solid var(--gh-hairline);
  border-left: 1px solid var(--gh-brass-line);
  background: rgba(18, 31, 23, 0.72);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  color: var(--gh-ink);
  font-family: var(--font-serif);
  font-size: 1.17rem;
  list-style: none;
  cursor: pointer;
}

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

.faq-question::after {
  color: var(--gh-brass);
  font-family: var(--font-sans);
  font-size: 1rem;
  content: "+";
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--gh-muted);
  font-size: 0.82rem;
}

.faq-answer p {
  margin: 0;
}

/* Dialogs, lightbox and registry overlay */
.modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 8, 5, 0.72);
  backdrop-filter: blur(9px);
}

.modal.is-active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  padding: 38px 30px 30px;
  border: 1px solid var(--gh-brass-line);
  background: var(--gh-glass-strong);
  box-shadow: var(--shadow-float);
  text-align: center;
  backdrop-filter: var(--glass-blur);
}

.modal-close {
  position: absolute;
  top: 11px;
  right: 13px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--gh-brass);
  font-size: 1.55rem;
  cursor: pointer;
}

.modal-title {
  margin: 0;
  color: #F2F1E9;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
}

.modal-desc {
  color: var(--gh-muted);
}

.gcash-app-link {
  color: var(--gh-brass);
}

.qr-img {
  width: 190px;
  height: 190px;
  margin: 18px auto;
  object-fit: contain;
  background: white;
}

.qr-placeholder {
  color: var(--gh-muted);
  font-size: 0.78rem;
}

.bank-details-box {
  margin-top: 20px;
  border-top: 1px solid var(--gh-hairline);
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--gh-hairline);
  color: var(--gh-muted);
  font-size: 0.77rem;
  text-align: left;
}

.bank-row strong {
  color: var(--gh-ink);
  text-align: right;
}

.copy-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-copy {
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid var(--gh-hairline);
  background: transparent;
  color: var(--gh-brass);
  font-size: 0.68rem;
  cursor: pointer;
}

.rsvp-confirmation-card {
  border-radius: var(--curve-arch);
}

.rsvp-confirmation-kicker {
  color: var(--gh-brass);
  font-size: 0.65rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.rsvp-confirmation-crest {
  margin: 14px 0;
  color: var(--gh-brass);
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

dialog.story-modal,
dialog.wedding-stop-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  display: none;
  width: min(calc(100% - 36px), 850px);
  max-width: none;
  max-height: min(86vh, 900px);
  margin: 0;
  padding: clamp(30px, 5vw, 54px);
  overflow: auto;
  border: 1px solid var(--gh-brass-line);
  background: var(--gh-glass-strong);
  box-shadow: var(--shadow-float);
  color: var(--gh-ink);
  transform: translate(-50%, -50%);
}

dialog.story-modal[open],
dialog.wedding-stop-dialog[open] {
  display: block;
}

dialog.story-modal::backdrop,
dialog.wedding-stop-dialog::backdrop {
  background: rgba(4, 8, 5, 0.78);
  backdrop-filter: blur(9px);
}

.story-modal-copy,
.wedding-stop-dialog-copy {
  max-width: 660px;
  margin: 0 auto 26px;
  text-align: center;
}

.story-modal-copy h2,
.wedding-stop-dialog-copy h2 {
  margin: 0 0 14px;
  color: #F2F1E9;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.05;
}

.story-modal-copy p,
.wedding-stop-dialog-copy p {
  color: var(--gh-muted);
}

.story-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.story-modal-gallery figure,
.story-image-placeholder {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gh-hairline);
  background: var(--gh-ground-raised);
}

.story-modal-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-modal-gallery figcaption,
.story-image-placeholder span {
  display: block;
  padding: 10px;
  color: var(--gh-muted);
  font-size: 0.68rem;
}

.story-image-placeholder {
  display: grid;
  min-height: 140px;
  place-items: center;
}

.wedding-stop-dialog-photo {
  width: min(100%, 600px);
  max-height: 44vh;
  margin: 0 auto;
  overflow: hidden;
}

.wedding-stop-dialog-photo img {
  width: 100%;
  max-height: 44vh;
  object-fit: cover;
}

.wedding-stop-dialog-time,
.wedding-stop-dialog-place,
.wedding-stop-dialog-address,
.wedding-stop-dialog-note {
  color: var(--gh-brass) !important;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
}

.lightbox-modal {
  position: fixed;
  z-index: 11000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 70px;
  background: rgba(4, 8, 5, 0.96);
}

.lightbox-modal.is-active {
  display: flex !important;
}

.lightbox-figure {
  display: grid;
  max-width: 100%;
  max-height: 100%;
  justify-items: center;
  margin: 0;
}

.lightbox-figure img {
  max-width: min(90vw, 1600px);
  max-height: 78vh;
  object-fit: contain;
  transition: width 150ms ease;
}

.lightbox-figure img.is-zoomed {
  max-width: none;
  max-height: none;
}

.lightbox-figure figcaption {
  margin-top: 12px;
  color: var(--gh-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

.lightbox-close,
.lightbox-previous,
.lightbox-next {
  position: absolute;
  z-index: 1;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-previous { top: 50%; left: 18px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 18px; transform: translateY(-50%); }

.lightbox-zoom-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.lightbox-zoom-button {
  width: 42px;
  height: 42px;
}

@media (max-width: 1080px) {
  .nav-wordmark {
    display: none;
  }

  .solarium-entrance {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
    gap: 24px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .entrance-pillar {
    padding-right: 30px;
    padding-left: 30px;
  }

  .story-timeline {
    gap: 16px;
  }

  .timeline-card {
    min-height: 300px;
    padding: 24px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
    font-size: 15px;
  }

  .floating-nav {
    height: 58px;
    justify-content: flex-start;
    padding: 0 8px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding: 0 11px;
    font-size: 0.59rem;
    letter-spacing: 0.1em;
  }

  .nav-links a.is-current::after {
    right: 8px;
    left: 8px;
  }

  .audio-btn {
    top: 70px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .solarium-entrance {
    display: block;
    min-height: 100svh;
    padding: 58px 0 0;
  }

  .hero-section {
    height: auto;
    min-height: calc(100svh - 58px);
    border: 0;
    border-radius: 0;
  }

  .hero-image {
    object-position: center 34%;
  }

  .hero-image-index {
    top: 24px;
    left: 20px;
  }

  .hero-pagination {
    bottom: 30px;
    left: 20px;
  }

  .hero-arrows {
    right: 16px;
    bottom: 20px;
    gap: 6px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .entrance-pillar {
    position: absolute;
    z-index: 4;
    right: 12px;
    bottom: 82px;
    left: 12px;
    display: block;
    min-height: 0;
    padding: 19px 20px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(11, 20, 14, 0.74);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
  }

  .entrance-pillar::before,
  .entrance-pillar::after {
    display: none;
  }

  .pillar-mark {
    display: none;
  }

  .pillar-kicker {
    margin-bottom: 6px;
    font-size: 0.54rem;
  }

  .hero-content {
    min-height: 0;
  }

  .hero-copy .hero-eyebrow {
    margin-bottom: 5px;
    font-size: 0.55rem;
  }

  .hero-title {
    max-width: 15ch;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-meta {
    margin-top: 6px;
    font-size: 0.93rem;
  }

  .countdown-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 7px 12px;
    margin-top: 12px;
    padding-top: 11px;
  }

  .countdown-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
    font-size: 0.5rem;
  }

  .countdown-units {
    justify-content: flex-start;
    gap: 7px;
  }

  .countdown-box .num {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .countdown-box .unit {
    margin-top: 4px;
    font-size: 0.47rem;
  }

  .countdown-units .sep {
    font-size: 0.95rem;
  }

  .btn-calendar {
    justify-self: end;
    gap: 6px;
    margin-top: 0;
    font-size: 0.52rem;
    white-space: nowrap;
  }

  .pillar-foot {
    display: none;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .formal-invite-section {
    padding: 76px 16px 88px;
  }

  .invite-card-outer {
    border-radius: 180px 180px 14px 14px;
  }

  .invite-card-inner {
    min-height: 570px;
    padding: 78px 26px 48px;
    border-radius: 179px 179px 13px 13px;
  }

  .invite-card-inner::before { left: 14px; }
  .invite-card-inner::after { right: 14px; }

  .story-timeline {
    display: flex;
    width: 100%;
    gap: 14px;
    margin-top: 34px;
    padding: 8px 20px 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
  }

  .timeline-step,
  .timeline-step:nth-child(2),
  .timeline-step:nth-child(3n) {
    flex: 0 0 min(82vw, 360px);
    padding-top: 14px;
    scroll-snap-align: center;
  }

  .timeline-dot {
    top: 0;
    left: 20px;
  }

  .timeline-card {
    min-height: 280px;
    padding: 25px;
  }

  .moments-gallery {
    padding-top: 74px;
    padding-bottom: 78px;
  }

  .moments-controls {
    margin-bottom: 11px;
  }

  .moment-slide {
    flex-basis: min(72vw, 290px);
    height: min(112vw, 430px);
  }

  .moment-slide:nth-child(even) {
    margin-top: 25px;
  }

  .moment-slide:nth-child(3n) {
    margin-top: 47px;
  }

  .rsvp-container {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .concierge-lounge h2 {
    max-width: 14ch;
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .quick-schedule {
    margin-top: 27px;
  }

  .concierge-signoff {
    margin-top: 24px;
  }

  .rsvp-desk {
    padding: 26px 20px;
  }

  .search-input-group {
    grid-template-columns: 1fr;
  }

  .guestbook-wall,
  .event-details-grid {
    grid-template-columns: 1fr;
  }

  .wedding-day-timeline::before {
    left: 7px;
  }

  .wedding-day-stop {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 25px;
  }

  .wedding-day-stop::before {
    top: 19px;
    left: 3px;
  }

  .wedding-day-time {
    padding-top: 0;
    text-align: left;
  }

  .wedding-day-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wedding-day-photo {
    min-height: 145px;
  }

  .attire-tabs {
    gap: 6px;
  }

  .attire-tab {
    flex: 1 1 42%;
    padding-right: 8px;
    padding-left: 8px;
  }

  .story-modal-gallery {
    grid-template-columns: 1fr;
  }

  .lightbox-modal {
    padding-right: 54px;
    padding-left: 54px;
  }

  .lightbox-previous { left: 6px; }
  .lightbox-next { right: 6px; }

  .details-intro {
    padding-top: 122px;
  }
}

@media (max-width: 390px) {
  .entrance-pillar {
    right: 8px;
    left: 8px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .countdown-units {
    gap: 5px;
  }

  .countdown-box .num {
    font-size: 1.28rem;
  }

  .btn-calendar {
    font-size: 0.47rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .radio-pill-group {
    grid-template-columns: 1fr;
  }
}

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