/* ===== Apolonya · Noces — Bodoni Moda + Pinyon Script + Jost, ivoire et or pâle, cadres d'invitation ===== */
.apo-vow {
  --v-ivory: #fbf8f3; --v-linen: #f3ede3; --v-sand: #e8dfd0; --v-ink: #2f2923; --v-ink-2: #62584d; --v-gold: #b39358; --v-gold-t: #85692f; --v-gold-2: #dccfb2; --v-champ: #f4e7c8;
  --v-serif: 'Bodoni Moda', 'Didot', 'Times New Roman', serif; --v-script: 'Pinyon Script', 'Snell Roundhand', cursive; --v-sans: 'Jost', system-ui, sans-serif;
  --v-ease: cubic-bezier(.22, .61, .36, 1);
  --v-pad: clamp(104px, 16vh, 190px) 6vw;
  position: relative; overflow-x: clip;
  font-family: var(--v-sans); font-weight: 300; font-size: clamp(16px, 1.12vw, 19px); line-height: 1.9; letter-spacing: .01em; color: var(--v-ink); background: var(--v-ivory);
}
.apo-vow * { box-sizing: border-box; }
.apo-vow p { margin: 0 0 1.3em; color: var(--v-ink-2); font: inherit; }
.apo-vow a { color: inherit; text-decoration: none; }
.apo-vow img, .apo-vow video { display: block; width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; border-radius: 0; }

/* ---- Type ---- */
.apo-vow .apo-v-h, .apo-vow h1.apo-v-h, .apo-vow h2.apo-v-h, .apo-vow h3.apo-v-h { font-family: var(--v-serif) !important; font-weight: 400 !important; font-optical-sizing: auto; text-transform: none !important; letter-spacing: -.012em; line-height: 1.1; color: var(--v-ink); margin: 0 0 .5em; font-size: clamp(34px, 3.6vw, 58px); text-wrap: balance; }
.apo-vow .apo-v-h em { font-style: italic; font-weight: 400; color: var(--v-gold-t); }
.apo-vow .apo-v-h.apo-v-h-xl { font-size: clamp(46px, 6.6vw, 108px); line-height: 1.04; }
.apo-vow .apo-v-h.apo-v-h-l { font-size: clamp(38px, 4.8vw, 80px); line-height: 1.08; }
.apo-vow .apo-v-h.apo-v-h-m { font-size: clamp(27px, 2.5vw, 42px); }
.apo-vow .apo-v-h.apo-v-h-s { font-size: clamp(21px, 1.7vw, 28px); line-height: 1.2; }
/* the big headlines carry one handwritten word */
.apo-vow .apo-v-h-xl em, .apo-vow .apo-v-h-l em { font-family: var(--v-script) !important; font-style: normal; font-weight: 400; font-size: 1.42em; line-height: .6; letter-spacing: 0; padding: 0 .05em; display: inline-block; vertical-align: -.04em; }
.apo-vow .apo-v-pre, .apo-vow .apo-v-time { display: flex; align-items: center; justify-content: center; gap: 18px; font-family: var(--v-sans); font-weight: 400; font-size: clamp(10.5px, .74vw, 12.5px); letter-spacing: .44em; text-transform: uppercase; color: var(--v-gold-t); margin: 0 0 28px; line-height: 1.6; }
.apo-vow .apo-v-pre::before, .apo-vow .apo-v-pre::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.apo-vow .apo-v-time { justify-content: flex-start; margin-bottom: 14px; }
.apo-vow .apo-v-time::before, .apo-vow .apo-v-time::after { content: none; }
.apo-vow .apo-v-lead { font-family: var(--v-serif); font-style: italic; font-weight: 400; font-size: clamp(19px, 1.6vw, 27px); line-height: 1.55; color: var(--v-ink); margin: 0 0 34px; text-wrap: pretty; }
.apo-vow .apo-v-lead-l { font-size: clamp(22px, 2vw, 33px); max-width: 940px; margin-left: auto; margin-right: auto; }
.apo-vow .apo-v-num { display: block; font-family: var(--v-serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.1vw, 36px); color: var(--v-gold-t); margin-bottom: 10px; line-height: 1; }
.apo-vow .apo-v-orn { display: block; position: relative; width: 150px; height: 1px; margin: 30px auto 34px; font-size: 0; background: linear-gradient(90deg, transparent, var(--v-gold) 30%, var(--v-gold) 70%, transparent); }
.apo-vow .apo-v-orn::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--v-gold); transform: translate(-50%, -50%) rotate(45deg); }
.apo-vow .apo-v-rule { display: block; width: 1px; height: 70px; margin: 0 auto 30px; background: linear-gradient(to bottom, rgba(179, 147, 88, 0), var(--v-gold)); }
.apo-vow .apo-v-note { font-family: var(--v-serif); font-size: 16px; font-style: italic; color: var(--v-ink-2); }
.apo-vow .apo-v-center { text-align: center; margin-top: 52px; }
.apo-vow .apo-v-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--v-sans); font-weight: 400; font-size: 11.5px; letter-spacing: .38em; text-transform: uppercase; color: var(--v-ink); }
.apo-vow .apo-v-link span { position: relative; padding-bottom: 8px; }
.apo-vow .apo-v-link span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--v-gold); transform-origin: left; transition: transform .8s var(--v-ease); }
.apo-vow .apo-v-link:hover span::after { transform: scaleX(.25); }
.apo-vow .apo-v-links { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.apo-vow .apo-v-links-left { justify-content: flex-start; margin-top: 14px; }
.apo-vow .apo-v-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 40px; border: 1px solid var(--v-gold-t); background: var(--v-gold-t); color: #fff; font-family: var(--v-sans); font-weight: 400; font-size: 11.5px; letter-spacing: .34em; text-transform: uppercase; transition: background .5s, color .5s; }
.apo-vow .apo-v-btn:hover { background: transparent; color: var(--v-ink); }
.apo-vow .apo-v-btn-ghost { background: transparent; color: var(--v-ink); }
.apo-vow .apo-v-btn-ghost:hover { background: var(--v-gold-t); color: #fff; }
.apo-vow .apo-v-btn span::after { content: none; }
.apo-vow [data-v-reveal] { opacity: 0; transform: translateY(44px); transition: opacity 1.3s var(--v-ease), transform 1.3s var(--v-ease); }
.apo-vow [data-v-reveal].is-in, .apo-static .apo-vow [data-v-reveal] { opacity: 1; transform: none; }
.apo-vow.apo-v-bg-linen { background: var(--v-linen); }
body.apo-vow-page #header-outer { background: rgba(251, 248, 243, .86) !important; }

/* inset frame, like the border of an invitation */
.apo-v-frame { position: absolute; inset: clamp(14px, 2vw, 34px); border: 1px solid rgba(255, 255, 255, .5); pointer-events: none; z-index: 1; }

/* ---- Hero ---- */
.apo-v-hero { position: relative; height: 100vh; min-height: 700px; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff; }
.apo-v-hero-media { position: absolute; inset: -8% 0; }
.apo-v-hero-veil { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 52%, rgba(47, 41, 35, .4) 0%, rgba(47, 41, 35, .14) 72%), linear-gradient(0deg, rgba(47, 41, 35, .42) 0%, rgba(47, 41, 35, .04) 55%, rgba(47, 41, 35, .24) 100%); }
.apo-v-hero-in { position: relative; z-index: 2; max-width: 1240px; padding: 90px 28px 0; }
.apo-vow.apo-v-hero .apo-v-h, .apo-vow.apo-v-hero h1.apo-v-h, .apo-vow.apo-v-hero .apo-v-lead, .apo-vow.apo-v-hero .apo-v-pre, .apo-vow.apo-v-hero .apo-v-link { color: #fff; }
.apo-vow.apo-v-hero .apo-v-h em { color: var(--v-champ); }
.apo-vow.apo-v-hero .apo-v-pre { margin-bottom: 34px; }
.apo-vow.apo-v-hero .apo-v-lead { max-width: 700px; margin: 18px auto 46px; }
.apo-vow.apo-v-hero .apo-v-link span::after { background: #fff; }
.apo-vow.apo-v-hero .apo-v-h { text-shadow: 0 2px 50px rgba(47, 41, 35, .6), 0 0 10px rgba(47, 41, 35, .3); }
.apo-vow.apo-v-hero .apo-v-lead, .apo-vow.apo-v-hero .apo-v-pre { text-shadow: 0 1px 24px rgba(47, 41, 35, .7); }
.apo-v-scroll { position: absolute; left: 50%; bottom: clamp(34px, 5vw, 60px); transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font-family: var(--v-sans); font-size: 10.5px; letter-spacing: .4em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(47, 41, 35, .6); }
.apo-v-scroll i { width: 1px; height: 40px; background: #fff; animation: apo-v-drop 2.4s var(--v-ease) infinite; transform-origin: top; }
@keyframes apo-v-drop { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }


/* ---- Cover ---- */
.apo-v-cover { min-height: 100vh; display: grid; align-items: center; padding: clamp(118px, 15vh, 170px) 6vw clamp(70px, 9vh, 110px); background: radial-gradient(ellipse at 76% 42%, #f0e4d0 0%, rgba(240, 228, 208, 0) 62%), var(--v-ivory); }
.apo-v-cover-in { display: grid; grid-template-columns: 1.12fr .88fr; gap: 6vw; align-items: center; max-width: 1320px; width: 100%; margin: 0 auto; }
.apo-vow .apo-v-cover-text .apo-v-pre { justify-content: flex-start; }
.apo-vow .apo-v-cover-text .apo-v-pre::before { content: none; }
.apo-vow .apo-v-cover-text .apo-v-h.apo-v-h-xl { font-size: clamp(44px, 5.4vw, 88px) !important; margin-bottom: .4em; }
.apo-v-cover-text .apo-v-lead { max-width: 520px; margin: 0 0 40px; }
.apo-v-cover-arch { position: relative; margin: 0; justify-self: center; height: min(72vh, 700px); aspect-ratio: 9 / 13; }
.apo-v-cover-arch::before { content: ''; position: absolute; top: -20px; left: 20px; right: -20px; bottom: 20px; border: 1px solid var(--v-gold); border-radius: 999px 999px 0 0; opacity: .7; }
.apo-v-cover-frame { position: relative; height: 100%; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(47, 41, 35, .45); }
.apo-v-cover-arch figcaption { position: absolute; left: 0; right: 0; bottom: -44px; text-align: center; font-family: var(--v-sans); font-weight: 400; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--v-ink-2); }
.apo-vow .apo-v-scroll-dark { color: var(--v-ink-2); text-shadow: none; }
.apo-v-cover .apo-v-scroll { position: absolute; left: 6vw; transform: none; bottom: 38px; flex-direction: row; gap: 16px; }
.apo-v-cover .apo-v-scroll i { height: 1px; width: 44px; background: var(--v-gold-t); animation: none; }


/* ---- Chapter opener ---- */
.apo-v-chap { position: relative; display: block; min-height: 0; padding: clamp(84px, 13vh, 150px) 6vw clamp(24px, 4vh, 44px); text-align: center; overflow: hidden; }
.apo-v-chap-tight + .apo-v-pulled, .apo-v-pulled { padding-top: clamp(36px, 6vh, 72px) !important; }
.apo-v-chap-num { display: block; font-family: var(--v-serif); font-style: italic; font-weight: 400; font-size: clamp(84px, 9vw, 140px); line-height: 1; color: var(--v-gold); margin: 0 0 6px; }
.apo-v-chap-in { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.apo-v-chap .apo-v-lead { margin-bottom: 0; }
/* free text written in the editor: same look as the phrase, centred by default, alignment chosen in the editor wins */
.apo-vow .apo-v-rich { max-width: 940px; margin: 0 auto; text-align: center; }
.apo-vow .apo-v-rich p { font-family: var(--v-serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2vw, 33px); line-height: 1.55; color: var(--v-ink); margin: 0 0 .9em; text-wrap: pretty; }
.apo-vow .apo-v-rich > :last-child { margin-bottom: 0; }
.apo-vow .apo-v-rich em { font-style: normal; }
.apo-vow .apo-v-rich strong { font-weight: 500; }
.apo-vow .apo-v-rich a { color: var(--v-gold-t); text-decoration: underline; text-underline-offset: 4px; }
.apo-vow .apo-v-rich h2, .apo-vow .apo-v-rich h3, .apo-vow .apo-v-rich h4 { font-family: var(--v-serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.15; color: var(--v-ink); margin: 0 0 .5em; text-transform: none; }
.apo-vow .apo-v-rich ul, .apo-vow .apo-v-rich ol { display: inline-block; text-align: left; margin: 0 0 .9em; padding-left: 1.2em; font-family: var(--v-serif); font-size: clamp(19px, 1.6vw, 27px); line-height: 1.6; }
.apo-vow .apo-v-rich blockquote { margin: 0 0 .9em; padding: 0 1em; border: 0; font-family: var(--v-serif); font-style: italic; }

/* ---- Side index ---- */
.apo-v-toc { position: fixed; right: clamp(12px, 1.8vw, 30px); top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border: 1px solid var(--v-gold-2); border-radius: 999px; background: rgba(251, 248, 243, .93) !important; box-shadow: 0 14px 40px -24px rgba(47, 41, 35, .5); opacity: 0; pointer-events: none; transition: opacity .6s var(--v-ease); overflow: visible; }
.apo-v-toc.is-on { opacity: 1; pointer-events: auto; }
.apo-v-toc a { position: relative; display: block; color: var(--v-ink-2); }
.apo-v-toc-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--v-serif); font-style: normal; font-size: 13px; line-height: 1; color: var(--v-ink-2); transition: background .4s, color .4s; }
.apo-v-toc a:hover .apo-v-toc-n { color: var(--v-gold-t); }
.apo-v-toc a.is-current .apo-v-toc-n { background: var(--v-gold-t); color: #fff; }
.apo-v-toc-l { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); font-family: var(--v-sans); font-weight: 400; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; color: var(--v-ink); background: rgba(251, 248, 243, .96); padding: 7px 12px; border: 1px solid var(--v-gold-2); opacity: 0; transition: opacity .4s, transform .4s var(--v-ease); pointer-events: none; }
.apo-v-toc a:hover .apo-v-toc-l { opacity: 1; transform: translate(0, -50%); }


/* ---- Hero reel: several clips cross-fading ---- */
.apo-v-reel { position: absolute; inset: 0; overflow: hidden; }
.apo-v-reel img, .apo-v-reel .apo-v-reel-v { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: opacity 1s ease; }
.apo-v-reel .apo-v-reel-v { opacity: 0; }
.apo-v-reel .apo-v-reel-v.is-on { opacity: 1; }

/* ---- Full-bleed band ---- */
.apo-v-band { position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff; }
.apo-v-band-tall { height: 100vh; min-height: 640px; }
.apo-v-band-mid { height: 78vh; min-height: 540px; }
.apo-v-band-low { height: 58vh; min-height: 400px; }
.apo-v-band-media { position: absolute; inset: -8% 0; }
.apo-v-band-media img { animation: apo-v-kb 28s ease-in-out infinite alternate; }
@keyframes apo-v-kb { from { transform: scale(1); } to { transform: scale(1.08); } }
.apo-v-band-veil { position: absolute; inset: 0; background: linear-gradient(rgba(47, 41, 35, .26), rgba(47, 41, 35, .26)), radial-gradient(ellipse at center, rgba(47, 41, 35, .22) 0%, rgba(47, 41, 35, .38) 100%); }
.apo-v-band-in { position: relative; z-index: 2; max-width: 1080px; padding: 0 28px; }
.apo-vow.apo-v-band .apo-v-h, .apo-vow.apo-v-band h2.apo-v-h, .apo-vow.apo-v-band .apo-v-lead, .apo-vow.apo-v-band .apo-v-pre, .apo-vow.apo-v-band .apo-v-link { color: #fff; }
.apo-vow.apo-v-band .apo-v-h em { color: var(--v-champ); }
.apo-vow.apo-v-band .apo-v-link span::after { background: #fff; }
.apo-vow.apo-v-band .apo-v-h { text-shadow: 0 2px 44px rgba(47, 41, 35, .55), 0 0 8px rgba(47, 41, 35, .25); }
.apo-vow.apo-v-band .apo-v-lead, .apo-vow.apo-v-band .apo-v-pre { text-shadow: 0 1px 22px rgba(47, 41, 35, .65); }
.apo-vow.apo-v-band .apo-v-lead { max-width: 680px; margin-left: auto; margin-right: auto; }

/* ---- Intro ---- */
.apo-v-intro { padding: var(--v-pad); }
.apo-v-intro-in { max-width: 1240px; margin: 0 auto; }
.apo-v-intro-head { text-align: center; max-width: 1040px; margin: 0 auto 9vh; }
.apo-v-cols { columns: 2; column-gap: 6vw; max-width: 1080px; margin: 0 auto; }
.apo-v-cols p { break-inside: avoid; }
.apo-v-cols p:first-child::first-letter { font-family: var(--v-serif); font-weight: 400; font-size: 4.6em; float: left; line-height: .8; padding: 8px 14px 0 0; color: var(--v-gold-t); }
.apo-v-intro-photo { margin: 11vh auto 0; max-width: 1240px; aspect-ratio: 21 / 9; }

/* ---- Figures ---- */
.apo-v-figs { padding: 0 6vw clamp(104px, 16vh, 190px); }
.apo-v-figs-in { display: flex; justify-content: center; flex-wrap: wrap; border-top: 1px solid var(--v-gold-2); border-bottom: 1px solid var(--v-gold-2); max-width: 1240px; margin: 0 auto; }
.apo-v-fig { flex: 1 1 160px; text-align: center; padding: 46px 16px; position: relative; }
.apo-v-fig + .apo-v-fig::before { content: ''; position: absolute; left: 0; top: 28%; height: 44%; width: 1px; background: var(--v-gold-2); }
.apo-v-fig-v { display: block; font-family: var(--v-serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 60px); line-height: 1; color: var(--v-ink); margin-bottom: 14px; }
.apo-v-fig-l { display: block; font-family: var(--v-sans); font-weight: 400; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--v-gold-t); }

/* ---- Split with arch ---- */
.apo-v-split { padding: var(--v-pad); }
.apo-v-split-in { display: grid; grid-template-columns: minmax(300px, .85fr) 1fr; gap: 8vw; align-items: center; max-width: 1240px; margin: 0 auto; }
.apo-v-split-right .apo-v-arch { order: 2; }
.apo-v-split-text .apo-v-lead { max-width: 560px; }
.apo-v-split-text p:not(.apo-v-lead) { max-width: 540px; }
.apo-vow .apo-v-split-text .apo-v-pre { justify-content: flex-start; }
.apo-vow .apo-v-split-text .apo-v-pre::before { content: none; }
.apo-v-arch { position: relative; margin: 0; }
.apo-v-arch::before { content: ''; position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px; border: 1px solid var(--v-gold); border-radius: 999px 999px 0 0; opacity: .7; }
.apo-v-split-right .apo-v-arch::before { left: 20px; right: -20px; }
.apo-v-arch-frame { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; }
.apo-v-arch-b { position: absolute; right: -6vw; bottom: -7vh; width: 44%; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; border: 10px solid var(--v-ivory); }
.apo-v-bg-linen .apo-v-arch-b { border-color: var(--v-linen); }
.apo-v-split-right .apo-v-arch-b { right: auto; left: -6vw; }
.apo-v-arch figcaption { margin-top: 22px; font-family: var(--v-sans); font-weight: 400; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--v-ink-2); }

/* ---- Timeline ---- */
.apo-v-tl { padding: var(--v-pad); background: var(--v-linen); }
.apo-v-tl-head { text-align: center; max-width: 900px; margin: 0 auto 11vh; }
.apo-v-tl-list { list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 1240px; }
.apo-v-tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--v-gold-2); transform: translateX(-.5px); }
.apo-v-tl-line i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--v-gold); transform: scaleY(0); transform-origin: top; }
.apo-vow .apo-v-tl-item { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; padding: 7vh 0; position: relative; margin: 0; }
.apo-vow .apo-v-tl-item::before, .apo-vow .apo-v-tl-item::marker { content: none; display: none; }
.apo-v-tl-dot { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -6px 0 0 -6px; background: var(--v-linen); border: 1px solid var(--v-gold); transform: rotate(45deg); transition: background .5s; }
.apo-v-tl-item.is-past .apo-v-tl-dot { background: var(--v-gold); }
.apo-v-tl-text { text-align: right; padding-right: 2vw; }
.apo-vow .apo-v-tl-text .apo-v-time { justify-content: flex-end; }
.apo-v-tl-text p { max-width: 470px; margin-left: auto; }
.apo-v-tl-photo { margin: 0; aspect-ratio: 3 / 4; max-width: 440px; border-radius: 999px 999px 0 0; overflow: hidden; }
.apo-v-tl-item.is-odd .apo-v-tl-text { order: 2; text-align: left; padding: 0 0 0 2vw; }
.apo-vow .apo-v-tl-item.is-odd .apo-v-tl-text .apo-v-time { justify-content: flex-start; }
.apo-v-tl-item.is-odd .apo-v-tl-text p { margin-left: 0; }
.apo-v-tl-item.is-odd .apo-v-tl-photo { margin-left: auto; }

/* ---- Places ---- */
.apo-v-pl { padding: var(--v-pad); }
.apo-v-pl-head { max-width: 900px; margin: 0 auto 9vh; text-align: center; }
.apo-v-pl-in { display: grid; grid-template-columns: minmax(300px, 44%) 1fr; gap: 6vw; max-width: 1300px; margin: 0 auto; align-items: start; }
.apo-v-pl-item { padding: 12vh 0; border-top: 1px solid var(--v-gold-2); opacity: .3; transition: opacity .8s; }
.apo-v-pl-item.is-on { opacity: 1; }
.apo-v-pl-item p { max-width: 470px; }
.apo-v-pl-stage { height: 72vh; }
.apo-v-pl-frame { position: relative; height: 100%; overflow: hidden; border-radius: 999px 999px 0 0; }
.apo-v-pl-pic { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s var(--v-ease); }
.apo-v-pl-pic img { transform: scale(1.06); transition: transform 2.8s var(--v-ease); }
.apo-v-pl-pic.is-on { opacity: 1; }
.apo-v-pl-pic.is-on img { transform: scale(1); }

/* ---- Film ---- */
.apo-v-film { padding: var(--v-pad); background: var(--v-linen); }
.apo-v-film-head { text-align: center; max-width: 900px; margin: 0 auto 7vh; }
.apo-v-film-frame { position: relative; max-width: 1300px; margin: 0 auto; aspect-ratio: 21 / 9; overflow: hidden; }
.apo-vow .apo-v-sound { position: absolute; right: 24px; bottom: 22px; min-height: 44px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .8); background: rgba(47, 41, 35, .25); color: #fff; font-family: var(--v-sans); font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(6px); }
.apo-vow .apo-v-sound[aria-pressed="true"] { background: #fff; color: var(--v-ink); }

/* ---- Steps ---- */
.apo-v-st { padding: var(--v-pad); background: var(--v-linen); }
.apo-v-st-head { text-align: center; max-width: 900px; margin: 0 auto 10vh; }
.apo-v-st-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3vw; max-width: 1300px; position: relative; }
.apo-v-st-list::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--v-gold-2); }
.apo-vow .apo-v-st-list > li { list-style: none; margin: 0; padding-top: 48px; position: relative; }
.apo-vow .apo-v-st-list > li::before { content: ''; position: absolute; left: 0; top: 18px; width: 9px; height: 9px; background: var(--v-gold); transform: rotate(45deg); }
.apo-vow .apo-v-st-list > li::marker { content: none; }
.apo-v-st-list p { font-size: 15.5px; line-height: 1.8; }

/* ---- Menu card ---- */
.apo-v-menu { padding: var(--v-pad); overflow: hidden; }
.apo-v-menu-in { display: grid; grid-template-columns: 1fr minmax(340px, 560px) 1fr; gap: 4vw; align-items: center; max-width: 1400px; margin: 0 auto; }
.apo-v-menu-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; }
.apo-v-menu-photo-a { margin-top: 10vh; }
.apo-v-menu-photo-b { margin-bottom: 10vh; }
.apo-v-card { background: var(--v-ivory); padding: 12px; border: 1px solid var(--v-gold-2); }
.apo-v-card-in { border: 1px solid var(--v-gold-2); padding: 60px 44px; text-align: center; }
.apo-v-course { padding: 24px 0; border-top: 1px solid var(--v-gold-2); }
.apo-v-course:first-of-type { border-top: 0; }
.apo-vow .apo-v-course .apo-v-time { justify-content: center; margin-bottom: 10px; }
.apo-v-course p { font-size: 15.5px; line-height: 1.8; margin: 0; }
.apo-v-card .apo-v-note { margin: 26px 0 22px; }

/* ---- Gallery ---- */
.apo-v-g { padding: var(--v-pad); background: var(--v-linen); }
.apo-v-g-head { text-align: center; max-width: 900px; margin: 0 auto 9vh; }
.apo-v-g-grid { display: block; columns: var(--g-cols, 4); column-gap: var(--g-gap, 14px); max-width: 1400px; margin: 0 auto; }
.apo-vow .apo-v-g-item { display: block; width: 100%; padding: 0; margin: 0 0 var(--g-gap, 14px); border: 0; background: none; cursor: zoom-in; overflow: hidden; break-inside: avoid; border-radius: 999px 999px 0 0 !important; }
.apo-vow .apo-v-g-item.is-tall { border-radius: 999px 999px 0 0 !important; }
.apo-vow .apo-v-g-item img { height: auto !important; border-radius: 0 !important; transition: transform 1.8s var(--v-ease); }
.apo-vow .apo-v-g-item:hover img { transform: scale(1.05); }
/* Photo viewer: moved to <body> by the script, so it uses its own colours (no .apo-vow variables) */
html.apo-v-lb-open { overflow: hidden; }
.apo-v-lightbox { position: fixed; inset: 0; z-index: 2147483000; background: #fff; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; column-gap: clamp(10px, 2.4vw, 32px); padding: 76px clamp(14px, 3vw, 44px) 52px; touch-action: pan-y; box-sizing: border-box; }
.apo-v-lightbox[hidden] { display: none !important; }
.apo-v-lightbox *, .apo-v-lightbox *::before, .apo-v-lightbox *::after { box-sizing: border-box; }
.apo-v-lightbox .apo-v-lb-stage { margin: 0; padding: 0; min-width: 0; display: grid; justify-items: center; row-gap: 14px; }
.apo-v-lightbox img { display: block; position: static !important; width: auto !important; height: auto !important; max-width: 100% !important; max-height: calc(100vh - 150px) !important; max-height: calc(100svh - 150px) !important; object-fit: contain; box-shadow: 0 30px 70px -40px rgba(47, 41, 35, .55); transition: opacity .25s ease; }
.apo-v-lightbox.is-loading img { opacity: .2; }
.apo-v-lightbox .apo-v-lb-count { font: 400 12px/1 'Jost', system-ui, sans-serif; letter-spacing: .28em; color: #62584d; text-transform: uppercase; }
.apo-v-lightbox button { display: grid; place-items: center; width: 48px; height: 48px; min-width: 44px; min-height: 44px; padding: 0; margin: 0; border: 1px solid #b39358; border-radius: 50%; background: rgba(251, 248, 243, .92); color: #2f2923; cursor: pointer; transition: background .3s ease, color .3s ease; -webkit-tap-highlight-color: transparent; }
.apo-v-lightbox button:hover, .apo-v-lightbox button:focus-visible { background: #2f2923; color: #fbf8f3; }
.apo-v-lightbox .apo-v-lb-close { position: absolute; top: 18px; right: clamp(14px, 3vw, 40px); z-index: 2; }

/* ---- Others ---- */
.apo-v-ot { padding: var(--v-pad); }
.apo-v-ot-in { max-width: 1100px; margin: 0 auto; }
.apo-v-ot-head { text-align: center; margin-bottom: 8vh; }
.apo-v-row { display: grid; grid-template-columns: 100px 1fr 40px; gap: 32px; align-items: center; padding: 30px 0; border-top: 1px solid var(--v-gold-2); transition: padding .6s var(--v-ease); }
.apo-v-row:last-child { border-bottom: 1px solid var(--v-gold-2); }
.apo-v-row:hover { padding-left: 14px; }
.apo-v-row-pic { display: block; width: 100px; height: 100px; border-radius: 999px 999px 0 0; overflow: hidden; }
.apo-v-row-text { display: block; color: var(--v-ink-2); font-size: 15.5px; margin-top: 6px; line-height: 1.6; }
.apo-v-row-arrow { font-family: var(--v-serif); font-style: italic; font-size: 30px; color: var(--v-gold-t); transition: transform .6s var(--v-ease); }
.apo-v-row:hover .apo-v-row-arrow { transform: translateX(8px); }

/* ---- FAQ ---- */
.apo-v-faq { padding: clamp(72px, 10vh, 120px) 6vw clamp(80px, 11vh, 130px); background: var(--v-linen); }
.apo-v-faq-head { text-align: center; max-width: 900px; margin: 0 auto clamp(30px, 5vh, 54px); }
.apo-v-faq-head .apo-v-h { margin-bottom: 0; }
.apo-v-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vh, 42px) clamp(32px, 5vw, 72px); max-width: 1120px; margin: 0 auto; align-items: start; }
.apo-v-faq-grid.apo-v-cols-1 { grid-template-columns: 1fr; max-width: 820px; }
.apo-v-q { padding-top: 22px; border-top: 1px solid var(--v-gold-2); }
.apo-v-q .apo-v-h { margin-bottom: .45em; }
.apo-v-q p { font-size: 15.5px; line-height: 1.8; margin-bottom: .9em; }
.apo-v-faq .apo-v-center { margin-top: clamp(30px, 5vh, 52px); }
.apo-v-faq[data-v-acc] .apo-v-q { cursor: pointer; }
.apo-v-faq[data-v-acc] .apo-v-q > :not(h3) { display: none; }
.apo-v-faq[data-v-acc] .apo-v-q.is-open > :not(h3) { display: block; }
.apo-v-faq[data-v-acc] .apo-v-q h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.apo-v-faq[data-v-acc] .apo-v-q h3::after { content: '+'; font-family: var(--v-sans); font-weight: 300; color: var(--v-gold-t); }
.apo-v-faq[data-v-acc] .apo-v-q.is-open h3::after { content: '\2212'; }

/* ---- Invitation + footer ---- */
.apo-v-inv { padding: var(--v-pad); text-align: center; }
.apo-v-inv-card { max-width: 800px; margin: 0 auto; background: var(--v-ivory); padding: 12px; border: 1px solid var(--v-gold-2); }
.apo-v-inv-in { border: 1px solid var(--v-gold-2); padding: 64px 48px 54px; }
.apo-v-mono { display: block; font-family: var(--v-script); font-weight: 400; font-size: 110px; line-height: .9; color: var(--v-gold-t); margin-bottom: 20px; }
.apo-v-inv-in p { max-width: 540px; margin-left: auto; margin-right: auto; }
.apo-v-inv-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 30px 0 22px; }
.apo-v-inv-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; max-width: 1000px; margin: 11vh auto 0; }
.apo-v-inv-pics figure { margin: 0; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; }
.apo-v-foot { margin-top: 13vh; padding-top: 10px; }
.apo-v-foot-name { display: block; font-family: var(--v-serif); font-weight: 400; font-size: clamp(44px, 7vw, 112px); letter-spacing: .14em; text-transform: uppercase; color: var(--v-ink); line-height: 1; margin-bottom: 22px; padding-left: .14em; }
.apo-v-foot-legal { font-family: var(--v-serif); font-size: 15.5px; font-style: italic; }
.apo-v-foot-links { display: flex; gap: 38px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.apo-vow .apo-v-foot-link { font-family: var(--v-sans); font-weight: 400; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--v-ink-2); }

@media (max-width: 900px) {
  .apo-v-toc { display: none; }
  .apo-v-chap { padding: 72px 24px 20px; }
  .apo-v-pulled { padding-top: 40px !important; }
  .apo-v-cover { padding: 110px 24px 90px; }
  .apo-v-cover-in { grid-template-columns: 1fr; gap: 56px; }
  .apo-v-cover-arch { height: auto; width: min(100%, 340px); aspect-ratio: 9 / 13; }
  .apo-v-cover .apo-v-scroll { display: none; }
  .apo-vow { --v-pad: 84px 24px; font-size: 16.5px; }
  .apo-v-figs { padding: 0 24px 84px; }
  .apo-v-cols { columns: 1; }
  .apo-v-split-in { grid-template-columns: 1fr; gap: 60px; }
  .apo-v-split-right .apo-v-arch { order: 0; }
  .apo-v-arch::before { top: -14px; left: -14px; right: 14px; bottom: 14px; }
  .apo-v-split-right .apo-v-arch::before { left: 14px; right: -14px; }
  .apo-v-arch-b, .apo-v-split-right .apo-v-arch-b { right: 0; left: auto; bottom: -28px; }
  .apo-v-band-tall { height: 88vh; }
  .apo-v-band-mid { height: 66vh; }
  .apo-v-tl-line { left: 12px; }
  .apo-vow .apo-v-tl-item { grid-template-columns: 1fr; gap: 22px; padding: 4vh 0 4vh 38px; }
  .apo-v-tl-dot { left: 12px; top: 26px; }
  .apo-v-tl-text, .apo-v-tl-item.is-odd .apo-v-tl-text { text-align: left; order: 0; padding: 0; }
  .apo-vow .apo-v-tl-text .apo-v-time { justify-content: flex-start; }
  .apo-v-tl-text p { margin-left: 0; }
  .apo-v-tl-photo, .apo-v-tl-item.is-odd .apo-v-tl-photo { max-width: 320px; margin: 0; }
  .apo-v-pl-in { grid-template-columns: 1fr; }
  .apo-v-pl-stage { height: 56vh; order: -1; }
  .apo-v-pl-item { padding: 5vh 0; opacity: 1; }
  .apo-v-film-frame { aspect-ratio: 16 / 9; }
  .apo-v-st-list { grid-template-columns: 1fr; gap: 28px; }
  .apo-v-st-list::before { left: 4px; right: auto; top: 0; bottom: 0; height: auto; width: 1px; }
  .apo-vow .apo-v-st-list > li { padding: 0 0 0 32px; }
  .apo-vow .apo-v-st-list > li::before { left: 0; top: 12px; }
  .apo-v-menu-in { grid-template-columns: 1fr; }
  .apo-v-menu-photo-a, .apo-v-menu-photo-b { margin: 0 auto; max-width: 320px; }
  .apo-v-card-in { padding: 42px 22px; }
  .apo-v-g-grid { columns: 2; column-gap: 8px; }
  .apo-vow .apo-v-g-item { margin-bottom: 8px; }
  .apo-v-row { grid-template-columns: 70px 1fr 26px; gap: 16px; }
  .apo-v-row-pic { width: 70px; height: 70px; }
  .apo-v-faq-grid { grid-template-columns: 1fr; }
  .apo-v-inv-in { padding: 46px 22px; }
  .apo-v-inv-pics { grid-template-columns: 1fr 1fr; }
  .apo-v-inv-pics figure:last-child { display: none; }
  .apo-v-lightbox { grid-template-columns: minmax(0, 1fr); padding: 70px 10px 92px; }
  .apo-v-lightbox .apo-v-lb-close { top: 12px; right: 12px; }
  .apo-v-lightbox .apo-v-lb-nav { position: absolute; bottom: 20px; z-index: 2; }
  .apo-v-lightbox .apo-v-lb-prev { left: 18px; }
  .apo-v-lightbox .apo-v-lb-next { right: 18px; }
  .apo-v-lightbox img { max-height: calc(100vh - 190px) !important; max-height: calc(100svh - 190px) !important; }
  .apo-v-lightbox .apo-v-lb-count { position: absolute; left: 0; right: 0; bottom: 36px; text-align: center; }
  .apo-vow .apo-v-pre::before, .apo-vow .apo-v-pre::after { width: 20px; }
  .apo-vow .apo-v-pre { letter-spacing: .32em; gap: 12px; }
}
@media (max-height: 820px) { .apo-v-hero .apo-v-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .apo-v-band-media img, .apo-v-scroll i { animation: none; } }

/* Theme footer is not wanted on these pages */
body.apo-vow-page #footer-outer, body.apo-vow-page #call-to-action, body.apo-vow-page .nectar-global-section.before-footer { display: none !important; }

/* ---- Photo shapes ---- */
.apo-v-shape-rect :is(.apo-v-arch-frame, .apo-v-arch-b, .apo-v-arch::before) { border-radius: 0; }
.apo-v-shape-round .apo-v-arch-frame { border-radius: 50%; aspect-ratio: 1; }
.apo-v-shape-round .apo-v-arch::before { border-radius: 50%; }
.apo-v-shape-round .apo-v-arch-b { border-radius: 50%; aspect-ratio: 1; }
.apo-v-shape-pill :is(.apo-v-arch-frame, .apo-v-arch-b, .apo-v-arch::before) { border-radius: 999px; }
.apo-v-g-noarch .apo-v-g-item, .apo-v-g-noarch .apo-v-g-item.is-tall { border-radius: 0 !important; }
