:root {
  --sage-900: #24372f;
  --sage-800: #314a3f;
  --sage-700: #4f6b5a;
  --sage-500: #879b7d;
  --sage-100: #eef3eb;
  --sage-50: #f8faf6;
  --gold-700: #8c681f;
  --gold-500: #bd9140;
  --gold-200: #ead8af;
  --white: #ffffff;
  --cream: #fbf8f1;
  --ink: #1f2925;
  --muted: #58645d;
  --shadow: 0 24px 60px rgba(36, 55, 47, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--white);
  border: 2px solid var(--gold-500);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(251, 248, 241, 0.88);
  border-bottom: 1px solid rgba(189, 145, 64, 0.22);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--sage-900);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav__links a {
  color: var(--sage-900);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--gold-700);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(49, 74, 63, 0.25);
  border-radius: 999px;
  background: var(--white);
  color: var(--sage-900);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle-line {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.section__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section--cream {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(251, 248, 241, 0.88)),
    var(--cream);
}

.section--sage {
  background: var(--sage-800);
  color: var(--white);
}

.hero {
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding-top: 128px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 16%, rgba(234, 216, 175, 0.46), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(135, 155, 125, 0.22), transparent 30%),
    linear-gradient(180deg, var(--sage-50) 0%, var(--cream) 100%);
}

.hero::after,
.section--cream::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(520px, 86vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(189, 145, 64, 0.72), transparent);
}

.hero__content {
  width: min(850px, calc(100% - 32px));
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section--sage .eyebrow {
  color: var(--gold-200);
}

h1,
h2 {
  margin: 0;
  color: var(--sage-900);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.95;
}

.section--sage h2 {
  color: var(--white);
}

h1 {
  font-size: clamp(4.2rem, 12vw, 9rem);
}

h2 {
  font-size: clamp(2.45rem, 6vw, 4.75rem);
}

.hero__details {
  margin: 1.2rem auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--sage-800);
  font-weight: 700;
}

.hero__welcome {
  width: min(600px, 100%);
  margin: 1.5rem auto 2rem;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.photo-section {
  padding: 72px 0;
  background:
    linear-gradient(180deg, var(--cream), var(--sage-50));
}

.couple-photo {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  display: block;
}

.couple-photo img {
  width: 100%;
  max-height: 760px;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center 48%;
  border: 1px solid rgba(189, 145, 64, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  background: var(--sage-800);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(49, 74, 63, 0.22);
}

.button--light {
  background: var(--white);
  color: var(--sage-900);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.button--outline {
  border: 1px solid var(--gold-500);
  color: var(--sage-900);
  background: rgba(255, 255, 255, 0.58);
}

.section-heading p,
.section-heading h2 {
  max-width: 460px;
}

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

.section-heading--center p,
.section-heading--center h2 {
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  width: min(900px, 100%);
  margin: 3rem auto 0;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(189, 145, 64, 0.28);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.35rem);
  box-shadow: 0 16px 36px rgba(36, 55, 47, 0.08);
}

.faq-item h3 {
  margin: 0;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.12;
}

.faq-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.faq-item strong {
  color: var(--sage-900);
}

.faq-item a {
  color: var(--gold-700);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.timeline {
  position: relative;
  width: min(840px, 100%);
  margin: 4.25rem auto 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  bottom: 0.6rem;
  left: 8.2rem;
  width: 2px;
  background: linear-gradient(var(--gold-200), var(--sage-500), var(--gold-200));
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 2.6rem;
  padding: 0 0 2rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.78rem;
  left: calc(8.2rem - 7px);
  width: 14px;
  height: 14px;
  border: 3px solid var(--gold-500);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 6px var(--cream);
}

.timeline__time {
  color: var(--gold-700);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
}

.timeline__content {
  min-width: 0;
}

.timeline__title {
  margin: 0;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
}

.timeline__description {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.gift-panel {
  width: min(980px, calc(100% - 32px));
  text-align: center;
}

.gift-panel p:not(.eyebrow) {
  margin: 1.25rem auto 1.8rem;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.payment-card {
  min-width: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(234, 216, 175, 0.68);
  border-radius: 8px;
  padding: 1rem;
  color: var(--sage-900);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.payment-card img {
  width: min(100%, 210px);
  aspect-ratio: 1;
  display: block;
  margin: 0 auto 0.9rem;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
}

.payment-card:first-child img {
  aspect-ratio: 3 / 4;
}

.payment-card h3 {
  margin: 0;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.05;
}

.payment-card p {
  margin: 0.45rem 0 0 !important;
  color: var(--sage-800) !important;
  font-size: 0.95rem;
}

.payment-card a {
  color: var(--gold-700);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.payment-note {
  margin-top: 1.25rem !important;
  font-size: 0.94rem;
}

.venue-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.venue-copy p:not(.eyebrow) {
  color: var(--muted);
}

.venue-copy__address {
  margin: 1.3rem 0 0.65rem;
  color: var(--sage-900) !important;
  font-weight: 800;
}

.venue-image {
  margin: 0;
}

.venue-image img {
  width: 100%;
  min-height: 390px;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(189, 145, 64, 0.3);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.botanical {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}

.botanical::before,
.botanical::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(189, 145, 64, 0.44);
  border-radius: 50% 0 50% 0;
  transform: rotate(36deg);
}

.botanical--hero {
  right: 6vw;
  top: 19vh;
  width: 180px;
  height: 220px;
}

.botanical--hero::before {
  width: 86px;
  height: 130px;
}

.botanical--hero::after {
  right: 24px;
  top: 52px;
  width: 70px;
  height: 108px;
}

.botanical--gifts {
  left: 5vw;
  bottom: 34px;
  width: 180px;
  height: 170px;
  opacity: 0.34;
}

.botanical--gifts::before {
  width: 100px;
  height: 116px;
}

.botanical--gifts::after {
  left: 62px;
  top: 36px;
  width: 70px;
  height: 92px;
}

.footer {
  padding: 3rem 1rem;
  background: var(--sage-900);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.footer p {
  margin: 0.25rem 0;
}

.footer__names {
  color: var(--white);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-header {
    background: rgba(251, 248, 241, 0.95);
  }

  .nav {
    min-height: 64px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.55rem 1rem 1rem;
    background: rgba(251, 248, 241, 0.98);
    border-bottom: 1px solid rgba(189, 145, 64, 0.22);
  }

  .nav__links.is-open {
    display: grid;
  }

  .nav__links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(49, 74, 63, 0.09);
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: auto;
    padding: 116px 0 68px;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 5.6rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero__details {
    flex-direction: column;
    gap: 0.18rem;
  }

  .hero__details span[aria-hidden] {
    display: none;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    margin: 0 auto;
  }

  .hero__actions .button {
    min-height: 44px;
    max-width: none;
    padding: 0.7rem 0.45rem;
    font-size: 0.86rem;
  }

  .photo-section {
    padding: 40px 0;
  }

  .couple-photo img {
    max-height: 520px;
    aspect-ratio: 3 / 4;
    object-position: center 44%;
  }

  .venue-layout {
    grid-template-columns: 1fr;
  }

  .faq-list {
    margin-top: 1.7rem;
    gap: 0.75rem;
  }

  .faq-item {
    padding: 1rem;
  }

  .faq-item h3 {
    font-size: 1.45rem;
  }

  .timeline {
    margin-top: 2.55rem;
  }

  .timeline::before {
    top: 0.9rem;
    left: 0.55rem;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding-left: 2.1rem;
    padding-bottom: 1.55rem;
  }

  .timeline__item::before {
    left: 0;
    top: 0.42rem;
  }

  .timeline__time {
    text-align: left;
  }

  .timeline__title {
    font-size: 1.45rem;
  }

  .gift-panel {
    width: min(100% - 32px, 820px);
  }

  .payment-grid {
    grid-template-columns: 1fr;
    width: min(100%, 324px);
    margin-left: auto;
    margin-right: auto;
  }

  .payment-card img {
    width: min(100%, 210px);
  }

  .payment-card:first-child img {
    width: min(100%, 196px);
  }

  .button {
    width: 100%;
    max-width: 360px;
  }

  .venue-image img {
    min-height: 270px;
  }

  .botanical {
    opacity: 0.24;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
