:root {
    --ink: #173c3d;
    --deep: #0d5154;
    --deep-2: #083e42;
    --foam: #f4f8f5;
    --sand: #f3eadc;
    --sand-light: #fbf8f2;
    --coral: #dd7b63;
    --sun: #efb869;
    --white: #fff;
    --muted: #6c7d79;
    --line: rgba(23, 60, 61, .14);
    --serif: 'Italiana', 'Times New Roman', serif;
    --sans: 'DM Sans', Arial, sans-serif;
    --shadow: 0 22px 70px rgba(19, 58, 59, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--sand-light); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: white; padding: .7rem 1rem; border-radius: 4px; }
.skip-link:focus { top: 1rem; }
.section { padding: 8rem max(5vw, 1.4rem); }
.eyebrow { margin-bottom: 1rem; color: var(--coral); font-size: .73rem; font-weight: 600; letter-spacing: .2em; line-height: 1.3; text-transform: uppercase; }
.section-heading { max-width: 660px; margin: 0 auto 4rem; text-align: center; }
.section-heading h2, .rsvp-intro h2 { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(2.9rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.025em; }
.section-heading > p:last-child, .rsvp-intro > p { color: var(--muted); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 2rem; padding: .75rem 1.3rem; border: 1px solid transparent; border-radius: 2px; font-size: .77rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--sand-light); color: var(--deep); }
.button-light:hover { background: white; }
.button-primary { background: var(--deep); color: white; }
.button-primary:hover { background: var(--deep-2); }
.button.is-submitting { opacity: .78; cursor: wait; pointer-events: none; transform: none; }
.button.is-submitting::after { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.38); border-top-color: white; border-radius: 50%; content: ''; animation: button-spin .7s linear infinite; }
@keyframes button-spin { to { transform: rotate(360deg); } }
.button-outline { border-color: var(--deep); background: transparent; color: var(--deep); }
.button-outline:hover { background: var(--deep); color: white; }
.button-small { min-height: 42px; padding: .6rem 1rem; font-size: .69rem; }
.button-full { width: 100%; }
.button-disabled { border-color: var(--line); background: #e8ece8; color: #87928f; cursor: not-allowed; }
.button-disabled:hover { transform: none; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--deep); font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.text-link::after { display: block; width: 0; height: 1px; background: currentColor; content: ''; transition: width .2s; }
.text-link:hover::after { width: 20px; }

/* Navigation */
.site-header { position: absolute; z-index: 50; top: 0; left: 0; display: flex; width: 100%; height: 86px; align-items: center; justify-content: space-between; padding: 0 max(5vw, 1.4rem); color: white; transition: background .3s, height .3s, box-shadow .3s; }
.site-header.is-fixed { position: fixed; height: 70px; background: rgba(8, 62, 66, .94); box-shadow: 0 8px 30px rgba(6, 43, 46, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; color: inherit; font-family: var(--serif); font-size: 1.3rem; line-height: 1; text-decoration: none; }
.brand i { padding: 0 .18rem; font-size: .84rem; opacity: .7; }
.brand-dark { width: max-content; margin: 0 auto 2.2rem; color: var(--deep); font-size: 1.7rem; }
.site-nav { display: flex; align-items: center; gap: 2.2rem; }
.site-nav a { position: relative; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { position: absolute; right: 50%; bottom: -.4rem; left: 50%; height: 1px; background: currentColor; content: ''; transition: left .2s, right .2s; }
.site-nav a:hover::after { right: 0; left: 0; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: inherit; }
.menu-button > span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: 5px 0; background: currentColor; }

/* Hero */
.hero { position: relative; display: grid; min-height: min(900px, 100vh); place-items: center; overflow: hidden; padding: 8rem 1.5rem 11rem; background: radial-gradient(circle at 50% 72%, #1e7474 0, #0f5c5f 33%, #08484d 74%, #073c41 100%); color: white; isolation: isolate; }
.hero::before { position: absolute; z-index: -2; top: 9%; left: 50%; width: min(70vw, 680px); aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .09); border-radius: 50%; content: ''; transform: translateX(-50%); }
.hero::after { position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255,255,255,.13) .6px, transparent .6px); background-size: 8px 8px; content: ''; opacity: .18; }
.hero-orb { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.hero-orb-one { top: -16vw; left: -11vw; width: 38vw; aspect-ratio: 1; }
.hero-orb-two { right: -8vw; bottom: -12vw; width: 32vw; aspect-ratio: 1; }
.sun-mark { position: absolute; top: 18%; left: 50%; width: min(29vw, 260px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(140deg, #efc17d, #de8f69); box-shadow: 0 0 70px rgba(239, 184, 105, .16); transform: translateX(-50%); }
.sun-mark span { position: absolute; right: -9%; bottom: 20%; width: 32%; height: 1px; background: rgba(255,255,255,.65); transform: rotate(-14deg); }
.hero-content { position: relative; z-index: 2; margin-top: 7rem; text-align: center; }
.hero-content .eyebrow { color: #f4d3b2; }
.hero h1 { display: flex; align-items: center; margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(4.6rem, 13vw, 10rem); letter-spacing: -.055em; line-height: .78; text-shadow: 0 4px 30px rgba(0, 30, 30, .1); }
.hero h1 em { margin: 0 .25em; color: #f2c58d; font-family: var(--serif); font-size: .42em; font-style: italic; }
.hero-date { margin: 2.5rem 0; font-size: .77rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.hero-date b { padding: 0 .45rem; color: #efc17d; }
.hero-side-note { position: absolute; right: 3.2rem; bottom: 7.6rem; z-index: 4; margin: 0; font-family: var(--serif); font-size: .9rem; font-style: italic; letter-spacing: .04em; opacity: .75; writing-mode: vertical-rl; }
.ocean { position: absolute; z-index: 3; right: 0; bottom: -1px; left: 0; height: 150px; overflow: hidden; }
.wave { position: absolute; left: -5%; width: 110%; height: 160px; border-radius: 45% 52% 0 0 / 24% 28% 0 0; }
.wave-one { bottom: -103px; background: rgba(205, 228, 218, .32); transform: rotate(1deg); }
.wave-two { bottom: -120px; background: #dce9df; transform: rotate(-1.5deg); }
.wave-three { bottom: -143px; background: var(--sand-light); transform: rotate(.3deg); }

/* Countdown */
.countdown-section { padding: 4.4rem 1rem 5.2rem; background: var(--sand-light); text-align: center; }
.countdown { display: flex; max-width: 650px; align-items: center; justify-content: center; margin: 2rem auto 0; }
.countdown div { display: grid; min-width: 120px; }
.countdown strong { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; line-height: 1; }
.countdown span { margin-top: .7rem; color: var(--muted); font-size: .65rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.countdown i { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }

/* Details */
.details-section { background: var(--foam); }
.timeline { display: grid; max-width: 1080px; margin: 0 auto 6rem; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.timeline article { position: relative; display: flex; gap: 1.4rem; padding: 2.1rem 2.2rem 1rem 0; border-right: 1px solid var(--line); }
.timeline article:last-child { border-right: 0; padding-left: 2.2rem; }
.timeline article:nth-child(2) { padding-left: 2.2rem; }
.timeline article::before { position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); content: ''; }
.timeline article:not(:first-child)::before { left: 2.2rem; }
.timeline-number { color: var(--coral); font-family: var(--serif); font-size: 1.3rem; }
.timeline-time { margin-bottom: .35rem; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.timeline h3 { margin-bottom: .55rem; font-family: var(--serif); font-size: 1.7rem; }
.timeline article div > p:last-child { color: var(--muted); font-size: .9rem; }
.venue-card { display: grid; max-width: 1050px; min-height: 430px; margin: 0 auto; overflow: hidden; background: white; box-shadow: var(--shadow); grid-template-columns: 1.1fr .9fr; }
.venue-art { position: relative; display: grid; overflow: hidden; place-items: center; background: linear-gradient(175deg, #b9d7cd 0 46%, #82b2a9 46% 56%, #286f72 56% 70%, #e7d1af 70%); isolation: isolate; }
.venue-art::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.15) 50%, transparent 50.3%); content: ''; }
.venue-art span { color: rgba(255,255,255,.82); font-family: var(--serif); font-size: clamp(4rem, 9vw, 7rem); letter-spacing: -.03em; }
.venue-sun { position: absolute; top: 15%; right: 16%; width: 105px; height: 105px; border-radius: 50%; background: var(--sun); opacity: .9; }
.venue-line { position: absolute; right: -10%; bottom: 23%; left: -10%; height: 18%; border-top: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.line-two { bottom: 18%; transform: rotate(-2deg); }
.venue-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.venue-copy h3 { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 4.2rem); line-height: 1; }
.venue-copy > p:not(.eyebrow) { margin-bottom: 2rem; color: var(--muted); }

/* Dress code */
.dress-code-card { display: grid; max-width: 1050px; margin: 6rem auto 0; overflow: hidden; background: var(--deep-2); color: white; box-shadow: var(--shadow); grid-template-columns: .82fr 1.18fr; scroll-margin-top: 100px; }
.dress-code-intro { position: relative; display: flex; min-height: 510px; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2.3rem, 5vw, 5rem); overflow: hidden; background: linear-gradient(145deg, #1b6c6d, #0d5154); isolation: isolate; }
.dress-code-intro::before, .dress-code-intro::after { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; content: ''; }
.dress-code-intro::before { top: -16%; right: -25%; width: 290px; height: 290px; }
.dress-code-intro::after { bottom: -30%; left: -30%; width: 350px; height: 350px; }
.dress-code-sun { position: absolute; z-index: -1; top: 13%; right: 12%; width: 90px; height: 90px; border-radius: 50%; background: var(--sun); opacity: .88; }
.dress-code-intro .eyebrow { color: #f3c99c; }
.dress-code-intro h3 { max-width: 330px; margin: 0 0 1.3rem; font-family: var(--serif); font-size: clamp(3.6rem, 6vw, 5.5rem); letter-spacing: -.035em; line-height: .86; }
.dress-code-intro h3 em { display: block; color: #f3c99c; font-size: .72em; font-style: italic; }
.dress-code-intro > p:not(.eyebrow) { max-width: 330px; color: rgba(255,255,255,.73); font-size: .9rem; }
.coastal-palette { display: flex; align-items: center; margin-top: 2rem; }
.coastal-palette > span { width: 25px; height: 25px; margin-left: -4px; border: 2px solid var(--deep); border-radius: 50%; }
.coastal-palette > span:first-child { margin-left: 0; }
.palette-sand { background: #ead7b8; }
.palette-coral { background: #dd7b63; }
.palette-sea { background: #77aaa4; }
.palette-navy { background: #173c3d; }
.coastal-palette small { max-width: 120px; margin-left: .8rem; color: rgba(255,255,255,.65); font-size: .6rem; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; }
.dress-code-guide { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.3rem, 5vw, 4.5rem); background: #fffdf8; color: var(--ink); }
.dress-code-notes { display: grid; gap: 1.6rem; }
.dress-code-notes article { display: grid; grid-template-columns: 34px 1fr; gap: 1rem; }
.dress-code-notes article > span { padding-top: .15rem; color: var(--coral); font-family: var(--serif); font-size: 1.1rem; }
.dress-code-notes h4 { margin: 0 0 .3rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.dress-code-notes p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.dress-code-note { margin: 2rem 0 0; padding: 1.1rem 1.2rem; border-left: 2px solid var(--sun); background: var(--sand-light); color: var(--muted); font-size: .76rem; line-height: 1.6; }

/* Forms + RSVP */
.rsvp-section { display: grid; background: var(--sand); grid-template-columns: minmax(280px, .72fr) minmax(520px, 1.28fr); gap: clamp(3rem, 9vw, 9rem); }
.rsvp-intro { position: sticky; top: 110px; align-self: start; }
.rsvp-date-lockup { display: flex; align-items: center; gap: 1rem; margin-top: 4rem; color: var(--deep); }
.rsvp-date-lockup > span { padding-right: 1rem; border-right: 1px solid rgba(23,60,61,.25); font-family: var(--serif); font-size: 5rem; line-height: .8; }
.rsvp-date-lockup > div { font-size: .69rem; font-weight: 600; letter-spacing: .16em; line-height: 1.7; text-transform: uppercase; }
.form-card { padding: clamp(1.7rem, 5vw, 4.6rem); background: rgba(255,255,255,.88); box-shadow: var(--shadow); }
.rsvp-form { display: grid; gap: 2rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field-wide { grid-column: 1 / -1; }
.field, .stacked-form label { display: grid; gap: .5rem; color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
.field > span { color: var(--muted); font-size: .66rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.field em { color: var(--muted); font-size: .65rem; font-style: normal; font-weight: 400; }
input, textarea, select { width: 100%; min-height: 49px; padding: .75rem 0; border: 0; border-bottom: 1px solid rgba(23,60,61,.25); border-radius: 0; outline: none; background: transparent; color: var(--ink); font-size: .94rem; font-weight: 400; letter-spacing: 0; text-transform: none; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: auto; resize: vertical; }
select { cursor: pointer; }
input:focus, textarea:focus, select:focus { border-color: var(--deep); box-shadow: 0 1px 0 var(--deep); }
input::placeholder, textarea::placeholder { color: #98a39f; }
.attendance-field { padding: 0; border: 0; }
.attendance-field legend { margin-bottom: .85rem; font-family: var(--serif); font-size: 1.65rem; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choice-row label { position: relative; cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { display: grid; min-height: 95px; align-content: center; padding: 1rem 1.2rem; border: 1px solid var(--line); background: var(--sand-light); transition: border-color .2s, background .2s, transform .2s; }
.choice-row input:checked + span { border-color: var(--deep); background: #e7f0eb; transform: translateY(-2px); }
.choice-row input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.choice-row b { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.choice-row small { margin-top: .18rem; color: var(--muted); font-size: .72rem; }
.attending-details { display: grid; gap: 2rem; padding: 1.5rem; border-left: 2px solid var(--sun); background: rgba(243,234,220,.45); transition: opacity .2s; }
.attending-details.is-hidden { display: none; }
.lodging-field { display: grid; gap: 1rem; padding: 1.4rem 0 0; border: 0; border-top: 1px solid var(--line); }
.lodging-field legend { padding: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.lodging-field > p { margin: -.4rem 0 0; color: var(--muted); font-size: .78rem; }
.lodging-choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.lodging-choice-row label { position: relative; cursor: pointer; }
.lodging-choice-row input { position: absolute; opacity: 0; }
.lodging-choice-row span { display: grid; min-height: 82px; align-content: center; padding: .85rem 1rem; border: 1px solid var(--line); background: white; transition: border-color .2s, background .2s, transform .2s; }
.lodging-choice-row input:checked + span { border-color: var(--deep); background: #e7f0eb; transform: translateY(-2px); }
.lodging-choice-row input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.lodging-choice-row b { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; }
.lodging-choice-row small { margin-top: .12rem; color: var(--muted); font-size: .65rem; }
.accommodation-details { display: grid; max-width: 360px; grid-template-columns: 1fr; gap: .4rem; padding: 1rem 1.1rem; border-left: 2px solid var(--coral); background: white; }
.accommodation-details.is-hidden { display: none; }
.accommodation-details > p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.turnstile-wrap { display: flex; min-height: 65px; align-items: center; justify-content: center; overflow: hidden; }
.turnstile-wrap .cf-turnstile { width: 100%; }
.update-response { padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.update-response summary { color: var(--deep); font-size: .75rem; font-weight: 600; cursor: pointer; }
.update-response .field { margin-top: 1rem; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { display: grid; gap: .2rem; margin-bottom: 2rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--deep); background: #e8f1ed; font-size: .87rem; }
.notice strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.notice-error { border-color: #b74e43; background: #f8e8e4; color: #74372f; }
.notice-neutral { border-color: var(--sun); background: #fff7e8; }
.confirmation-code { display: block; margin-top: .55rem; }
.confirmation-code b { padding: .15rem .45rem; border: 1px dashed currentColor; font-family: monospace; font-size: .95rem; letter-spacing: .07em; }

/* Registry */
.registry-section { background: var(--sand-light); }
.registry-heading { margin-bottom: 2.5rem; }
.registry-notice { max-width: 760px; margin: 0 auto 2.5rem; }
.filter-row { display: flex; justify-content: center; gap: .5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-row button { padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--muted); font-size: .72rem; cursor: pointer; }
.filter-row button.active { border-color: var(--deep); background: var(--deep); color: white; }
.gift-grid { display: grid; max-width: 1200px; margin: 0 auto; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.gift-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(23,60,61,.09); background: white; box-shadow: 0 10px 35px rgba(23,60,61,.06); transition: transform .25s, box-shadow .25s; }
.gift-card:hover { box-shadow: 0 20px 45px rgba(23,60,61,.11); transform: translateY(-5px); }
.gift-card.is-filtered { display: none; }
.gift-image { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #e8ece7; }
.gift-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gift-card:hover .gift-image img { transform: scale(1.025); }
.gift-image-placeholder { display: grid; place-items: center; background: linear-gradient(145deg, #dceae2, #c3d8d0 52%, #e8d5b8); }
.gift-image-placeholder::before, .gift-image-placeholder::after { position: absolute; width: 45%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; content: ''; }
.gift-image-placeholder::after { width: 70%; }
.gift-image-placeholder > span { z-index: 1; color: rgba(255,255,255,.9); font-size: 4rem; }
.gift-status { position: absolute; right: .8rem; bottom: .8rem; padding: .36rem .62rem; border-radius: 2px; background: rgba(255,255,255,.92); color: var(--deep); font-size: .61rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gift-status.fulfilled { background: rgba(13,81,84,.9); color: white; }
.gift-copy { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.gift-meta { display: flex; justify-content: space-between; margin-bottom: .65rem; color: var(--coral); font-size: .63rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gift-copy h3 { margin-bottom: .55rem; font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.gift-copy > p { margin-bottom: 1.3rem; color: var(--muted); font-size: .84rem; }
.gift-actions { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.gift-actions .text-link { font-size: .65rem; white-space: nowrap; }
.registry-empty { max-width: 620px; margin: 0 auto; padding: 4rem 2rem; border: 1px solid var(--line); text-align: center; }
.registry-empty > span { display: block; margin-bottom: 1rem; color: var(--coral); font-size: 3rem; }
.registry-empty h3 { margin-bottom: .5rem; font-family: var(--serif); font-size: 2rem; }
.registry-empty p { margin: 0; color: var(--muted); }
.registry-how { display: flex; max-width: 800px; justify-content: center; gap: 3rem; margin: 3.5rem auto 0; color: var(--muted); font-size: .72rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.registry-how p { display: flex; align-items: center; gap: .7rem; margin: 0; }
.registry-how span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--coral); border-radius: 50%; color: var(--coral); font-size: .66rem; }

/* Dialogs */
.claim-dialog { width: min(94vw, 520px); max-height: 90vh; padding: clamp(1.6rem, 5vw, 3rem); border: 0; background: var(--sand-light); color: var(--ink); box-shadow: 0 30px 90px rgba(4,36,38,.35); overflow-y: auto; }
.claim-dialog::backdrop { background: rgba(4,36,38,.72); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.claim-dialog h3 { margin-bottom: .6rem; font-family: var(--serif); font-size: 2.5rem; line-height: 1; }
.claim-dialog > p:not(.eyebrow) { color: var(--muted); font-size: .88rem; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.35rem; cursor: pointer; }
.stacked-form { display: grid; gap: 1.25rem; margin-top: 1.8rem; }
.stacked-form small { color: var(--muted); font-size: .68rem; letter-spacing: 0; text-transform: none; }

/* Footer + setup */
.site-footer { position: relative; padding: 5.5rem 1.5rem 3rem; overflow: hidden; background: var(--deep-2); color: white; text-align: center; }
.site-footer::before { position: absolute; top: -180px; left: 50%; width: 500px; height: 240px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ''; transform: translateX(-50%); }
.footer-mark { display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; font-family: var(--serif); font-size: 3rem; line-height: 1; }
.footer-mark i { padding: 0 .2em; color: var(--sun); font-size: .6em; }
.site-footer > p { margin-bottom: .4rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer .footer-note { color: rgba(255,255,255,.55); font-family: var(--serif); font-size: .85rem; font-style: italic; letter-spacing: .04em; text-transform: none; }
.admin-link { display: inline-block; margin-top: 2.5rem; color: rgba(255,255,255,.35); font-size: .6rem; text-decoration: none; }
.admin-link:hover { color: white; }
.setup-page { display: grid; min-height: 100vh; padding: 2rem 1rem; place-items: center; background: linear-gradient(145deg, #dceae2, var(--sand)); }
.setup-card { width: min(100%, 550px); padding: clamp(2rem, 7vw, 4.5rem); background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.setup-card h1 { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(2.4rem, 7vw, 3.8rem); line-height: 1; }
.setup-card > p:not(.eyebrow):not(.form-note) { color: var(--muted); }
.form-note { margin: 1.3rem 0 0; color: var(--muted); font-size: .75rem; }
.form-note code { word-break: break-all; }

/* Entrance motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .gift-grid { grid-template-columns: repeat(2, 1fr); }
    .rsvp-section { grid-template-columns: 1fr; gap: 3rem; }
    .rsvp-intro { position: static; max-width: 580px; text-align: center; justify-self: center; }
    .rsvp-date-lockup { justify-content: center; margin-top: 2.5rem; }
    .venue-card { grid-template-columns: 1fr; }
    .venue-art { min-height: 330px; }
    .dress-code-card { grid-template-columns: 1fr; }
    .dress-code-intro { min-height: 430px; }
}

@media (max-width: 720px) {
    .section { padding: 5.8rem 1.2rem; }
    .site-header { height: 70px; }
    .site-header.is-fixed { background: var(--deep-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .site-header .brand { position: relative; z-index: 2; }
    .menu-button { z-index: 2; display: block; cursor: pointer; }
    .site-nav { position: fixed; z-index: 1; inset: 0; display: flex; width: 100vw; min-height: 100vh; min-height: 100dvh; flex-direction: column; justify-content: center; gap: 2rem; background: var(--deep-2); color: white; opacity: 0; overscroll-behavior: contain; pointer-events: none; transform: translateY(-12px); transition: opacity .2s, transform .2s; }
    .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .site-nav a { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
    .hero { min-height: 760px; padding-bottom: 9rem; }
    .hero h1 { flex-direction: column; font-size: clamp(5.3rem, 25vw, 7.3rem); line-height: .68; }
    .hero h1 em { margin: .55em 0 .45em; font-size: .34em; }
    .sun-mark { top: 16%; width: 180px; }
    .hero-content { margin-top: 5rem; }
    .hero-date { max-width: 270px; margin-right: auto; margin-left: auto; line-height: 2; }
    .hero-side-note { display: none; }
    .countdown { align-items: flex-start; }
    .countdown div { min-width: 0; flex: 1; }
    .countdown strong { font-size: 2.3rem; }
    .countdown i { margin: 1.1rem .2rem 0; }
    .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
    .timeline article, .timeline article:nth-child(2), .timeline article:last-child { padding: 0 0 2.5rem 1.7rem; border-right: 0; }
    .timeline article::before, .timeline article:not(:first-child)::before { top: .5rem; left: -4px; }
    .timeline-number { min-width: 25px; }
    .venue-card { min-height: 0; }
    .venue-copy { padding: 2.3rem 1.6rem; }
    .dress-code-card { margin-top: 4rem; }
    .dress-code-intro { min-height: 400px; padding: 2.5rem 1.7rem; }
    .dress-code-intro h3 { font-size: 4.1rem; }
    .dress-code-guide { padding: 2.6rem 1.7rem; }
    .form-card { padding: 1.5rem; }
    .field-grid, .choice-row, .lodging-choice-row { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .gift-grid { grid-template-columns: 1fr; }
    .gift-card { max-width: 500px; width: 100%; margin: 0 auto; }
    .gift-actions { align-items: stretch; flex-direction: column; }
    .gift-actions .text-link { justify-content: center; padding: .5rem; }
    .registry-how { align-items: flex-start; flex-direction: column; gap: 1rem; padding-left: 1rem; }
}

@media (max-width: 390px) {
    .hero h1 { font-size: 4.8rem; }
    .button { gap: 1rem; }
    .countdown span { font-size: .54rem; letter-spacing: .08em; }
    .form-card { padding: 1.2rem; }
}
