:root {
  --bg: #f6f1ea;
  --bg-soft: #fbf8f3;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: #fffaf3;
  --surface-tint: rgba(238, 228, 214, 0.7);
  --text: #201914;
  --text-soft: #62554a;
  --line: rgba(55, 39, 26, 0.12);
  --line-strong: rgba(55, 39, 26, 0.2);
  --accent: #264038;
  --accent-soft: #4d665c;
  --shadow: 0 24px 80px rgba(44, 31, 20, 0.12);
  --shadow-soft: 0 18px 50px rgba(44, 31, 20, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --page-gutter: clamp(18px, 3.6vw, 52px);
  --content-inset: clamp(24px, 4vw, 56px);
  --container: min(1240px, calc(100vw - (2 * var(--page-gutter))));
  --content-edge: calc(((100vw - var(--container)) / 2) + var(--content-inset));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 245, 233, 0.95), transparent 40%),
    linear-gradient(180deg, #f7f1ea 0%, #f3ece3 42%, #efe7dd 100%);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.gate-body::before,
.content-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), transparent 48%),
    radial-gradient(circle at 20% 15%, rgba(207, 219, 212, 0.28), transparent 18%);
  z-index: -1;
}

.site-chrome,
.site-header,
.site-footer,
.gate-layout,
.section,
.page-hero,
.rsvp-main {
  width: var(--container);
  margin-inline: auto;
}

.site-chrome,
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  padding: 18px var(--content-edge);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: rgba(247, 241, 234, 0.74);
  backdrop-filter: blur(18px);
}

.home-page .site-header {
  background: rgba(247, 241, 234, 0.52);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1;
  color: var(--accent);
}

.brand-mark-home {
  opacity: 0;
  transition: opacity 260ms ease;
}

.brand-mark-home.is-visible {
  opacity: 1;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.gate-layout,
.hero,
.page-hero,
.rsvp-main {
  display: grid;
  gap: 36px;
}

.gate-layout {
  min-height: calc(100vh - 92px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  padding: 44px 0 60px;
}

.gate-layout-simple {
  width: min(100vw - 32px, 640px);
  min-height: 100vh;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 32px 0;
}

.gate-panel,
.rsvp-panel,
.cta-panel,
.stat-card,
.feature-card,
.timeline-card,
.travel-card,
.stay-card,
.stay-feature-card,
.secret-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.gate-panel,
.rsvp-panel {
  padding: 42px;
}

.gate-panel-simple {
  width: 100%;
  padding: 54px 38px 40px;
  border-radius: 36px;
  background: rgba(255, 251, 246, 0.72);
  box-shadow:
    24px 24px 60px rgba(187, 171, 153, 0.22),
    -18px -18px 40px rgba(255, 255, 255, 0.7),
    inset 1px 1px 0 rgba(255, 255, 255, 0.55);
}

.hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  padding: 48px var(--content-inset) 32px;
}

.hero-home {
  min-height: calc(100vh - 120px);
}

.hero-home-cinematic {
  position: relative;
  width: 100vw;
  min-height: calc(100svh - 74px);
  margin-inline: calc(50% - 50vw);
  padding: 0;
  display: block;
}

.hero-title,
.gate-title,
.page-hero h1,
.rsvp-panel h1,
.section-heading h2 {
  margin: 0;
  font-family: Baskerville, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.gate-title {
  font-size: clamp(3rem, 6vw, 5.4rem);
  margin-top: 14px;
}

.gate-title-simple {
  margin-top: 0;
  text-align: center;
  font-size: clamp(2.4rem, 8vw, 4rem);
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5rem);
}

.hero-title-cinematic {
  max-width: min(900px, calc(100vw - 96px));
  color: #fff8f1;
  font-size: clamp(3rem, 8vw, 7.4rem);
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.page-hero h1,
.rsvp-panel h1,
.section-heading h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
}

.hero-text,
.gate-copy,
.page-hero p,
.rsvp-panel p,
.stat-card p,
.feature-card p,
.timeline-card p,
.travel-card p,
.stay-card p,
.stay-feature-body p,
.cta-panel p,
.faq-item p,
.secret-preview p,
.secret-card p {
  color: var(--text-soft);
}

.hero-copy,
.page-hero-copy {
  display: grid;
  gap: 22px;
}

.hero-visual {
  width: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  width: 100%;
  margin: 0;
  padding: 0 var(--content-edge) clamp(44px, 8vh, 96px);
  pointer-events: none;
}

.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;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fffaf5;
}

.button-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.eyebrow,
.stay-tag,
.stat-label,
.timeline-day {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--accent-soft);
}

.meta-note,
.form-note,
.hero-caption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-frame,
.hero-frame-gate {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) + 8px);
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow);
}

.hero-frame {
  aspect-ratio: 4 / 5;
}

.hero-frame-cinematic {
  height: 100svh;
  min-height: 720px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.hero-frame-gate {
  aspect-ratio: 5 / 4;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-cinematic {
  object-position: center center;
}

.hero-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(253, 249, 242, 0.82);
  backdrop-filter: blur(10px);
}

.gate-form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.gate-signature {
  margin: 0 0 18px;
  text-align: center;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent-soft);
}

.field-label {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.field-row-stacked {
  grid-template-columns: 1fr;
  gap: 16px;
}

.gate-input {
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
}

.gate-input-luxe {
  min-height: 72px;
  padding: 0 28px;
  text-align: center;
  letter-spacing: 0.08em;
  background: #f4eee7;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 8px 8px 18px rgba(214, 198, 181, 0.65),
    inset -8px -8px 18px rgba(255, 255, 255, 0.92);
}

.gate-input-luxe::placeholder {
  color: rgba(98, 85, 74, 0.72);
  letter-spacing: 0.08em;
}

.button-luxe {
  min-height: 62px;
  background: linear-gradient(180deg, #314b42 0%, #243d35 100%);
  box-shadow:
    0 14px 30px rgba(38, 64, 56, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.section,
.page-hero,
.rsvp-main {
  padding: 34px var(--content-inset);
}

.content-body main > .hero,
.content-body main > .section,
.content-body main > .page-hero {
  padding-inline: var(--content-inset);
}

.content-body main > .hero-home-cinematic {
  padding-inline: 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin-bottom: 40px;
}

.section-intro {
  padding-top: 12px;
}

.stat-grid,
.feature-grid,
.travel-grid,
.stay-preview-grid,
.secret-grid {
  display: grid;
  gap: 18px;
}

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

.stat-card,
.feature-card,
.travel-card {
  padding: 28px;
}

.feature-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.feature-card-large {
  min-height: 100%;
}

.detail-list {
  margin: 24px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.detail-list li + li {
  margin-top: 8px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline-card {
  padding: 30px;
}

.timeline-card h3,
.travel-card h3,
.feature-card h3,
.stat-value,
.stay-card h3,
.stay-feature-body h2,
.secret-card h3 {
  margin: 14px 0 16px;
  font-family: Baskerville, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400;
}

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

.stay-card {
  overflow: hidden;
}

.stay-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stay-card-body {
  padding: 22px;
}

.stay-card-body > p:not(.stay-tag) {
  min-height: 2.4em;
}

.button-card {
  margin-top: 18px;
  background: linear-gradient(180deg, #f2ece2 0%, #e8dfd2 100%);
  border-color: rgba(108, 92, 77, 0.18);
  color: var(--text);
  box-shadow:
    0 10px 24px rgba(82, 63, 44, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.section-actions {
  margin-top: 24px;
}

.section-travel {
  position: relative;
}

.section-location {
  padding-top: 72px;
}

@media (min-width: 761px) {
  .section,
  .page-hero,
  .rsvp-main {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .section-location {
    padding-top: 92px;
  }

  .page-hero-stay {
    padding-top: 84px;
    padding-bottom: 20px;
  }
}

.location-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.78fr);
  gap: 20px;
  align-items: stretch;
  padding: 0 0 76px;
}

.location-photo-frame,
.location-map-frame {
  min-height: 560px;
}

.location-photo-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 12px);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.location-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.location-map-shell {
  position: relative;
  min-height: 560px;
}

.location-map-frame {
  position: relative;
  z-index: 0;
  height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 12px);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.location-map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #e8e3da;
}

.location-map-frame.is-locked .location-map {
  cursor: default;
}

.location-map-frame.is-unlocked .location-map {
  cursor: grab;
}

.location-map-frame.is-unlocked .location-map:active {
  cursor: grabbing;
}

.location-map-frame .location-map-toggle {
  position: absolute;
  z-index: 1000;
  left: calc(44px + ((100% - 88px - min(360px, calc(100% - 88px))) * 0.24));
  bottom: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(71, 58, 46, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(44, 31, 20, 0.12);
  color: var(--text);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.location-map-toggle:hover,
.location-map-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(71, 58, 46, 0.22);
  box-shadow: 0 20px 40px rgba(44, 31, 20, 0.14);
}

.location-map-toggle[aria-pressed="true"] {
  background: rgba(247, 239, 228, 0.98);
  border-color: rgba(71, 58, 46, 0.2);
}

.location-cards {
  position: absolute;
  z-index: 3;
  right: 44px;
  top: 44px;
  display: grid;
  gap: 16px;
  width: min(360px, calc(100% - 88px));
}

.location-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.location-card h3 {
  margin: 10px 0 8px;
  font-family: Baskerville, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.4rem;
}

.location-card p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

.location-weather-card {
  position: absolute;
  z-index: 3;
  top: 44px;
  left: 92px;
  width: auto;
  min-width: 0;
  display: grid;
  gap: 11px;
  padding: 12px 24px 10px;
  background: rgba(255, 250, 244, 0.9);
}

.location-weather-inline {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--text);
  font-family: Baskerville, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.05rem;
}

.weather-icon {
  width: 15px;
  height: 15px;
  stroke: #9b5a22;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  fill: none;
  opacity: 0.9;
}

.weather-icon-cloud {
  width: 18px;
  height: 15px;
  stroke: #6f7d86;
}

.location-weather-separator {
  color: var(--text-soft);
  font-size: 0.92rem;
}

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

.travel-grid-rich .travel-card {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  position: relative;
  overflow: hidden;
  min-height: 252px;
  padding: 0;
  background: rgba(255, 252, 247, 0.96);
}

.travel-card-map-surface {
  position: relative;
  width: 100%;
  min-height: 252px;
  z-index: 0;
  overflow: hidden;
  filter: grayscale(0.08) contrast(1.02) saturate(0.88);
}

.travel-card-map-surface::after {
  display: none;
}

.travel-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 252px;
  width: auto;
  margin-left: 0;
  padding: 26px 24px;
  background: rgba(255, 252, 247, 1);
  border-left: 1px solid rgba(96, 78, 59, 0.08);
}

.travel-card-content h3 {
  margin-top: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.7);
  -webkit-tap-highlight-color: transparent;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-size: 1.05rem;
  -webkit-tap-highlight-color: transparent;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item[open] > summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item[open] .faq-body {
  grid-template-rows: 1fr;
}

.faq-item[open] {
  padding-bottom: 20px;
}

.faq-item .faq-body > div {
  overflow: hidden;
  padding-bottom: 4px;
}

.faq-item .faq-body > div > :last-child {
  margin-bottom: 0;
}

.faq-item p {
  margin: 0 0 22px;
}

.gift-note {
  margin-top: 10px;
  margin-bottom: 0;
}

.gift-note[open] {
  margin-bottom: 0;
}

.gift-note summary {
  display: block;
  cursor: pointer;
  list-style: none;
  color: var(--accent);
  font-size: 0.95rem;
  -webkit-tap-highlight-color: transparent;
}

.gift-note > :last-child {
  margin-bottom: 0;
}

.gift-note .gift-note-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.gift-note[open] .gift-note-body {
  grid-template-rows: 1fr;
}

.gift-note .gift-note-body > div {
  overflow: hidden;
}

.gift-card {
  margin-top: 10px;
  padding: 14px 18px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.88);
}

.gift-card p {
  margin: 0;
}

.gift-card p + p {
  margin-top: 8px;
}

@media (min-width: 761px) {
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.secret-section {
  padding-bottom: 40px;
}

.secret-shell {
  padding: 28px;
}

.secret-preview {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.secret-panel {
  padding-top: 24px;
}

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

.secret-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
}

.cta-panel {
  padding: 32px;
}

.cta-panel-strong {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.button-giant {
  min-height: 72px;
  padding: 0 34px;
  font-size: 1.02rem;
  background: linear-gradient(135deg, #2a9d6a 0%, #3cc47a 56%, #6edd8a 100%);
  box-shadow: 0 18px 42px rgba(42, 157, 106, 0.28);
}

.cta-subtext {
  margin: 0;
  color: var(--text-soft);
}

.section-rsvp .cta-panel {
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.section-rsvp .cta-panel-strong {
  gap: 20px;
  align-items: start;
  justify-items: start;
}

.section-rsvp .cta-subtext {
  max-width: 34ch;
}

.button-rsvp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 210px;
  min-height: 76px;
  padding: 0 34px;
  border-color: rgba(137, 58, 16, 0.2);
  color: #fff7ef;
  font-weight: 600;
  letter-spacing: 0.01em;
  background:
    linear-gradient(135deg, #a53e12 0%, #d86420 28%, #f08a2a 60%, #f6b45e 100%);
  box-shadow:
    0 18px 38px rgba(182, 87, 28, 0.26),
    0 6px 16px rgba(117, 46, 11, 0.16),
    inset 0 1px 0 rgba(255, 248, 239, 0.36);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease,
    border-color 220ms ease;
}

.button-rsvp::before,
.button-rsvp::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.button-rsvp::before {
  inset: 1px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 248, 238, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(255, 243, 226, 0.24), rgba(255, 243, 226, 0.04) 48%, rgba(255, 243, 226, 0) 100%);
  opacity: 0.92;
}

.button-rsvp::after {
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 245, 228, 0.36), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.button-rsvp span {
  position: relative;
  z-index: 1;
}

.button-rsvp:hover,
.button-rsvp:focus-visible {
  transform: translateY(-2px) scale(1.01);
  filter: saturate(1.04) brightness(1.03);
  border-color: rgba(137, 58, 16, 0.32);
  box-shadow:
    0 24px 52px rgba(191, 88, 25, 0.32),
    0 10px 22px rgba(117, 46, 11, 0.18),
    inset 0 1px 0 rgba(255, 248, 239, 0.44);
}

.button-rsvp:hover::before,
.button-rsvp:focus-visible::before {
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 248, 238, 0.3), transparent 36%),
    linear-gradient(180deg, rgba(255, 243, 226, 0.28), rgba(255, 243, 226, 0.08) 50%, rgba(255, 243, 226, 0) 100%);
}

.button-rsvp:hover::after,
.button-rsvp:focus-visible::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .button-rsvp {
    transition: none;
  }

  .button-rsvp::after {
    transition: none;
  }
}

.page-hero {
  min-height: 36vh;
  align-items: end;
}

.page-hero-stay {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 18px;
  padding-top: 72px;
  padding-bottom: 8px;
}

.stays-layout {
  display: grid;
  gap: 20px;
}

.stay-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
}

.stay-feature-card-text {
  grid-template-columns: 1fr;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(235, 227, 217, 0.86)),
    var(--surface);
}

.stay-feature-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.stay-feature-body {
  padding: 42px 34px;
  position: relative;
  z-index: 1;
  background: var(--surface-strong);
}

.rsvp-main {
  min-height: calc(100vh - 220px);
  align-items: center;
}

.site-footer {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px var(--content-edge) 40px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.leaflet-control-zoom {
  border: 0;
  box-shadow: 0 14px 28px rgba(31, 23, 16, 0.14);
}

.leaflet-control-zoom a {
  width: 42px;
  height: 42px;
  line-height: 40px;
  font-size: 1.4rem;
  color: var(--text);
}

.location-map .leaflet-top.leaflet-left {
  top: 22px;
  left: 22px;
}

.travel-card-map-surface .leaflet-control-container,
.travel-card-map-surface .leaflet-bottom {
  display: none;
}

@media (max-width: 1040px) {
  .hero,
  .gate-layout,
  .page-hero-stay,
  .stay-feature-card,
  .feature-grid,
  .timeline,
  .stat-grid,
  .travel-grid,
  .stay-preview-grid,
  .secret-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame,
  .hero-frame-gate {
    aspect-ratio: 16 / 11;
  }

  .location-shell {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .location-map-shell {
    min-height: 0;
  }

  .location-photo-frame,
  .location-map-frame {
    min-height: 420px;
  }

  .location-map-frame {
    height: 420px;
  }

  .location-cards {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  .location-map-frame .location-map-toggle {
    position: absolute;
    left: 50%;
    bottom: 14px;
    margin-top: 0;
    margin-right: 0;
    transform: translateX(-50%);
  }

  .location-weather-card {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  .secret-preview {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 14px;
    --content-inset: 24px;
    --container: calc(100vw - (2 * var(--page-gutter)));
    --radius-xl: 24px;
  }

  .hero,
  .section,
  .page-hero,
  .rsvp-main {
    padding-inline: 24px;
  }

  .content-body main > .hero,
  .content-body main > .section,
  .content-body main > .page-hero,
  .content-body main > .rsvp-main {
    padding-inline: 0;
  }

  .content-body main > .hero-home-cinematic {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding-inline: 0;
  }

  .content-body main > .hero > *,
  .content-body main > .section > *,
  .content-body main > .page-hero > *,
  .content-body main > .rsvp-main > * {
    width: calc(100% - (2 * var(--content-inset)));
    margin-inline: auto;
  }

  .content-body main > .hero-home-cinematic > * {
    width: 100%;
    margin-inline: 0;
  }

  .site-header,
  .site-chrome {
    padding-top: 0;
  }

  .site-header {
    border-radius: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    row-gap: 0;
    column-gap: 8px;
    min-height: 60px;
    padding: 12px var(--content-edge);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.72rem;
    line-height: 1;
    min-height: 20px;
    transform: translateY(2px);
  }

  .site-header .brand-mark {
    align-self: center;
    transform: translateY(4px);
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    padding-top: 0;
    transition: max-height 280ms ease, opacity 220ms ease, transform 280ms ease, padding-top 280ms ease;
    pointer-events: none;
  }

  .site-nav.is-open {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 10px;
    pointer-events: auto;
  }

  #location .section-heading h2 {
    max-width: 12ch;
    text-wrap: balance;
  }

  .gate-panel,
  .rsvp-panel,
  .stat-card,
  .feature-card,
  .timeline-card,
  .travel-card,
  .cta-panel,
  .stay-feature-body,
  .secret-shell {
    padding: 24px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero-home-cinematic {
    min-height: calc(100svh - 66px);
  }

  .hero-frame-cinematic {
    height: 100svh;
    min-height: 540px;
  }

  .hero-overlay {
    width: 100%;
    padding: 0 var(--content-edge) 92px;
  }

  .hero-title-cinematic {
    max-width: 280px;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

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

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    color: var(--text);
  }

  .stay-feature-card {
    display: block;
  }

  .stay-card-body > p:not(.stay-tag) {
    min-height: 0;
  }

  .button-card {
    margin-top: 8px;
  }

  .travel-grid-rich .travel-card {
    min-height: 0;
    align-items: stretch;
  }

  .travel-card-map-surface {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 100%;
    align-self: stretch;
  }

  .travel-card-map-surface::after {
    background: linear-gradient(
      180deg,
      rgba(255, 252, 247, 0.08) 0%,
      rgba(255, 252, 247, 0.28) 60%,
      rgba(255, 252, 247, 0.94) 100%
    );
  }

  .travel-card-content {
    width: 100%;
    min-height: 0;
    margin-left: 0;
    padding: 22px 24px 24px;
    background: rgba(255, 252, 247, 0.96);
  }

  .stay-feature-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .stay-feature-body {
    margin-top: 0;
  }

  .location-map {
    height: 420px;
  }
}
