:root {
  --ink: #06111a;
  --navy: #091924;
  --navy-soft: #102736;
  --pine: #182f2f;
  --cream: #f2e7d0;
  --cream-dim: #c9bea9;
  --gold: #c7a36b;
  --gold-bright: #e2c38d;
  --line: rgba(216, 190, 144, 0.24);
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--cream); background: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--cream); color: var(--ink); padding: .8rem 1rem; border-radius: .2rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 84px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 5.5rem); border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, height .35s;
}
.site-header.scrolled { height: 68px; background: rgba(6,17,26,.9); border-color: var(--line); backdrop-filter: blur(18px); }
.wordmark { display: inline-flex; gap: .8rem; align-items: center; text-decoration: none; color: var(--cream); font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.wordmark-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-bright); font: 600 .78rem/1 var(--serif); }
nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); }
nav a { text-decoration: none; font-size: .78rem; letter-spacing: .08em; color: var(--cream-dim); }
nav a:hover, nav a:focus-visible { color: var(--cream); }
.nav-cta { color: var(--ink) !important; background: var(--gold-bright); padding: .72rem 1rem; border: 1px solid var(--gold-bright); }
.nav-cta:hover { background: var(--cream); }

.hero {
  min-height: 100svh; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: 128px clamp(1.25rem, 7vw, 8rem) 84px;
  background:
    radial-gradient(circle at 75% 58%, rgba(165,111,63,.14), transparent 27%),
    linear-gradient(90deg, rgba(5,16,25,.98) 0%, rgba(6,19,29,.94) 45%, rgba(11,28,39,.75) 100%),
    repeating-linear-gradient(118deg, transparent 0 95px, rgba(255,255,255,.012) 96px 97px);
}
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-copy { position: relative; z-index: 3; max-width: 760px; }
.eyebrow { margin: 0 0 1.15rem; display: flex; align-items: center; gap: .75rem; color: var(--gold-bright); font-size: .7rem; font-weight: 650; letter-spacing: .23em; text-transform: uppercase; }
.eyebrow span { width: 35px; height: 1px; background: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; }
h1 { margin: 0; max-width: 900px; font-size: clamp(3.4rem, 6.3vw, 7.3rem); line-height: .91; letter-spacing: -.045em; text-wrap: balance; }
h1 em { color: var(--gold-bright); font-weight: 400; }
.lede { max-width: 690px; margin: 2rem 0 0; color: var(--cream-dim); font: 1.06rem/1.75 var(--serif); letter-spacing: .01em; }
.purchase-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.15rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-width: 190px; padding: .95rem 1.1rem; border: 1px solid var(--gold); text-decoration: none; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--gold-bright); color: var(--ink); border-color: var(--gold-bright); }
.button-primary:hover { background: var(--cream); }
.button-secondary { color: var(--cream); background: rgba(255,255,255,.025); }
.button-secondary:hover { background: rgba(255,255,255,.08); }
.format-note { margin: 1rem 0 0; color: #8b958f; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }

.book-stage { position: relative; z-index: 3; justify-self: center; width: min(100%, 500px); margin: 0; perspective: 1300px; }
.book { position: relative; width: min(100%, 420px); margin: auto; transform: rotateY(-7deg) rotateX(1deg); transform-style: preserve-3d; filter: drop-shadow(0 34px 38px rgba(0,0,0,.55)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.book:hover { transform: rotateY(-1deg) translateY(-5px); }
.book img { width: 100%; display: block; border-radius: 2px 6px 6px 2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.book-spine { position: absolute; top: .4%; bottom: .4%; left: 0; width: 8px; background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(255,255,255,.15), rgba(0,0,0,.15)); border-radius: 2px 0 0 2px; }
.book-glow { position: absolute; inset: 15% 2% 0; background: rgba(187,132,71,.15); filter: blur(55px); border-radius: 50%; }
.book-stage figcaption { text-align: center; color: #8b958f; margin-top: 1.5rem; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .55rem; color: #9ca39d; text-decoration: none; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 1px; height: 27px; background: linear-gradient(var(--gold), transparent); animation: drift 1.8s ease-in-out infinite; }
.live-oak { position: absolute; z-index: 1; opacity: .3; pointer-events: none; }
.live-oak-left { width: 620px; height: 220px; left: -100px; top: -72px; border: 34px solid #01070b; border-color: #01070b transparent transparent; border-radius: 55% 45%; transform: rotate(-8deg); box-shadow: 90px 30px 0 -22px #01070b, 190px 62px 0 -29px #01070b; }
.hero-mist { position: absolute; z-index: 1; border-radius: 50%; filter: blur(32px); opacity: .22; background: #b9c5be; animation: mist 18s ease-in-out infinite alternate; }
.mist-one { width: 55%; height: 7%; right: 0; bottom: 20%; }
.mist-two { width: 40%; height: 5%; left: 24%; bottom: 12%; animation-delay: -7s; }

.island-section { padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); background: linear-gradient(180deg, var(--ink), #0b1d26 45%, #0a1820); overflow: hidden; }
.section-heading { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(300px,1fr); column-gap: 8vw; align-items: end; max-width: 1220px; margin: 0 auto 4rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .trilogy-copy h2 { margin: 0; font-size: clamp(3rem, 5vw, 5.4rem); line-height: .98; letter-spacing: -.035em; }
.section-heading > p:last-child, .trilogy-copy > p { margin: 0; max-width: 600px; color: var(--cream-dim); font: 1.06rem/1.7 var(--serif); }
.explorer { max-width: 1220px; margin: auto; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); background: rgba(7,19,27,.65); border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.map-card { min-height: 560px; position: relative; overflow: hidden; background: radial-gradient(circle at 52% 48%, rgba(51,87,78,.28), transparent 38%), linear-gradient(145deg, #0c2330, #07141d); border-right: 1px solid var(--line); }
.map-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-radial-gradient(ellipse at center, transparent 0 46px, rgba(228,207,170,.025) 47px 48px); }
.island-map { width: 100%; height: 100%; max-height: 630px; position: absolute; inset: 0; overflow: visible; }
.island-shape { fill: url(#land); stroke: rgba(208,183,137,.38); stroke-width: 2; }
.water-line, .creek, .trail { fill: none; stroke-linecap: round; }
.water-line { stroke: rgba(178,201,198,.14); stroke-width: 1.2; }
.creek { stroke: rgba(120,162,159,.45); stroke-width: 6; }
.trail { stroke: rgba(210,184,136,.32); stroke-width: 2; stroke-dasharray: 5 8; }
.map-point { cursor: pointer; outline: none; }
.map-point circle:first-child { fill: rgba(8,22,30,.65); stroke: var(--gold); stroke-width: 1; opacity: 0; transition: opacity .25s, transform .25s; transform-box: fill-box; transform-origin: center; }
.map-point circle:nth-child(2) { fill: var(--gold); stroke: rgba(226,195,141,.24); stroke-width: 14; transition: fill .25s; }
.map-point text { fill: #c5beaf; font: 600 15px var(--sans); letter-spacing: 1px; transition: fill .25s; }
.map-point:hover circle:first-child, .map-point:focus circle:first-child, .map-point.active circle:first-child { opacity: 1; transform: scale(1); }
.map-point:hover text, .map-point:focus text, .map-point.active text { fill: var(--cream); }
.map-point.active circle:nth-child(2) { fill: var(--cream); }
.compass { position: absolute; left: 32px; bottom: 30px; width: 44px; height: 62px; text-align: center; color: var(--gold); font: .75rem var(--serif); }
.compass span { display: block; width: 1px; height: 40px; margin: 6px auto; background: linear-gradient(var(--gold), transparent); }
.story-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,4vw,4rem); min-height: 560px; background: linear-gradient(155deg, rgba(19,42,49,.92), rgba(8,20,29,.98)); }
.story-kicker, .character-role { margin: 0 0 .85rem; color: var(--gold); font-size: .66rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.story-panel h3 { margin: 0 0 1.5rem; font-size: clamp(2.3rem,3.4vw,3.8rem); line-height: 1; }
.story-panel > p:not(.story-kicker):not(.story-sense) { min-height: 134px; margin: 0; color: var(--cream-dim); font: 1rem/1.75 var(--serif); }
.story-sense { min-height: 70px; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #9ba39c; font: italic .92rem/1.6 var(--serif); }
.story-sense span { color: var(--gold); margin-right: .5rem; }
.place-controls { display: flex; gap: .8rem; margin-top: 2rem; }
.place-dot { width: 27px; height: 27px; border-radius: 50%; border: 1px solid transparent; background: transparent; position: relative; cursor: pointer; }
.place-dot::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #66716d; transition: background .2s, transform .2s; }
.place-dot:hover::after, .place-dot:focus-visible::after { background: var(--cream); }
.place-dot.active { border-color: rgba(199,163,107,.5); }
.place-dot.active::after { background: var(--gold-bright); transform: scale(1.2); }

.characters { max-width: 1220px; margin: 6rem auto 0; display: grid; grid-template-columns: .7fr 1fr 1.5fr; gap: clamp(1.5rem,4vw,4rem); align-items: stretch; }
.character-intro h3 { margin: 0 0 1rem; font-size: clamp(2.2rem,3vw,3.2rem); }
.character-intro > p:last-child { color: #98a29d; font: .95rem/1.65 var(--serif); }
.character-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.character-tab { display: flex; gap: 1.1rem; align-items: center; flex: 1; color: #8e9994; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 1rem .3rem; text-align: left; cursor: pointer; font: 1rem var(--serif); transition: color .2s, padding .2s; }
.character-tab span { color: #6d7773; font: .58rem var(--sans); letter-spacing: .12em; }
.character-tab:hover, .character-tab:focus-visible, .character-tab.active { color: var(--cream); padding-left: .8rem; outline: none; }
.character-tab.active span { color: var(--gold); }
.character-panel { min-height: 260px; position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem,3vw,3rem); align-items: center; padding: clamp(2rem,4vw,3.5rem); border: 1px solid var(--line); background: linear-gradient(140deg, rgba(25,48,49,.75), rgba(10,26,35,.95)); }
.character-panel::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(205,175,123,.09); border-radius: 50%; right: -120px; bottom: -130px; box-shadow: 0 0 0 38px rgba(205,175,123,.025), 0 0 0 76px rgba(205,175,123,.015); }
.monogram { width: 92px; height: 92px; display: grid; place-items: center; flex: none; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-bright); font: 2rem var(--serif); }
.character-panel h4 { margin: 0 0 .8rem; font-size: 2rem; }
.character-panel p:last-child { margin: 0; color: var(--cream-dim); font: .98rem/1.7 var(--serif); }

.trilogy-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(4rem,9vw,9rem); padding: clamp(6rem,11vw,11rem) clamp(1.25rem,7vw,8rem); background: #f0e4cc; color: #13222a; }
.trilogy-copy .eyebrow { color: #8b6230; }
.trilogy-copy .eyebrow span { background: #9d7138; }
.trilogy-copy > p { margin: 1.8rem 0 0; color: #475157; }
.text-link { display: inline-flex; gap: 2.5rem; margin-top: 2rem; padding-bottom: .35rem; border-bottom: 1px solid #9b713e; color: #5d3f1e; text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform .2s; }
.book-line { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(42,61,68,.22); }
.book-line li { position: relative; display: grid; grid-template-columns: 65px 1fr; gap: 1rem; padding: 2rem .5rem 2rem 0; border-bottom: 1px solid rgba(42,61,68,.22); }
.book-line li::before { content: ""; position: absolute; inset: 0; background: rgba(129,90,40,.05); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.book-line li:hover::before, .book-line li.current::before { transform: scaleX(1); }
.line-marker { position: relative; z-index: 1; color: #966d38; font: 1.25rem var(--serif); }
.book-line div { position: relative; z-index: 1; }
.book-line p { margin: 0 0 .4rem; color: #7d7061; font-size: .63rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.book-line h3 { margin: 0 0 .35rem; font-size: clamp(1.65rem,2.5vw,2.35rem); }
.book-line .book-entry > span { color: #596268; font: italic .9rem var(--serif); }
.book-entry details { margin-top: 1.25rem; }
.book-entry summary { width: max-content; display: flex; align-items: center; gap: .7rem; color: #6f4d27; cursor: pointer; list-style: none; font-size: .62rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.book-entry summary::-webkit-details-marker { display: none; }
.book-entry summary i { position: relative; display: block; width: 15px; height: 15px; border: 1px solid rgba(105,73,36,.46); border-radius: 50%; }
.book-entry summary i::before, .book-entry summary i::after { content: ""; position: absolute; inset: 6px 3px auto; height: 1px; background: #795229; transition: transform .2s; }
.book-entry summary i::after { transform: rotate(90deg); }
.book-entry details[open] summary i::after { transform: rotate(0); }
.book-entry summary:hover, .book-entry summary:focus-visible { color: #352515; outline: none; }
.book-details { padding: 1.2rem 0 .15rem; max-width: 650px; }
.book-details p { margin: 0 0 .75rem; color: #4f5a5f; font: .9rem/1.65 var(--serif); letter-spacing: 0; text-transform: none; }
.theme-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.theme-list span { padding: .4rem .58rem; border: 1px solid rgba(89,62,31,.25); color: #76532d; font-size: .55rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.author-band { grid-column: 1 / -1; display: grid; grid-template-columns: 110px .7fr 1.3fr; gap: clamp(2rem,5vw,5rem); align-items: start; margin-top: clamp(5rem,9vw,9rem); padding-top: clamp(3rem,6vw,5rem); border-top: 1px solid rgba(42,61,68,.25); }
.author-mark { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid #9d7138; border-radius: 50%; color: #8b6230; font: 1.8rem var(--serif); }
.author-heading .eyebrow { color: #8b6230; margin-bottom: .9rem; }
.author-heading .eyebrow span { background: #9d7138; }
.author-heading h2 { margin: 0; font-size: clamp(2.6rem,4vw,4.4rem); line-height: 1; }
.author-copy p { margin: 0 0 1rem; color: #475157; font: 1rem/1.72 var(--serif); }

footer { min-height: 120px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem,7vw,8rem); background: #050e15; border-top: 1px solid rgba(216,190,144,.13); color: #76817c; }
footer p { margin: 0; font-size: .62rem; letter-spacing: .11em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes drift { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(7px); opacity: 1; } }
@keyframes mist { from { transform: translateX(-5%); } to { transform: translateX(6%); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(15px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr .66fr; gap: 2rem; padding-left: 2rem; padding-right: 2rem; }
  h1 { font-size: clamp(3rem,7vw,5.2rem); }
  .book { width: min(100%, 340px); }
  .explorer { grid-template-columns: 1fr; }
  .map-card { min-height: 520px; border-right: 0; border-bottom: 1px solid var(--line); }
  .story-panel { min-height: auto; }
  .story-panel > p:not(.story-kicker):not(.story-sense), .story-sense { min-height: 0; }
  .characters { grid-template-columns: .8fr 1.2fr; }
  .character-intro { grid-column: 1 / -1; max-width: 560px; }
  .trilogy-section { grid-template-columns: 1fr; }
  .author-band { grid-template-columns: 90px .75fr 1.25fr; }
}

@media (max-width: 680px) {
  .site-header { height: 68px; padding: 0 1rem; }
  .wordmark > span:last-child { display: none; }
  nav { gap: 1rem; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: .65rem .85rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 112px 1.25rem 90px; gap: 3.5rem; text-align: left; }
  h1 { font-size: clamp(3.35rem,16vw,5rem); }
  .lede { font-size: 1rem; }
  .purchase-row { flex-direction: column; }
  .button { width: 100%; }
  .book-stage { order: -1; width: 70%; }
  .book { width: 100%; transform: rotateY(-4deg); }
  .scroll-cue { display: none; }
  .island-section { padding: 5rem 1rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.3rem; margin-bottom: 2.5rem; }
  .section-heading h2, .trilogy-copy h2 { font-size: 3.35rem; }
  .map-card { min-height: 430px; }
  .island-map { transform: scale(1.12); }
  .map-point text { font-size: 13px; }
  .story-panel { padding: 2rem 1.4rem; }
  .story-panel h3 { font-size: 2.65rem; }
  .characters { grid-template-columns: 1fr; margin-top: 4.5rem; }
  .character-tabs { flex-direction: row; overflow-x: auto; }
  .character-tab { min-width: max-content; padding: 1rem .8rem; }
  .character-tab:hover, .character-tab:focus-visible, .character-tab.active { padding-left: .8rem; }
  .character-panel { min-height: 330px; grid-template-columns: 1fr; align-content: center; }
  .monogram { width: 72px; height: 72px; font-size: 1.5rem; }
  .trilogy-section { padding: 5rem 1.25rem; }
  .book-line li { grid-template-columns: 42px 1fr; }
  .book-details { margin-left: -42px; }
  .author-band { grid-template-columns: 72px 1fr; gap: 1.5rem; margin-top: 5rem; }
  .author-mark { width: 64px; height: 64px; font-size: 1.3rem; }
  .author-copy { grid-column: 1 / -1; }
  footer { flex-direction: column; align-items: flex-start; min-height: 170px; }
  footer .wordmark > span:last-child { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Cover refresh and island scenes */
section[id] { scroll-margin-top: 100px; }
.site-header { background: rgba(6,17,26,.94); }
.series-cover { width: min(160px,40%); height: auto; float: right; margin: 0 0 1.5rem 1.5rem; box-shadow: 0 12px 24px #13222a26; }
.book-entry { display: flow-root; }
.book-details { clear: both; }
.scenes-section,.visit-section { padding: clamp(4rem,7vw,7rem) clamp(1.25rem,7vw,8rem); }
.scenes-section { background: #0b1d26; }
.scene-grid { max-width: 1220px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.scene-grid figure { margin: 0; }
.scene-grid img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.scene-grid h3 { font-size: 2rem; margin: 1.25rem 0 .5rem; }
.scene-grid p,.visit-section > p { font: 1.05rem/1.7 var(--serif); color: var(--cream-dim); }
.scene-note { max-width: 1220px; margin: 2rem auto 0; font-size: .875rem; color: var(--cream-dim); }
.visit-section { border-top: 1px solid var(--line); }
.visit-section h2 { font-size: clamp(2.5rem,5vw,4.5rem); margin: 0 0 1.5rem; }
.visit-section > p { max-width: 760px; }
.visit-section .eyebrow { font: 600 .875rem var(--sans); }
.gallery-note { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.visit-grid { display: block; columns: 3; column-gap: 1.5rem; margin-top: 2rem; }
.visit-grid:empty { display: none; }
.visit-grid figure { margin: 0 0 2rem; break-inside: avoid; }
.visit-grid img { display: block; width: 100%; height: auto; border-radius: 3px; }
.visit-grid figcaption { font: 1rem/1.6 var(--serif); padding-top: .8rem; }
.footer-home { font-size: .875rem; text-underline-offset: 5px; }
nav a,.button,.text-link,.book-entry summary { font-size: .875rem; }
.book-details p { font-size: 1rem; }
@media(max-width:680px) {
  .site-header { height: auto; min-height: 76px; flex-wrap: wrap; gap: .5rem; padding: .75rem 1rem; }
  .site-header.scrolled { height: auto; }
  nav { gap: .8rem; flex-wrap: wrap; }
  nav a:not(.nav-cta) { display: inline; }
  nav a { font-size: .875rem; }
  nav .nav-cta { display: none; }
  .scene-grid,.visit-grid { grid-template-columns: 1fr; }
  .series-cover { width: 100px; margin-left: 1rem; }
}

/* Flat hero cover: preserve intrinsic 2:3 proportions at every width. */
.book-stage { perspective: none; }
.book, .book:hover { transform: none; transform-style: flat; transition: none; filter: none; }
.book img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: 0; box-shadow: none; }
.book-glow { display: none; }

/* Original front-matter map and linked illustrated locations. */
.explorer { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: start; }
.map-column { min-width: 0; border-right: 1px solid var(--line); }
.map-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem; font-size: .875rem; }
.map-toolbar button,.map-dialog button { cursor: pointer; color: var(--cream); background: var(--navy-soft); border: 1px solid var(--gold); padding: .7rem 1rem; font: inherit; }
.reader-map { position: relative; margin: 0; }
.reader-map > img { width: 100%; height: auto; display: block; }
.map-pin { position: absolute; transform: translate(-50%,-50%); width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--gold-bright); background: var(--navy); color: white; font: 700 14px var(--sans); box-shadow: 0 2px 6px #0005; cursor: pointer; }
.map-pin.active { background: var(--gold-bright); color: var(--ink); border-color: var(--ink); }
.map-pin:focus-visible,.location-button:focus-visible,.map-toolbar button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.location-buttons { padding: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.location-button { padding: .75rem .85rem; border: 1px solid var(--line); background: transparent; color: var(--cream); cursor: pointer; font: .875rem var(--sans); }
.location-button.active { background: var(--gold-bright); color: var(--ink); }
.story-panel { min-height: 0; padding: 2rem; position: sticky; top: 100px; }
#place-image { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.story-panel .illustration-note { min-height: 0 !important; font: .8rem/1.5 var(--sans) !important; margin: .65rem 0 2rem !important; }
.story-panel > p:not(.story-kicker):not(.story-sense) { min-height: 0; }
.map-dialog { width: min(96vw,1120px); max-width: none; max-height: 92vh; padding: 0 1.25rem 1.25rem; background: var(--navy); color: var(--cream); border: 1px solid var(--gold); }
.map-dialog::backdrop { background: #02080de6; }
.map-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: sticky; top: 0; padding: 1rem 0; background: var(--navy); }
.map-dialog h2 { font-size: 1.4rem; margin: 0; }
.map-dialog > img { display: block; width: 100%; height: auto; }
.map-dialog > p { font-size: .875rem; }
@media(max-width:950px) { .explorer { grid-template-columns: 1fr; } .map-column { border-right: 0; } .reader-map { max-width: 650px; margin: auto; } .story-panel { position: static; } }
@media(max-width:680px) { .map-pin { width: 28px; height: 28px; font-size: 13px; } .story-panel { padding: 1.4rem; } .map-dialog-header { align-items: start; } .map-dialog button { flex-shrink: 0; } }

/* Character scenes share the existing accessible tabs. */
.characters { grid-template-columns: minmax(210px,.65fr) minmax(0,1.7fr); gap: 2rem; }
.character-intro { grid-column: 1 / -1; max-width: 750px; }
.character-tabs { align-self: start; }
.character-tab { min-height: 76px; }
.character-panel { grid-template-columns: 1fr; padding: 0; gap: 0; }
.character-panel::after { display: none; }
.character-portrait { margin: 0; }
.character-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.character-portrait figcaption { padding: .75rem 2rem 0; color: var(--cream-dim); font: .8rem/1.5 var(--sans); }
.character-panel > div { padding: 1.5rem 2rem 2rem; }
.character-panel h4 { font-size: 2.3rem; }
@media(max-width:680px) { .characters { grid-template-columns: 1fr; } .character-tabs { flex-direction: row; } .character-tab { min-height: 60px; } .character-panel { min-height: 0; } .character-panel > div { padding: 1.3rem; } .character-portrait figcaption { padding-left: 1.3rem; } }

@media (max-width: 950px) { .visit-grid { columns: 2; } }
@media (max-width: 600px) { .visit-grid { columns: 1; } }

.intro-film { width: 100%; max-width: 520px; margin: 1.6rem 0 0; }
.intro-film figcaption { margin-bottom: .65rem; color: var(--gold-bright); font: .85rem/1.4 var(--serif); }
.intro-film video { display: block; width: 100%; height: auto; aspect-ratio: 7 / 4; object-fit: contain; background: #02070b; border: 1px solid var(--line); border-radius: 3px; }

/* Keep the cover and looping film together in the opening view. */
.hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 4rem); }
.hero-media { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.hero-media .intro-film { margin: 0; max-width: none; }
.hero-media .book-stage { width: 100%; }
@media (max-width: 1100px) and (min-width: 701px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { width: min(100%, 850px); margin: 0 auto; }
  .hero-media .book-stage { max-width: 280px; }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { grid-template-columns: 1fr; gap: 2rem; }
  .hero-media .book-stage { width: 65%; max-width: 280px; }
}

/* Shared volume navigation */
.volume-menu{position:relative;font-size:14px;color:var(--cream)}.volume-menu summary{cursor:pointer;padding:12px 0;list-style:none}.volume-menu summary:after{content:" ▾";color:var(--gold)}.volume-menu>div{position:absolute;right:0;top:100%;width:250px;padding:10px;background:#102736;border:1px solid var(--gold);box-shadow:0 15px 30px #0008}.volume-menu a,.volume-menu span{display:block!important;padding:13px 10px;font-size:14px;letter-spacing:0}.volume-menu span{color:#b3b6b6}.volume-menu a:hover{background:#233e49}.volume-menu:focus-within{outline-offset:4px}
@media(max-width:680px){nav{gap:.8rem}.volume-menu summary{font-size:14px}.site-header nav .home-link{display:block;font-size:14px}.site-header .nav-cta{font-size:11px;padding:.6rem}.volume-menu>div{right:-50px}}

.series-navigation .series-book-link{position:relative;margin-top:1.5rem}
.series-navigation .series-coming-soon{margin-top:1.5rem;color:#5d3f1e;font-size:.875rem}
