:root {
  --ink: #17211e;
  --deep: #122b25;
  --green: #1e4f43;
  --sea: #1d7c86;
  --gold: #c4a060;
  --pearl: #f8f7f2;
  --white: #ffffff;
  --mist: #eef6f4;
  --line: rgba(23, 33, 30, 0.14);
  --soft-shadow: 0 22px 80px rgba(18, 43, 37, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--pearl);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 25, 22, 0.72), rgba(10, 25, 22, 0.5) 24%, rgba(10, 25, 22, 0.12) 44%, transparent 68%),
    linear-gradient(180deg, transparent 48%, rgba(10, 25, 22, 0.16) 76%, rgba(10, 25, 22, 0.3));
  z-index: -1;
}

.hero-content {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 84px;
  color: var(--white);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.kicker {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker.dark {
  color: var(--green);
}

.kicker.light {
  color: #e6d3a4;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: 6.8rem;
  font-weight: 600;
  line-height: 0.9;
}

h1 span {
  display: block;
  color: #e6d3a4;
  font-size: 0.56em;
  font-style: italic;
  font-weight: 500;
}

.hero-date {
  margin: 34px 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-place {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.section-pad {
  padding: 92px max(24px, calc((100% - 1120px) / 2));
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 64px;
  align-items: end;
  background: var(--white);
}

.intro h2,
.section-heading h2,
.venue h2,
.rsvp h2 {
  margin: 0;
  font-size: 3.15rem;
  font-weight: 600;
  line-height: 1.02;
}

.intro-note,
.venue-copy,
.venue-list,
.experience-grid p,
.rsvp p {
  color: rgba(23, 33, 30, 0.72);
  font-size: 1rem;
  line-height: 1.8;
}

.intro-note {
  margin: 0;
}

.details {
  background:
    linear-gradient(180deg, rgba(238, 246, 244, 0.9), rgba(248, 247, 242, 0.92)),
    var(--mist);
}

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

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

.detail-card,
.experience-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(18, 43, 37, 0.08);
}

.detail-card {
  min-height: 210px;
  padding: 30px;
}

.detail-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--sea);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-card h3 {
  margin: 0 0 18px;
  color: var(--deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1;
}

.detail-card p {
  margin: 0;
  color: rgba(23, 33, 30, 0.68);
  line-height: 1.7;
}

.venue {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 72px;
  align-items: start;
  background: var(--deep);
  color: var(--white);
}

.venue .kicker {
  color: #e6d3a4;
}

.venue-copy,
.venue-list {
  color: rgba(255, 255, 255, 0.76);
}

.venue-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.venue-list p {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.venue-list strong {
  color: var(--white);
}

.experience {
  background: var(--white);
}

.experience-grid article {
  min-height: 250px;
  padding: 30px;
}

.experience-grid h3 {
  margin: 0 0 18px;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.experience-grid p {
  margin: 0;
}

.rsvp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  align-items: center;
  padding: 80px max(24px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(29, 124, 134, 0.34), transparent 48%),
    var(--green);
}

.rsvp h2 {
  max-width: 660px;
}

.rsvp p {
  color: rgba(255, 255, 255, 0.82);
}

.rsvp a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 4px;
}

.hashtag {
  margin-top: 26px;
  color: #e6d3a4 !important;
  font-weight: 800;
}

.qr-panel {
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  color: var(--deep);
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.qr-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-panel p {
  margin: 12px 0 4px;
  color: var(--deep);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
}

.qr-panel span {
  display: block;
  color: rgba(23, 33, 30, 0.62);
  font-size: 0.72rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

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

  .hero-content {
    width: min(100% - 36px, 720px);
    padding: 72px 0 56px;
  }

  h1 {
    font-size: 4.6rem;
  }

  .intro,
  .venue,
  .rsvp {
    grid-template-columns: 1fr;
  }

  .detail-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .intro h2,
  .section-heading h2,
  .venue h2,
  .rsvp h2 {
    font-size: 2.55rem;
  }

  .qr-panel {
    width: min(260px, 100%);
  }
}

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

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 25, 22, 0.58), rgba(10, 25, 22, 0.32) 34%, rgba(10, 25, 22, 0.08) 56%, transparent),
      linear-gradient(180deg, transparent 42%, rgba(10, 25, 22, 0.14) 68%, rgba(10, 25, 22, 0.46));
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 3.6rem;
  }

  .hero-date {
    font-size: 1.05rem;
  }

  .hero-button {
    width: 100%;
    justify-content: center;
  }

  .section-pad,
  .rsvp {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro h2,
  .section-heading h2,
  .venue h2,
  .rsvp h2 {
    font-size: 2.15rem;
  }

  .detail-card,
  .experience-grid article {
    padding: 24px;
  }
}
