:root {
  --ink: #211f1a; --paper: #f4f0e8; --gold: #d0b07a; --muted: #b8b2a5; --line: #d4cdc0;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'DM Sans', Arial, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  color: var(--ink); background: var(--paper); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-180%); background: var(--paper); padding: 1rem; z-index: 100; }
.skip-link:focus { transform: none; }

.film-loader {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px;
  background: linear-gradient(180deg, #14110ecc 0%, #211f1af2 45%, #211f1af7 100%);
  color: var(--paper); transition: opacity 420ms var(--ease), visibility 420ms var(--ease);
}
.film-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.film-loader-label { font: 500 11px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #f2d6a5; }
.film-loader-track {
  width: min(280px, 70vw); height: 2px; background: #403a30; overflow: hidden;
}
.film-loader-track span {
  display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left;
  background: var(--gold); transition: transform 160ms linear;
}
.film-loader-pct { font: 400 12px/1 var(--serif); color: #cbc6bb; letter-spacing: .04em; }

/* Dedicated film and copy cells: no type covers any part of the source frame. */
.journey { height: 950svh; background: var(--ink); color: var(--paper); }
.journey-stage {
  position: sticky; top: 0; height: 100svh; min-height: 560px; display: grid;
  grid-template-columns: minmax(0, 1fr); grid-template-rows: 54px minmax(0, 1fr) 218px 44px;
  padding-bottom: env(safe-area-inset-bottom, 0px); overflow: clip;
}
.journey-stage { touch-action: none; }
.site-header { grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 22px; }
.monogram { display: inline-flex; align-items: center; min-height: 44px; font: 500 26px var(--serif); letter-spacing: -.08em; }
.monogram span { font-style: italic; font-weight: 400; color: var(--gold); font-size: .65em; margin: 0 .14em; }
.header-place { display: none; }
.header-link { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.header-link span { font-size: 16px; color: var(--gold); }
.film-region { grid-row: 2; position: relative; display: flex; justify-content: center; min-height: 0; padding: 0 18px; }
.film-border { height: 100%; aspect-ratio: 9 / 16; max-width: 100%; border: 1px solid #75654b; padding: 4px; }
#journey-video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.film-side-note { position: absolute; bottom: 0; right: 11px; writing-mode: vertical-rl; font-size: 8px; letter-spacing: .17em; text-transform: uppercase; color: #aaa28f; }
.copy-region { grid-row: 3; position: relative; min-width: 0; padding: 0 20px; }
.copy-ornament { display: none; }
.chapter-copy { position: absolute; inset: 0 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; text-align: center; pointer-events: none; }
.chapter-copy.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.eyebrow, .small-label { font: 500 9px/1.6 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.chapter-copy .eyebrow { color: var(--gold); font-size: 8px; letter-spacing: .13em; margin-bottom: 8px; }
.chapter-copy h1 { font: 400 clamp(2.5rem, 11.5vw, 3.6rem)/1 var(--serif); letter-spacing: -.055em; }
.chapter-copy h1 em { font-size: .65em; color: var(--gold); margin: 0 2px; }
.chapter-copy h2 { font: 400 clamp(1.8rem, 8vw, 2.5rem)/.94 var(--serif); letter-spacing: -.035em; }
.chapter-copy h2 em { font-weight: 400; color: #dbbd8c; }
.copy-note { margin-top: 11px; color: #cbc6bb; font: 400 12px/1.6 var(--sans); max-width: 36em; text-wrap: pretty; }
.hero-date { margin-top: 13px; font: 500 8px/1.6 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.hero-date span { display: block; color: var(--muted); font-size: 8px; letter-spacing: .09em; }
.chapter-copy .text-link { font-size: 9px; margin-top: 12px; padding: 6px 0; }
.chapter-nav { display: none; }
.journey-footer { grid-row: 4; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 22px; border-top: 1px solid #4d473c; }
.chapter-caption { display: flex; gap: 9px; align-items: center; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.chapter-caption b { font-weight: 400; color: var(--gold); }
.scroll-cue { border: 0; background: none; padding: 0; min-height: 44px; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.scroll-cue span { color: var(--gold); display: inline-block; margin-left: 8px; font-size: 15px; }
.media-status { position: absolute; top: 56px; left: 20px; padding: 6px 10px; background: var(--ink); color: var(--gold); font-size: 10px; z-index: 2; max-width: calc(100% - 40px); }
.media-status:empty { display: none; }
.progress { position: absolute; bottom: 0; height: 2px; width: 100%; background: #403a30; }
.progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--gold); }

.section-shell { padding: 64px 24px; }
.section-kicker { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 8px; line-height: 1.7; letter-spacing: .13em; text-transform: uppercase; color: #686153; }
.section-kicker > span:last-child { flex-shrink: 0; }
.small-label { color: #76603c; }
.section-shell h2 { font: 400 clamp(2.5rem, 8vw, 4rem)/.98 var(--serif); letter-spacing: -.035em; }
.section-shell h2 em { font-weight: 400; }
.letter-grid { display: grid; gap: 30px; padding-top: 48px; }
.letter-grid .small-label { margin-bottom: 17px; }
.body-column { color: #665f53; font-size: 13px; line-height: 1.9; }
.body-column p + p { margin-top: 18px; }
.signature { display: block; margin-top: 28px; font: italic 30px var(--serif); color: var(--ink); }
.family-note { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.family-note > span { font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: #766b58; }
.family-note p { font: 400 21px/1.4 var(--serif); margin-top: 12px; }
.family-note i { font-size: 17px; color: #a37c42; padding: 0 3px; }
.celebrations { background: #e7dfd1; scroll-margin-top: 16px; }
.section-heading { display: flex; flex-direction: column; gap: 28px; padding: 48px 0 38px; }
.text-link { display: inline-flex; gap: 22px; align-items: center; width: fit-content; min-height: 44px; border-bottom: 1px solid currentColor; padding: 10px 0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { font-size: 18px; }
.event { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 28px 0; border-top: 1px solid #c9beac; }
.event-number { font-size: 9px; color: #856b45; padding-top: 5px; }
.event h3 { font: 400 29px/1.1 var(--serif); margin: 8px 0; letter-spacing: -.02em; }
.event > div > p:not(.small-label) { font-size: 11px; color: #676050; line-height: 1.7; }
.event-details { grid-column: 2; }
.event-details > span { display: block; margin-top: 4px; font-size: 10px; color: #716959; line-height: 1.7; }
.venue-note { border-top: 1px solid #c9beac; padding-top: 20px; font-size: 9px; line-height: 1.8; color: #72644e; letter-spacing: .04em; }
.keepsake-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 36px; padding-top: 44px; }
.keepsake-grid figure img { width: 100%; height: auto; }
.keepsake-grid figcaption { font-size: 8px; color: #786e5e; line-height: 1.6; margin-top: 10px; }
.keepsake-copy { grid-column: 1 / -1; grid-row: 1; }
.keepsake-copy h2 { margin: 18px 0 22px; }
.keepsake-copy p { font-size: 12px; line-height: 1.9; color: #665f53; max-width: 26em; }
.ornament { display: block; color: #a4814f; font-size: 28px; margin-top: 24px; }
.sea-photo { margin-top: 42px; }
.guest-notes { background: #ede7dc; display: grid; gap: 36px; }
.notes-heading h2 { margin-top: 17px; }
.notes-list details { border-top: 1px solid #cdc3b3; }
.notes-list details:last-child { border-bottom: 1px solid #cdc3b3; }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; font-size: 12px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { color: #856b45; font-size: 18px; line-height: 1; }
details[open] summary span { transform: rotate(45deg); }
details p { padding: 0 22px 24px 0; font-size: 12px; color: #686153; line-height: 1.9; }
.closing { background: var(--ink); color: var(--paper); text-align: center; padding-top: 80px; padding-bottom: 24px; }
.closing-mark { font: 44px var(--serif); color: var(--gold); display: block; margin-bottom: 35px; }
.closing .eyebrow { color: var(--gold); max-width: 27em; margin: 0 auto 28px; }
.closing h2 { font-size: clamp(2.7rem, 9vw, 6.5rem); }
.closing h2 em { color: #d8ba89; }
.closing-copy { font-size: 12px; line-height: 1.9; margin-top: 28px; color: #c3bbac; }
.rsvp-button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid #b79b6b; border-radius: 0; padding: 17px 24px; min-height: 50px; background: var(--gold); color: var(--ink); font-size: 10px; letter-spacing: .08em; transition: background 180ms var(--ease), transform 120ms var(--ease); }
.closing > .rsvp-button { margin-top: 32px; }
.rsvp-button span { font-size: 19px; }
.rsvp-button:active { transform: scale(.97); }
.reply-by { color: #b5ac9d; font-size: 9px; margin-top: 17px; }
.closing-footer { display: flex; align-items: center; flex-direction: column; gap: 17px; margin-top: 80px; border-top: 1px solid #494338; padding-top: 24px; }
.closing-footer p, .closing-footer > a:last-child { color: #b7ae9e; font-size: 9px; letter-spacing: .06em; }
.closing-footer > a:last-child { min-height: 44px; display: flex; align-items: center; }
dialog { background: var(--paper); color: var(--ink); border: 1px solid #b4a080; padding: 36px 24px 28px; width: min(480px, calc(100% - 28px)); max-height: calc(100dvh - 36px); overscroll-behavior: contain; }
dialog::backdrop { background: #17140ecc; }
dialog h2 { font: 400 44px/1 var(--serif); letter-spacing: -.03em; margin: 14px 0; }
.dialog-close { position: absolute; top: 5px; right: 6px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; }
.demo-note { color: #746447; font-size: 11px; line-height: 1.7; margin-bottom: 22px; }
form label { display: block; font-size: 11px; margin: 16px 0; }
input, select, textarea { width: 100%; border: 1px solid #c5bbaa; border-radius: 0; background: #faf7f0; color: var(--ink); font-size: 16px; margin-top: 7px; padding: 11px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #aa8752; outline-offset: 2px; }
form .rsvp-button { width: 100%; }
#rsvp-status { font-size: 12px; line-height: 1.7; color: #486147; margin-top: 16px; }
.noscript-note { padding: 20px; background: var(--paper); color: var(--ink); }

@media (min-width: 700px) {
  .journey-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; grid-template-rows: 80px minmax(0, 1fr) 70px; padding: 0 32px; gap: 0 22px; }
  .site-header { grid-column: 1 / -1; padding: 0; }
  .header-place { display: block; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
  .monogram { font-size: 33px; }
  .copy-region { grid-column: 1; grid-row: 2; padding: 0; }
  .chapter-copy { inset: 0; align-items: flex-start; text-align: left; }
  .chapter-copy h1 { font-size: clamp(4.3rem, 8vw, 7rem); line-height: .83; }
  .chapter-copy h1 span { display: block; }
  .chapter-copy h1 em { display: block; font-size: .46em; margin: 12px 0 8px 8px; }
  .chapter-copy h2 { font-size: clamp(2.6rem, 4.8vw, 5rem); line-height: .98; }
  .chapter-copy .eyebrow { margin-bottom: 23px; font-size: 8px; }
  .copy-note { font-size: 12px; margin-top: 25px; line-height: 1.9; }
  .hero-date { margin-top: 30px; font-size: 9px; }
  .hero-date span { margin-top: 5px; }
  .copy-ornament { display: block; position: absolute; bottom: 4px; left: 0; color: var(--gold); font-size: 28px; }
  .film-region { grid-column: 2; grid-row: 2; padding: 0; align-items: center; }
  .film-border { width: 100%; height: auto; max-height: 100%; aspect-ratio: 9 / 16; }
  .film-side-note { right: -16px; bottom: 12px; font-size: 7px; }
  .chapter-nav { grid-column: 3; grid-row: 2; display: flex; flex-direction: column; justify-content: center; }
  .chapter-nav button { border: 0; background: none; min-height: 48px; width: 44px; display: flex; justify-content: center; align-items: center; gap: 8px; }
  .chapter-nav span { font-size: 8px; color: #9c9485; }
  .chapter-nav i { height: 1px; width: 8px; background: #776b55; }
  .chapter-nav [aria-current] span { color: var(--gold); }
  .chapter-nav [aria-current] i { background: var(--gold); width: 16px; }
  .journey-footer { grid-column: 1 / -1; grid-row: 3; margin: 15px 0 0; }
  .chapter-caption, .scroll-cue { font-size: 9px; }
  .media-status { position: static; padding: 0; font-size: 9px; }
  .section-shell { padding: 90px 48px; }
  .section-kicker { font-size: 9px; }
  .letter-grid { grid-template-columns: 1.1fr 1fr; gap: 50px; padding-top: 65px; }
  .section-shell h2 { font-size: clamp(2.8rem, 5.2vw, 5rem); }
  .body-column { max-width: 36em; }
  .family-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .family-note p { margin: 0; }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 30px; padding-top: 65px; padding-bottom: 45px; }
  .event { grid-template-columns: 38px 1.2fr 1fr; align-items: center; padding: 34px 0; gap: 24px; }
  .event-details { grid-column: auto; }
  .event h3 { font-size: 32px; }
  .keepsake-grid { grid-template-columns: 1fr 1.65fr 1fr; align-items: center; gap: 28px; padding-top: 65px; }
  .keepsake-copy { grid-row: auto; grid-column: auto; }
  .keepsake-copy h2 { font-size: 36px; }
  .keepsake-copy .small-label { font-size: 8px; }
  .sea-photo { margin-top: 100px; }
  .guest-notes { grid-template-columns: 1fr 1.2fr; gap: 60px; }
  .closing { padding-top: 100px; padding-bottom: 28px; }
  .closing h2 { font-size: clamp(4rem, 7vw, 7rem); }
  .closing-footer { flex-direction: row; justify-content: space-between; margin-top: 95px; }
}
@media (min-width: 1100px) {
  .journey-stage { padding: 0 clamp(48px, 6vw, 110px); grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) 44px; column-gap: 60px; grid-template-rows: 100px minmax(0, 1fr) 85px; }
  .chapter-copy h1 { font-size: clamp(6rem, 8.5vw, 10rem); }
  .chapter-copy .eyebrow { font-size: 9px; }
  .chapter-copy h2 { font-size: clamp(3rem, 4.6vw, 5.5rem); }
  .film-border { width: auto; height: 100%; max-width: 100%; }
  .film-side-note { right: -27px; bottom: 0; font-size: 8px; }
  .copy-note { font-size: 13px; }
  .hero-date { margin-top: 40px; font-size: 10px; }
  .hero-date span { font-size: 9px; }
  .section-shell { padding: 110px max(6vw, calc((100vw - 1300px) / 2)); }
  .letter-grid { gap: 13%; }
  .section-shell h2 { font-size: clamp(3rem, 4.8vw, 5.5rem); }
  .family-note { margin-top: 70px; }
  .keepsake-grid { grid-template-columns: 1fr 1.6fr 1fr; gap: 65px; }
  .keepsake-copy h2 { font-size: clamp(2.5rem, 3.2vw, 4rem); }
  .event h3 { font-size: 38px; }
  .closing h2 { font-size: clamp(4rem, 7vw, 8rem); }
  .closing { padding-bottom: 28px; }
}
@media (max-width: 699px) and (max-height: 740px) {
  .journey-stage { grid-template-rows: 50px minmax(0, 1fr) 190px 44px; }
  .copy-note { font-size: 10px; margin-top: 8px; line-height: 1.7; }
  .chapter-copy h2 { font-size: 28px; }
  .chapter-copy h1 { font-size: 39px; }
  .hero-date { margin-top: 9px; }
  .chapter-copy .eyebrow { font-size: 7px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  .journey-stage { min-height: 320px; grid-template-rows: 50px minmax(0, 1fr) 48px; grid-template-columns: 1fr .8fr; gap: 0 32px; padding: 0 24px; }
  .site-header, .journey-footer { grid-column: 1 / -1; }
  .site-header { padding: 0; }
  .film-region { grid-column: 2; grid-row: 2; padding: 0; }
  .film-border { height: 100%; width: auto; }
  .copy-region { grid-column: 1; grid-row: 2; }
  .chapter-copy { inset: 0; text-align: left; align-items: flex-start; }
  .chapter-copy h1 { font-size: 40px; line-height: 1; }
  .chapter-copy h1 span, .chapter-copy h1 em { display: inline; }
  .chapter-copy h1 em { margin: 0 3px; font-size: .65em; }
  .chapter-copy h2 { font-size: 30px; }
  .chapter-copy .eyebrow { margin-bottom: 10px; font-size: 7px; }
  .copy-note { font-size: 10px; margin-top: 10px; }
  .hero-date { margin-top: 15px; font-size: 8px; }
  .copy-ornament, .chapter-nav, .header-place { display: none; }
  .journey-footer { grid-row: 3; margin: 6px 0 0; }
}
@media (hover: hover) {
  .rsvp-button:hover { background: #e1c394; }
  .text-link:hover, .header-link:hover { color: #a5824c; }
  .chapter-nav button:hover span { color: var(--gold); }
}
html.static-journey .journey { height: auto; }
html.static-journey .journey-stage { position: relative; }
html.static-journey .chapter-nav { visibility: hidden; }

/* Continuous full-screen cinema, in the spirit of the Kedarnath invitation. */
.journey-stage {
  display: block;
  padding: 0;
  min-height: 460px;
  isolation: isolate;
}
.film-region {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  z-index: -2;
}
.film-border {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  padding: 0;
}
#journey-video { object-fit: cover; object-position: 50% 50%; }
.film-region::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #080b0c55 0%, transparent 32%, transparent 53%, #0c0b086b 100%);
}
.film-side-note, .copy-ornament { display: none; }
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px clamp(22px, 4vw, 60px);
  z-index: 5;
  text-shadow: 0 1px 10px #0009;
}
.header-place { color: #f0e8d8; }
.copy-region { position: absolute; inset: 0; padding: 0; pointer-events: none; }
.chapter-copy {
  inset: 0;
  padding: 90px 28px 100px;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
}
.chapter-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 37% at 50% 58%, #100b0866, transparent 100%);
}
.chapter-copy h1 { font-size: clamp(4.2rem, 12vw, 9rem); line-height: .92; letter-spacing: -.045em; }
.chapter-copy h1 span { display: inline; }
.chapter-copy h1 em { display: inline; font-size: .65em; margin: 0 .06em; color: #eed7ac; }
.chapter-copy h2 { font-size: clamp(2.8rem, 6vw, 6rem); line-height: .98; }
.chapter-copy h2 em { color: #f7e7c9; }
.chapter-copy h1, .chapter-copy h2 { text-shadow: 0 2px 24px #100b0870; }
.chapter-copy .eyebrow { color: #f6e4bd; margin-bottom: 15px; font-size: 9px; text-shadow: 0 1px 8px #000; }
.copy-note { color: #fff8ed; font: 400 clamp(1rem, 1.6vw, 1.3rem)/1.5 var(--serif); margin-top: 20px; text-shadow: 0 1px 12px #000c; }
.hero-date { margin-top: 24px; font-size: 10px; text-shadow: 0 1px 8px #000; }
.hero-date span { color: #fff1da; font-size: 9px; }
.chapter-copy[data-start='0'] { justify-content: flex-start; padding-top: 15svh; }
.chapter-copy[data-start='0']::before { background: linear-gradient(180deg, #0d121447, transparent 55%); }
.chapter-copy[data-start='7'] { justify-content: flex-end; padding-bottom: 13svh; }
.chapter-copy[data-start='7']::before { background: linear-gradient(0deg, #100c0aab, transparent 65%); }
.chapter-copy[data-start='26.5'] { justify-content: flex-end; padding-bottom: 12svh; }
.chapter-copy[data-start='26.5']::before { background: linear-gradient(0deg, #100c0ac7, transparent 90%); }
.chapter-copy[data-start='37'] { justify-content: flex-start; padding-top: 17svh; }
.chapter-copy[data-start='37']::before { background: linear-gradient(180deg, #1419168c, transparent 85%); }
.chapter-copy[data-start='44'] { justify-content: flex-end; padding-bottom: 13svh; }
.chapter-copy[data-start='44']::before { background: linear-gradient(0deg, #0b1115bb, transparent 95%); }
.film-events { margin-top: 20px; display: grid; gap: 12px; text-align: left; }
.film-events p { font: 18px var(--serif); color: #fff7e8; text-shadow: 0 1px 10px #000; }
.film-events span { display: inline-block; width: 150px; color: #e7cfaa; font: 9px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.film-rsvp { margin-top: 22px; background: #cfb17ac9; border-color: #e7c997; }
.chapter-copy .text-link { color: #f5e6cf; }
.chapter-nav { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); z-index: 4; }
.chapter-nav span { color: #fff9ec; text-shadow: 0 1px 8px #000; }
.chapter-nav i { background: #fff8d77a; }
.journey-footer {
  position: absolute;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: clamp(22px, 4vw, 60px);
  right: clamp(22px, 4vw, 60px);
  margin: 0;
  border: 0;
  text-shadow: 0 1px 8px #000;
}
.media-status { position: static; padding: 5px; background: #211f1a99; color: #f2d6a5; }
.progress { z-index: 6; }
@media (max-width: 699px) {
  .chapter-copy h1 { font-size: clamp(3.7rem, 16vw, 5rem); }
  .chapter-copy h1 span { display: block; }
  .chapter-copy h1 em { display: block; margin: 4px 0; font-size: .45em; }
  .chapter-copy h2 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .chapter-copy[data-start='0'] { padding-top: 11svh; }
  .chapter-copy[data-start='0'] .copy-note { margin-top: 13px; }
  .hero-date { margin-top: 14px; }
  .chapter-copy .eyebrow { font-size: 8px; max-width: 30em; }
  .film-events p { font-size: 16px; }
  .film-events span { width: 126px; font-size: 8px; }
  .media-status { position: absolute; bottom: 44px; top: auto; left: 0; font-size: 9px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  .journey-stage { min-height: 320px; }
  .chapter-copy { padding: 60px 70px; }
  .chapter-copy[data-start] { justify-content: center; padding-top: 60px; padding-bottom: 60px; }
  .chapter-copy h1 { font-size: 55px; }
  .chapter-copy h1 span, .chapter-copy h1 em { display: inline; }
  .chapter-copy h2 { font-size: 38px; }
  .copy-note { font-size: 15px; margin-top: 12px; }
  .hero-date { margin-top: 12px; }
  .film-events { gap: 5px; margin-top: 12px; }
  .film-rsvp { margin-top: 12px; padding: 10px 20px; min-height: 44px; }
}
/* The film's last frame is the document's end. Details live in dialogs. */
body { background: var(--ink); }
.journey-stage { height: 100dvh; }
.site-header { justify-content: flex-end; }
.header-place { margin-right: auto; }
.hero-content { display: flex; flex-direction: column; align-items: center; width: 100%; transform-origin: 50% 0; }
.hero-depth { will-change: clip-path; }
.hero-depth h1 { color: #402822; font-weight: 500; text-shadow: 0 1px 1px #fff6; }
.hero-depth h1 em { color: #70502f; }
.hero-depth .eyebrow { color: #413326; font-weight: 600; text-shadow: none; }
.hero-depth .copy-note { color: #45312b; font-weight: 500; text-shadow: none; }
.hero-depth .hero-date, .hero-depth .hero-date span { color: #493a2a; font-weight: 600; text-shadow: none; }
.chapter-copy.hero-depth::before { background: none; }
#wedding-details { width: min(640px, calc(100% - 28px)); }
.details-intro { font-size: 12px; line-height: 1.8; color: #675e50; margin: 18px 0 24px; }
#wedding-details .event { grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 22px 0; }
#wedding-details .event-details { grid-column: 2; }
#wedding-details .text-link { margin: 16px 24px 16px 0; }
#wedding-details h3 { font-size: 28px; }
@media (min-width: 700px) and (min-height: 601px) {
  .chapter-copy.hero-depth { padding-top: 10svh; }
}
@media (prefers-reduced-motion: reduce) {
  .journey { height: auto; }
  .journey-stage { position: relative; }
  .chapter-nav { visibility: hidden; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Clearer scroll cue for older guests + larger film copy */
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 14px;
  border: 1px solid #d0b07a88;
  background: #211f1acc;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff8ed;
}
.scroll-cue-text { font-weight: 600; }
.scroll-cue-arrow {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  animation: scroll-nudge 1.6s ease-in-out infinite;
}
@keyframes scroll-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.journey-footer {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.chapter-copy h1 { font-size: clamp(3.2rem, 12vw, 5.2rem); }
.chapter-copy h2 { font-size: clamp(2.4rem, 8vw, 4.2rem); }
.chapter-copy .eyebrow { font-size: 11px; }
.copy-note { font-size: clamp(1.05rem, 2.2vw, 1.35rem); }
.film-events p { font-size: 20px; }
@media (min-width: 700px) {
  .scroll-cue { font-size: 14px; padding: 10px 18px; }
}
