*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
em { font-style: italic; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(96px, 13vw, 168px) 0; }
.band--alt { background: var(--bg-2); }
.center { text-align: center; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.center .lede { margin-left: auto; margin-right: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Small uppercase labels for facts (When / Where / Dress). Never used above a heading. */
.label { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- Buttons: square corners, hairline, tracked caps. No pills. ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 30px; border: 1px solid var(--ink); border-radius: var(--r-sm);
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: transparent; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--big { padding: 19px 44px; font-size: .82rem; }
.link {
  display: inline-flex; align-items: center; gap: .55em; text-decoration: none;
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  padding-bottom: 4px; border-bottom: 1px solid currentColor; transition: gap 200ms var(--ease);
}
.link:hover { gap: .9em; }
.link svg { width: 14px; height: 14px; }

/* ---------- Ornament: a short Greek key line ---------- */
.key { width: 168px; height: 14px; color: var(--accent); opacity: .7; margin: 0 auto; }
.key--left { margin: 0; }

/* ---------- Nav: monogram + two actions ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 76px;
  display: flex; align-items: center; transition: background-color 300ms ease, box-shadow 300ms ease, color 300ms ease;
  color: var(--ink);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav.is-over { color: #fff; }
.nav.is-solid { background: color-mix(in srgb, var(--bg) 92%, transparent); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); }
.mono { display: inline-flex; align-items: baseline; gap: .12em; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; text-decoration: none; letter-spacing: .02em; line-height: 1; }
.mono em { font-size: .8em; opacity: .85; }
.nav-actions { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.nav-link { font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 160ms ease; }
.nav-link:hover, .nav-link[aria-current="page"] { border-bottom-color: currentColor; }
.nav .btn { padding: 11px 22px; border-color: currentColor; color: inherit; }
.nav .btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav.is-over .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Hero carousel ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 1100px; overflow: hidden; background: var(--deep); color: #fff; }
.slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1400ms ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8000ms linear; }
.slide.is-on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,16,24,.42) 0%, rgba(8,16,24,0) 22%, rgba(8,16,24,0) 48%, rgba(8,16,24,.62) 100%); }
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(40px, 8vh, 88px); }
.hero h1 { color: #fff; font-size: clamp(3.6rem, 11vw, 9.5rem); font-weight: 400; line-height: .92; letter-spacing: -.02em; }
.hero h1 em { font-weight: 300; padding: 0 .06em; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; }
.hero-meta .dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; opacity: .7; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.dots { display: flex; gap: 8px; padding-bottom: 6px; }
.dots button { width: 34px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(255,255,255,.35); }
.dots button::after { content: ""; position: absolute; left: 0; top: 9px; height: 2px; width: 0; background: #fff; }
.dots button.is-on::after { animation: fill var(--slide-ms, 6000ms) linear forwards; }
.dots button.was::after { width: 100%; }
@keyframes fill { to { width: 100%; } }

/* ---------- Intro ---------- */
.intro h2 { margin: 28px 0 22px; }
.count { display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px); margin-top: 56px; }
.count div { text-align: center; }
.count b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 6vw, 4.2rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.count span { display: block; margin-top: 10px; }

/* ---------- Frames: Cycladic arch + plain rectangle ---------- */
.frame { position: relative; overflow: hidden; background: var(--ph); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: var(--arch); }
.ph { display: grid; place-items: center; height: 100%; color: var(--ph-ink); text-align: center; padding: 24px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,.025) 14px 15px), var(--ph); }

/* ---------- Our story ---------- */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.story-pics { position: relative; padding: 0 12% 18% 0; }
.story-pics .frame--arch { aspect-ratio: 4 / 5.4; }
.story-pics .frame--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; border: 10px solid var(--bg); box-shadow: var(--shadow); }
.story-text h2 { margin-bottom: 28px; }
.story-text p + p { margin-top: 16px; }
.story-text .lede { color: var(--text); }
.sig { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--ink); margin-top: 30px !important; }

/* ---------- The weekend ---------- */
.weekend-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 64px; }
.events { display: grid; grid-template-columns: 1fr 1.22fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; }
.ev { text-decoration: none; display: block; }
.ev .frame { aspect-ratio: 3 / 4; }
.ev--main .frame { aspect-ratio: 3 / 4.5; }
.ev .frame img { transition: transform 900ms var(--ease); }
.ev:hover .frame img { transform: scale(1.04); }
.ev-body { padding: 26px 4px 0; }
.ev-body .label { color: var(--accent); }
.ev h3 { margin: 10px 0 8px; }
.ev p { color: var(--muted); font-size: .98rem; }
.ev .link { margin-top: 18px; }

/* ---------- Venue band ---------- */
.venue { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.venue > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.venue::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,24,.78) 0%, rgba(8,16,24,.45) 45%, rgba(8,16,24,.05) 75%); }
.venue .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(56px, 9vw, 110px); }
.venue h2 { color: #fff; margin: 12px 0 18px; }
.venue p { max-width: 30em; color: rgba(255,255,255,.88); }
.venue .label { color: rgba(255,255,255,.8); }
.venue .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Questions ---------- */
.faq { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.faq .frame { aspect-ratio: 4 / 5; position: sticky; top: 110px; }
.faq h2 { margin-bottom: 30px; }
.qa { border-top: 1px solid var(--line-strong); }
.qa:last-child { border-bottom: 1px solid var(--line-strong); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0;
  font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); line-height: 1.2; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: translateY(-3px) rotate(45deg); transition: transform 300ms var(--ease); }
.qa[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.qa p { padding: 0 40px 26px 0; color: var(--muted); }

/* ---------- Finale ---------- */
.finale { position: relative; color: #fff; text-align: center; padding: clamp(140px, 20vw, 240px) 0; overflow: hidden; background: var(--deep); }
.finale > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finale::after { content: ""; position: absolute; inset: 0; background: rgba(10,16,22,.45); }
.finale .wrap { position: relative; z-index: 1; }
.finale h2 { color: #fff; font-size: clamp(3rem, 7vw, 5.8rem); }
.finale p { margin: 18px 0 40px; font-size: .84rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.85); }

/* ---------- Footer ---------- */
.foot { background: var(--deep); color: var(--on-deep-muted); padding: 80px 0 40px; text-align: center; font-size: .92rem; }
.foot .mono { color: var(--on-deep); font-size: 2.6rem; }
.foot .key { color: var(--on-deep); opacity: .5; margin: 26px auto; }
.foot p + p { margin-top: 6px; }
.foot a { color: var(--on-deep); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.foot a.mono { border: 0; }
.foot .fine { margin-top: 44px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }

/* ---------- Sub-page header ---------- */
.page-hero { position: relative; height: 62svh; min-height: 420px; max-height: 680px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,24,.4) 0%, rgba(8,16,24,0) 30%, rgba(8,16,24,.55) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 7vh, 72px); }
.page-hero h1 { color: #fff; font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 400; }
.page-hero p { margin-top: 14px; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.jump a { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.jump a:hover { color: var(--accent); }

/* ---------- Event detail rows (events page) ---------- */
.event-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.event-row + .event-row { margin-top: clamp(110px, 14vw, 180px); }
.event-row.flip .event-pic { order: 2; }
.event-pic .frame { aspect-ratio: 4 / 5; }
.event-info .label { color: var(--accent); }
.event-info h2 { margin: 14px 0 22px; }
.event-info > p { color: var(--muted); max-width: 30em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin: 36px 0 38px; padding: 30px 0 0; border-top: 1px solid var(--line-strong); }
.facts dt { margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink); font-size: 1.02rem; }
.facts dd small { display: block; color: var(--muted); font-size: .9rem; }
.event-info .actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.tag { display: inline-block; margin-left: 10px; padding: 3px 9px; border: 1px solid var(--line-strong); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); vertical-align: middle; }

/* ---------- Travel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); }
.route { background: var(--surface); border: 1px solid var(--line); }
.route .frame { aspect-ratio: 16 / 10; }
.route-body { padding: 30px 30px 34px; }
.route-body h3 { margin: 8px 0 12px; }
.route-body p { color: var(--muted); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 52px; }
.sec-head .lede { margin-top: 18px; }
.airlines { border-top: 1px solid var(--line-strong); }
.airline { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.airline b { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; color: var(--ink); }
.airline span { color: var(--muted); }
.airline em { font-style: normal; text-align: right; }
.hotels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.hotel .frame { aspect-ratio: 4 / 5; }
.hotel:nth-child(2) { margin-top: 64px; }
.hotel-body { padding-top: 24px; }
.hotel-body h3 { margin: 8px 0 8px; }
.hotel-body p { color: var(--muted); font-size: .96rem; }
.hotel-body .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 18px; font-size: .9rem; color: var(--text); }
.hotel--block .label { color: var(--accent); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; background: var(--accent-soft); color: var(--accent); padding: 2px 8px; }
.todo { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.todo figure { margin: 0; }
.todo .frame { aspect-ratio: 4 / 5; }
.todo figure:first-child .frame { aspect-ratio: auto; height: 100%; min-height: 100%; }
.todo figure:first-child { display: grid; grid-template-rows: 1fr auto; }
.todo figcaption { padding-top: 16px; }
.todo figcaption b { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--ink); }
.todo figcaption span { color: var(--muted); font-size: .94rem; }
.know { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.know div { padding: 30px 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.know b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--ink); margin: 8px 0 6px; }
.know p { color: var(--muted); font-size: .95rem; }

/* ---------- RSVP ---------- */
.rsvp-page { padding-top: 76px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 100svh; }
.rsvp-pic { position: sticky; top: 76px; height: calc(100svh - 76px); overflow: hidden; background: var(--deep); color: #fff; }
.rsvp-pic img { width: 100%; height: 100%; object-fit: cover; }
.rsvp-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,24,.35) 0%, rgba(8,16,24,0) 30%, rgba(8,16,24,.55) 100%); }
.rsvp-pic .cap { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 48px; }
.rsvp-pic .cap h1 { color: #fff; font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 400; }
.rsvp-pic .cap p { margin-top: 12px; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; }
.rsvp-main { padding: 72px clamp(24px, 6vw, 96px) 120px; }
.rsvp-main > header { max-width: 560px; margin-bottom: 56px; }
.rsvp-main > header h2 { margin-bottom: 18px; }
.rsvp-main > header p { color: var(--muted); }
form.rsvp { max-width: 560px; }
.step { border: 0; margin: 0; padding: 0; }
.step + .step { margin-top: 56px; }
.step legend { padding: 0; margin-bottom: 22px; font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); line-height: 1.1; }
.step legend small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: .9rem; color: var(--muted); }
.field { display: block; }
.field + .field, .row + .field, .field + .row { margin-top: 20px; }
.row > .field { margin-top: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field > span { display: block; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px; background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 1rem; color: var(--ink); transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 24px 22px; border: 1px solid var(--line-strong); background: var(--field); border-radius: var(--r-sm); transition: border-color 160ms ease, background-color 160ms ease; }
.choice b { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--ink); }
.choice small { color: var(--muted); font-size: .9rem; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); background: var(--field); border-radius: var(--r-sm); }
.stepper button { width: 54px; height: 54px; border: 0; background: none; font-size: 1.4rem; color: var(--accent); cursor: pointer; }
.stepper button:disabled { color: var(--faint); cursor: default; }
.stepper output { font-variant-numeric: lining-nums; min-width: 56px; text-align: center; font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); }
.guests { margin-top: 22px; display: grid; gap: 14px; }
.ev-check { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.ev-check:last-child { border-bottom: 1px solid var(--line); }
.ev-check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 1px solid var(--line-strong); background: var(--field); border-radius: var(--r-sm); display: grid; place-items: center; cursor: pointer; }
.ev-check input::after { content: ""; width: 7px; height: 12px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-2px) rotate(45deg) scale(0); transition: transform 160ms var(--ease); }
.ev-check input:checked { background: var(--accent); border-color: var(--accent); }
.ev-check input:checked::after { transform: translateY(-2px) rotate(45deg) scale(1); }
.ev-check input:disabled { cursor: not-allowed; opacity: .75; }
.ev-check label { cursor: pointer; }
.ev-check b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--ink); line-height: 1.15; }
.ev-check small { color: var(--muted); font-size: .9rem; }
.ev-check .lock { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-left: 8px; font-family: var(--font-body); vertical-align: middle; }
.ev-check .more { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.submit { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.err { color: #A3362A; font-size: .95rem; }
.when-declined [data-attending-only] { display: none; }
.done { max-width: 560px; }
.done h2 { margin: 24px 0 18px; }
.done p { color: var(--muted); }
.done ul { list-style: none; padding: 0; margin: 28px 0 36px; border-top: 1px solid var(--line); }
.done li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.done li b { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--ink); }
.done .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Event details sheet on the RSVP page */
dialog.sheet { width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: var(--r); background: var(--bg); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
dialog.sheet::backdrop { background: rgba(10,16,22,.55); }
.sheet .frame { aspect-ratio: 16 / 9; }
.sheet-body { padding: 30px 32px 34px; }
.sheet-body .event-pic { display: none; }
.sheet-body .event-row { display: block; }
.sheet-body .event-info h2 { font-size: 2.4rem; margin: 10px 0 14px; }
.sheet-body .facts { margin: 24px 0 0; }
.sheet-body .actions { display: none; }
.sheet-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); cursor: pointer; font-size: 1.3rem; color: var(--ink); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 120ms; }
.rv-d2 { transition-delay: 240ms; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .story, .faq, .event-row, .split { grid-template-columns: 1fr; }
  .story-pics { max-width: 520px; }
  .event-row.flip .event-pic { order: 0; }
  .event-pic .frame { aspect-ratio: 4 / 4.4; }
  .events { grid-template-columns: 1fr; gap: 64px; }
  .ev .frame, .ev--main .frame { aspect-ratio: 4 / 4.6; }
  .ev--main { order: -1; }
  .weekend-head, .sec-head { flex-direction: column; align-items: flex-start; }
  .faq .frame { position: static; aspect-ratio: 16 / 10; }
  .hotels { grid-template-columns: 1fr; gap: 56px; }
  .hotel:nth-child(2) { margin-top: 0; }
  .hotel .frame { aspect-ratio: 4 / 3.6; }
  .todo { grid-template-columns: 1fr 1fr; }
  .todo figure:first-child { grid-column: 1 / -1; }
  .todo figure:first-child .frame { aspect-ratio: 16 / 10; height: auto; }
  .know { grid-template-columns: 1fr 1fr; }
  .airline { grid-template-columns: 1fr; gap: 4px; }
  .airline em { text-align: left; }
  .rsvp-page { grid-template-columns: 1fr; }
  .rsvp-page { padding-top: 66px; }
  .rsvp-pic { position: relative; top: 0; height: 50svh; min-height: 340px; }
  .rsvp-main { padding: 64px var(--gutter) 96px; }
}
@media (max-width: 560px) {
  .nav { height: 66px; }
  .nav .btn { padding: 10px 16px; }
  .mono { font-size: 1.45rem; }
  .row, .choices { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .know { grid-template-columns: 1fr; }
  .todo { grid-template-columns: 1fr; }
  .dots { display: none; }
  .count { gap: 22px; }
  .qa p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ?fill=1 highlights every placeholder that still needs real content */
.show-fill [data-fill] { background: #FFE98A; color: #2B2300; box-shadow: 0 0 0 2px #FFE98A; }
.show-fill .ph { outline: 3px dashed #E0B800; outline-offset: -3px; }
