@font-face {
  font-family: "La Luxes Script";
  src:
    url("assets/fonts/La Luxes Script.otf") format("opentype"),
    url("assets/fonts/La Luxes Script.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "La Luxes Serif";
  src:
    url("assets/fonts/La Luxes Serif.otf") format("opentype"),
    url("assets/fonts/La Luxes Serif.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-body: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, sans-serif;
  --font-display: "La Luxes Serif", Georgia, serif;
  --font-script: "La Luxes Script", "Brush Script MT", cursive;
  --light-mauve: #cbbac8;
  --mauve: #8a6d7d;
  --dark-mauve: #533c4a;
  --light-teal: #b4d1d1;
  --grayish-teal: #677c85;
  --dark-blue: #192738;
  --soft-gray: #d9d9d9;
  --paper: #f6f3f4;
  --ink: #1f2430;
  --white: #ffffff;
  --silver: linear-gradient(
    120deg,
    #fbfbfb 0%,
    #d9d9d9 25%,
    #9da5aa 45%,
    #f3f3f3 62%,
    #adb4b8 100%
  );
  --shadow-soft: 0 24px 60px rgba(25, 39, 56, 0.14);
  --shadow-card: 0 18px 35px rgba(25, 39, 56, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 48px));
  --header-height: 86px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(103, 124, 133, 0.28), transparent 34%),
    radial-gradient(circle at top right, rgba(180, 209, 209, 0.52), transparent 30%),
    linear-gradient(180deg, #fbfcfc 0%, #f3f7f8 30%, #edf3f5 100%);
  color: var(--ink);
  min-height: 100vh;
}

.password-page {
  display: grid;
  min-height: 100vh;
  overflow-x: hidden;
}

.password-gate {
  display: grid;
  width: 100%;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.password-card {
  width: min(460px, 100%);
  padding: 32px;
  border: 1px solid rgba(25, 39, 56, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.password-logo {
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(25, 39, 56, 0.14));
}

.password-card h1 {
  margin-bottom: 14px;
  font-family: var(--font-script);
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.password-card p {
  color: rgba(31, 36, 48, 0.72);
  line-height: 1.7;
  text-align: center;
}

.password-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.password-field {
  display: grid;
  gap: 8px;
}

.password-field span {
  color: var(--dark-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.password-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(25, 39, 56, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: none;
}

.password-field input:focus {
  border-color: var(--grayish-teal);
  box-shadow: 0 0 0 4px rgba(180, 209, 209, 0.4);
}

.password-button {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--dark-blue);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.password-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.password-status {
  min-height: 24px;
  color: var(--dark-mauve);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.password-help {
  margin-top: 18px;
  font-size: 0.85rem;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(18px);
}

body::before {
  width: 280px;
  height: 280px;
  right: -72px;
  top: 24vh;
  background: rgba(25, 39, 56, 0.1);
}

body::after {
  width: 240px;
  height: 240px;
  left: -64px;
  bottom: 10vh;
  background: rgba(103, 124, 133, 0.12);
}

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

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--grayish-teal);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-date {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border-left: 3px solid var(--dark-blue);
  background: rgba(180, 209, 209, 0.22);
  color: var(--dark-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading p:last-child,
.story-copy p,
.weekend-card p,
.timeline-item p,
.travel-copy p,
.travel-note p,
.rsvp-copy p,
.form-footnote {
  color: rgba(31, 36, 48, 0.78);
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
}

h1 {
  font-size: clamp(4rem, 8vw, 7.4rem);
}

h2 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  margin-bottom: 14px;
}

p {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 400;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--dark-blue), #2f465e);
  box-shadow: 0 16px 30px rgba(25, 39, 56, 0.28);
}

.button-secondary {
  border: 1px solid rgba(25, 39, 56, 0.15);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(250, 248, 249, 0.88), rgba(250, 248, 249, 0.58));
  border-bottom: 1px solid rgba(25, 39, 56, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(25, 39, 56, 0.12));
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 1rem;
  color: var(--dark-blue);
  font-family: var(--font-script);
  font-weight: 400;
}

.brand-copy small {
  color: rgba(31, 36, 48, 0.62);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.67rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 400;
}

.site-nav a {
  position: relative;
  color: rgba(31, 36, 48, 0.7);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--light-teal), var(--dark-blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--dark-blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(25, 39, 56, 0.12);
  box-shadow: 0 10px 22px rgba(25, 39, 56, 0.08);
}

.nav-cta::after {
  display: none;
}

.nav-cta-ceremony {
  background: rgba(180, 209, 209, 0.44);
  color: var(--dark-blue);
}

.nav-cta-wine {
  background: rgba(138, 109, 125, 0.26);
  border-color: rgba(83, 60, 74, 0.18);
  color: var(--dark-mauve);
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible,
.site-nav a.nav-cta.is-active {
  transform: translateY(-1px);
}

.site-nav a.nav-cta-ceremony:hover,
.site-nav a.nav-cta-ceremony:focus-visible,
.site-nav a.nav-cta-ceremony.is-active {
  color: var(--dark-blue);
}

.site-nav a.nav-cta-wine:hover,
.site-nav a.nav-cta-wine:focus-visible,
.site-nav a.nav-cta-wine.is-active {
  color: var(--dark-mauve);
}

.nav-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.64);
  width: 50px;
  height: 50px;
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-blue);
  margin: 6px auto;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  width: 100%;
}

.hero-stage {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  width: 100%;
  overflow: hidden;
  background: var(--white);
}

.hero-background-frame,
.hero-background-frame img {
  width: 100%;
  height: 100%;
}

.hero-background-frame {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-background-frame img {
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100svh - var(--header-height));
  width: 100%;
  padding: clamp(24px, 5vw, 72px);
}

.hero-content .eyebrow {
  color: rgba(255, 255, 255, 0.88);
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.72),
    0 10px 28px rgba(0, 0, 0, 0.42);
}

.hero-content h1 {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--white);
  text-shadow:
    0 4px 10px rgba(0, 0, 0, 0.78),
    0 14px 36px rgba(0, 0, 0, 0.5);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content .button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-lead {
  display: inline-block;
  max-width: 620px;
  margin-top: 24px;
  padding: 18px 20px;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: rgba(25, 39, 56, 0.94);
  background: rgba(180, 209, 209, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 16px 32px rgba(25, 39, 56, 0.18);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 10px rgba(25, 39, 56, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.story-card,
.weekend-card,
.timeline-item,
.gallery-card,
.travel-frame,
.travel-note,
.rsvp-form,
.rsvp-copy,
.faq-list details {
  border: 1px solid rgba(25, 39, 56, 0.08);
  box-shadow: var(--shadow-card);
}

.travel-frame,
.gallery-card {
  overflow: hidden;
}

.story-grid,
.travel-grid,
.schedule-grid,
.faq-grid,
.rsvp-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

.story-copy,
.rsvp-copy {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(20px);
}

.story-copy {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.story-rail {
  display: grid;
  gap: 20px;
}

.story-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
}

.story-card-wide {
  padding: 0;
}

.story-card-wide img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(180, 209, 209, 0.28);
  color: var(--grayish-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.weekend-section,
.travel-section {
  background:
    linear-gradient(180deg, rgba(180, 209, 209, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
}

.rehearsal-section {
  padding: 58px 0;
  border-top: 1px solid rgba(25, 39, 56, 0.08);
  border-bottom: 1px solid rgba(25, 39, 56, 0.08);
  background: rgba(255, 255, 255, 0.38);
}

.rehearsal-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.rehearsal-copy {
  max-width: 560px;
}

.rehearsal-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.rehearsal-copy p:last-child {
  color: rgba(31, 36, 48, 0.72);
  line-height: 1.72;
}

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

.rehearsal-details article {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(25, 39, 56, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.rehearsal-details span {
  display: block;
  margin-bottom: 12px;
  color: var(--grayish-teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rehearsal-details strong {
  display: block;
  color: var(--dark-blue);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 400;
  line-height: 1.14;
}

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

.ceremony-photo-frame {
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
  padding: 16px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(25, 39, 56, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.ceremony-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
}

.section-contact {
  margin-bottom: 24px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(25, 39, 56, 0.1);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.section-contact h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.section-contact p {
  margin-top: 10px;
  color: rgba(31, 36, 48, 0.8);
  line-height: 1.7;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  line-height: 1.5;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.88;
}

.contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.section-contact a {
  color: inherit;
  text-decoration: none;
}

.section-contact a:hover,
.section-contact a:focus-visible {
  text-decoration: underline;
}

.contact-label {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-contact-ceremony {
  background: rgba(180, 209, 209, 0.42);
  border-color: rgba(25, 39, 56, 0.14);
  box-shadow: 0 18px 35px rgba(25, 39, 56, 0.08);
  color: var(--dark-blue);
}

.section-contact-ceremony h3,
.section-contact-ceremony p,
.section-contact-ceremony a,
.section-contact-ceremony .contact-label {
  color: inherit;
}

.section-contact-wine {
  margin-top: 28px;
  background: rgba(138, 109, 125, 0.34);
  border: 1px solid rgba(83, 60, 74, 0.2);
  box-shadow: 0 18px 35px rgba(83, 60, 74, 0.12);
  color: var(--dark-mauve);
}

.section-contact-wine .contact-label {
  color: var(--mauve);
}

.weekend-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.weekend-card h3 {
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.weekend-card.featured {
  background:
    linear-gradient(180deg, rgba(25, 39, 56, 0.96), rgba(47, 70, 94, 0.9)),
    var(--white);
  color: rgba(255, 255, 255, 0.92);
}

.weekend-card.featured h3,
.weekend-card.featured p,
.weekend-card.featured .day-pill {
  color: inherit;
}

.day-pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(180, 209, 209, 0.34);
  color: var(--dark-blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.schedule-grid {
  gap: 56px;
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--dark-blue), rgba(180, 209, 209, 0.72));
}

.timeline-item {
  position: relative;
  margin-left: 34px;
  padding: 24px 24px 24px 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
}

.timeline-item h3 {
  font-size: clamp(1.14rem, 1.6vw, 1.38rem);
  letter-spacing: 0.04em;
  line-height: 1.22;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: -18px;
  top: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-teal), var(--dark-blue));
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.96);
}

.timeline-time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--grayish-teal);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.gallery-card {
  grid-column: span 4;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
}

.gallery-card img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.gallery-card-large {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-card-wide {
  grid-column: span 7;
}

.travel-copy {
  padding-right: 12px;
}

.wine-itinerary-grid {
  margin-top: 54px;
}

.wine-itinerary-grid .timeline {
  max-width: 920px;
}

#wine-train {
  background:
    radial-gradient(circle at top left, rgba(203, 186, 200, 0.32), transparent 32%),
    linear-gradient(180deg, rgba(138, 109, 125, 0.14), rgba(255, 255, 255, 0.1) 42%, rgba(255, 255, 255, 0) 100%);
}

#wine-train .eyebrow {
  color: var(--mauve);
}

#wine-train .section-date {
  border-left-color: var(--dark-mauve);
  background: rgba(203, 186, 200, 0.32);
  color: var(--dark-mauve);
}

#wine-train h2,
#wine-train h3 {
  color: var(--dark-mauve);
}

#wine-train .section-heading p:last-child,
#wine-train .travel-copy p,
#wine-train .travel-note p,
#wine-train .timeline-item p {
  color: rgba(83, 60, 74, 0.82);
}

.travel-notes {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.travel-note {
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

#wine-train .travel-note {
  background: rgba(203, 186, 200, 0.28);
  border-color: rgba(83, 60, 74, 0.14);
  box-shadow: 0 18px 35px rgba(83, 60, 74, 0.14);
}

.travel-frame {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
}

.travel-frame-stack {
  display: grid;
  gap: 16px;
  padding: 16px;
}

#wine-train .travel-frame,
#wine-train .gallery-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(83, 60, 74, 0.14);
  box-shadow: 0 18px 35px rgba(83, 60, 74, 0.14);
}

#wine-train .timeline::before {
  background: linear-gradient(180deg, var(--dark-mauve), rgba(203, 186, 200, 0.78));
}

#wine-train .timeline-item {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(83, 60, 74, 0.14);
  box-shadow: 0 18px 35px rgba(83, 60, 74, 0.14);
}

#wine-train .timeline-item::before {
  background: linear-gradient(135deg, var(--light-mauve), var(--dark-mauve));
}

#wine-train .timeline-time {
  color: rgba(138, 109, 125, 0.9);
}

.travel-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.travel-frame-stack img {
  border-radius: 24px;
  aspect-ratio: 4 / 3;
}

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

.faq-list details {
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 400;
  color: var(--dark-blue);
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--grayish-teal);
  font-size: 1.25rem;
  line-height: 1;
}

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

.faq-list details p {
  margin-top: 14px;
  line-height: 1.72;
  color: rgba(31, 36, 48, 0.76);
}

.rsvp-shell {
  padding: 36px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(25, 39, 56, 0.14), rgba(180, 209, 209, 0.24)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(25, 39, 56, 0.08);
  box-shadow: var(--shadow-soft);
}

.rsvp-info {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.rsvp-info div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(25, 39, 56, 0.1);
}

.info-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grayish-teal);
  font-weight: 400;
}

.rsvp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.rsvp-form label {
  display: grid;
  gap: 10px;
  color: var(--dark-blue);
  font-size: 0.92rem;
  font-weight: 700;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid rgba(25, 39, 56, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fcfbfc;
  color: var(--ink);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: rgba(138, 109, 125, 0.5);
  box-shadow: 0 0 0 4px rgba(138, 109, 125, 0.12);
  background: var(--white);
}

.full-width {
  grid-column: 1 / -1;
}

.form-footnote {
  font-size: 0.88rem;
}

.site-footer {
  padding: 26px 0 48px;
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.footer-contacts .section-contact {
  margin: 0;
}

.footer-contacts .section-contact-wine {
  margin-top: 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(25, 39, 56, 0.1);
  color: rgba(31, 36, 48, 0.64);
  font-size: 0.88rem;
}

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

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

@media (max-width: 1100px) {
  .story-grid,
  .travel-grid,
  .schedule-grid,
  .rehearsal-panel,
  .faq-grid,
  .rsvp-shell {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .hero-content {
    min-height: calc(100svh - var(--header-height));
  }

  .story-copy {
    position: static;
  }

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

  .gallery-card,
  .gallery-card-large,
  .gallery-card-wide {
    grid-column: span 6;
  }

  .travel-copy {
    padding-right: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 32px, 1000px);
  }

  .section {
    padding: 84px 0;
  }

  .site-header {
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(250, 248, 249, 0.96);
    border: 1px solid rgba(25, 39, 56, 0.08);
    box-shadow: 0 24px 40px rgba(25, 39, 56, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-content {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    padding: 48px 28px 28px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-lead,
  .hero-actions {
    display: none;
  }

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

  .timeline::before {
    left: 16px;
  }

  .timeline-item {
    margin-left: 24px;
  }

  .timeline-item::before {
    left: -26px;
  }

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

  .gallery-card,
  .gallery-card-large,
  .gallery-card-wide {
    grid-column: span 1;
  }

  .gallery-card img {
    min-height: 260px;
  }

  .rsvp-shell {
    padding: 24px;
  }

  .rsvp-form {
    grid-template-columns: 1fr;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(3.4rem, 18vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .hero-stage,
  .hero-content {
    min-height: 680px;
  }

  .hero-background-frame img {
    object-position: center center;
  }

  .story-copy,
  .rsvp-copy {
    padding: 28px;
  }

  .story-card,
  .weekend-card,
  .timeline-item,
  .rehearsal-details article,
  .travel-note {
    padding: 22px;
  }

  .rehearsal-details {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
