:root {
  --indigo: #17245d;
  --deep: #091238;
  --soft: #33458f;
  --ivory: #fbf4e7;
  --paper: #fffdf8;
  --gold: #d8ae4d;
  --gold-light: #f5d98c;
  --ink: #171a2e;
  --white: #ffffff;
  --mag-navy: #0f2c3f;
  --mag-gold: #c9a66b;
  --font: "Avenir Next", Avenir, Montserrat, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); }
button, a { font: inherit; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.storybook-site { min-height: 100vh; padding: 18px clamp(14px, 3vw, 48px) 70px; overflow: hidden; color: var(--white); background: radial-gradient(circle at 8% 2%, color-mix(in srgb, var(--soft) 72%, transparent), transparent 28%), radial-gradient(circle at 92% 16%, color-mix(in srgb, var(--gold) 19%, transparent), transparent 22%), linear-gradient(145deg, var(--deep), var(--indigo) 56%, var(--deep)); }
.story-header { width: min(100%, 1420px); min-height: 88px; margin: 0 auto; padding: 12px 16px; position: relative; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border: 1px solid color-mix(in srgb, var(--gold-light) 28%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--deep) 84%, transparent); box-shadow: 0 18px 60px color-mix(in srgb, var(--deep) 52%, transparent); backdrop-filter: blur(18px); }
.platform-mark { display: inline-flex; align-items: center; gap: 11px; }
.platform-mark > span { width: 52px; height: 52px; display: grid; place-items: center; flex: none; border: 1px solid color-mix(in srgb, var(--white) 22%, transparent); border-radius: 50%; font-size: 16px; font-weight: 900; line-height: 1; letter-spacing: -.09em; white-space: nowrap; }
.platform-mark > span span { color: var(--gold-light); }
.platform-mark b { display: grid; gap: 2px; font-size: 13px; }
.platform-mark small { color: color-mix(in srgb, var(--white) 52%, transparent); font-size: 8px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.sponsor-lockups { display: flex; align-items: center; gap: 12px; }
.sponsor-lockups > span { color: var(--gold-light); font-family: Georgia, serif; font-size: 20px; }
.sponsor-lockups img { height: 53px; width: 142px; padding: 7px 10px; object-fit: contain; border-radius: 10px; background: var(--white); }
.sponsor-lockups .magazine-logo { padding: 3px 8px; object-position: center; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.share-button, .review-button { min-height: 44px; padding: 0 18px; display: flex; align-items: center; gap: 9px; border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 850; }
.share-button { color: var(--deep); background: var(--gold-light); }
.review-button { border: 1px solid color-mix(in srgb, var(--gold-light) 55%, transparent); color: var(--white); background: color-mix(in srgb, var(--white) 7%, transparent); }
.share-button:hover { background: var(--white); }
.review-button:hover { color: var(--deep); background: var(--gold-light); }
.story-intro { width: min(100%, 1280px); margin: 76px auto 52px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: end; gap: 72px; }
.story-intro p, .closing-card > div:first-child p { margin: 0 0 15px; color: var(--gold-light); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.story-intro h1 { max-width: 900px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 7vw, 92px); font-weight: 500; line-height: .92; letter-spacing: -.055em; }
.story-intro > div > span { max-width: 780px; margin-top: 26px; display: block; color: color-mix(in srgb, var(--white) 70%, transparent); font-size: 17px; line-height: 1.62; }
.story-intro dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.story-intro dl div { min-height: 118px; padding: 18px; display: flex; flex-direction: column-reverse; justify-content: space-between; border: 1px solid color-mix(in srgb, var(--white) 13%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--white) 7%, transparent); }
.story-intro dl div:first-child { grid-column: 1 / -1; min-height: 86px; flex-direction: row; align-items: center; }
.story-intro dt { max-width: 190px; color: color-mix(in srgb, var(--white) 66%, transparent); font-size: 11px; font-weight: 750; line-height: 1.35; text-transform: uppercase; }
.story-intro dd { margin: 0; color: var(--gold-light); font-size: 31px; font-weight: 850; }
.viewer { width: min(100%, 1540px); margin: 0 auto; padding: 16px; position: relative; border: 1px solid color-mix(in srgb, var(--gold-light) 36%, transparent); border-radius: 30px; background: linear-gradient(135deg, color-mix(in srgb, var(--white) 8%, transparent), transparent 42%), color-mix(in srgb, var(--deep) 80%, transparent); box-shadow: 0 42px 120px color-mix(in srgb, var(--deep) 75%, transparent); backdrop-filter: blur(14px); }
.viewer-toolbar { min-height: 54px; padding: 2px 6px 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.home-link { display: flex; align-items: center; gap: 8px; color: color-mix(in srgb, var(--white) 70%, transparent); font-size: 12px; font-weight: 750; }
.home-link:hover { color: var(--gold-light); }
.viewer-toolbar > p { margin: 0; color: color-mix(in srgb, var(--white) 68%, transparent); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.viewer-toolbar > div { justify-self: end; display: flex; gap: 7px; }
.viewer-toolbar button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--white) 15%, transparent); border-radius: 50%; color: var(--white); background: color-mix(in srgb, var(--white) 6%, transparent); cursor: pointer; font-size: 18px; }
.viewer-toolbar button:hover { color: var(--deep); background: var(--gold-light); }
.stage { min-height: min(76vh, 900px); padding: 30px 74px; position: relative; display: grid; place-items: center; border-radius: 22px; overflow: hidden; background: linear-gradient(color-mix(in srgb, var(--deep) 86%, transparent), color-mix(in srgb, var(--deep) 86%, transparent)), url('/celebrations/masie-morweng-2026/celebration-cloth-2.jpg') center / 560px auto; }
.book-spread { width: 100%; display: flex; align-items: center; justify-content: center; perspective: 2200px; }
.book-spread.turn-next { animation: page-arrive 340ms ease both; }
.book-spread.turn-previous { animation: page-return 340ms ease both; }
.page-shell { height: min(69vh, 810px); aspect-ratio: 216 / 303; margin: 0; position: relative; overflow: hidden; border: 1px solid color-mix(in srgb, var(--white) 20%, transparent); background: var(--paper); box-shadow: 0 18px 54px color-mix(in srgb, var(--deep) 68%, transparent); }
.page-shell:first-child { border-radius: 5px 0 0 5px; transform: rotateY(.65deg); transform-origin: right center; }
.page-shell:last-child { border-radius: 0 5px 5px 0; transform: rotateY(-.65deg); transform-origin: left center; }
.book-spread.single .page-shell { border-radius: 6px; transform: none; }
.book-spread:not(.single) .page-shell:first-child::after, .book-spread:not(.single) .page-shell:last-child::after { content: ""; width: 7%; position: absolute; z-index: 10; inset-block: 0; pointer-events: none; }
.book-spread:not(.single) .page-shell:first-child::after { right: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--deep) 24%, transparent)); }
.book-spread:not(.single) .page-shell:last-child::after { left: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--deep) 22%, transparent), transparent); }
.page-shell > figcaption { width: 1px; height: 1px; overflow: hidden; position: absolute; clip: rect(0,0,0,0); }
.turn-button { width: 48px; height: 48px; position: absolute; z-index: 12; top: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--white) 23%, transparent); border-radius: 50%; color: var(--white); background: color-mix(in srgb, var(--deep) 62%, transparent); box-shadow: 0 10px 28px color-mix(in srgb, var(--deep) 55%, transparent); cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(10px); }
.turn-button:hover { color: var(--deep); background: var(--gold-light); }
.turn-button:disabled { opacity: .22; cursor: default; }
.turn-previous { left: 17px; }
.turn-next { right: 17px; }
.viewer-footer { padding: 17px 6px 2px; }
.progress-track { height: 3px; overflow: hidden; border-radius: 10px; background: color-mix(in srgb, var(--white) 10%, transparent); }
.progress-track i { width: 4%; height: 100%; display: block; background: var(--gold-light); transition: width 250ms ease; }
.chapter-rail { margin-top: 15px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.chapter-rail button { padding: 7px 10px; border-radius: 999px; color: color-mix(in srgb, var(--white) 58%, transparent); background: transparent; cursor: pointer; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.chapter-rail button:hover, .chapter-rail button.active { color: var(--deep); background: var(--gold-light); }
.viewer-footer > p { margin: 13px 0 0; color: color-mix(in srgb, var(--white) 40%, transparent); font-size: 9px; text-align: center; }
.story-page { width: 100%; height: 100%; position: relative; overflow: hidden; container-type: inline-size; color: var(--ink); background: var(--ivory); }
.story-page::after { content: ""; position: absolute; z-index: 8; inset: 2.2cqw; border: .32cqw solid color-mix(in srgb, var(--gold) 72%, transparent); pointer-events: none; }
.cloth-layer { position: absolute; z-index: 0; inset: 0; opacity: .12; background: url('/celebrations/masie-morweng-2026/celebration-cloth.jpg') center / cover; pointer-events: none; }
.page-copy { position: relative; z-index: 4; }
.page-copy > p { margin: 0 0 2.2cqw; color: var(--soft); font-size: 1.75cqw; font-weight: 850; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
.page-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 7cqw, 45px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.page-copy > span { display: block; color: color-mix(in srgb, var(--ink) 78%, transparent); font-size: 2.45cqw; line-height: 1.55; }
.page-copy blockquote { margin: 4cqw 0 0; padding: 3.2cqw 0 0; border-top: .28cqw solid var(--gold); color: var(--indigo); font-family: Georgia, serif; font-size: clamp(14px, 3.8cqw, 24px); font-style: italic; line-height: 1.2; }
.page-copy blockquote small { margin-top: 1.2cqw; display: block; color: var(--soft); font-family: var(--font); font-size: 1.65cqw; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.page-copy ul { margin: 3cqw 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25cqw 2cqw; list-style: none; }
.page-copy li { padding-left: 2.4cqw; position: relative; color: var(--indigo); font-size: 1.9cqw; font-weight: 720; line-height: 1.35; }
.page-copy li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.page-number { margin-bottom: 2.4cqw; color: var(--gold); font-size: 2cqw; font-weight: 900; letter-spacing: .12em; }
.gold-rule { width: 12cqw; height: .55cqw; margin: 3cqw 0; background: var(--gold); }
.caption { margin-top: 3.2cqw; display: block; color: color-mix(in srgb, var(--ink) 60%, transparent); font-size: 1.9cqw; font-weight: 750; }
.cover { color: var(--deep); background: var(--ivory); }
.cover::before { content: ""; width: 72cqw; height: 72cqw; position: absolute; z-index: 1; left: 14cqw; top: 48cqw; border: .5cqw solid color-mix(in srgb, var(--gold) 76%, transparent); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold-light) 36%, transparent), color-mix(in srgb, var(--white) 78%, transparent) 47%, transparent 48%); box-shadow: 0 0 0 2.2cqw color-mix(in srgb, var(--white) 45%, transparent), 0 0 0 2.5cqw color-mix(in srgb, var(--indigo) 18%, transparent); }
.cover .cloth-layer { z-index: 0; opacity: .2; background-size: 116cqw auto; filter: saturate(.72) contrast(.86) brightness(1.18); mix-blend-mode: multiply; }
.cover-photos, .duo-photos { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.cover-photos { z-index: 3; display: block; }
.cover-photos > div, .duo-photos > div { position: relative; overflow: hidden; }
.cover-photos > div { position: absolute; overflow: visible; }
.story-page img { width: 100%; height: 100%; object-fit: cover; }
.cover-portrait::before { content: ""; position: absolute; z-index: -1; border: .55cqw solid color-mix(in srgb, var(--gold) 74%, transparent); border-radius: 50% 50% 4cqw 4cqw; background: linear-gradient(180deg, color-mix(in srgb, var(--white) 82%, transparent), color-mix(in srgb, var(--gold-light) 33%, transparent)); box-shadow: 0 2.8cqw 8cqw color-mix(in srgb, var(--deep) 21%, transparent); }
.cover-portrait-1 { width: 56cqw; height: 76cqw; left: -2.5cqw; bottom: 11.2cqw; z-index: 2; }
.cover-portrait-1::before { inset: 6cqw 2cqw 0 4cqw; }
.cover-portrait-2 { width: 56cqw; height: 78cqw; right: -2.5cqw; bottom: 11.2cqw; z-index: 1; }
.cover-portrait-2::before { inset: 5cqw 4cqw 0 2cqw; }
.cover-portrait img { position: relative; z-index: 1; object-fit: cover; filter: drop-shadow(0 2.3cqw 2.7cqw color-mix(in srgb, var(--deep) 30%, transparent)); }
.cover-portrait-1 img { object-position: 52% center; }
.cover-portrait-2 img { object-position: 50% center; }
.cover-shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--ivory) 88%, transparent) 0 38%, transparent 53%), linear-gradient(90deg, color-mix(in srgb, var(--indigo) 8%, transparent), transparent 28% 72%, color-mix(in srgb, var(--indigo) 8%, transparent)); pointer-events: none; }
.cover .page-copy { width: 87cqw; position: absolute; z-index: 5; top: 6.5cqw; left: 6.5cqw; text-align: center; }
.cover .page-copy > p { margin-bottom: 1.7cqw; color: var(--indigo); }
.cover .page-copy h2 { color: var(--deep); font-size: clamp(30px, 9.6cqw, 62px); line-height: .91; text-wrap: balance; }
.cover .page-copy > span { max-width: 82cqw; margin-inline: auto; color: color-mix(in srgb, var(--deep) 86%, transparent); font-size: 2.15cqw; font-weight: 650; line-height: 1.38; }
.cover .gold-rule { margin-inline: auto; }
.cover .caption { margin-top: 2.2cqw; color: var(--indigo); font-size: 1.72cqw; font-weight: 850; letter-spacing: .035em; }
.sponsor-ribbon { min-height: 10.4cqw; padding: 2cqw 5cqw; position: absolute; z-index: 6; inset: auto 2.2cqw 2.2cqw; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2cqw; border-top: .38cqw solid var(--gold); color: var(--white); background: linear-gradient(100deg, var(--deep), var(--indigo)); box-shadow: 0 -1.5cqw 4cqw color-mix(in srgb, var(--deep) 22%, transparent); }
.sponsor-ribbon span { color: var(--gold-light); font-size: 1.38cqw; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.sponsor-ribbon b { font-family: Georgia, serif; font-size: 2.15cqw; font-weight: 500; text-align: right; }
.invitation-grid { height: 100%; padding: 6.5cqw; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 5cqw; position: relative; z-index: 2; }
.flyer { height: 83cqw; overflow: hidden; border: .9cqw solid var(--paper); border-radius: 1.6cqw; box-shadow: 0 3cqw 7cqw color-mix(in srgb, var(--deep) 26%, transparent); transform: rotate(-1.5deg); }
.invitation .page-copy h2 { font-size: 6.4cqw; }
.invitation .page-copy > span { font-size: 2.25cqw; line-height: 1.5; }
.invitation .page-copy blockquote { font-size: 3.25cqw; line-height: 1.3; }
.invitation .page-copy blockquote small { font-size: 1.8cqw; line-height: 1.5; letter-spacing: .04em; }
.eucharist-photo { position: relative; z-index: 2; margin: 5cqw 5cqw 0; height: 57cqw; }
.eucharist-photo img { height: 53cqw; object-fit: cover; object-position: center 38%; border-radius: .8cqw; }
.eucharist-photo > span { display: block; padding-top: 1.4cqw; color: var(--soft); font-size: 1.8cqw; letter-spacing: .025em; }
.eucharist-lower { position: relative; z-index: 2; padding: 5cqw 6cqw 6cqw; display: grid; grid-template-columns: 1.12fr .88fr; gap: 4cqw; }
.eucharist .page-copy h2 { font-size: 6cqw; line-height: 1.02; }
.eucharist .page-copy > p { font-size: 1.8cqw; letter-spacing: .08em; }
.eucharist .page-copy > span { font-size: 2.15cqw; line-height: 1.48; color: var(--ink); }
.eucharist .caption { font-size: 1.85cqw; line-height: 1.45; color: var(--soft); }
.communion-photo { margin: 0; padding-top: 3cqw; }
.communion-photo img { height: 49cqw; object-fit: contain; background: var(--paper); border: .6cqw solid var(--paper); box-shadow: 0 1cqw 4cqw color-mix(in srgb, var(--deep) 14%, transparent); }
.communion-photo figcaption { margin-top: 2cqw; color: var(--soft); font-size: 1.8cqw; line-height: 1.45; }
.full-photo { position: absolute; inset: 0; }
.full-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 16%, color-mix(in srgb, var(--deep) 18%, transparent) 42%, var(--deep) 91%); }
.full, .closing { color: var(--white); background: var(--deep); }
.full .page-copy, .closing .page-copy { position: absolute; z-index: 4; inset: auto 7cqw 7cqw; }
.full .page-copy > p, .closing .page-copy > p { color: var(--gold-light); }
.full .page-copy > span, .closing .page-copy > span { max-width: 76cqw; color: color-mix(in srgb, var(--white) 78%, transparent); }
.full .page-copy h2, .closing .page-copy h2 { max-width: 80cqw; font-size: 7.8cqw; }
.closing .full-shade { background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 48%, transparent), var(--deep) 88%); }
.closing .page-copy { inset: auto 8cqw 18cqw; text-align: center; }
.closing .page-copy > span { margin-inline: auto; }
.closing .gold-rule { margin-inline: auto; }
.closing blockquote { color: var(--gold-light); border-color: var(--gold); }
.gallery-grid { height: 58%; padding: 4.8cqw 4.8cqw 0; position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 1.5cqw; }
.gallery-grid > div { overflow: hidden; border-radius: 1cqw; }
.gallery-grid > div:first-child { grid-row: 1 / -1; }
.gallery-grid[data-count="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.gallery-grid[data-count="2"] > div:first-child, .gallery-grid[data-count="4"] > div:first-child { grid-row: auto; }
.gallery-grid[data-count="4"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery .page-copy { min-height: 42%; padding: 5cqw 7cqw 6cqw; background: var(--paper); }
.gallery .page-copy h2 { font-size: 6.5cqw; }
.gallery .page-copy blockquote { margin-top: 2.4cqw; padding-top: 2.4cqw; font-size: 3.1cqw; }
.mosaic-grid { height: 61%; padding: 4.2cqw 4.2cqw 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 1.15cqw; }
.mosaic-grid > div { min-width: 0; min-height: 0; overflow: hidden; border-radius: .85cqw; background: var(--soft); }
.mosaic-grid img { object-position: center 28%; }
.mosaic-grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); }
.mosaic-grid[data-count="5"] > div:first-child { grid-column: span 2; }
.mosaic .page-copy { min-height: 39%; padding: 4.2cqw 6.4cqw 5.2cqw; background: var(--paper); }
.mosaic .page-copy h2 { font-size: 5.65cqw; }
.mosaic .page-copy > span { font-size: 1.92cqw; line-height: 1.48; }
.documentary-grid { height: 62%; padding: 4.4cqw 4.4cqw 0; position: relative; z-index: 2; display: grid; grid-template-columns: 1.28fr .72fr; grid-template-rows: 1fr 1fr; gap: 1.25cqw; }
.documentary-grid > div { min-width: 0; min-height: 0; overflow: hidden; border-radius: 1cqw; background: var(--soft); }
.documentary-grid > div:first-child { grid-row: 1 / -1; }
.documentary-grid img { object-position: center 26%; }
.documentary .page-copy { min-height: 38%; padding: 4.5cqw 6.8cqw 5.4cqw; background: var(--paper); }
.documentary .page-copy h2 { font-size: 6.05cqw; }
.documentary .page-copy > span { font-size: 2cqw; }
.scripture { color: var(--white); background: var(--deep); }
.scripture .cloth-layer { opacity: .38; mix-blend-mode: screen; }
.scripture-photo { width: 44cqw; height: 47cqw; position: absolute; z-index: 2; right: 5cqw; bottom: 6cqw; overflow: hidden; border: .75cqw solid var(--gold-light); border-radius: 50% 50% 3cqw 50%; box-shadow: 0 4cqw 10cqw color-mix(in srgb, var(--deep) 62%, transparent); }
.scripture .page-copy { padding: 9cqw 7cqw; }
.scripture .page-copy h2 { max-width: 72cqw; font-size: 8cqw; }
.scripture .page-copy > p { color: var(--gold-light); }
.scripture .page-copy > span { max-width: 72cqw; color: color-mix(in srgb, var(--white) 76%, transparent); }
.scripture blockquote { width: 46cqw; margin-top: 6cqw; color: var(--gold-light); }
.portrait-pair { height: 56%; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1cqw; }
.portrait-pair > div { overflow: hidden; }
.portrait .page-copy { min-height: 44%; padding: 5cqw 7cqw 6cqw; background: var(--paper); }
.portrait .page-copy h2 { font-size: 6.7cqw; }
.portrait blockquote { margin-top: 2cqw; padding-top: 2cqw; font-size: 3cqw; }
.biography-grid { height: 100%; position: relative; z-index: 2; display: grid; grid-template-rows: 47% 53%; }
.biography-photo { overflow: hidden; }
.biography-photo img { object-position: center 34%; }
.biography .page-copy, .timeline .page-copy { padding: 5cqw 7cqw 6cqw; background: var(--paper); }
.biography .page-copy h2, .timeline .page-copy h2 { font-size: 6.3cqw; }
.biography .page-copy > span, .timeline .page-copy > span { font-size: 2.25cqw; }
.timeline .page-copy blockquote { margin-top: 2cqw; padding-top: 2cqw; font-size: 3cqw; }
.witness-grid { height: 49%; padding: 4.5cqw 4.5cqw 0; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw; }
.witness-grid > div { overflow: hidden; border-radius: .8cqw; }
.witness-grid img { object-position: center 28%; }
.witnesses .page-copy { min-height: 51%; padding: 5cqw 7cqw 6cqw; }
.witnesses .page-copy h2 { font-size: 6.2cqw; }
.witnesses .page-copy > span { font-size: 2.12cqw; }
.duo { color: var(--white); background: var(--deep); }
.duo::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 24%, color-mix(in srgb, var(--deep) 86%, transparent) 70%, var(--deep)); }
.duo .page-copy { position: absolute; z-index: 4; inset: auto 7cqw 6cqw; text-align: center; }
.duo .page-copy > p { color: var(--gold-light); }
.duo .page-copy > span { color: color-mix(in srgb, var(--white) 80%, transparent); }
.duo .gold-rule { margin-inline: auto; }
.duo blockquote { margin-top: 2cqw; padding-top: 2cqw; color: var(--gold-light); font-size: 3.1cqw; }
.reception-photos { height: 61%; padding: 4.5cqw 4.5cqw 0; position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .65fr; gap: 1.4cqw; }
.reception-photos > div { overflow: hidden; border-radius: 1cqw; }
.reception .page-copy { min-height: 39%; padding: 4.4cqw 7cqw 6cqw; }
.reception .page-copy h2 { font-size: 6.5cqw; }
.back { color: var(--white); background: var(--mag-navy); }
.back .full-photo { opacity: .26; }
.back .full-shade { background: linear-gradient(180deg, rgba(15,44,63,.62), var(--mag-navy) 64%); }
.back-content { height: 100%; padding: 7cqw 6cqw 5cqw; position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; text-align: center; }
.back-content .page-number { color: var(--mag-gold); }
.back-content > p { margin: 0; color: var(--mag-gold); font-size: 1.55cqw; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.back-content h2 { margin: 1.4cqw 0 1.2cqw; font-family: Georgia, serif; font-size: 6.2cqw; font-weight: 400; line-height: .95; }
.back-content > span { max-width: 78cqw; color: color-mix(in srgb, var(--white) 76%, transparent); font-size: 1.9cqw; line-height: 1.45; }
.qr-grid { width: 82cqw; margin-top: 4cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw; }
.qr-card { min-width: 0; padding: 2.7cqw 2.3cqw; display: grid; justify-items: center; border: .25cqw solid color-mix(in srgb, var(--mag-gold) 65%, transparent); border-radius: 2cqw; color: var(--mag-navy); background: color-mix(in srgb, var(--white) 96%, transparent); }
.qr-card img { width: 24cqw; height: 24cqw; object-fit: contain; }
.qr-card b { margin-top: 1.6cqw; color: var(--mag-navy); font-size: 1.65cqw; letter-spacing: .07em; text-transform: uppercase; }
.qr-card small { margin-top: .5cqw; color: color-mix(in srgb, var(--mag-navy) 66%, transparent); font-size: 1.25cqw; overflow-wrap: anywhere; }
.back-credit { margin-top: 4cqw; display: grid; gap: .8cqw; }
.back-credit strong { color: var(--mag-gold); font-family: Georgia, serif; font-size: 2.2cqw; font-weight: 400; }
.back-credit small { color: color-mix(in srgb, var(--white) 55%, transparent); font-size: 1.15cqw; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.studio-invitation { width: 82cqw; margin-top: auto; padding: 3.2cqw; display: grid; grid-template-columns: 23cqw 1fr; align-items: center; gap: 3.5cqw; border-top: .3cqw solid var(--mag-gold); text-align: left; color: var(--white); text-decoration: none; }
.studio-qr { display: block; width: 23cqw; height: 23cqw; border-radius: .6cqw; background: var(--white); }
.studio-invitation p { margin: 0; }
.studio-name { font-size: 2.6cqw; font-weight: 800; }
.studio-tagline { margin-top: .5cqw !important; color: var(--mag-gold); font-size: 1.5cqw; letter-spacing: .12em; }
.studio-invitation h3 { margin: 2cqw 0 1.2cqw; font-family: Georgia, serif; font-size: 3.3cqw; line-height: 1.14; font-weight: 400; }
.studio-services { font-size: 1.45cqw; line-height: 1.5; color: color-mix(in srgb, var(--white) 80%, transparent); }
.studio-invitation strong { display: block; margin-top: 1.8cqw; font-size: 1.65cqw; line-height: 1.4; color: var(--mag-gold); }
.studio-invitation:focus-visible { outline: .4cqw solid var(--mag-gold); outline-offset: .6cqw; }
.closing-card { width: min(100%, 1280px); margin: 74px auto 0; padding: clamp(34px, 6vw, 76px); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; border: 1px solid color-mix(in srgb, var(--gold-light) 30%, transparent); border-radius: 28px; background: linear-gradient(118deg, color-mix(in srgb, var(--soft) 42%, var(--deep)), var(--deep)); }
.closing-card h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 62px); font-weight: 500; line-height: .98; }
.closing-card h2 em { color: var(--gold-light); font-weight: 400; }
.closing-card > div:last-child > p { margin: 0 0 26px; color: color-mix(in srgb, var(--white) 65%, transparent); font-size: 15px; line-height: 1.6; }
.closing-card button { min-height: 48px; padding: 0 20px; border-radius: 999px; color: var(--deep); background: var(--gold-light); cursor: pointer; font-weight: 850; }
.closing-card button span { margin-left: 18px; }
.overview { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; color: var(--white); background: color-mix(in srgb, var(--deep) 95%, transparent); backdrop-filter: blur(22px); }
.overview::backdrop { background: color-mix(in srgb, var(--deep) 80%, transparent); }
.overview-header { width: min(100% - 40px, 1280px); margin: 0 auto; padding: 40px 0 28px; display: flex; justify-content: space-between; align-items: end; }
.overview-header p { margin: 0 0 7px; color: var(--gold-light); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.overview-header h2 { margin: 0; font-family: Georgia, serif; font-size: 36px; font-weight: 500; }
.overview-header button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--white) 18%, transparent); border-radius: 50%; color: var(--white); background: color-mix(in srgb, var(--white) 7%, transparent); cursor: pointer; font-size: 24px; }
.overview-grid { width: min(100% - 40px, 1280px); margin: 0 auto; padding: 0 0 60px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.overview-grid button { padding: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--white) 12%, transparent); border-radius: 10px; color: var(--white); background: color-mix(in srgb, var(--white) 6%, transparent); cursor: pointer; text-align: left; }
.overview-grid button:hover { border-color: var(--gold-light); transform: translateY(-4px); }
.overview-grid img { width: 100%; aspect-ratio: 216 / 170; object-fit: cover; }
.overview-grid span { min-height: 66px; padding: 10px; display: block; color: color-mix(in srgb, var(--white) 66%, transparent); font-size: 10px; line-height: 1.35; }
.overview-grid b { margin-bottom: 4px; display: block; color: var(--gold-light); font-size: 11px; }
.review-dialog { width: min(92vw, 620px); max-width: 620px; max-height: 90vh; padding: 0; overflow: visible; border: 1px solid color-mix(in srgb, var(--gold-light) 48%, transparent); border-radius: 24px; color: var(--white); background: var(--deep); box-shadow: 0 30px 100px color-mix(in srgb, var(--deep) 80%, transparent); }
.review-dialog::backdrop { background: color-mix(in srgb, var(--deep) 78%, transparent); backdrop-filter: blur(12px); }
.review-dialog-card { padding: clamp(24px, 5vw, 42px); }
.review-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.review-dialog-header p { margin: 0 0 7px; color: var(--gold-light); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.review-dialog-header h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(31px, 6vw, 44px); font-weight: 500; line-height: 1; }
.review-dialog-header button { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--white) 18%, transparent); border-radius: 50%; color: var(--white); background: color-mix(in srgb, var(--white) 7%, transparent); cursor: pointer; font-size: 24px; }
.review-help { margin: 20px 0 24px; color: color-mix(in srgb, var(--white) 66%, transparent); font-size: 13px; line-height: 1.55; }
.review-field { margin-top: 16px; display: grid; gap: 8px; }
.review-field > span { color: var(--gold-light); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.review-field select, .review-field textarea { width: 100%; border: 1px solid color-mix(in srgb, var(--white) 18%, transparent); border-radius: 13px; color: var(--white); background: color-mix(in srgb, var(--white) 8%, transparent); font: inherit; }
.review-field select { min-height: 48px; padding: 0 14px; }
.review-field textarea { min-height: 150px; padding: 14px; resize: vertical; line-height: 1.5; }
.review-field textarea::placeholder { color: color-mix(in srgb, var(--white) 42%, transparent); }
.review-field select:focus, .review-field textarea:focus { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.review-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; }
.review-actions button { min-height: 50px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 850; }
.review-copy { border: 1px solid color-mix(in srgb, var(--gold-light) 55%, transparent); color: var(--white); background: transparent; }
.review-whatsapp { color: var(--deep); background: var(--gold-light); }
.review-whatsapp span { margin-left: 12px; }
.review-dialog-card > small { margin-top: 16px; display: block; color: color-mix(in srgb, var(--white) 48%, transparent); font-size: 10px; text-align: center; }
.toast { padding: 12px 18px; position: fixed; z-index: 100; right: 22px; bottom: 22px; border-radius: 999px; color: var(--deep); background: var(--gold-light); box-shadow: 0 15px 50px rgba(0,0,0,.3); font-size: 12px; font-weight: 850; opacity: 0; transform: translateY(12px); pointer-events: none; transition: 180ms ease; }
.toast.visible { opacity: 1; transform: translateY(0); }
.viewer:fullscreen { width: 100%; height: 100%; overflow: auto; border: 0; border-radius: 0; background: var(--deep); }
.viewer:fullscreen .stage { min-height: calc(100vh - 190px); }
.viewer:fullscreen .page-shell { width: auto; height: min(76vh, 920px); max-width: 100%; }
@keyframes page-arrive { from { opacity: 0; transform: translateX(28px) rotateY(-4deg); } to { opacity: 1; transform: translateX(0) rotateY(0); } }
@keyframes page-return { from { opacity: 0; transform: translateX(-28px) rotateY(4deg); } to { opacity: 1; transform: translateX(0) rotateY(0); } }
@media (max-width: 1100px) { .overview-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) {
  .story-header { grid-template-columns: 1fr auto; }
  .sponsor-lockups { display: none; }
  .story-intro { grid-template-columns: 1fr; gap: 44px; }
  .story-intro dl { max-width: 520px; }
  .stage { min-height: 600px; padding: 26px 62px; }
  .page-shell { width: min(100%, 425px); height: auto; }
  .closing-card { grid-template-columns: 1fr; gap: 42px; }
  .overview-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .storybook-site { padding: 10px 10px 48px; }
  .story-header { min-height: 70px; padding: 8px 10px; border-radius: 16px; }
  .platform-mark > span { width: 44px; height: 44px; }
  .platform-mark b { font-size: 11px; }
  .platform-mark small, .share-button b, .review-button b { display: none; }
  .share-button, .review-button { width: 42px; min-height: 42px; padding: 0; justify-content: center; }
  .story-intro { margin: 54px auto 38px; }
  .story-intro h1 { font-size: clamp(48px, 15vw, 70px); }
  .story-intro > div > span { font-size: 15px; }
  .story-intro dl div { min-height: 100px; }
  .viewer { padding: 9px; border-radius: 20px; }
  .viewer-toolbar { grid-template-columns: 1fr auto; }
  .home-link { font-size: 10px; }
  .viewer-toolbar > p { display: none; }
  .stage { min-height: 520px; padding: 18px 34px; border-radius: 14px; }
  .turn-button { width: 34px; height: 34px; }
  .turn-previous { left: 2px; }
  .turn-next { right: 2px; }
  .chapter-rail { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
  .chapter-rail button { flex: none; }
  .closing-card { margin-top: 48px; padding: 28px 24px; }
  .closing-card h2 { font-size: 39px; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .overview-header { padding-top: 25px; }
  .review-dialog { width: calc(100vw - 20px); border-radius: 18px; }
  .review-dialog-card { padding: 24px 18px; }
  .review-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .book-spread { animation: none !important; } }
