:root {
  color-scheme: light;
  --paper: #f8f6f0;
  --paper-deep: #efeee7;
  --ink: #303630;
  --muted: #6f7269;
  --olive: #737a64;
  --accent: #929780;
  --gold: #a18b61;
  --line: #d8d8ce;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
::selection { color: white; background: var(--olive); }

.site-header, main, .site-footer { width: min(100%, 1200px); margin-inline: auto; }
.site-header { height: 78px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; background: var(--paper); position: relative; z-index: 3; }
.wordmark { font-family: "Allura", cursive; font-size: 34px; letter-spacing: 0; line-height: 1; text-decoration: none; }
.wordmark span, .map-pin span, .note-mark span { color: var(--accent); font-style: italic; }
.site-nav { display: flex; align-items: center; gap: 38px; }
.site-nav a { font-size: 11px; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.site-nav a:not(.nav-rsvp):hover, .text-link:hover { color: var(--accent); }
.nav-rsvp { border: 1px solid var(--ink); padding: 10px 17px; }
.nav-rsvp span { margin-left: 8px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: min(740px, calc(100svh - 78px)); height: 690px; display: grid; place-items: center; overflow: hidden; color: white; background: var(--ink); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 52%; opacity: .58; }
.hero-shade { background: linear-gradient(90deg, rgba(20, 33, 28, .56), rgba(20, 33, 28, .24) 55%, rgba(20, 33, 28, .24)), linear-gradient(0deg, rgba(20, 33, 28, .35), transparent 42%); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 60px 20px 70px; }
.eyebrow { margin: 0 0 20px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero-eyebrow { color: rgba(255,255,255,.82); }
.hero h1 { margin: 0; font-family: "Allura", cursive; font-size: clamp(68px, 8.5vw, 110px); font-weight: 400; line-height: 1.05; letter-spacing: 0; white-space: nowrap; }
.hero h1 span { color: var(--gold); font-style: normal; font-size: .65em; }
.hero-intro { margin: 23px 0 0; font-family: var(--serif); font-size: 21px; font-style: italic; }
.hero-rule { width: 42px; height: 1px; margin: 25px auto 16px; background: rgba(255,255,255,.75); }
.hero-details { margin: 0; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.hero-details span { padding: 0 8px; color: var(--gold); }
.countdown { display: flex; justify-content: center; gap: clamp(20px, 4vw, 52px); margin: 30px 0 32px; }
.countdown div { display: flex; flex-direction: column; min-width: 50px; }
.count-number { font-family: var(--serif); font-size: 31px; line-height: 1.1; }
.count-label { margin-top: 5px; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 21px; border: 1px solid transparent; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.button span { font-size: 16px; font-weight: 400; }
.button-light { border-color: rgba(255,255,255,.78); color: white; }
.button-light:hover { color: var(--ink); background: white; }
.hero-caption { position: absolute; bottom: 23px; left: 7.2%; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

.scroll-reveal { opacity: 0; transform: translateY(36px); will-change: opacity, transform; }

.section-wrap { padding-right: 11%; padding-left: 11%; }
.intro { max-width: 860px; margin: auto; padding-top: 106px; padding-bottom: 105px; text-align: center; }
.intro .eyebrow, .venue .eyebrow, .stay .eyebrow, .gallery .eyebrow { color: var(--olive); }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 65px); font-weight: 400; letter-spacing: -.045em; line-height: 1.08; }
h2 em { color: var(--gold); font-weight: 400; }
.intro-copy { max-width: 475px; margin: 23px auto 0; color: var(--muted); font-size: 14px; }

.rsvp-section { min-height: 550px; display: grid; place-items: center; background: var(--paper-deep); }
.rsvp-panel { align-self: center; width: min(100%, 720px); padding: 72px clamp(35px, 7vw, 105px); }
.rsvp-panel h2 { font-size: clamp(44px, 5vw, 62px); }
.rsvp-copy { max-width: 300px; margin: 18px 0 28px; color: var(--muted); font-size: 13px; }
.rsvp-link { color: white; background: var(--ink); }
.rsvp-link:hover { background: #45574d; }
.form-note { min-height: 18px; margin: 13px 0 0; color: var(--muted); font-size: 10px; }

.venue { padding-top: 115px; padding-bottom: 115px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 9%; }
.section-heading h2 { font-size: clamp(40px, 4vw, 52px); }
.venue-copy, .stay-copy { max-width: 350px; margin: 23px 0 26px; color: var(--muted); font-size: 13px; }
.venue-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0 23px; }
.venue-facts div { font-size: 11px; line-height: 1.8; }
.fact-label { display: block; margin-bottom: 4px; color: var(--olive); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.text-link { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-decoration-thickness: 1px; text-underline-offset: 4px; text-transform: uppercase; }
.text-link span { margin-left: 7px; }
.map-frame { position: relative; min-height: 400px; background: #deddd2; }
.map-frame iframe { width: 100%; height: 400px; border: 0; filter: saturate(.62) sepia(.1); }
.map-pin { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 54px; height: 54px; padding: 5px; transform: translate(-50%, -50%); border: 1px solid rgba(38,58,50,.48); border-radius: 50%; background: var(--paper); font-family: "Allura", cursive; font-size: 15px; line-height: 1; white-space: nowrap; pointer-events: none; }

.weekend-note { padding: 95px 11% 100px; display: grid; grid-template-columns: 100px .8fr 1.2fr; align-items: start; gap: 6%; background: #e9e7dc; }
.note-mark { display: grid; place-items: center; width: 76px; height: 76px; padding: 8px; border: 1px solid #9a9d8b; border-radius: 50%; font-family: "Allura", cursive; font-size: 18px; letter-spacing: 0; line-height: 1; white-space: nowrap; }
.note-copy h2 { font-size: clamp(43px, 4.5vw, 57px); }
.note-copy .eyebrow { color: var(--olive); }
.note-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; padding-top: 5px; }
.detail-number { color: var(--accent); font-family: var(--serif); font-size: 16px; font-style: italic; }
.note-details h3, .stay-item h3 { margin: 10px 0 8px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.note-details p, .stay-item p { margin: 0; color: #6d7268; font-size: 11px; line-height: 1.85; }

.stay { padding-top: 115px; padding-bottom: 120px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 10%; }
.stay-heading h2 { font-size: clamp(45px, 5vw, 64px); }
.stay-list { border-top: 1px solid var(--line); }
.stay-item { display: grid; grid-template-columns: 38px 1fr 25px; gap: 14px; align-items: start; padding: 23px 0; border-bottom: 1px solid var(--line); }
.stay-number { padding-top: 3px; color: var(--olive); font-family: var(--serif); font-size: 14px; font-style: italic; }
.stay-item h3 { margin: 0 0 5px; font-size: 20px; }
.stay-item p { max-width: 420px; }
.stay-icon { color: var(--accent); font-size: 17px; }

.gallery { padding: 88px 0 85px; overflow: hidden; background: #eeece4; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; padding: 0 11% 34px; }
.gallery-heading h2 { font-size: clamp(35px, 4vw, 51px); }
.gallery .eyebrow { margin-bottom: 13px; }
.slider-controls { display: flex; gap: 9px; }
.slider-button { width: 43px; height: 43px; border: 1px solid #aeb0a4; border-radius: 50%; color: var(--ink); background: transparent; font-size: 18px; cursor: pointer; transition: color .2s, background .2s; }
.slider-button:hover { color: white; background: var(--ink); }
.photo-track { display: flex; gap: 18px; overflow-x: auto; padding: 0 11% 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photo-track::-webkit-scrollbar { display: none; }
.photo-card { flex: 0 0 min(31vw, 390px); margin: 0; scroll-snap-align: start; }
.photo-card img { width: 100%; height: 350px; object-fit: cover; }
.gallery-hint { margin: 18px 11% 0; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.gallery-hint span { padding-left: 8px; }

.closing { padding: 47px 20px 50px; text-align: center; color: white; background: var(--ink); }
.closing .eyebrow { color: #c5cbb4; }
.closing h2 { margin-bottom: 27px; font-size: clamp(44px, 5vw, 62px); }
.closing h2 em { color: var(--gold); font-family: "Allura", cursive; font-size: 1.3em; font-style: normal; line-height: 1; }
.site-footer { min-height: 83px; padding: 18px 7.2%; display: flex; align-items: center; justify-content: space-between; }
.site-footer .wordmark { font-size: 29px; }
.site-footer p, .site-footer > a:last-child { margin: 0; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

@media (min-width: 1500px) {
  .hero { height: 780px; }
}

@media (max-width: 900px) {
  .section-wrap { padding-right: 7%; padding-left: 7%; }
  .weekend-note { padding-right: 7%; padding-left: 7%; grid-template-columns: 75px .8fr 1.4fr; gap: 4%; }
  .note-mark { width: 62px; height: 62px; font-size: 17px; }
  .note-details { gap: 18px; }
  .rsvp-panel { padding-right: 7%; padding-left: 7%; }
  .venue { gap: 6%; }
}

@media (max-width: 650px) {
  .site-header { height: 66px; padding: 0 6%; }
  .menu-toggle { display: block; padding: 8px 0 8px 12px; border: 0; background: transparent; color: var(--ink); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
  .site-nav { position: absolute; top: 66px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 6% 20px; background: var(--paper); box-shadow: 0 10px 15px rgba(38,58,50,.08); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-rsvp { margin-top: 12px; padding: 10px 13px; border: 1px solid var(--ink); text-align: center; }
  .hero { min-height: 690px; height: calc(100svh - 66px); max-height: 820px; }
  .hero-image { object-position: 55% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(20,33,28,.53), rgba(20,33,28,.3)); }
  .hero h1 { font-size: clamp(48px, 14vw, 82px); }
  .hero-content { padding-top: 35px; }
  .hero-caption { left: 6%; font-size: 8px; }
  .hero-details { font-size: 11px; letter-spacing: .1em; }
  .countdown { gap: 17px; }
  .countdown div { min-width: 43px; }
  .count-number { font-size: 27px; }
  .intro { padding-top: 78px; padding-bottom: 78px; }
  .intro-copy { font-size: 13px; }
  .rsvp-section { grid-template-columns: 1fr; }
  .rsvp-panel { width: 100%; padding: 58px 8% 62px; }
  .venue { padding-top: 78px; padding-bottom: 78px; grid-template-columns: 1fr; gap: 35px; }
  .map-frame, .map-frame iframe { min-height: 300px; height: 300px; }
  .weekend-note { padding: 70px 8%; grid-template-columns: 1fr; gap: 24px; }
  .note-mark { width: 56px; height: 56px; font-size: 15px; }
  .note-copy h2 br { display: none; }
  .note-details { grid-template-columns: 1fr; gap: 23px; padding-top: 5px; }
  .note-details article { display: grid; grid-template-columns: 28px 1fr; column-gap: 9px; }
  .note-details .detail-number { grid-row: span 2; }
  .note-details h3 { margin: 0 0 4px; }
  .stay { padding-top: 78px; padding-bottom: 80px; grid-template-columns: 1fr; gap: 27px; }
  .gallery { padding-top: 69px; padding-bottom: 65px; }
  .gallery-heading { padding-right: 6%; padding-left: 6%; }
  .gallery-heading h2 { max-width: 250px; }
  .slider-button { width: 37px; height: 37px; }
  .photo-track { gap: 12px; padding-right: 6%; padding-left: 6%; }
  .photo-card { flex-basis: 76vw; }
  .photo-card img { height: 300px; }
  .gallery-hint { margin-right: 6%; margin-left: 6%; }
  .closing { padding: 38px 20px 40px; }
  .site-footer { padding-right: 6%; padding-left: 6%; }
  .site-footer p { display: none; }
}

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