@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Great+Vibes&family=Montserrat:wght@300;400;500;600&display=swap");

:root {
  --cream: #fffaf1;
  --ink: #282119;
  --muted: #6d6257;
  --gold: #c69536;
  --sage: #737654;
  --shadow: 0 26px 80px rgba(59, 43, 25, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: #dfbd72; color: #211910; }
button, input, textarea { font: inherit; }
a { color: inherit; }
.hidden, .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 22px;
}
.glass-nav {
  max-width: 1120px;
  margin: auto;
  min-height: 64px;
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(20,18,15,.44);
  box-shadow: 0 16px 40px rgba(0,0,0,.17);
  backdrop-filter: blur(18px) saturate(120%);
}
.brand {
  color: white;
  font: 500 25px/1 "Cormorant Garamond", serif;
  letter-spacing: .12em;
  text-decoration: none;
}
.brand span { color: #e6c26f; font-style: italic; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 11px 17px;
  color: rgba(255,255,255,.86);
  border-radius: 999px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: .25s ease;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,.12); }
.nav-toggle { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #090807;
}
.hero-bg {
  position: absolute;
  inset: -5%;
  z-index: -2;
  background: url("/assets/hero-sunflowers.png") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroSlowZoom 30s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(0,0,0,.08) 0 13%, rgba(0,0,0,.36) 48%, rgba(0,0,0,.7) 100%),
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.1) 42%, rgba(0,0,0,.68));
}
.hero-content {
  position: relative;
  width: min(900px, 92vw);
  margin-top: -14vh;
  padding: 28px 32px 32px;
  color: white;
  text-align: center;
  text-shadow:
    0 2px 2px rgba(0,0,0,.9),
    0 5px 18px rgba(0,0,0,.9),
    0 0 42px rgba(0,0,0,.82);
}
.hero-content::before {
  content: "";
  position: absolute;
  inset: -12% -5%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.42) 0%, rgba(0,0,0,.2) 45%, transparent 73%);
  filter: blur(9px);
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 10px;
  color: #fff0c9;
  font: 400 clamp(27px,4vw,52px)/1.1 "Great Vibes", cursive;
  text-shadow: 0 2px 3px #000, 0 5px 18px #000, 0 0 26px rgba(0,0,0,.92);
}
.hero h1 {
  margin: 0;
  font: 500 clamp(48px,7vw,88px)/.95 "Cormorant Garamond", serif;
  letter-spacing: .02em;
  text-shadow: 0 2px 3px rgba(0,0,0,.95), 0 8px 28px rgba(0,0,0,.95);
}
.hero h1 span {
  color: #f0c34f;
  font-style: italic;
  text-shadow: 0 2px 3px rgba(0,0,0,.95), 0 0 22px rgba(214,159,32,.35);
}
.date {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 15px 0 8px;
  font-size: clamp(11px,1.1vw,14px);
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-shadow: 0 2px 3px #000, 0 4px 12px #000;
}
.hero-location {
  margin: 0;
  color: rgba(255,255,255,.92);
  font: italic 500 18px "Cormorant Garamond", serif;
  letter-spacing: .05em;
  text-shadow: 0 2px 3px #000, 0 4px 14px #000;
}

.hero-link-boxes {
  position: absolute;
  left: clamp(24px,4vw,62px);
  top: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transform: translateY(-40%);
}
.hero-link-boxes a {
  width: 185px;
  min-height: 57px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  background: rgba(12,11,9,.48);
  backdrop-filter: blur(10px);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: .3s ease;
}
.hero-link-boxes a span { color: #e6bd5e; font: 500 12px "Cormorant Garamond", serif; }
.hero-link-boxes a:hover {
  padding-left: 22px;
  background: rgba(116,80,49,.82);
  border-color: rgba(255,255,255,.34);
}
.scroll-cue {
  position: absolute;
  bottom: 25px;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: rgba(255,255,255,.76);
  text-decoration: none;
}
.scroll-cue span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.scroll-cue i { width: 1px; height: 32px; background: linear-gradient(white,transparent); animation: float 1.8s infinite; }

.section { padding: clamp(80px,9vw,125px) 22px; }
.section-heading { max-width: 690px; margin: 0 auto 55px; text-align: center; }
.section-heading.compact { margin-bottom: 36px; }
.kicker {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
h2 {
  margin: 8px 0 10px;
  font: 500 clamp(43px,5.5vw,70px)/1 "Cormorant Garamond", serif;
}
.section-heading > p:last-child, .story-copy p, .venue-copy > p {
  color: var(--muted);
  line-height: 1.85;
}
.rustic-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0; }
.rustic-divider > span { width: 64px; height: 1px; background: currentColor; opacity: .2; }
.rustic-divider svg { width: 50px; height: 18px; fill: var(--sage); }
.hero .rustic-divider { color: white; margin: 16px 0 12px; }
.hero .rustic-divider svg { fill: #e6bd5e; }

.about {
  position: relative;
  overflow: hidden;
  background: #fffaf2;
  isolation: isolate;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("/assets/background.png") center top / 100% auto repeat-y;
  opacity: .24;
}
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(255,252,246,.32);
  pointer-events: none;
}
.about-art {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(720px,52%);
  z-index: -1;
  background:
    linear-gradient(to bottom, #fffaf2 0%, rgba(255,250,242,.91) 18%, rgba(255,250,242,.45) 55%, rgba(255,250,242,.24) 100%),
    url("/assets/background-horses.png") center bottom / cover no-repeat;
  opacity: .38;
  pointer-events: none;
}
.story-grid { max-width: 1050px; margin: auto; display: grid; gap: 30px; }
.story-card {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(28px,5vw,62px);
  align-items: center;
  padding: clamp(18px,2.3vw,28px);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(165,132,79,.2);
  border-radius: 7px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(9px);
}
.story-card.reverse { grid-template-columns: 1.08fr 1fr; }
.story-card.reverse .image-card { order: 2; }
.story-copy { padding: 18px clamp(8px,2vw,25px); text-align: center; }
.story-card h3 {
  margin: 2px 0 0;
  color: #3e3125;
  font: 500 clamp(31px,3vw,41px)/1.1 "Cormorant Garamond", serif;
}
.story-copy p { margin: 0; font-size: 14px; }
.story-copy .card-number { color: var(--gold); font: 500 13px "Cormorant Garamond", serif; letter-spacing: .2em; }
.image-card {
  min-height: 315px;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #d8c4a4;
}
.image-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1s ease; }
.image-card:hover img { transform: scale(1.035); }
.couple-photo img { object-position: center 31%; }
.family-photo img { object-position: center 48%; }
.polaroid-collage {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(147,108,48,.2);
  background:
    radial-gradient(circle at center, rgba(255,255,255,.78), rgba(255,250,240,.28) 72%),
    url("/assets/background.png") center / cover;
  border-radius: 4px;
  isolation: isolate;
}
.polaroid-collage::after {
  content: "T & D";
  position: absolute;
  right: 16px;
  bottom: 10px;
  z-index: 0;
  color: rgba(128,102,60,.14);
  font: 500 28px "Cormorant Garamond", serif;
  letter-spacing: .08em;
}
.polaroid {
  --rotate: 0deg;
  --ratio: 3 / 4;
  position: absolute;
  z-index: 2;
  width: 27%;
  margin: 0;
  padding: clamp(4px,.55vw,7px) clamp(4px,.55vw,7px) clamp(14px,1.7vw,21px);
  background: #fffdf8;
  border: 1px solid rgba(90,68,43,.13);
  box-shadow: 0 10px 22px rgba(62,45,25,.24), 0 2px 5px rgba(62,45,25,.14);
  transform: rotate(var(--rotate));
  transform-origin: center;
  transition: transform .28s ease, box-shadow .28s ease;
}
.polaroid img {
  width: 100%;
  aspect-ratio: var(--ratio);
  display: block;
  object-fit: cover;
  /* Warm vintage colour: retain colours with earthy greens and golden highlights. */
  filter: sepia(.62) saturate(1.12) hue-rotate(-12deg) contrast(1.14) brightness(.91);
}
.polaroid:hover {
  z-index: 20;
  box-shadow: 0 16px 30px rgba(62,45,25,.3), 0 3px 7px rgba(62,45,25,.16);
  transform: rotate(0deg) scale(1.045);
}
.moment-1 { left: 1%; top: 8%; width: 27%; --rotate: -7deg; --ratio: 3 / 4; z-index: 3; }
.moment-2 { left: 24%; top: 2%; width: 25%; --rotate: 4deg; --ratio: 3 / 4; z-index: 5; }
.moment-3 { right: 1%; top: 7%; width: 38%; --rotate: 7deg; --ratio: 4 / 3; z-index: 3; }
.moment-4 { left: 2%; bottom: 3%; width: 38%; --rotate: 5deg; --ratio: 4 / 3; z-index: 4; }
.moment-5 { left: 35%; bottom: 1%; width: 24%; --rotate: -4deg; --ratio: 3 / 4; z-index: 7; }
.moment-6 { right: 2%; bottom: 1%; width: 26%; --rotate: 6deg; --ratio: 3 / 4; z-index: 6; }
.moment-7 { left: 43%; top: 34%; width: 27%; --rotate: -8deg; --ratio: 4 / 3; z-index: 9; }
.moment-8 { left: 58%; top: 30%; width: 21%; --rotate: 8deg; --ratio: 3 / 4; z-index: 10; }
.moment-1 img { object-position: center 43%; }
.moment-2 img { object-position: 40% center; }
.moment-5 img { object-position: center 45%; }
.moment-6 img { object-position: center 28%; }
.moment-7 img, .moment-8 img { object-position: center 38%; }
.venue {
  position: relative;
  color: white;
  background: #181612;
}
.venue::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 15% 30%, rgba(184,139,57,.11), transparent 30%);
}
.venue-wrap, .map-card { position: relative; max-width: 1120px; margin: auto; }
.venue-wrap { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(38px,6vw,75px); align-items: center; }
.venue h2 { color: white; font-family: "Cinzel", serif; font-size: clamp(31px,3.7vw,50px); line-height: 1.15; }
.venue-copy .rustic-divider { justify-content: flex-start; color: white; }
.venue-copy > p { color: rgba(255,255,255,.7); }
.venue-event-details {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 2px solid #dfbd72;
  background: rgba(255,255,255,.06);
}
.venue-event-details p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.7; }
.venue-event-details .venue-event-date { color: #dfbd72; font-weight: 600; }
.venue-event-details .venue-event-time { margin: 6px 0 10px; color: white; font-weight: 600; }
.btn {
  min-height: 48px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 2px;
  color: white;
  background: rgba(255,255,255,.08);
  text-decoration: none;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: .25s ease;
}
.btn.primary { background: #a97b30; border-color: #a97b30; }
.btn:hover { background: #c59744; border-color: #c59744; transform: translateY(-2px); }
.venue-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.venue-img {
  position: relative;
  min-height: 215px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}
.venue-img.featured { grid-column: 1/-1; min-height: 350px; }
.venue-img img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s ease, filter .8s ease; }
.venue-img:hover img { transform: scale(1.06); filter: brightness(1.08); }
.venue-img figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 7px 10px;
  color: white;
  background: rgba(18,15,12,.65);
  backdrop-filter: blur(7px);
  font: 500 10px "Montserrat", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.map-card { margin-top: 48px; overflow: hidden; border: 1px solid #d8c4a4; border-radius: 12px; background: #f5eddf; box-shadow: 0 18px 48px rgba(62,45,25,.22); }
.map-card iframe { width: 100%; height: 350px; display: block; border: 0; filter: sepia(.48) saturate(.65) hue-rotate(-8deg) contrast(.94) brightness(1.02); }

.details {
  position: relative;
  color: white;
  background: #656849;
  overflow: hidden;
}
.details::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(255,239,199,.11), transparent 29%),
    radial-gradient(circle at 88% 85%, rgba(255,239,199,.09), transparent 27%);
  pointer-events: none;
}
.details .section-heading { position: relative; }
.details .section-heading > p:last-child { color: rgba(255,255,255,.76); }
.details .rustic-divider { color: white; }
.details .rustic-divider svg { fill: #efd18d; }
.details-grid {
  position: relative;
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}
.detail-card {
  padding: clamp(30px,4.5vw,48px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  background: rgba(31,30,22,.27);
  box-shadow: 0 20px 55px rgba(37,32,18,.18);
  backdrop-filter: blur(8px);
  text-align: center;
}
.detail-number {
  margin: 0 0 12px;
  color: #efd18d;
  font: 500 13px "Cormorant Garamond", serif;
  letter-spacing: .2em;
}
.detail-card h3 {
  margin: 0;
  font: 500 clamp(29px,3vw,39px)/1.15 "Cormorant Garamond", serif;
}
.detail-highlight {
  margin: 14px 0 13px;
  color: #fff0c5;
  font: italic 500 clamp(20px,2.4vw,26px) "Cormorant Garamond", serif;
}
.detail-card > p:last-child {
  max-width: 390px;
  margin: auto;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.85;
}

.gifts {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,250,241,.92),rgba(246,232,207,.94)),
    url("/assets/background.png") center / cover;
}
.gifts::before,
.gifts::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(151,119,70,.13);
  border-radius: 50%;
  pointer-events: none;
}
.gifts::before { top: -165px; left: -95px; }
.gifts::after { right: -105px; bottom: -180px; }
.gifts-card {
  position: relative;
  max-width: 850px;
  margin: auto;
  padding: clamp(34px,6vw,68px);
  border: 1px solid rgba(160,122,64,.24);
  border-radius: 7px;
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow);
  text-align: center;
}
.gifts-card::before {
  content: "T & D";
  position: absolute;
  top: 20px;
  left: 24px;
  color: rgba(158,119,54,.15);
  font: italic 500 19px "Cormorant Garamond", serif;
  letter-spacing: .14em;
}
.gifts-copy {
  max-width: 680px;
  margin: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.gifts-copy p { margin: 0; }
.gifts-copy p + p { margin-top: 19px; }
.gifts-copy .gifts-lead {
  color: #493b2d;
  font: italic 500 clamp(23px,3.2vw,32px)/1.45 "Cormorant Garamond", serif;
}
.gifts-joke {
  padding-top: 20px;
  border-top: 1px solid rgba(151,119,70,.24);
  color: #66523c;
  font-style: italic;
}

.rsvp {
  position: relative;
  background:
    linear-gradient(rgba(255,250,241,.93),rgba(239,222,192,.96)),
    url("/assets/background.png") center / cover;
}
.rsvp-card {
  max-width: 900px;
  margin: auto;
  padding: clamp(28px,5vw,58px);
  border: 1px solid rgba(160,122,64,.2);
  border-radius: 7px;
  background: rgba(255,255,255,.83);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label, fieldset legend {
  display: grid;
  gap: 9px;
  color: #51463a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.full { grid-column: 1/-1; }
input, textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--ink);
  border: 1px solid #dfcfb5;
  border-radius: 3px;
  outline: none;
  background: rgba(255,255,255,.88);
  font-size: 14px;
  transition: .2s ease;
}
input:focus, textarea:focus { border-color: #b28744; box-shadow: 0 0 0 3px rgba(178,135,68,.11); }
.form-grid input[type="tel"],
.guest-count-display {
  box-sizing: border-box;
  height: 52px;
}
.guest-count-display {
  align-self: end;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dfcfb5;
  background: #f8f0e3;
  color: #51463a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.guest-count-display strong { font: 500 28px "Cormorant Garamond", serif; color: #a97b30; }
.attendee-fieldset { padding: 0; border: 0; }
.attendee-fieldset legend { margin-bottom: 9px; }
.attendee-checklist { display: grid; gap: 9px; padding: 15px; border: 1px solid #dfcfb5; background: #fbf6ee; }
.attendee-checklist label { grid-template-columns: auto 1fr; align-items: center; cursor: pointer; text-transform: none; letter-spacing: .02em; font-size: 13px; }
.attendee-checklist input { width: 17px; height: 17px; accent-color: #a97b30; }
.accommodation-fieldset {
  padding: 0;
  border: 0;
}
.accommodation-fieldset legend { margin-bottom: 7px; }
.field-help {
  margin: 0 0 13px;
  color: #756858;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0;
  text-transform: none;
}
.choice-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.choice-cards label {
  min-height: 118px;
  padding: 15px 13px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 10px;
  border: 1px solid #dfcfb5;
  border-radius: 4px;
  background: rgba(255,255,255,.72);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.choice-cards label:hover {
  border-color: #b28744;
  background: #fffaf1;
  transform: translateY(-2px);
}
.choice-cards input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: #a97b30;
}
.choice-cards span {
  color: #756858;
  font-size: 11px;
  line-height: 1.5;
}
.choice-cards strong {
  display: block;
  margin-bottom: 4px;
  color: #44382d;
  font-size: 12px;
}
.privacy-note {
  margin: 20px auto 0;
  max-width: 680px;
  color: #786c60;
  text-align: center;
  font-size: 11px;
  line-height: 1.65;
}
.submit-btn:disabled { opacity: .68; cursor: wait; transform: none; }
.submit-btn { width: 100%; margin-top: 24px; }
.form-note { margin: 14px 0 0; color: #8b632c; text-align: center; font-size: 12px; }
.rsvp-success {
  max-width: 620px;
  margin: 0 auto;
  padding: 36px 24px;
  border: 1px solid #dbc8a8;
  background: #fffaf1;
  text-align: center;
}
.success-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #8c793f;
  font-size: 24px;
}
.rsvp-success h3 {
  margin: 0 0 10px;
  color: #3e3125;
  font: 500 clamp(31px,4vw,42px) "Cormorant Garamond", serif;
}
.rsvp-success p { margin: 0; color: #6d6257; line-height: 1.8; }

footer { padding: 42px 20px; text-align: center; color: rgba(255,255,255,.6); background: #11100e; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer-mark { margin: 0 0 10px; color: white; font: 500 29px "Cormorant Garamond", serif; letter-spacing: .16em; }
.footer-mark span { color: #d8aa54; font-style: italic; }

.guest-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(rgba(13,11,9,.83),rgba(13,11,9,.89)),
    url("/assets/hero-sunflowers.png") center / cover;
  backdrop-filter: blur(5px);
}
.guest-gate-card {
  width: min(540px,94vw);
  padding: 42px clamp(26px,5vw,48px);
  text-align: center;
  border: 1px solid rgba(181,139,66,.38);
  border-radius: 5px;
  background:
    linear-gradient(rgba(255,250,241,.92),rgba(255,250,241,.92)),
    url("/assets/background.png") center / cover;
  box-shadow: 0 35px 100px rgba(0,0,0,.48);
}
.gate-monogram { margin: 0 0 20px; color: #4f3b26; font: 500 30px "Cormorant Garamond",serif; letter-spacing: .14em; }
.gate-monogram span { color: var(--gold); font-style: italic; }
.guest-gate-card h2 { margin: 6px 0 12px; font-size: clamp(36px,6vw,48px); }
.guest-gate-card > p:not(.kicker):not(.gate-monogram) { color: var(--muted); line-height: 1.6; }
.guest-gate-card .gate-instruction {
  white-space: nowrap;
  font-size: 14px;
}
.guest-gate-card input { margin: 12px 0; text-align: center; }
.guest-gate-card .btn { width: 100%; }
.gate-note { margin: 14px 0 0; color: #8c561e; font-size: 12px; line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s ease, transform .85s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes heroSlowZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.13); }
}
@keyframes float { 50% { transform: translateY(7px); opacity: .45; } }

@media (max-width: 880px) {
  .hero-link-boxes {
    left: 50%;
    top: auto;
    bottom: 86px;
    width: min(92%,570px);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    transform: translateX(-50%);
  }
  .hero-link-boxes a { width: auto; min-height: 48px; justify-content: center; padding: 0 10px; }
  .hero-link-boxes a span { display: none; }
  .scroll-cue { display: none; }
  .hero-content { width: min(760px,94vw); margin-top: -9vh; }
  .venue-wrap { grid-template-columns: 1fr; }
  .venue-copy { max-width: 680px; }
}

@media (max-width: 700px) {
  .site-header { top: 10px; padding: 0 12px; }
  .glass-nav { min-height: 56px; padding: 8px 13px 8px 18px; border-radius: 24px; flex-wrap: wrap; }
  .nav-toggle {
    width: 38px;
    height: 38px;
    display: grid;
    place-content: center;
    gap: 4px;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }
  .nav-toggle span { width: 19px; height: 1px; background: white; }
  .nav-links { display: none; width: 100%; padding: 8px 0 5px; flex-direction: column; }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .hero { min-height: max(100svh, 680px); }
  .hero-bg {
    inset: -3%;
    background-position: 53% center;
  }
  .hero-content {
    width: calc(100% - 24px);
    margin-top: -18vh;
    padding: 20px 10px 24px;
  }
  .hero-content::before { inset: -18% -2%; }
  .eyebrow {
    max-width: 94%;
    margin: 0 auto 12px;
    font-size: clamp(25px,8vw,34px);
    line-height: 1.05;
  }
  .hero h1 {
    font-size: clamp(42px,13.2vw,64px);
    line-height: .96;
    letter-spacing: 0;
  }
  .date {
    margin-top: 14px;
    font-size: clamp(9px,2.8vw,12px);
    letter-spacing: .16em;
    white-space: nowrap;
  }
  .hero-location { font-size: 16px; }
  .hero-link-boxes {
    bottom: max(24px, env(safe-area-inset-bottom));
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-link-boxes a { min-height: 45px; font-size: 9px; }
  .section { padding: 75px 16px; }
  .section-heading { margin-bottom: 38px; }
  .story-card, .story-card.reverse, .form-grid { grid-template-columns: minmax(0,1fr); }
  .details-grid { grid-template-columns: 1fr; }
  .choice-cards { grid-template-columns: 1fr; }
  .choice-cards label {
    min-height: 0;
    padding: 14px;
    align-items: start;
  }
  .story-card.reverse .image-card { order: 0; }
  .story-copy { padding: 13px 8px 18px; }
  .image-card { min-height: 280px; }
  .polaroid-collage { min-height: 540px; }
  .moment-1 { left: 1%; top: 5%; width: 35%; }
  .moment-2 { left: 30%; top: 1%; width: 33%; }
  .moment-3 { right: 1%; top: 10%; width: 42%; }
  .moment-4 { left: 1%; top: 39%; bottom: auto; width: 44%; }
  .moment-5 { left: 35%; top: 35%; bottom: auto; width: 33%; }
  .moment-6 { right: 1%; top: 42%; bottom: auto; width: 35%; }
  .moment-7 { left: 7%; top: auto; bottom: 1%; width: 39%; }
  .moment-8 { left: auto; right: 8%; top: auto; bottom: 1%; width: 35%; }
  .about-art { height: 37%; background-size: auto 100%; opacity: .3; }
  .venue-gallery { gap: 8px; }
  .venue-img, .venue-img.featured { min-height: 190px; }
  .map-card iframe { height: 285px; }
  .gifts-card { padding: 42px 22px 36px; }
  .gifts-card::before { top: 14px; left: 16px; font-size: 15px; }
  .gifts-copy { font-size: 13px; }
  .full { grid-column: 1; }
  .guest-gate { padding: 10px; }
  .guest-gate-card {
    width: min(540px, calc(100vw - 20px));
    padding: 30px 24px;
  }
  .guest-gate-card h2 {
    font-size: clamp(32px,9vw,42px);
    white-space: nowrap;
  }
  .guest-gate-card .gate-instruction {
    font-size: clamp(11px,3.2vw,14px);
    letter-spacing: -.015em;
  }
  .gate-monogram { margin-bottom: 14px; }
  .guest-gate-card input { min-height: 50px; font-size: 16px; }
  .guest-gate-card .btn { min-height: 50px; }
}

@media (max-width: 390px) {
  .hero-content { margin-top: -20vh; }
  .eyebrow { font-size: 25px; }
  .hero h1 { font-size: clamp(40px,12.7vw,50px); }
  .hero-link-boxes a { min-height: 42px; }
  .guest-gate-card { padding-left: 17px; padding-right: 17px; }
  .guest-gate-card h2 { font-size: clamp(28px,8.8vw,35px); }
  .guest-gate-card .gate-instruction { font-size: clamp(10px,3vw,12px); }
}

@media (max-height: 620px) and (orientation: landscape) {
  .hero { min-height: 620px; }
  .hero-content { margin-top: -80px; }
  .hero-link-boxes { bottom: 18px; }
  .guest-gate-card { padding-top: 20px; padding-bottom: 20px; }
  .gate-monogram { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
