 :root {
  --green: #173d32;
  --green-deep: #102d26;
  --green-mid: #31594c;
  --pink: #d6a0a0;
  --pink-light: #f1dede;
  --cream: #f8f5ef;
  --paper: #fffdf8;
  --ink: #24362f;
  --muted: #6f7a72;
  --line: rgba(23, 61, 50, .16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 1rem; background: white; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.site-header { height: 76px; padding: 0 clamp(1.2rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; background: var(--green); color: var(--cream); position: sticky; top: 0; z-index: 20; box-shadow: 0 5px 22px #102d2617; }
.brand { font: 500 1.65rem var(--serif); text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.brand span { color: var(--pink); font-style: italic; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.site-nav a { text-decoration: none; font-size: .83rem; letter-spacing: .04em; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--pink-light); }
.site-nav .nav-rsvp { border: 1px solid var(--pink); padding: .55rem 1.1rem; border-radius: 2px; }
.menu-toggle { display: none; color: var(--cream); border: 1px solid #ffffff55; background: transparent; border-radius: 4px; padding: .45rem .7rem; font-size: 1.1rem; }
.hero { min-height: min(760px, calc(100svh - 76px)); display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; color: var(--cream); background: radial-gradient(ellipse at 15% 20%, #31594c 0, transparent 35%), radial-gradient(ellipse at 90% 85%, #294f43 0, transparent 36%), var(--green); }
.hero::before, .hero::after { content: ""; position: absolute; width: 390px; height: 390px; border: 1px solid #d6a0a055; border-radius: 50%; pointer-events: none; }
.hero::before { top: -220px; left: -120px; box-shadow: 0 0 0 26px #d6a0a00b, 0 0 0 54px #d6a0a008; }
.hero::after { right: -210px; bottom: -250px; width: 520px; height: 520px; box-shadow: 0 0 0 28px #d6a0a00b, 0 0 0 56px #d6a0a008; }
.hero-content { z-index: 1; width: min(780px, 90%); padding: 5rem 0 6rem; }
.eyebrow { margin: 0 0 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .22em; }
.hero .eyebrow { color: var(--pink-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { margin: .7rem 0 1.2rem; font-size: clamp(3.5rem, 10vw, 7.7rem); letter-spacing: -.045em; }
h1 em { color: var(--pink); font-weight: 400; }
.hero-rule { display: flex; align-items: center; gap: .85rem; justify-content: center; color: var(--pink); margin: 0 auto 1.3rem; }
.hero-rule span { height: 1px; width: 64px; background: var(--pink); opacity: .75; }
.hero-rule i { font-style: normal; font-size: 1.2rem; }
.hero-date { letter-spacing: .19em; font-size: .82rem; font-weight: 600; margin-bottom: .4rem; }
.hero-place { color: #f1dede; font-family: var(--serif); font-size: 1.45rem; margin-bottom: 2rem; }
.button { display: inline-flex; gap: 1.1rem; align-items: center; justify-content: center; padding: .9rem 1.35rem; text-decoration: none; font-size: .83rem; font-weight: 700; letter-spacing: .035em; transition: transform .2s ease, background .2s ease; border: 1px solid transparent; }
.button:hover { transform: translateY(-2px); }
.button-pink { background: var(--pink); color: var(--green-deep); }
.button-pink:hover { background: var(--pink-light); }
.button-outline { border-color: var(--green); color: var(--green); }
.button-outline:hover { background: var(--green); color: white; }
.hero-note { position: absolute; bottom: 1.4rem; left: 0; right: 0; font: italic 1rem var(--serif); color: #f1dedeaa; }
.section-pad { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 8vw, 8rem); }
.intro { text-align: center; max-width: 920px; margin: auto; }
.intro .eyebrow, .section-heading .eyebrow, .venue-copy .eyebrow, .rsvp-card .eyebrow { color: #8f6267; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1rem; letter-spacing: -.025em; color: var(--green); }
.intro-copy { max-width: 590px; margin: 0 auto 2rem; font: 1.15rem/1.8 var(--serif); color: #58645c; }
.date-stamp { width: 132px; height: 132px; margin: 2rem auto; border: 1px solid var(--pink); outline: 1px solid #d6a0a066; outline-offset: 6px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--green); }
.date-stamp span { font-size: .61rem; letter-spacing: .12em; }
.date-stamp strong { font: 400 3.2rem/.98 var(--serif); color: #a66f75; }
.small-note { color: var(--muted); font-size: .78rem; margin: 1.5rem auto 0; max-width: 550px; }
.timeline-section { background: var(--paper); }
.section-heading { text-align: center; max-width: 650px; margin: 0 auto 3.5rem; }
.section-heading > p:last-child { color: var(--muted); }
.timeline { max-width: 780px; margin: auto; }
.timeline-item { display: grid; grid-template-columns: 115px 36px 1fr; gap: 1.2rem; padding: 1.2rem 0 1.7rem; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-time { padding-top: .25rem; color: #986b70; font-size: .68rem; letter-spacing: .1em; font-weight: 700; }
.timeline-mark { display: grid; place-items: start center; color: #b77f85; font-size: 1.3rem; position: relative; }
.timeline-mark::after { content: ""; position: absolute; top: 2rem; bottom: -2rem; width: 1px; background: #d6a0a055; }
.timeline-item:last-child .timeline-mark::after { display: none; }
.timeline-copy h3 { font-size: 1.55rem; color: var(--green); margin-bottom: .4rem; }
.timeline-copy p { margin: 0; color: var(--muted); font-size: .92rem; }
.timeline-disclaimer { text-align: center; font-size: .78rem; color: var(--muted); margin: 1rem 0 0; }
.venue-section { display: grid; grid-template-columns: 1fr 1fr; background: var(--pink-light); }
.venue-photo { min-height: 540px; background: linear-gradient(145deg, #173d32aa, #173d3255), url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1400&q=85") center/cover; }
.venue-copy { align-self: center; padding-left: clamp(2rem, 6vw, 6rem); padding-right: clamp(2rem, 6vw, 6rem); }
.venue-copy h2 { margin-bottom: .25rem; }
.venue-location { font: italic 1.3rem var(--serif); color: #93666c; margin-bottom: 1.4rem; }
.venue-copy > p:not(.eyebrow):not(.venue-location):not(.small-note) { color: #56655b; max-width: 480px; }
.venue-copy .small-note { margin-left: 0; }
.details-section { background: var(--cream); }
.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1180px; margin: auto; }
.detail-card { background: var(--paper); border: 1px solid var(--line); padding: 2rem 1.4rem; min-height: 235px; }
.detail-icon { color: #b77f85; font-size: 1.6rem; margin-bottom: 1rem; }
.detail-card h3 { font-size: 1.45rem; color: var(--green); margin-bottom: .7rem; }
.detail-card p { color: var(--muted); font-size: .86rem; margin-bottom: 0; }
.detail-card strong { color: var(--green-mid); font-weight: 600; }
.countdown-section { background: var(--green); color: var(--cream); text-align: center; }
.countdown-section .eyebrow { color: var(--pink); }
.countdown-section h2 { color: var(--cream); }
.countdown { display: flex; justify-content: center; gap: clamp(1rem, 5vw, 4rem); margin: 2.5rem auto 1rem; }
.countdown div { min-width: 72px; display: flex; flex-direction: column; gap: .4rem; }
.countdown strong { font: 400 clamp(2rem, 5vw, 3.5rem)/1 var(--serif); color: var(--pink-light); font-variant-numeric: tabular-nums; }
.countdown span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #ffffffbb; }
.countdown-section .small-note { color: #ffffff9c; }
.rsvp-section { background: var(--pink-light); }
.rsvp-card { max-width: 700px; margin: auto; padding: clamp(2rem, 6vw, 4.5rem); text-align: center; background: var(--paper); border: 1px solid #d6a0a088; box-shadow: 12px 12px 0 #d6a0a044; }
.rsvp-card > p:not(.eyebrow):not(.small-note) { color: var(--muted); }
.rsvp-warning { border-left: 3px solid #b77f85; background: #f8eeee; padding: .9rem 1rem; text-align: left; font-size: .85rem; }
.rsvp-card code { background: #f0e9e1; padding: .1rem .3rem; }
.site-footer { background: var(--green-deep); color: var(--cream); padding: 2rem clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { font-size: 1.35rem; }
.site-footer p { color: #ffffff9c; font-size: .78rem; margin: 0; text-align: center; }
.back-top { color: var(--pink-light); text-decoration: none; font-size: .8rem; }
@media (max-width: 850px) {
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-section { grid-template-columns: 1fr; }
  .venue-photo { min-height: 350px; }
  .venue-copy { padding-top: 3.5rem; padding-bottom: 4rem; }
}
@media (max-width: 650px) {
  .site-header { height: 66px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--green-deep); padding: 1rem 1.3rem 1.4rem; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .85rem .4rem; }
  .site-nav .nav-rsvp { text-align: center; margin-top: .5rem; }
  .hero { min-height: 660px; min-height: min(720px, calc(100svh - 66px)); }
  .hero-content { padding: 4rem 0; }
  .hero-date { font-size: .72rem; letter-spacing: .12em; }
  .timeline-item { grid-template-columns: 1fr 25px 2.7fr; gap: .55rem; }
  .timeline-time { font-size: .6rem; letter-spacing: .04em; }
  .timeline-copy h3 { font-size: 1.35rem; }
  .timeline-copy p { font-size: .84rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: auto; padding: 1.5rem; }
  .countdown { gap: .8rem; }
  .countdown div { min-width: 55px; }
  .countdown strong { font-size: 2rem; }
  .countdown span { font-size: .56rem; letter-spacing: .08em; }
  .site-footer { flex-wrap: wrap; justify-content: center; }
  .site-footer p { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
