@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../Assets/fonts/cormorant-garamond-latin-400-normal.woff") format("woff");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../../Assets/fonts/cormorant-garamond-latin-400-italic.woff") format("woff");
}
:root {
  color-scheme: light;
  --ink: #153e43;
  --muted: #516d6c;
  --aarna: #825b35;
  --mukund: #265f79;
  --water: #246d70;
  --night: #103f48;
  --foam: #f0f6f0;
  --line: #b5cbc4;
  --paper: #fbf5e9;
  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--foam);
  line-height: 1.7;
}
* { box-sizing: border-box; }
body { margin: 0; }
body.reading, body.profile-open { overflow: hidden; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .3em; }
button { cursor: pointer; }
button:disabled, select:disabled { opacity: .5; cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #93602a; outline-offset: 5px; }
button, select { min-height: 44px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; inset: 1rem auto auto 1rem; padding: 1rem; background: var(--foam); z-index: 5; }
h1, h2, h3 { font-weight: 400; line-height: 1.12; }
button, label, select, .eyebrow, .site-nav, .site-footer, .edition, .draft-note, .hero-caption, .water-caption, .story-measures, .trait-list, .art-caption, .wave-status, .wave-scene, .reader-hint, .page-controls { font-family: system-ui, sans-serif; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.15rem 5vw; border-block-end: 1px solid var(--line); background: #f3f8f3; }
.wordmark { display: inline-flex; align-items: center; gap: .85rem; font: 2rem var(--display); text-decoration: none; }
.brand-ripple { width: 28px; height: 12px; border: 1px solid #427c77; border-radius: 50%; box-shadow: 0 0 0 4px #427c7717; transform: rotate(-15deg); }
.site-nav { display: flex; gap: 2rem; font-size: .78rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #3f6261; }
.site-nav a:hover { text-decoration: underline; }
.quiet-button { border: 1px solid #6a9791; border-radius: 2px; background: transparent; color: var(--ink); padding: .65rem 1rem; font-size: .78rem; }
.quiet-button:hover { background: #cce2d9; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.6rem; border: 1px solid #164f52; border-radius: 2px; background: #164f52; color: #f0f8ef; font-size: .82rem; letter-spacing: .02em; box-shadow: 0 6px 20px #154f5215; }
.primary-button::after { content: "\2197"; margin-inline-start: 1.25rem; font-size: 1.1rem; }
.primary-button:hover { background: #0b383f; }
.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--water); }
.small-rule { width: 32px; height: 1px; background: currentColor; }
.section-index { display: inline-grid; place-items: center; width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; font-size: .58rem; letter-spacing: 0; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 720px; padding: 6rem 7vw 7rem; display: flex; align-items: center; background: #c7e3db; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #e9f3eaeF 0%, #e9f3ead9 28%, #e4f1e75c 48%, transparent 68%); }
.hero-copy { max-width: 550px; pointer-events: none; }
.hero-copy button, .hero-copy a { pointer-events: auto; }
.hero h1 { font: clamp(6.5rem, 12.5vw, 11rem)/.96 var(--display); letter-spacing: -.065em; margin: 1.7rem 0 .65rem; color: #143c40; }
.book-subtitle { font: italic clamp(1.25rem, 2vw, 1.65rem)/1.45 var(--display); margin-block: .5rem 2rem; color: #486b65; }
.hero-thought { font: 2rem/1.15 var(--display); margin-block: 2rem .75rem; max-width: 20ch; }
.hero-line { font-size: .95rem; max-width: 34ch; color: #3c6261; margin-block: .75rem 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: .4rem; font-size: .82rem; }
.meet-button { background: none; border: 0; color: var(--ink); padding: .6rem 0; text-decoration-line: underline; }
.hero-caption { margin-block-start: 2rem; font-size: .65rem; letter-spacing: .06em; color: #486966; }
.water-art { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: url("../../Assets/water-surface.svg") center / 100% 100% no-repeat; }
.water-source { position: absolute; left: 61.25%; top: 51.6%; --ripple-color: #e8fff0; }
.mukund-water { left: 77%; top: 64%; --ripple-color: #bceaf2; }
.water-source i, .water-pulse { position: absolute; width: min(1050px, 90vw); height: min(440px, 39vw); border-radius: 48% 52% 49% 51%; border: 1.5px solid var(--ripple-color); border-block-end-color: #1a677348; box-shadow: 0 3px 3px #154e4b22, inset 0 2px 1px #ffffff35; transform: translate(-50%, -50%) rotate(var(--tilt, -16deg)) scale(var(--rest-scale, .6)); opacity: .35; }
.water-source i::after, .water-pulse::after { content: ""; position: absolute; inset: 6px 10px; border-radius: 50%; border-block-end: 1px solid var(--ripple-color); opacity: .45; }
.water-source i:nth-child(1) { --delay: -.6s; --rest-scale: .16; --duration: 8.2s; --tilt: -18deg; --drift: 12px; --rise: -8px; }
.water-source i:nth-child(2) { --delay: -2.1s; --rest-scale: .34; --duration: 9.5s; --tilt: -14deg; --drift: -15px; --rise: 9px; }
.water-source i:nth-child(3) { --delay: -3.8s; --rest-scale: .52; --duration: 8.8s; --tilt: -17deg; --drift: 21px; --rise: -4px; }
.water-source i:nth-child(4) { --delay: -5.4s; --rest-scale: .72; --duration: 10.1s; --tilt: -13deg; --drift: -10px; --rise: 12px; }
.water-source i:nth-child(5) { --delay: -7.2s; --rest-scale: .94; --duration: 9.2s; --tilt: -19deg; --drift: 17px; --rise: -10px; }
.water-art::after { content: ""; position: absolute; inset: 10% -5%; background: radial-gradient(ellipse at 61% 48%, #e9fff014, transparent 28%), repeating-linear-gradient(112deg, transparent 0 9%, #e5fff00c 10%, transparent 12% 25%); filter: blur(10px); pointer-events: none; }
.pebble { display: none; }
.water-caption { position: absolute; right: 7vw; top: 23%; display: flex; flex-direction: column; gap: 1rem; width: 150px; padding: 1rem; color: #1b565b; background: #edf8efdf; font-size: .64rem; letter-spacing: .04em; border: 1px solid #f5fff655; }
.water-caption > span:first-child { padding-block-end: .8rem; border-block-end: 1px solid #1b565b55; }
.water-controls { position: absolute; bottom: 1.5rem; inset-inline-end: 3vw; display: flex; align-items: center; gap: .6rem; }
.water-controls > span { font: italic .9rem var(--display); color: #e3f4e9; margin-inline-end: .6rem; }
.water-controls button { font-size: .68rem; background: #e8f5edeb; border-color: #e8f5ed; }
@keyframes water-spread {
  0% { transform: translate(-50%, -50%) rotate(-16deg) scale(.035, .05); opacity: 0; }
  15% { opacity: .5; }
  55% { transform: translate(calc(-50% + var(--drift, 8px)), -50%) rotate(var(--tilt, -16deg)) scale(.63, .7); border-radius: 52% 48% 51% 49%; opacity: .3; }
  100% { transform: translate(calc(-50% + var(--drift, 8px)), calc(-50% + var(--rise, -5px))) rotate(var(--tilt, -16deg)) scale(1.15, 1.04); border-radius: 49% 51% 47% 53%; opacity: 0; }
}
@keyframes reflection-drift { from { transform: translate(-8px, -4px) rotate(-1deg); opacity: .6; } to { transform: translate(12px, 7px) rotate(1deg); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .water-source i { animation: water-spread var(--duration) ease-out var(--delay) infinite; }
  .mukund-water i { animation-direction: normal; animation-duration: calc(var(--duration) + 1.3s); }
  .water-pulse { animation: water-spread 3.5s ease-out both; }
  .water-art::after { animation: reflection-drift 14s ease-in-out infinite alternate; }
  .primary-button, .quiet-button, .wave-map button { transition: background .2s ease; }
}
.water-paused .water-art *, .water-paused .water-art::after { animation-play-state: paused; }
.story-measures { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.3rem max(5vw, calc((100vw - 1180px) / 2)); border-block-end: 1px solid var(--line); background: #e0eee5; }
.story-measures p { display: flex; align-items: center; gap: 1rem; padding-inline: 1.5rem; margin: .5rem 0; border-inline-end: 1px solid #afc9bc; }
.story-measures p:last-child { border: 0; }
.story-measures strong { font: 2.5rem var(--display); color: #346961; }
.story-measures span { font-size: .7rem; color: #466961; max-width: 18ch; }
.section-shell { max-width: 1180px; padding: 5.5rem 2.5rem; margin: auto; }
.section-shell h2 { font: clamp(2.6rem, 4vw, 4rem)/1.1 var(--display); letter-spacing: -.025em; margin-block: 1.4rem 1rem; }
.section-deck { color: var(--muted); font-size: 1rem; max-width: 55ch; }
.premise { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.premise .section-intro { max-width: 380px; }
.premise h2 { max-width: 9ch; font-size: clamp(3.5rem, 5vw, 5rem); }
.premise-copy { padding-block-start: 2rem; }
.premise-copy > p { color: #466763; font-size: 1.06rem; line-height: 1.85; }
.two-needs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-block-start: 2rem; border-block-start: 1px solid var(--line); padding-block-start: 1.5rem; }
.two-needs span { font: .68rem system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--aarna); }
.two-needs > div:last-child span { color: var(--mukund); }
.two-needs p { font: italic 1.3rem/1.35 var(--display); margin-block: .6rem; }
.people { border-block-start: 1px solid var(--line); }
.character-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-block-start: 2.7rem; }
.character { min-width: 0; border: 1px solid #c1cdb8; background: #f7f6e9; overflow: hidden; border-radius: 3rem 3px 3px 3px; }
.character.mukund { border-color: #b3cbd2; background: #eaf2f1; border-radius: 3px; }
.character-art { position: relative; }
.character-art img { display: block; width: 100%; height: auto; }
.art-caption { position: absolute; inset-inline: 1.5rem; bottom: 1rem; font-size: .6rem; letter-spacing: .05em; color: #214c4c; padding: .4rem .5rem; background: #f2f7e5db; width: fit-content; max-width: calc(100% - 3rem); }
.character-copy { padding: 1.8rem 2rem 2rem; }
.aarna .eyebrow { color: var(--aarna); }
.mukund .eyebrow { color: var(--mukund); }
.character h3 { font: 3rem var(--display); margin: .4rem 0 .8rem; }
.character-copy > p:not(.eyebrow) { font-size: .94rem; color: #496661; min-height: 5em; }
.character-copy > .character-gesture { font: italic 1.3rem/1.45 var(--display); min-height: 0; padding-inline-start: 1rem; border-inline-start: 2px solid #b79b68; }
.mukund .character-copy > .character-gesture { border-color: #83adb9; }
.trait-list, .profile-traits { list-style: none; display: flex; flex-wrap: wrap; padding: 0; gap: .4rem; }
.trait-list li { font-size: .64rem; color: #67543d; border: 1px solid #c8bda2; border-radius: 1rem; padding: .3rem .65rem; }
.mukund .trait-list li { color: #315e70; border-color: #a9c4cd; border-radius: 2px; }
.profile-link { color: var(--ink); background: none; border: 0; border-block-end: 1px solid #477b72; padding: .65rem 0; font-size: .75rem; margin-block-start: .5rem; }
.profile-link::after { content: "\2197"; margin-inline-start: 1rem; }
.dating-origin { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 3rem; margin-block-start: 2rem; padding: 2rem 2.5rem; border: 1px solid var(--line); background: linear-gradient(120deg, #e4ebe0, #e0f0ea); }
.bind-wordmark { font: 2.5rem/1.2 var(--display); letter-spacing: .12em; margin: .5rem 0 1rem; }
.bind-wordmark span { color: #537e70; }
.origin-title { font: 1.7rem/1.3 var(--display); margin-block: .5rem; }
#dating-origin { font-size: .9rem; color: #486863; }
.structure { background: #174c53; color: #ebf4e9; position: relative; overflow: hidden; }
.structure::before { content: ""; position: absolute; width: 950px; height: 600px; border-radius: 50%; border: 1px solid #b9ded415; box-shadow: 0 0 0 60px #b9ded409, 0 0 0 120px #b9ded404; transform: rotate(-20deg); top: 0; right: -450px; pointer-events: none; }
.structure .section-shell { position: relative; }
.structure .eyebrow { color: #b4d9cb; }
.structure-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2rem; }
.structure h2 { color: #f2f4df; }
.structure p:not(.eyebrow) { color: #bcd6ce; font-size: .93rem; }
.opening-links { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.chapter-link { padding: 1.6rem 1rem; min-height: 90px; border: 1px solid #87b2a780; background: #ffffff05; color: #f3f4e3; font: 1.5rem var(--display); text-align: start; }
.chapter-link::after { content: "\2197"; float: inline-end; margin-inline-start: .5rem; color: #a9d3c4; font: 1rem system-ui, sans-serif; }
.chapter-link:hover { background: #c8e3d115; }
.wave-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-block: 3rem 1.3rem; }
.wave-heading h2 { font-size: 2.6rem; margin: 0; }
.wave-heading p { margin: 0; }
.wave-map { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; padding: 0; margin: 0; }
.wave-map li { min-width: 0; }
.wave-map button { position: relative; display: flex; flex-direction: column; align-items: start; width: 100%; height: 100%; min-height: 275px; padding: 1.4rem 1.1rem; color: #edf6ea; border: 1px solid #7eaaa280; background: #ffffff06; text-align: start; overflow: hidden; }
.wave-map button::after { content: ""; position: absolute; width: 150px; height: 60px; border: 1px solid #c5e8d535; border-radius: 50%; transform: rotate(-20deg); right: -70px; bottom: -35px; box-shadow: 0 0 0 8px #c5e8d50a, 0 0 0 17px #c5e8d505; }
.wave-map button:hover { background: #c8e3d115; }
.wave-number { font: .75rem system-ui, sans-serif; color: #bfdbcc; border-block-end: 1px solid #85b0a860; width: 100%; padding-block-end: 1rem; margin-block-end: 1.3rem; }
.wave-title { font: 1.7rem/1.1 var(--display); }
.wave-scene { font-size: .71rem; line-height: 1.65; color: #c3d8d2; margin-block: 1rem 1.7rem; }
.wave-status { font-size: .6rem; letter-spacing: .05em; color: #b2d6c8; margin-block-start: auto; }
.book-edition { display: grid; grid-template-columns: minmax(180px, 290px) 1fr; align-items: center; gap: 6rem; padding-block: 6rem; }
.cover-preview { display: block; padding: 0; border: 1px solid #778d7d; background: none; box-shadow: 6px 7px 0 #d2d8bd, 8px 9px 0 #4b7368, 15px 24px 35px #174b3c25; transform: rotate(-3deg); }
.cover-preview img { display: block; width: 100%; height: auto; }
.book-edition .section-deck { font: italic 1.65rem/1.4 var(--display); }
.book-edition p[data-label="status"] { font: .8rem/1.8 system-ui, sans-serif; color: var(--muted); max-width: 48ch; }
.edition-read { margin-block: .5rem 1.4rem; }
.edition-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.edition-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .6rem .8rem; border: 1px solid #91b1a5; text-decoration: none; font: .7rem system-ui, sans-serif; }
.edition-links a:hover { background: #d8e9de; }
.download-hint { color: var(--muted); font: .72rem/1.7 system-ui, sans-serif; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 5vw; border-block-start: 1px solid var(--line); color: #4d7066; font-size: .72rem; }
.error, noscript { display: block; padding: 1rem; border: 1px solid #906024; color: #684216; background: #fbf0d9; margin: 1rem; }
dialog { --reading-size: 18px; width: min(1100px, 96vw); max-width: none; max-height: 96dvh; padding: 0; border: 1px solid #7b9e93; background: #e7f0e8; color: var(--ink); box-shadow: 0 25px 100px #071f2780; }
dialog::backdrop { background: #092e3bcf; backdrop-filter: blur(6px); }
.reader-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; gap: 1rem; border-block-end: 1px solid var(--line); background: #eef5eb; }
.reader-header h2 { margin: .15rem 0; font: 1.8rem var(--display); }
.reader-header .eyebrow { margin: 0; }
.reader-tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: end; gap: 1rem; padding: 1rem 2rem; }
.reader-menu { border: 1px solid #8caaa0; min-width: 145px; align-self: start; margin-block-start: 1.25rem; }
.reader-menu > summary { display: list-item; cursor: pointer; padding: .65rem .85rem; min-height: 44px; font: .78rem/1.7 system-ui,sans-serif; }
.reader-menu[open] { flex: 1 1 250px; }
.reader-menu .edition-links, .settings-panel { padding: .8rem; border-block-start: 1px solid var(--line); }
.settings-panel { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; }
.settings-note { flex-basis: 100%; font: .7rem/1.7 system-ui,sans-serif; color: var(--muted); margin: 0; max-width: 60ch; }
.memory-notice { margin: 1rem auto; padding: .8rem 1rem; max-width: 900px; font: .8rem/1.6 system-ui,sans-serif; border: 1px solid #987535; background: #faf0d6; color: #634a1c; }
.tool { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.tool label { color: var(--muted); font-size: .68rem; }
select { background: #f1f6ed; color: var(--ink); border: 1px solid #8caaa0; padding: .5rem; max-width: 100%; font-size: .8rem; border-radius: 0; }
.font-tools { display: flex; gap: .4rem; }
.font-tools button { min-width: 44px; border: 1px solid #8caaa0; background: #eff5ec; color: var(--ink); }
.book-desk { position: relative; padding: 1.25rem 3rem 2rem; background: radial-gradient(ellipse at center, #bddace75, transparent 70%); }
.paper { position: relative; color-scheme: light; color: #26352f; background: linear-gradient(90deg, #c9bfa7 0, #e7decd 1.5%, var(--paper) 5%, #f7f1e6 95%, #eae2d2); max-width: 700px; min-height: 650px; margin: auto; padding: 3.5rem clamp(1.4rem, 6vw, 4.5rem) 3rem; border-radius: 2px 5px 5px 2px; box-shadow: 5px 5px 0 #cec4b1, 8px 8px 0 #918e7b, 10px 10px 0 #2a4135, 14px 20px 40px #173e432b; font-size: var(--reading-size); line-height: 1.8; overflow-wrap: anywhere; }
.paper:focus { outline: none; }
.paper:focus-visible { outline: 2px solid #93602a; outline-offset: 8px; }
.paper.page-turn-leaf { position: absolute; margin: 0; z-index: 2; pointer-events: none; backface-visibility: hidden; will-change: transform, opacity; }
.page-edge { position: absolute; top: 0; bottom: 0; width: clamp(22px,4.5%,32px); padding: 0; border: 0; background: transparent; color: transparent; z-index: 1; }
.page-edge.edge-left { left: 0; }
.page-edge.edge-right { right: 0; }
.page-edge span { display: block; font: 2rem Georgia,serif; }
.page-edge:not(:disabled):hover, .page-edge:focus-visible { color: #285568; background: #67dcf122; }
.illustrated-cover .page-edge:not(:disabled):hover, .illustrated-cover .page-edge:focus-visible { color: #fff2ed; background: #67dcf129; }
.page-edge:focus-visible { outline-offset: -3px; }
.page-edge:disabled { opacity: 0; }
.paper.illustrated-cover { padding: 0; min-height: 0; background: #143943; max-width: 470px; overflow: hidden; }
.book-cover-image { display: block; width: 100%; height: auto; }
.paper h2 { font-size: 2.3rem; margin-block: .5rem 1.5rem; }
.running-head { font: .62rem system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #697568; border-block-end: 1px solid #84907c50; padding-block-end: 1rem; margin-block: 0 1.5rem; }
.paper-eyebrow { font: .65rem system-ui, sans-serif; text-transform: uppercase; letter-spacing: .2em; color: #5a6e5f; }
.manuscript-status { font: .6rem system-ui, sans-serif; color: #647260; text-align: end; margin-block: 0 1rem; }
.voice-heading { font: .7rem system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #526852; margin-block: 1.4rem .8rem; }
.passage[data-perspective="aarna"] .voice-heading { color: #795329; border-inline-start: 3px solid #b08b53; padding-inline-start: .6rem; }
.passage[data-perspective="mukund"] .voice-heading { color: #205f7e; border-inline-start: 3px solid #3488a4; padding-inline-start: .6rem; }
.passage p { margin-block: 0 .85em; }
.folio { text-align: center; color: #677160; font-size: .7rem; margin-block: 2rem 0; }
.title-page, .divider-page, .dedication-page { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.title-page h2 { font-size: clamp(3.5rem, 9vw, 5.5rem); letter-spacing: -.04em; margin-block: 2rem .5rem; }
.title-subtitle { font-size: 1rem; font-style: italic; max-width: 19rem; }
.title-credit { font: .65rem system-ui, sans-serif; letter-spacing: .1em; margin-block-start: 4rem; }
.cover-ripple { width: 120px; height: 35px; border: 1px solid #6d82646b; border-radius: 50%; box-shadow: 0 0 0 12px #7b8b6712, 0 0 0 26px #7b8b670c; margin-block: 2.5rem; }
.divider-page h2 { font-family: var(--display); font-size: clamp(2.7rem, 5vw, 3.6rem); max-width: 16ch; letter-spacing: .015em; line-height: 1.2; margin: 0; }
.dedication-page h2 { font-family: var(--display); font-size: 1.7rem; letter-spacing: .08em; margin-block: 0 2rem; }
.dedication-page > p:not(.dedication-note) { font-family: var(--display); font-style: italic; font-size: calc(var(--reading-size) * 1.35); line-height: 1.6; max-width: 30ch; margin-block: .4em; }
.dedication-page > p:last-of-type:not(.dedication-note) { margin-block-start: 1.5em; }
.dedication-note { max-width: 25ch; font-style: italic; color: #697568; font-size: .95rem; }
.page-controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; max-width: 850px; padding: 0 2rem; margin: auto; }
.page-controls button { padding: .7rem 1rem; background: #eff5ec; color: var(--ink); border: 1px solid #8caaa0; font-size: .75rem; }
#progress { font-size: .7rem; color: var(--muted); text-align: center; }
.reader-hint { text-align: center; color: var(--muted); font-size: .65rem; padding: .5rem 1.5rem 1rem; }
#profiles { max-width: 850px; }
#profiles .reader-header { align-items: start; }
#profiles .reader-header h2 { font-size: clamp(1.3rem,3vw,2rem); }
.profile-switcher { display: flex; gap: .8rem; padding: 1rem 2rem; border-block-end: 1px solid var(--line); }
.profile-switcher button { border: 1px solid #91aca0; background: transparent; color: var(--ink); padding: .5rem 1.25rem; }
.profile-switcher button[aria-pressed="true"] { background: #e5debe; border-color: #9d7f46; }
.profile-switcher button[data-profile-choice="mukund"][aria-pressed="true"] { background: #cce1e5; border-color: #5d8a99; }
.profile-content { padding: 1rem clamp(1.5rem,5vw,3rem) 2rem; }
.profile-content h2 { font: 3.5rem var(--display); margin-block: .5rem; color: var(--aarna); }
.profile-content.mukund h2 { color: var(--mukund); }
.profile-tagline { font: italic 1.5rem/1.4 var(--display); }
.profile-content section { border-block-start: 1px solid var(--line); padding-block: 1rem; }
.profile-content section h3 { font: 1.7rem var(--display); }
.profile-content section p { color: #42625d; max-width: 72ch; }
.profile-spoilers { margin-block: 1rem; border: 1px solid #91aca0; }
.profile-spoilers > summary { padding: 1rem; min-height: 44px; cursor: pointer; font: .8rem/1.6 system-ui,sans-serif; }
.profile-spoilers section { margin-inline: 1rem; }
.profile-facts { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; font-family: system-ui,sans-serif; font-size: .85rem; }
.profile-facts dt { color: var(--muted); }
.profile-facts dd { margin: 0; }
.profile-traits { font: .75rem system-ui,sans-serif; }
.profile-traits li { padding: .5rem .75rem; border: 1px solid #9db6a7; border-radius: 2rem; }
.profile-note { padding: 0 2rem 2rem; color: var(--muted); font: .75rem/1.7 system-ui,sans-serif; }
.profile-content:focus { outline: none; }
.profile-content:focus-visible { outline: 2px solid var(--water); outline-offset: -4px; }
#book[data-theme="night"] { color-scheme: dark; --ink: #e1ece7; --muted: #aec4be; --water: #afd1c7; --line: #52756f; background: #103238; }
#book[data-theme="night"] .reader-header { background: #163d41; }
#book[data-theme="night"] select,
#book[data-theme="night"] .font-tools button,
#book[data-theme="night"] .page-controls button { background: #21474b; color: var(--ink); border-color: #75958d; }
#book[data-theme="night"] .quiet-button { color: var(--ink); border-color: #75958d; }
#book[data-theme="night"] .quiet-button:hover,
#book[data-theme="night"] .edition-links a:hover { background: #305b5d; }
#book[data-theme="night"] .paper:not(.illustrated-cover) { color: #e5ece0; background: linear-gradient(90deg, #153638, #214246 5%, #23474a 95%, #1b3c3f); box-shadow: 5px 5px 0 #3e6463, 8px 8px 0 #183333, 14px 20px 40px #0004; }
#book[data-theme="night"] .running-head,
#book[data-theme="night"] .paper-eyebrow,
#book[data-theme="night"] .manuscript-status,
#book[data-theme="night"] .folio { color: #b9cfc1; }
#book[data-theme="night"] .voice-heading { color: #e4cc9f; border-color: #b79b68; }
#book[data-theme="night"] .passage[data-perspective="mukund"] .voice-heading { color: #b0dce7; border-color: #7baabb; }
#book[data-theme="night"] .page-edge:not(:disabled):hover,
#book[data-theme="night"] .page-edge:focus-visible { color: #e4f4e9; }
@media (max-width: 1000px) {
  .site-nav { gap: 1rem; }
  .wave-map { grid-template-columns: repeat(3, 1fr); }
  .book-edition { gap: 3rem; }
  .hero { padding-inline: 5vw; }
  .hero-copy { max-width: 470px; }
  .water-caption { right: 4vw; width: 100px; }
}
@media (max-width: 700px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; padding: .8rem 1.25rem .4rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .3rem; font-size: .68rem; }
  .wordmark { font-size: 1.75rem; }
  .site-header > button { font-size: .7rem; padding: .5rem .75rem; }
  .hero { min-height: 800px; padding: 2.5rem 1.5rem 16rem; align-items: start; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(5.5rem, 25vw, 7rem); margin-block-start: 1rem; }
  .hero-eyebrow { font-size: .59rem; letter-spacing: .1em; }
  .hero-thought { font-size: 1.9rem; max-width: 22ch; margin-block-start: 1.5rem; }
  .book-subtitle { font-size: 1.35rem; }
  .hero::after { background: linear-gradient(180deg, #e9f3ea 0%, #e9f3eaf0 40%, #e9f3ea8c 63%, transparent 85%); }
  .water-art { background-size: auto 75%; background-position: 61% bottom; }
  .water-source { top: 77%; left: 51%; }
  .mukund-water { top: 83%; left: 79%; }
  .water-caption { display: none; }
  .water-controls { inset-inline: 1.5rem; flex-wrap: wrap; bottom: 1.25rem; }
  .water-controls > span { flex-basis: 100%; }
  .hero-caption { font-size: .61rem; }
  .story-measures { padding: 1rem .8rem; }
  .story-measures p { flex-direction: column; align-items: start; gap: .1rem; padding-inline: .7rem; }
  .story-measures strong { font-size: 2rem; }
  .story-measures span { font-size: .6rem; }
  .section-shell { padding: 3.5rem 1.5rem; }
  .premise, .character-grid, .structure-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .premise h2 { max-width: none; font-size: 3.5rem; }
  .premise-copy { padding: 0; }
  .character-grid { gap: 2rem; }
  .character-copy { padding: 1.4rem; }
  .character-copy > p:not(.eyebrow) { min-height: 0; }
  .dating-origin { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem; }
  .wave-heading { margin-block-start: 2.5rem; }
  .wave-map { grid-template-columns: 1fr; }
  .wave-map button { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem 1rem; min-height: 0; padding: 1.25rem; }
  .wave-number { grid-row: span 3; border: 0; margin: 0; padding: .3rem 0; }
  .wave-title { font-size: 1.8rem; }
  .wave-scene, .wave-status { grid-column: 2; margin: 0; }
  .wave-status { margin-block-start: .5rem; }
  .book-edition { grid-template-columns: 1fr; gap: 2.5rem; }
  .cover-preview { max-width: 240px; margin: auto; }
  dialog { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; margin: 0; }
  .reader-header { padding: 1rem; }
  .reader-tools { padding: 1rem; gap: .75rem; justify-content: start; }
  .reader-menu { margin-block-start: 0; flex: 1 1 140px; min-width: 0; }
  .tool:first-child { flex: 1 1 100%; }
  .tool:nth-child(2) { flex: 1; }
  .book-desk { padding: .25rem .75rem 1.5rem; }
  .paper { padding: 2.5rem 1.5rem; min-height: 560px; box-shadow: 3px 3px 0 #cec4b1, 5px 5px 0 #918e7b; }
  .paper h2 { font-size: 2rem; }
  .title-page h2 { font-size: 3.7rem; }
  .divider-page h2 { font-size: 2.7rem; }
  .page-controls { padding-inline: 1rem; gap: .5rem; }
  .page-controls button { font-size: .68rem; padding: .6rem; }
}
@media print {
  body.reading > :not(dialog) { display: none; }
  dialog[open] { position: static; display: block; width: 100%; height: auto; max-height: none; border: 0; background: white; }
  .reader-header, .reader-tools, .page-controls, .reader-hint { display: none; }
  .book-desk { padding: 0; background: white; }
  .paper { box-shadow: none; background: white; margin: 0 auto; }
  #book[data-theme="night"] .paper:not(.illustrated-cover) { color: #26352f; background: white; box-shadow: none; }
  #book[data-theme="night"] .paper :is(p, h2, h3) { color: #26352f; }
  .page-turn-leaf, .page-edge { display: none; }
}
