:root {
  --ink: #211711;
  --muted: #6f6257;
  --paper: #fbf7ef;
  --champagne: #efe0c4;
  --wine: #5c1124;
  --wine-dark: #2e0714;
  --olive: #606349;
  --gold: #b99358;
  --line: rgba(92, 17, 36, 0.2);
  --shadow: 0 24px 70px rgba(46, 7, 20, 0.2);
  --content-width: 1120px;
  --section-title-size: clamp(3rem, 5.4vw, 5.4rem);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Satoshi-Variable", "Satoshi-Regular", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(251, 247, 239, 0.94), rgba(251, 247, 239, 0.98)),
    radial-gradient(circle at 10% 8%, rgba(185, 147, 88, 0.22), transparent 36%),
    radial-gradient(circle at 92% 18%, rgba(92, 17, 36, 0.16), transparent 34%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fffaf0;
  background: linear-gradient(180deg, rgba(33, 23, 17, 0.68), rgba(33, 23, 17, 0));
  pointer-events: none;
}

.site-nav a {
  pointer-events: auto;
  text-decoration: none;
}

.monogram {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero {
  min-height: 96svh;
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: #fffaf0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 10, 14, 0.86), rgba(28, 10, 14, 0.28) 50%, rgba(28, 10, 14, 0.12)),
    linear-gradient(0deg, rgba(28, 10, 14, 0.7), rgba(28, 10, 14, 0.04) 56%);
  z-index: -1;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-position: center top;
}

.hero-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--champagne);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(4.4rem, 8.3vw, 7.6rem);
  letter-spacing: 0;
}

.hero-copy {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 32px;
  margin-top: 30px;
}

.hero-copy p {
  margin: 0;
  max-width: 650px;
  color: rgba(255, 250, 240, 0.88);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 2.15rem);
  line-height: 1.18;
}

.hero-copy p span {
  display: block;
}

.date-lockup {
  justify-self: end;
  min-width: 220px;
  padding: 20px;
  border: 1px solid rgba(239, 224, 196, 0.5);
  background: rgba(33, 23, 17, 0.2);
  backdrop-filter: blur(8px);
}

.date-lockup span {
  display: block;
}

.date-lockup .date {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
}

.date-lockup .place {
  margin-top: 8px;
  color: var(--champagne);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

main {
  overflow: hidden;
}

section {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  width: min(var(--content-width), 100%);
  margin: 0 auto;
}

.intro h2,
.section-title {
  margin: 0;
  color: var(--wine-dark);
  font-size: var(--section-title-size);
}

.intro-text {
  max-width: 590px;
}

.intro-text p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.intro-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.program {
  background: var(--wine-dark);
  color: #fffaf0;
}

.program-grid {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 6vw, 82px);
}

.program .section-title {
  color: #fffaf0;
}

.program-note {
  max-width: 420px;
  margin-top: 24px;
  color: rgba(255, 250, 240, 0.75);
  font-size: 1.12rem;
}

.program-actions {
  margin-top: 32px;
}

.timeline .program-actions {
  padding-top: 8px;
}

.timeline .program-note {
  max-width: 620px;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(239, 224, 196, 0.28);
}

.time-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(239, 224, 196, 0.28);
}

.time-row time {
  color: var(--champagne);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.time-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.1;
}

.time-row span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 250, 240, 0.72);
}

.details {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 6vw, 82px);
}

.details-head {
  display: block;
}

.details-head > p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.details-head .eyebrow,
.requests .eyebrow,
.logistics .eyebrow {
  color: var(--wine-dark);
  font-size: 0.75rem;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  min-height: auto;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.52);
}

.card.dark {
  color: #fffaf0;
  background: var(--wine);
  border-color: rgba(92, 17, 36, 0);
}

.card h3 {
  margin: 0 0 18px;
  color: var(--wine-dark);
  font-size: 2.15rem;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.card-title h3 {
  margin: 0;
}

.card-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  opacity: 0.58;
  filter: invert(10%) sepia(35%) saturate(2191%) hue-rotate(320deg) brightness(73%) contrast(103%);
}

.card.dark .card-icon {
  opacity: 0.7;
  filter: invert(94%) sepia(18%) saturate(502%) hue-rotate(335deg) brightness(103%) contrast(88%);
}

.card.dark h3 {
  color: #fffaf0;
}

.card p,
.card li {
  color: var(--muted);
}

.card.dark p,
.card.dark li {
  color: rgba(255, 250, 240, 0.8);
}

.card p {
  margin: 0 0 14px;
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.card li + li {
  margin-top: 10px;
}

.requests {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 6vw, 82px);
  padding-top: 0;
}

.request-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.request-list li + li {
  margin-top: 12px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--champagne);
  color: var(--wine-dark);
  background: var(--champagne);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  color: #fffaf0;
  background: transparent;
}

.logistics {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  justify-content: center;
  gap: clamp(30px, 6vw, 86px);
  background: #f1eadf;
  box-shadow: 0 0 0 100vmax #f1eadf;
  clip-path: inset(0 -100vmax);
}

#logistics-title {
  font-size: var(--section-title-size);
}

.logistics-list {
  display: grid;
  gap: 18px;
}

.info-block {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.info-block h3 {
  margin: 0 0 10px;
  color: var(--wine-dark);
  font-size: 1.8rem;
}

.info-block p {
  margin: 0;
  color: var(--muted);
}

.gift-icon {
  width: 30px;
  height: 30px;
  opacity: 0.64;
  filter: invert(10%) sepia(35%) saturate(2191%) hue-rotate(320deg) brightness(73%) contrast(103%);
}

.closing {
  height: min(68svh, 620px);
  min-height: 420px;
  max-height: 620px;
  padding: 0;
  background:
    linear-gradient(0deg, rgba(46, 7, 20, 0.74), rgba(46, 7, 20, 0.46)),
    url("assets/img/2d0f2be3-c738-4d8b-8301-409b1a4c3975.JPG") center top / cover;
}

footer {
  padding: 28px 18px;
  color: var(--champagne);
  background: var(--wine-dark);
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

  .hero-copy,
  .intro,
  .program-grid,
  .details,
  .details-head,
  .requests,
  .logistics {
    grid-template-columns: 1fr;
  }

  .date-lockup {
    justify-self: start;
  }

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

  .card {
    min-height: auto;
  }

}

@media (max-width: 640px) {
  .hero {
    min-height: 78svh;
  }

  .hero-inner {
    padding-top: 96px;
    padding-bottom: 32px;
  }

  .closing {
    height: auto;
    min-height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
    background-position: center top;
  }
}

@media (max-width: 560px) {
  .site-nav {
    padding: 14px 18px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-inner {
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(4rem, 20.4vw, 6rem);
  }

  .hero-copy p {
    font-size: 1.25rem;
  }

  .date-lockup {
    width: 100%;
  }

  .time-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }

  .button {
    width: 100%;
  }
}
