* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --paper: #fff8f3;
  --ink: #32253c;
  --muted: #655467;
  --rose: #93465f;
  --blush: #f9e1e2;
  --band: #f8e9e7;
  --dot: #ce9aa8;
  --shadow: #e5adbd;
  --frame: #fffaf2;
  --display: "Playfair Display", "Iowan Old Style", Georgia, "Liberation Serif", serif;
  --reading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Liberation Serif", serif;
  --sans: "DM Sans", "Avenir Next", Arial, sans-serif;
  --letter: "Courier Prime", "Courier New", monospace;
  --space: clamp(54px, 7vw, 100px);
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
button, a { color: inherit; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #08749e; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1180px, 88%); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -7rem; left: 12px; z-index: 15; background: var(--ink); color: white; padding: 12px; }
.skip:focus { top: 8px; }

.masthead { position: sticky; top: 0; z-index: 9; background: var(--paper); border-bottom: 1px solid var(--ink); }
.mast-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 69px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: bold 26px/1 var(--display); letter-spacing: -1.4px; white-space: nowrap; }
.wordmark > span:last-child > span { color: var(--rose); }
.brand-icon { display: grid; place-content: center; width: 32px; height: 29px; background: var(--blush); color: var(--ink); border: 2px solid; border-radius: 9px 9px 8px 2px; box-shadow: 2px 2px var(--ink); font: bold 17px/1 Georgia, serif; transform: rotate(-9deg); }
.contents { position: relative; }
.contents summary { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 4px 1px 4px 8px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.contents summary::-webkit-details-marker { display: none; }
.scene-count { padding: 4px 8px; border: 1px solid #a78a93; border-radius: 20px; font: bold 11px/1.2 var(--letter); letter-spacing: .03em; }
.caret { width: 7px; height: 7px; margin-right: 2px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.contents[open] .caret { transform: translateY(2px) rotate(225deg); }
.contents nav { position: absolute; right: 0; top: calc(100% + 5px); width: max-content; max-width: 85vw; padding: 5px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--frame); box-shadow: 4px 4px var(--shadow); }
.contents nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 8px 16px; border-radius: 2px; font-size: 14px; }
.contents nav a span { font: bold 11px var(--letter); color: var(--rose); }
.contents nav a:hover, .contents nav [aria-current] { background: var(--blush); }

.cover { overflow: hidden; }
.spread, .duo { display: grid; grid-template-columns: 1.02fr 1fr; gap: 6%; align-items: center; }
.spread > *, .duo > * { min-width: 0; }
.spread { padding-block: clamp(44px,5.7vw,82px) clamp(30px,3.7vw,55px); position: relative; isolation: isolate; }
.cover-copy { padding-bottom: 14px; }
.issue, .eyebrow, .place-tag, .folio, .end-mark { font: bold 11px/1.4 var(--letter); letter-spacing: .09em; text-transform: uppercase; }
.issue { display: flex; align-items: center; gap: 11px; color: var(--muted); }
.issue-tab { padding: 5px 9px; border: 1px solid var(--ink); background: var(--blush); border-radius: 2px; color: var(--ink); transform: rotate(-2deg); }
.short-rule, .eyebrow::before, .folio::before { display: inline-block; width: 23px; height: 1px; background: currentColor; }
h1 { margin-block: 24px 23px; font-size: clamp(56px,6.9vw,100px); line-height: .97; letter-spacing: -.07em; }
h1 em, .copy h2 em, .copy h3 em, .chapter-heading h2 em, .new-year h3 em { color: var(--rose); font-weight: 500; }
h1 em { white-space: nowrap; position: relative; z-index: 0; }
h1 em::after { content: ""; position: absolute; z-index: -1; bottom: 1%; left: 0; width: 97%; height: .12em; border-radius: 60% 40% 36% 35%; transform: rotate(-2deg); background: var(--blush); }
.cover-copy > p, .copy > p, .chapter-heading > p:last-child, .new-year > p, .church-note > p { max-width: 46ch; font: 400 clamp(18px,1.5vw,21px)/1.62 var(--reading); }
.cover-copy > p { margin-bottom: 27px; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; padding: 11px 17px; border: 2px solid var(--ink); border-radius: 3px; background: #432d47; color: var(--frame); box-shadow: 3px 3px #c88699; font: bold 14px/1.3 var(--sans); }
.action:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px #c88699; }
.cover-figure { position: relative; margin-inline: 5px 11px; }
.cover-figure::before, .phone-stage::before { content: ""; position: absolute; z-index: -1; background: radial-gradient(var(--dot) 1.05px,transparent 1.35px) 0 0 / 7px 7px; }
.cover-figure::before { inset: -18px -6% 0 -5%; transform: rotate(-4deg); border-radius: 41% 13% 36% 19%; }
.frame { position: relative; padding: 6px; border: 2px solid var(--ink); border-radius: 3px; background: var(--frame); box-shadow: 4px 4px var(--shadow), 5px 5px var(--ink); }
.cover-frame { padding: 7px; transform: rotate(1.7deg); box-shadow: 7px 7px var(--shadow), 8px 8px var(--ink); }
.art { display: block; aspect-ratio: 1; background-color: var(--blush); background-size: 200% 200%; background-repeat: no-repeat; }
.webtoon { background-image: url("assets/webtoon.webp"); }
.cities { background-image: url("assets/entre-ciudades.webp"); }
.first-look { background-image: url("assets/primera-mirada.webp"); }
.december { background-image: url("assets/diciembre.webp"); }
.top-left { background-position: left top; }
.top-right { background-position: right top; }
.bottom-left { background-position: left bottom; }
.bottom-right { background-position: right bottom; }
.place-tag { position: absolute; top: 14px; left: 14px; padding: 5px 8px; border: 1px solid var(--ink); background: var(--frame); font-size: 10px; letter-spacing: .04em; }
.thought { position: absolute; background: #fffcf6; color: var(--ink); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); text-align: center; font: bold italic clamp(17px,1.6vw,23px)/1.08 var(--display); }
.thought { padding: .65em .98em; border-radius: 49% 53% 48% 46% / 48% 58% 46% 50%; }
.thought::before, .thought::after { content: ""; position: absolute; border: 1.5px solid var(--ink); background: #fffcf6; border-radius: 50%; }
.thought::before { top: -.2em; right: .1em; width: .58em; height: .41em; transform: rotate(-26deg); }
.thought::after { top: -.53em; right: -.42em; width: .24em; height: .18em; }
.hero-thought { bottom: 6%; left: -4%; transform: rotate(-6deg); }
.folio { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 17px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.folio::before, .eyebrow::before { content: ""; flex: 0 0 23px; }
.eyebrow, .copy > .eyebrow, .chapter-heading > .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font: bold 11px/1.5 var(--letter); }
.copy h2, .copy h3, .chapter-heading h2 { margin-block: 16px 19px; font-size: clamp(46px,5.2vw,76px); line-height: .99; letter-spacing: -.06em; }
.copy > p + p { margin-top: 15px; }
.feed-band { background: var(--band); border-block: 2px solid var(--ink); }
.feed-spread { padding-block: var(--space); }
.feed-spread > .copy { padding-left: clamp(0px,3.8vw,52px); }
.copy .gesture { display: flex; align-items: center; gap: 10px; color: var(--rose); font: bold italic clamp(18px,1.7vw,23px)/1.3 var(--display); }
.gesture span { font: 34px/1 var(--display); }

.phone-stage { position: relative; isolation: isolate; display: grid; justify-items: center; padding: 5px 0 10px; }
.phone-stage::before { inset: 3% 5%; clip-path: polygon(8% 12%,82% 0,100% 85%,15% 100%,0 64%); }
.phone { width: min(100%,318px); padding: 0 8px 8px; border: 4px solid var(--ink); border-radius: 34px; background: #fffdf8; color: #223247; box-shadow: 7px 7px var(--shadow); }
.phone-top { min-height: 33px; display: flex; align-items: center; justify-content: space-between; padding-inline: 13px; font: bold 10px/1 var(--sans); }
.phone-top i, .phone-bottom { background: #292839; border-radius: 20px; }
.phone-top i { width: 47px; height: 5px; }
.battery { width: 17px; height: 8px; border: 1px solid #293447; border-radius: 2px; padding: 1px; background: #293447 content-box; }
.fb-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border: 2px solid #25364d; border-radius: 4px 4px 0 0; color: white; background: #385e9b; }
.fb-head strong { font: bold 27px/1.1 Arial,sans-serif; letter-spacing: -.075em; }
.fb-head span { padding-bottom: 2px; border-bottom: 1px solid; font: bold 11px var(--letter); }
.phone-feed { height: 278px; overflow: auto; scrollbar-color: #9eafc6 #eceff4; scrollbar-width: thin; background: white; border: 1px solid #bdc6d0; }
.phone-feed:focus-visible { outline-offset: 0; }
.post, .suggestion { padding: 14px 10px 9px; }
.post { border-bottom: 5px solid #e0e5ec; }
.post-by { display: flex; align-items: center; gap: 8px; }
.avatar { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid; border-radius: 50%; color: #63492e; background: #f1d19c; font: bold 17px/1 Georgia,serif; }
.post-by strong, .post-by small { display: block; }
.post-by strong { font-size: 13px; }
.post-by small { margin-top: 2px; color: #546174; font-size: 10px; }
.post p { margin-block: 11px 7px; font-size: 13px; }
.landscape { position: relative; height: 116px; overflow: hidden; border: 1px solid #695165; background: repeating-linear-gradient(0deg,transparent 0 7px,#efb391 7px 8px),#f7c89e; }
.landscape i { position: absolute; top: 14%; right: 17%; width: 39px; height: 39px; border: 1px solid #ad7779; border-radius: 50%; background: #fee3a6; }
.landscape::before, .landscape::after { content: ""; position: absolute; inset: 40% 0 0; background: #976b86; clip-path: polygon(0 30%,16% 2%,33% 52%,53% 19%,65% 44%,85% 0,100% 43%,100% 100%,0 100%); }
.landscape::after { inset: 56% 0 0; background: #56506d; clip-path: polygon(0 53%,23% 3%,42% 59%,66% 6%,88% 36%,100% 11%,100% 100%,0 100%); }
.post-foot { display: flex; justify-content: space-between; gap: 4px; margin-top: 6px; color: #51657f; font: bold 10px/1.4 var(--sans); }
.suggestion h3 { margin-bottom: 8px; font: bold 15px/1.25 var(--sans); }
.open-photo { display: block; overflow: hidden; border: 1px solid #465d77; border-radius: 3px; background: white; }
.open-photo img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #24222b; }
.open-photo > span, .feed-button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 8px 11px; background: #e3ebf6; color: #233a59; font: bold 13px/1.35 var(--sans); }
.feed-button { min-height: 41px; margin-top: 6px; border: 1px solid #8296b2; border-radius: 3px; }
.open-photo:hover > span, .feed-button:hover { background: #d5e2f2; }
.phone-bottom { width: 62px; height: 4px; margin: 11px auto 3px; }
.panel { min-width: 0; }
.reaction { padding-block: var(--space); }
.reaction > .copy { order: 1; }
.reaction .panel { width: 95%; margin-inline: auto; }
.reaction-thought { bottom: 6%; left: -4%; transform: rotate(-4deg); }

.chapter-section { padding-block: var(--space); border-top: 1px solid var(--ink); }
.chapter-heading { max-width: 700px; margin: 0 auto clamp(32px,4vw,58px); text-align: center; }
.chapter-heading .eyebrow { justify-content: center; }
.chapter-heading .eyebrow::after { content: ""; width: 23px; height: 1px; background: currentColor; }
.chapter-heading > p:last-child { max-width: 50ch; margin-inline: auto; text-align: start; }
.messages-band { background: #f7edea; }
.call-panel { width: min(100%,640px); margin: 0 auto clamp(34px,5vw,58px); }
.call-panel img, .smile-panel img { width: 100%; }
.thought-credit { margin-top: 16px; color: var(--muted); font: italic clamp(16px,1.4vw,20px)/1.4 var(--reading); }
.two-cities, .travel-strip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px,2.4vw,30px); max-width: 850px; margin: auto; }
.two-cities { max-width: 680px; margin-top: clamp(30px,4vw,52px); }
.two-cities .panel:first-child { transform: rotate(-1.25deg); }
.two-cities .panel:nth-child(2) { transform: rotate(.8deg); }
.coffee-thought { bottom: 7%; left: 4%; transform: rotate(-4deg); }
.chat-spread { max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: start; margin: clamp(42px,6vw,80px) auto; }
.chat-copy h3, .new-year h3 { margin: 0 0 15px; font-size: clamp(34px,3.6vw,51px); line-height: 1.02; letter-spacing: -.055em; }
.memory-photo { width: min(100%,290px); margin-top: 17px; }
.memory-photo summary { padding-block: 10px; min-height: 40px; color: var(--rose); font: bold 14px/1.4 var(--sans); cursor: pointer; }
.memory-photo img { width: 100%; }
.chat { border: 1.5px solid var(--ink); border-radius: 12px; padding: 16px; background: #fffbf6; box-shadow: 4px 4px #e8cbd2; }
.chat figcaption, .time-mark, .chat-actions > span, .snapshot-hint, .dialog-foot > span { font: bold 10px/1.45 var(--letter); text-transform: uppercase; letter-spacing: .06em; }
.chat figcaption { display: flex; align-items: center; gap: 7px; padding-bottom: 11px; border-bottom: 1px solid #decfd3; }
.chat-dot { width: 8px; height: 8px; background: var(--rose); border-radius: 50%; }
.chat-step { margin-top: 10px; }
.chat-step:not([hidden]) + .chat-step:not([hidden]) { margin-top: 18px; padding-top: 4px; border-top: 1px solid #decfd3; }
.bubble { max-width: 87%; width: fit-content; border: 1.2px solid var(--ink); padding: 7px 12px 9px; font: 15px/1.4 var(--sans); box-shadow: 1.5px 1.5px var(--ink); }
.bubble + .bubble { margin-top: 10px; }
.bubble b { display: block; margin-bottom: 2px; font: bold 10px/1.3 var(--letter); text-transform: uppercase; }
.bubble.mine { margin-left: auto; border-radius: 13px 13px 2px 13px; background: var(--blush); }
.bubble.hers { border-radius: 13px 13px 13px 2px; background: #f4eee7; }
.time-mark { text-align: center; color: var(--muted); margin: 15px 0 8px; }
.chat-note { margin: 9px auto; color: var(--muted); text-align: center; font: italic 15px/1.4 var(--display); }
.chat-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; border-top: 1px solid #decfd3; padding-top: 8px; }
.chat-actions button, .text-link, .footer a { padding: 5px 0; border: 0; background: transparent; color: var(--rose); font: bold 13px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.chat-actions button { min-height: 44px; }
.chat-actions button:disabled { opacity: .5; cursor: default; }
.church-note { width: fit-content; max-width: 100%; margin-inline: auto; }
.church-note p { max-width: 50ch; }
.church-note p + p { margin-top: 15px; }
.last-line em { color: var(--rose); }
.travel-strip { max-width: 750px; gap: 9px; }
.travel-strip .frame { padding: 4px; box-shadow: none; }
.church-walk { width: min(100%,520px); margin: clamp(25px,4vw,46px) auto 0; }
.encounter-spread { max-width: 930px; margin: var(--space) auto clamp(36px,5vw,70px); }
.encounter-spread > .copy, .departure-spread > .copy { padding-left: clamp(0px,3.8vw,52px); }
.first-look-sequence { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(28px,4vw,50px) 8%; max-width: 800px; margin: 0 auto var(--space); }
.glance-caption { max-width: 31ch; font: clamp(21px,2vw,28px)/1.3 var(--display); letter-spacing: -.02em; }
.glance-caption em { color: var(--rose); }
.thought-credit { max-width: 36ch; margin-left: 4px; }
.shared-glance { margin-top: clamp(35px,5vw,65px); }
.shared-glance .glance-caption { margin-top: 22px; }
.smile-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; width: min(100%,760px); margin-inline: auto; }
.outing { width: min(100%,860px); margin-inline: auto; }
.holidays { background: #f6e3e2; }
.holiday-spread { display: grid; grid-template-columns: 1.1fr .8fr; gap: 10%; align-items: center; width: min(96%,1030px); margin-inline: auto; }
.december-visit { transform: rotate(-1deg); }
.last-night { width: min(100%,960px); grid-template-columns: 1.12fr .88fr; margin: var(--space) auto 0; padding-top: clamp(32px,4vw,58px); border-top: 1px solid #ba96a1; }
.last-night h3 { margin-top: 0; font-size: clamp(37px,4vw,60px); }
.last-night img { width: 100%; }
.new-year { padding-block: 10px; }
.snapshot { display: block; width: min(97%,325px); margin: 30px auto 0; padding: 8px 8px 0; border: 1px solid var(--ink); border-radius: 2px; background: #fffdf4; color: var(--ink); transform: rotate(3deg); box-shadow: 4px 4px #bc919c; }
.snapshot:hover { transform: rotate(1deg); }
.snapshot-caption { display: block; padding: 11px 4px 13px; font: italic bold clamp(17px,2vw,24px)/1.1 var(--display); }
.new-year > .snapshot-hint { margin: 20px auto 0; color: var(--muted); text-align: center; font: bold 10px/1.4 var(--letter); }
.departure { padding-bottom: 0; }
.last-scene { margin: var(--space) auto 0; max-width: 940px; text-align: center; }
.terminal-panel img, .bus-panel img { width: 100%; }
.terminal-caption { margin-top: 22px; font: italic clamp(19px,2.2vw,28px)/1.35 var(--reading); }
.bus-epilogue { width: min(100%,820px); margin: var(--space) auto 0; }
.bus-copy { width: min(100%,520px); margin: 0 auto clamp(28px,4vw,48px); }
.bus-copy h3 { margin-top: 0; }
.last-line { max-width: 25ch; margin: clamp(32px,6vw,75px) auto 25px; text-align: center; font: 400 clamp(27px,3.7vw,54px)/1.16 var(--display); letter-spacing: -.045em; }
.end-mark { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: clamp(43px,6vw,76px); }
.end-mark span { color: var(--rose); font-size: 17px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 20px 28px; border-top: 1px solid var(--ink); }
.footer p { color: var(--muted); max-width: 63ch; font: 12px/1.5 var(--sans); }
.footer a { flex-shrink: 0; color: var(--ink); }

dialog { width: min(570px,calc(100% - 32px)); max-height: calc(100dvh - 24px); padding: 8px; overflow: auto; border: 2px solid var(--ink); border-radius: 4px; background: var(--frame); color: var(--ink); box-shadow: 5px 5px var(--shadow); }
dialog::backdrop { background: rgb(29 20 34 / .78); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-bar, .dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dialog-bar { padding: 0 2px 8px; }
.dialog-bar h2 { font: bold clamp(19px,3vw,26px)/1.2 var(--display); letter-spacing: -.03em; }
.dialog-bar button { width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 50%; background: var(--blush); font: normal 26px/1 var(--sans); }
.dialog-photo { width: 100%; max-height: 64dvh; object-fit: contain; background: #25212b; }
.year-photo { width: min(100%,64dvh); margin: auto; }
.dialog-foot { padding: 11px 3px 4px; }
#profile-dialog .dialog-foot { justify-content: flex-end; }

@media (max-width: 950px) {
  .wrap { width: 90%; }
  .spread, .duo { gap: 5%; }
  .feed-spread > .copy, .encounter-spread > .copy, .departure-spread > .copy { padding-left: 0; }
}
@media (max-width: 700px) {
  :root { scroll-padding-top: 69px; --space: 49px; }
  .mast-inner { min-height: 55px; }
  .wordmark { font-size: 22px; gap: 8px; }
  .brand-icon { width: 25px; height: 23px; font-size: 13px; border-radius: 6px 6px 5px 1px; }
  .contents summary { gap: 7px; font-size: 12px; }
  .scene-count { padding: 3px 6px; font-size: 10px; }
  .wrap { width: min(88%,540px); }
  .mast-inner { width: 92%; }
  .spread, .duo, .chat-spread, .holiday-spread { grid-template-columns: minmax(0,1fr); gap: 29px; }
  .spread { padding-block: 35px 27px; }
  .cover-copy { padding: 0; }
  h1 { font-size: clamp(53px,13vw,85px); margin-block: 17px; }
  .cover-copy > p { margin-bottom: 20px; }
  .cover-figure { width: calc(100% - 10px); margin-inline: auto; }
  .cover-frame { padding: 5px; box-shadow: 4px 4px var(--shadow), 5px 5px var(--ink); }
  .thought { font-size: clamp(17px,4.4vw,23px); }
  .folio { font-size: 9px; }
  .copy h2, .copy h3, .chapter-heading h2 { font-size: clamp(45px,10vw,65px); margin-block: 12px 15px; }
  .chat-copy h3, .new-year h3 { font-size: clamp(34px,7.8vw,46px); }
  .phone-stage::before { inset-inline: 0; }
  .reaction .panel { width: calc(100% - 8px); }
  .reaction > .copy { order: 0; }
  .chapter-heading { text-align: left; margin-bottom: 28px; }
  .chapter-heading .eyebrow { justify-content: flex-start; }
  .chapter-heading .eyebrow::after { display: none; }
  .chapter-heading > p:last-child { margin-inline: 0; }
  .two-cities { gap: 10px; }
  .two-cities .frame, .travel-strip .frame { padding: 3px; }
  .two-cities .thought { font-size: clamp(12px,3vw,16px); }
  .chat-spread { margin-block: 34px; gap: 19px; }
  .church-note p { font-size: 19px; }
  .travel-strip { gap: 7px; }
  .encounter-spread { margin-block: 39px; }
  .first-look-sequence { grid-template-columns: 1fr; gap: 38px; }
  .her-glance { width: 94%; }
  .shared-glance { margin-top: 0; }
  .shared-glance .glance-caption { margin-top: 16px; }
  .smile-panel { display: block; width: 88%; margin-right: 0; }
  .smile-panel .glance-caption { margin-top: 16px; }
  .outing { gap: 23px; }
  .holiday-spread { width: 100%; gap: 42px; }
  .new-year { padding: 0; }
  .snapshot { width: min(86%,320px); }
  .departure-spread { gap: 23px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 11px; }
}
@media (max-width: 350px) {
  .contents summary { gap: 5px; }
  .scene-count { padding-inline: 4px; }
  .wordmark { font-size: 20px; gap: 6px; }
  .issue, .eyebrow { font-size: 10px; }
  .issue { gap: 7px; }
  .two-cities .folio { font-size: 8px; }
  .snapshot-hint { letter-spacing: 0; }
}
@media (max-height: 480px) {
  .mast-inner { min-height: 46px; }
  :root { scroll-padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}

/* The chapter reads like an illustrated album: warm pages and mounted prints. */
.chapter-page {
  --paper: #fffaf4;
  --ink: #372a39;
  --muted: #6c5662;
  --rose: #953f60;
  --frame: #fffdf6;
  --blush: #f6d9dc;
  --space: clamp(66px, 7.8vw, 112px);
  --edge: #cdb8ae;
}
.chapter-page .masthead {
  background: rgb(255 250 244 / .96);
  border-bottom: 1px solid #decfc7;
}
.chapter-page .mast-inner { min-height: 64px; }
.chapter-page .reading-track {
  position: absolute;
  bottom: -2px;
  inset-inline: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}
.chapter-page [data-reading-progress] {
  background: linear-gradient(90deg, #a84e6a, #cc7e83 70%, #ab7044);
}
.chapter-page .brand-icon { border-color: #6e3f51; color: #71394f; box-shadow: 2px 2px #bb8390; }
.chapter-page .contents nav { border: 1px solid #b99ca6; border-radius: 10px; box-shadow: 0 9px 24px #4e2c3f21; }
.chapter-page .cover {
  background:
    radial-gradient(ellipse at 84% 40%, #f4d8ce 0, transparent 49%),
    linear-gradient(115deg, #fffaf3 16%, #fcf1e7 72%, #f9e7de);
}
.chapter-page .spread { padding-block: clamp(70px, 6.5vw, 104px) clamp(76px, 7vw, 110px); }
.chapter-page .cover-copy { padding-bottom: 0; }
.chapter-page .cover-copy h1 { font-size: clamp(58px, 7.1vw, 108px); line-height: .98; letter-spacing: -.066em; }
.chapter-page .cover-copy h1 em::after { bottom: -.025em; height: .085em; background: #e5b5ae; }
.chapter-page .issue-tab {
  padding: 6px 10px 5px;
  color: #78374b;
  background: #f5dfd7;
  border: 1px solid #cda797;
  box-shadow: inset 0 0 0 2px #fff3e6;
}
.chapter-page .action { gap: 20px; border: 1px solid #603247; border-radius: 7px; background: #773d53; box-shadow: 0 3px 0 #d5a2a1; }
.chapter-page .action:hover { background: #653146; }
.chapter-page .cover-figure {
  isolation: isolate;
  width: min(94%, 500px);
  margin-inline: auto;
}
.chapter-page .cover-figure::before {
  inset: -7% -7% -5% -6%;
  background: radial-gradient(#bd7c7c 1px, transparent 1.4px) 0 0 / 7px 7px;
  border-radius: 48% 50% 41% 45%;
  mask-image: radial-gradient(ellipse, #000 55%, transparent 74%);
}
.chapter-page .frame {
  padding: clamp(5px, .6vw, 9px);
  border: 1px solid var(--edge);
  border-radius: 3px;
  box-shadow: 0 2px 3px #4a2d3b13, 0 12px 28px -15px #603d4f66;
}
.chapter-page .cover-frame {
  padding: clamp(7px, .75vw, 12px);
  padding-bottom: clamp(15px, 1.35vw, 20px);
  transform: rotate(2deg);
  box-shadow: 0 3px 4px #56253217, 0 18px 30px -12px #693c4b55;
}
.chapter-page .cover-frame::before,
.chapter-page .two-cities .frame::before,
.chapter-page .call-panel .frame::before,
.chapter-page .bus-panel .frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 43%;
  top: -12px;
  width: clamp(54px, 7vw, 92px);
  height: clamp(18px, 2vw, 27px);
  background: repeating-linear-gradient(83deg, #f5dfad 0 3px, #efcf9c 3px 4px, #f3d7a1 4px 9px);
  opacity: .85;
  transform: rotate(-7deg);
  clip-path: polygon(0 4%, 100% 0, 97% 18%, 100% 33%, 97% 47%, 100% 62%, 97% 84%, 100% 100%, 0 95%, 3% 78%, 0 65%, 3% 44%, 0 24%, 2% 13%);
  pointer-events: none;
}
.chapter-page .place-tag { top: auto; bottom: 6%; left: auto; right: -2%; transform: rotate(-4deg); border-color: #a48c76; color: #6c3b4b; background: #f9ead7; box-shadow: 0 2px 3px #4e2d3c22; }
.chapter-page .thought { border-color: #674553; box-shadow: 2px 3px #bf969b; }
.chapter-page .hero-thought { left: -5%; bottom: 12%; --drift-distance: 11px; }

.chapter-page .feed-band {
  border-block: 1px solid #c4b2c2;
  background: radial-gradient(ellipse at 70% 75%, #eee1e6 8%, transparent 60%), #f3eaf0;
}
.chapter-page .phone-stage::before {
  inset: 0 3%;
  clip-path: none;
  border-radius: 50%;
  background: radial-gradient(#b79aa9 1px, transparent 1.4px) 0 0 / 7px 7px;
  mask-image: radial-gradient(ellipse at center, #000 52%, transparent 70%);
  transform: rotate(-10deg);
}
.chapter-page .phone { box-shadow: 5px 5px #c7a5b3, 0 22px 30px -15px #55374955; }
.chapter-page .reaction .panel { width: 89%; }
.chapter-page .reaction .frame { transform: rotate(-1.5deg); }
.chapter-page .copy h2, .chapter-page .copy h3, .chapter-page .chapter-heading h2 { text-wrap: balance; }
.chapter-page .chapter-section { position: relative; border-top: 1px solid #d5c1b9; }
.chapter-page .chapter-section::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: calc(50% - 5px);
  top: -6px;
  transform: rotate(45deg);
  background: #c69491;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px #c39a91;
}
.chapter-page .messages-band { background: linear-gradient(160deg, #fcf1e7 5%, #fbf0eb 64%, #f8e8e5); }
.chapter-page .chapter-heading { margin-bottom: clamp(40px, 5.3vw, 76px); }
.chapter-page .chat { padding: clamp(17px, 2vw, 28px); border: 1px solid #ba9da7; background: #fffaf5; box-shadow: 0 4px 0 #e5c7cb, 0 15px 28px -21px #623d50; }
.chapter-page .chat figcaption { padding-bottom: 14px; color: #714459; }
.chapter-page .bubble { border-color: #a77c86; box-shadow: 1px 2px 0 #dbb8bb; }
.chapter-page .bubble.hers { border-color: #b4a391; box-shadow: 1px 2px 0 #d3c2af; }
.chapter-page .chat-actions button { padding-inline: 5px; }
.chapter-page .church-note, .chapter-page .church-walk { border-inline-start: 2px solid #c88e97; padding-inline-start: clamp(16px, 2.3vw, 32px); }
.chapter-page .two-cities { gap: clamp(16px, 3.5vw, 45px); }
.chapter-page .two-cities .frame::before { width: 56px; height: 17px; left: 35%; top: -8px; }
.chapter-page .two-cities .panel:nth-child(2) .frame::before { left: 55%; transform: rotate(6deg); }
.chapter-page .folio { color: #7a5363; }
.chapter-page .travel-strip { gap: 0; padding: 7px; border: 1px solid var(--edge); background: #fffdf8; box-shadow: 0 7px 18px -12px #5b384a66; transform: rotate(-.7deg); }
.chapter-page .travel-strip .frame { padding: 3px; border: 0; box-shadow: none; }
.chapter-page .glance-caption { text-wrap: pretty; }
.chapter-page .holidays {
  background: radial-gradient(ellipse at 70% 32%, #fff1e4, transparent 58%), linear-gradient(120deg, #f8ddd7, #f7e7dc 60%, #f4e1dc);
}
.chapter-page .call-panel { width: min(100%, 830px); }
.chapter-page .pan-window { overflow: hidden; --drift-distance: 11px; }
@media (prefers-reduced-motion: no-preference) {
  .chapter-page .pan-window[data-drift-active] [data-drift-layer] { scale: 1.07; }
}
.chapter-page .snapshot { padding: 9px 9px 0; border-color: #bb9a8e; box-shadow: 0 3px 2px #63414a19, 0 11px 21px -9px #6a42465c; }
.chapter-page .snapshot-caption { padding-block: 13px 16px; }
.chapter-page .departure { background: linear-gradient(180deg, #fffaf4 62%, #f9eae5); }
.chapter-page .last-line { text-wrap: balance; }
.chapter-page .end-mark { margin-bottom: 0; padding-bottom: var(--space); }
.chapter-page .footer { border-top: 0; padding-block: 24px; }
.chapter-page .footer a { color: #754356; text-underline-offset: 4px; }
.chapter-page dialog { border: 1px solid #ac8d96; border-radius: 8px; padding: 12px; box-shadow: 0 18px 64px #160d18a6; }

@media (max-width: 700px) {
  .chapter-page { --space: 57px; }
  .chapter-page .mast-inner { min-height: 54px; }
  .chapter-page .spread { gap: 32px; padding-block: 36px 48px; }
  .chapter-page .cover-copy h1 { font-size: clamp(51px, 12.8vw, 77px); }
  .chapter-page .cover-figure { width: 92%; }
  .chapter-page .phone-stage::before { inset-inline: 11%; }
  .chapter-page .reaction .panel { width: 94%; }
  .chapter-page .chapter-heading { margin-bottom: 34px; }
  .chapter-page .pan-window { --drift-distance: 4px; }
  .chapter-page .footer { align-items: center; flex-direction: row; flex-wrap: wrap; }
}
@media (max-height: 480px) {
  .chapter-page .mast-inner { min-height: 46px; }
}
