:root {
  --paper: #f8f8f2;
  --ink: #203f48;
  --forest: #bad3bd;
  --orange: #d77d4f;
  --grey: #687b7e;
  --coral: var(--orange);
  --yellow: #dce8cc;
  --blue: #bfdde6;
  --line: rgba(41, 69, 77, .25);
  --serif: "Italiana", Georgia, serif;
  --sans: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.section { padding: 110px max(6vw, 32px); }
.eyebrow, .section-number { font: 500 .78rem/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.section-number { position: absolute; top: 32px; left: max(3vw, 20px); writing-mode: vertical-rl; transform: rotate(180deg); }
.section-number { color: var(--grey); }
.section-number.light { color: rgba(41, 69, 77, .58); }
.button { display: inline-flex; justify-content: center; padding: 15px 24px; border: 0; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font: 500 .7rem var(--mono); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--yellow); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-coral { background: var(--coral); color: #172f29; }

.site-header { height: 76px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: absolute; inset: 0 0 auto; z-index: 20; }
.wordmark { font: 2rem var(--serif); text-decoration: none; }
.wordmark span { color: var(--coral); font-style: italic; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.nav-rsvp { border: 1px solid var(--ink); padding: 11px 16px; }
.menu-toggle { display: none; border: 0; background: none; text-transform: uppercase; font: 500 .75rem var(--mono); }

.hero { min-height: 94vh; padding: 130px 6vw 70px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 5vw; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 34vw; height: 34vw; border-radius: 50%; background: var(--yellow); left: -18vw; top: 25%; opacity: .65; }
.hero-copy { position: relative; z-index: 1; padding-left: 5vw; }
.hero h1 { margin: 20px 0 22px; font: 400 clamp(4.8rem, 10vw, 10rem)/.72 var(--serif); letter-spacing: -.045em; }
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-left: 12%; }
.hero h1 i { display: block; height: 0; position: relative; z-index: 2; left: 8%; color: var(--coral); font-size: .58em; font-weight: 400; }
.hero-date { margin-bottom: 34px; font: 400 clamp(.95rem, 1.1vw, 1.15rem) var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.hero-date b { color: var(--coral); padding: 0 7px; }
.hero-copy .button { padding: 18px 30px; font-size: .82rem; }
.hero-photo { min-height: 600px; padding: 22px; background: #fff9ed; transform: rotate(2.5deg); box-shadow: 0 15px 50px rgba(24,57,47,.12); }
.hero-image { display: block; width: 100%; height: 600px; object-fit: cover; object-position: 68% center; }
.photo-placeholder { width: 100%; height: 100%; min-height: 550px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--paper); background: radial-gradient(circle at 25% 30%, rgba(239,201,76,.9), transparent 28%), linear-gradient(145deg, var(--blue), var(--forest)); overflow: hidden; position: relative; }
.photo-placeholder::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(242,236,223,.6); }
.photo-placeholder span { font: 5rem var(--serif); position: relative; z-index: 1; }
.photo-placeholder small { font: .62rem var(--mono); text-transform: uppercase; letter-spacing: .1em; position: relative; z-index: 1; }
.hero-note { position: absolute; right: 1.2vw; bottom: 30px; color: var(--coral); font: 500 .62rem/1.5 var(--mono); transform: rotate(4deg); }

.pattern-break {
  height: 48px;
  background-color: var(--orange);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 22px,
    rgba(248, 248, 242, .48) 22px 24px,
    transparent 24px 46px,
    rgba(41, 69, 77, .18) 46px 48px
  );
  border-block: 1px solid var(--ink);
}

.story { min-height: 770px; position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; align-items: center; }
.story-copy { padding-left: 5vw; }
.script-note { color: var(--coral); font: italic 1.3rem var(--serif); transform: rotate(-4deg); }
.story h2, .stay h2, .schedule h2, .rsvp h2 { margin: 12px 0 30px; font: 600 clamp(3.7rem, 7vw, 7rem)/.9 var(--serif); letter-spacing: -.03em; -webkit-text-stroke: .45px currentColor; }
.story-copy > p:last-child, .stay-intro > p:last-child, .rsvp-intro > p:last-child { max-width: 490px; line-height: 1.8; font-size: .92rem; }
.stay-intro > p:last-child { font-size: 1.05rem; }
.photo-stack { height: 650px; position: relative; }
.snapshot { background: #fff9ed; padding: 10px 10px 30px; width: min(300px, 43%); position: absolute; margin: 0; box-shadow: 0 14px 40px rgba(24,57,47,.14); }
.snapshot-one { left: 1%; top: 1%; transform: rotate(-6deg); }
.snapshot-two { right: 2%; top: 10%; transform: rotate(6deg); }
.snapshot-three { left: 5%; bottom: 4%; transform: rotate(4deg); }
.snapshot-four { right: 4%; bottom: 0; transform: rotate(-5deg); }
.photo-placeholder.small { min-height: 360px; background: radial-gradient(circle at 70% 20%, var(--coral), transparent 30%), linear-gradient(150deg, #d4b17e, var(--forest)); }
.photo-placeholder.small.alt { background: radial-gradient(circle at 30% 70%, var(--yellow), transparent 30%), linear-gradient(150deg, var(--blue), #c8826f); }
.snapshot-photo { display: block; width: 100%; height: 280px; object-fit: cover; }
.snapshot-one .snapshot-photo { object-position: center 38%; }
.snapshot-two .snapshot-photo { object-position: center; }
.snapshot figcaption { padding-top: 13px; text-align: center; font: .6rem var(--mono); letter-spacing: .13em; }

.details { min-height: 850px; color: var(--ink); background: var(--forest); position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 7vw; align-items: center; }
.details::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: 70px; border: 1px solid var(--yellow); border-radius: 50%; }
.details-heading { padding-left: 5vw; }
.details-heading h2 { margin: 12px 0; color: var(--ink); font: 600 clamp(4.6rem, 8vw, 8rem)/.88 var(--serif); letter-spacing: -.03em; -webkit-text-stroke: .45px currentColor; }
.venue-card { display: grid; grid-template-columns: .65fr 1.35fr; background: var(--paper); border: 1px solid rgba(41,69,77,.45); box-shadow: 10px 10px 0 rgba(41,69,77,.12); }
.venue-date { padding: 55px 20px; background: var(--blue); border-right: 1px solid rgba(41,69,77,.35); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-align: center; text-transform: uppercase; font: 500 .9rem/1.35 var(--mono); letter-spacing: .1em; }
.venue-date strong { color: var(--ink); font: 700 6.5rem/.9 var(--sans); letter-spacing: -.08em; }
.venue-date span { display: block; }
.venue-info { padding: 55px 50px; }
.venue-info h3 { margin: 18px 0; font: 2.6rem var(--serif); }
.venue-info p { font-size: 1.05rem; line-height: 1.7; }
.text-link { display: inline-block; margin-top: 22px; color: var(--ink); font: .9rem var(--mono); font-weight: 500; text-transform: uppercase; text-underline-offset: 6px; }
.calendar-button { margin-top: 26px; }
.venue-visuals { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.venue-photo { margin: 0; padding: 10px 10px 16px; background: var(--paper); color: var(--ink); }
.venue-photo img { display: block; width: 100%; height: 520px; object-fit: cover; object-position: center; }
.venue-photo figcaption { padding-top: 13px; text-align: center; font: .6rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.venue-map { min-height: 100%; padding: 10px; background: var(--paper); border: 1px solid rgba(41,69,77,.35); overflow: hidden; }
.venue-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(.95); }
.dress-code-inline { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(41,69,77,.25); }
.dress-code-inline span { color: var(--orange); font: 500 .85rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dress-code-inline p { margin: 10px 0 0; max-width: 550px; font-size: 1.05rem; line-height: 1.65; }

.stay { min-height: 760px; position: relative; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 8vw; }
.stay-intro { padding-left: 5vw; }
.hotel-list { border-top: 1px solid var(--ink); }
.hotel { min-height: 120px; padding: 25px 18px; display: grid; grid-template-columns: 44px 1fr 30px; align-items: center; gap: 20px; text-decoration: none; border-bottom: 1px solid var(--ink); transition: background .2s, padding .2s; }
.hotel:hover { background: var(--yellow); padding-inline: 28px; }
.hotel-number { font: .75rem var(--mono); }
.hotel strong { display: block; margin-bottom: 9px; font: 600 2rem var(--serif); -webkit-text-stroke: .3px currentColor; }
.hotel small { color: var(--grey); font: .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; }

.schedule { color: var(--ink); background: var(--blue); position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 8vw; }
.schedule-title { padding: 30px 0 0 5vw; position: sticky; top: 30px; }
.stay h2, .schedule h2 { font-size: clamp(4.6rem, 8vw, 8rem); }
.schedule-title h2 { color: var(--ink); }
.timeline article { min-height: 150px; padding: 38px 10px; display: grid; grid-template-columns: 145px 1fr; border-bottom: 1px solid rgba(41,69,77,.35); }
.timeline time { color: var(--ink); font: 600 1.1rem/1.4 var(--sans); letter-spacing: .02em; }
.timeline h3 { margin: -8px 0 10px; font: 600 2.2rem var(--serif); -webkit-text-stroke: .3px currentColor; }
.timeline p { margin: 0; font-size: 1rem; line-height: 1.65; }

.gallery { text-align: center; }
.gallery-grid { margin: 40px auto 0; max-width: 1180px; display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 18px; }
.gallery-grid .site-photo { display: block; width: 100%; height: 440px; object-fit: cover; }
.gallery-a, .gallery-c { grid-column: span 2; object-position: center; }
.gallery-b { grid-column: span 2; height: 540px !important; object-position: center; }
.gallery-d, .gallery-e { grid-column: span 3; height: 500px !important; object-position: center; }
.gallery-h { grid-column: 2 / span 4; height: 440px !important; object-position: center; }
.gallery-caption { color: var(--coral); font: italic 1.25rem var(--serif); }

.rsvp { position: relative; background: var(--yellow); display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: start; }
.rsvp-intro { padding: 25px 0 0 5vw; position: sticky; top: 30px; }
.rsvp-form { max-width: 620px; padding: 45px; background: var(--paper); box-shadow: 12px 12px 0 var(--coral); }
.rsvp-form h3 { margin: 20px 0; font: 600 3rem var(--serif); -webkit-text-stroke: .3px currentColor; }
.rsvp-form > p:not(.eyebrow) { max-width: 470px; font-size: 1.1rem; line-height: 1.75; }
.rsvp-form .rsvp-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font: .65rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.rsvp-form > label, fieldset { display: block; margin: 0 0 27px; border: 0; padding: 0; text-transform: uppercase; letter-spacing: .06em; font: 500 .67rem var(--mono); }
.rsvp-form label span { color: rgba(24,57,47,.6); }
input[type="text"], textarea, select { width: 100%; padding: 13px 2px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; outline: 0; color: var(--ink); margin-top: 8px; }
input:focus, textarea:focus, select:focus { border-bottom-color: var(--coral); box-shadow: 0 2px 0 var(--coral); }
legend { margin-bottom: 13px; }
.rsvp-lookup-form .button, .rsvp-response-form .button-dark { margin-top: 5px; }
.rsvp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 5px; }
.rsvp-actions .calendar-button { margin-top: 0; }
.rsvp-save { margin-left: auto; }
.turnstile-widget { margin: 22px 0 5px; min-height: 65px; }
.rsvp-party-name { margin: 0 0 25px; font: 600 2rem var(--serif); -webkit-text-stroke: .25px currentColor; }
.rsvp-guest { border-top: 1px solid var(--line); padding-top: 20px; }
.rsvp-guest legend { font: 600 1.5rem var(--serif); text-transform: none; letter-spacing: 0; -webkit-text-stroke: .2px currentColor; }
.rsvp-choices { display: flex; flex-wrap: wrap; gap: 11px 20px; margin: 0 0 18px; }
.rsvp-choices label { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font: 500 1.05rem var(--sans); }
.rsvp-choices input { width: 1.1rem; height: 1.1rem; accent-color: var(--coral); }
.rsvp-dietary { text-transform: none; letter-spacing: 0; font: 500 1rem var(--sans); }
.rsvp-dietary textarea { resize: vertical; font: 1rem var(--sans); }
.button-text { display: block; padding: 10px 0 0; border: 0; background: transparent; color: var(--ink); text-decoration: underline; font: .7rem var(--mono); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.button:disabled { cursor: wait; opacity: .55; }
.rsvp-note:empty { display: none; }
.rsvp-note.is-error { color: #9f3f28; }
.radio-card { display: inline-flex; align-items: center; margin: 0 15px 8px 0; padding: 11px 13px; border: 1px solid var(--line); cursor: pointer; }
.radio-card:has(input:checked) { background: var(--ink); }
.radio-card:has(input:checked) span { color: var(--paper); }
.radio-card input { margin-right: 8px; accent-color: var(--coral); }
.form-status { min-height: 20px; margin: 18px 0 0; font: .72rem/1.5 var(--mono); }

footer { min-height: 330px; padding: 70px 6vw; background: var(--ink); color: var(--paper); text-align: center; }
.footer-mark { font: 7rem/.8 var(--serif); }
.footer-mark span { color: var(--coral); }
footer p, footer a { font: .68rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
footer p { color: #b8c0bd; }
footer a { color: var(--yellow); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .16s; }

@media (max-width: 800px) {
  .section { padding: 85px 25px; }
  .section-number { display: none; }
  .site-header { position: absolute; padding-inline: 22px; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 28px; background: var(--paper); flex-direction: column; border-bottom: 1px solid var(--ink); }
  nav.open { display: flex; }
  .hero { padding: 115px 22px 65px; grid-template-columns: 1fr; gap: 45px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(4.5rem, 25vw, 7rem); }
  .hero-photo { min-height: 430px; padding: 12px; }
  .hero-image { height: 430px; }
  .photo-placeholder { min-height: 405px; }
  .hero-note { display: none; }
  .details::after { display: none; }
  .story, .details, .stay, .schedule, .rsvp { display: block; min-height: auto; }
  .story-copy, .details-heading, .stay-intro, .schedule-title, .rsvp-intro { padding-left: 0; position: static; }
  .photo-stack { margin-top: 60px; height: 590px; }
  .snapshot { width: 48%; }
  .photo-placeholder.small { min-height: 280px; }
  .snapshot-photo { height: 220px; }
  .details-heading { margin-bottom: 50px; }
  .venue-card { display: block; }
  .venue-visuals { display: block; }
  .venue-photo { margin-top: 24px; }
  .venue-photo img { height: 380px; }
  .venue-map { margin-top: 24px; height: 280px; }
  .venue-date { padding: 38px 20px; border-right: 0; border-bottom: 1px solid rgba(41,69,77,.35); font-size: .85rem; }
  .venue-info { padding: 38px 28px; }
  .hotel-list { margin-top: 50px; }
  .schedule-title { margin-bottom: 45px; }
  .timeline article { grid-template-columns: 105px 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-a, .gallery-b, .gallery-c, .gallery-d, .gallery-e, .gallery-h { grid-column: auto; }
  .gallery-grid .site-photo { height: 330px; }
  .gallery-b { height: 410px !important; }
  .gallery-d, .gallery-e, .gallery-h { height: 350px !important; }
  .rsvp-intro { margin-bottom: 50px; }
  .rsvp-form { padding: 30px 23px; box-shadow: 7px 7px 0 var(--coral); }
}

@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; }
}
