@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/libre-baskerville-bold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Allura";
  src: url("/assets/fonts/allura-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #fcfbf8;
  --paper: #ffffff;
  --flow-sage: #dce7de;
  --flow-lilac: #e8e1f0;
  --flow-blush: #f0dde1;
  --ink: #292624;
  --muted: #68625d;
  --bordeaux: #781b35;
  --rule: #e7e3dc;
  --gold-rule: #d8cdb7;
  --focus: #245f87;
  --heading: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 400 1.125rem/1.75 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 0.23em; text-decoration-thickness: 1px; }
a:hover { color: var(--bordeaux); }
a, button { transition: opacity 140ms ease; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #eadde0; color: var(--ink); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 2rem; }
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
figure { margin: 0; }
p { margin: 0 0 1.25em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--heading); font-size: inherit; font-weight: 700; font-style: normal; line-height: 1.45; }
h1 em, h2 em, h3 em, h4 em { font-family: inherit; font-weight: inherit; font-style: normal; }
h1, h2, h3 { text-wrap: balance; }
main { width: 100%; min-height: 45vh; margin-inline: auto; background: var(--canvas); }
.section-shell { width: min(100% - var(--gutter) * 2, 67.5rem); margin-inline: auto; }
/* Quiet, static waves separate solid fields without constraining their width. */
.section-surface { display: flow-root; width: 100%; background: var(--section-colour, var(--canvas)); }
.section-wave { display: block; width: 100%; height: clamp(3rem, 6vw, 6rem); margin-bottom: -1px; overflow: hidden; pointer-events: none; }
.section-wave path { fill: var(--next-section-colour, var(--canvas)); }
.visually-hidden, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 20; top: 0.75rem; left: 1rem; padding: 0.75rem 1rem; color: var(--ink); background: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* A sparse masthead introduces Lauren; the books retain their own identity. */
.site-header { position: relative; z-index: 5; }
.header-inner { width: min(100% - var(--gutter) * 2, 67.5rem); min-height: 8rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.5rem; }
.wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font: 700 clamp(1.25rem, 2vw, 1.625rem)/1.4 var(--heading); text-decoration: none; white-space: nowrap; }
.desktop-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.25rem 2rem; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.9375rem; line-height: 1.4; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--bordeaux); text-decoration: underline; text-underline-offset: 0.45em; text-decoration-thickness: 1px; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 0.6rem; min-width: 4.5rem; min-height: 2.75rem; padding: 0.5rem 0.75rem; color: var(--ink); background: transparent; border: 1px solid #8d8780; border-radius: 0; font-size: 0.9375rem; line-height: 1.4; }
.menu-toggle svg { width: 1.125rem; height: 1.125rem; }
.mobile-nav { width: min(100% - var(--gutter) * 2, 67.5rem); margin-inline: auto; padding-block: 0 1.5rem; }
.mobile-nav a { display: flex; align-items: center; min-height: 2.75rem; padding-block: 0.6rem; text-decoration: none; font-size: 1rem; }
.mobile-nav a[aria-current="page"] { color: var(--bordeaux); text-decoration: underline; }
.home-return { padding-bottom: 1.25rem; }
.home-return-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--bordeaux); color: var(--bordeaux); font-size: 0.9375rem; line-height: 1.5; text-decoration: none; }
.home-return-link:hover { background: var(--bordeaux); color: var(--paper); }

.author-intro { padding-block: clamp(2rem, 5vw, 4.5rem) 1rem; text-align: center; }
.author-intro h1 { color: var(--bordeaux); font: 400 clamp(4rem, 10vw, 8.5rem)/1.25 "Allura", "Segoe Script", cursive; }
.author-social-intro { margin-bottom: 0.25rem; }

/* One quiet composition: the intact cover, then the words about the book. */
.novel-feature { display: grid; grid-template-columns: 18.75rem minmax(0, 32rem); justify-content: center; align-items: start; gap: 6.25rem; padding-block: 6rem 7rem; }
.novel-art { width: 100%; max-width: 18.75rem; margin-inline: auto; }
.book-cover { width: 100%; height: auto; object-fit: contain; }
.novel-art figcaption { margin-top: 1.75rem; text-align: center; }
.availability { display: block; margin: 0 0 0.4rem; color: var(--ink); font: 600 1.5rem/1.4 var(--body); letter-spacing: 0.055em; text-transform: uppercase; }
.edition-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.5rem; }
.edition-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--bordeaux); font-size: 1rem; }
.novel-copy { min-width: 0; padding-top: 0.1rem; }
.novel-title { font-family: var(--heading); font-weight: 700; font-style: normal; font-size: clamp(2.125rem, 2.7vw, 2.5rem); line-height: 1.4; letter-spacing: -0.015em; }
.novel-title * { font-family: inherit; font-weight: inherit; font-style: normal; font-size: inherit; color: inherit; }
.blurb-disclosure { margin-top: 1.25rem; }
.blurb-disclosure > summary { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 2.75rem; padding-block: 0.5rem; color: var(--bordeaux); font-size: 1rem; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.blurb-disclosure > summary::-webkit-details-marker { display: none; }
.blurb-disclosure > summary:hover { text-decoration: underline; }
.blurb-disclosure .label-open { display: none; }
.blurb-disclosure[open] .label-closed { display: none; }
.blurb-disclosure[open] .label-open { display: inline; }
.disclosure-icon { display: inline-flex; align-items: center; justify-content: center; width: 1rem; height: 1rem; font-size: 1.25rem; line-height: 1; }
.disclosure-icon svg { display: block; width: 1rem; height: 1rem; }
.blurb-disclosure[open] .disclosure-icon { transform: rotate(45deg); }
.blurb-text { max-width: 55ch; padding-top: 1rem; font-size: 1.0625rem; line-height: 1.8; }
.blurb-text > :last-child { margin-bottom: 0; }
.prophecy { margin-bottom: 1.75rem; font-family: var(--body); font-style: normal; line-height: 1.85; }
.author-credit { margin: 2rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.trope-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: 0.9375rem; line-height: 1.6; }
.trope-list li { position: relative; padding-left: 0.9rem; }
.trope-list li::before { content: "·"; position: absolute; left: 0; color: var(--bordeaux); font-size: 1.25rem; line-height: 1.2; }

/* An editorial catalogue, with space for a trilogy to grow honestly. */
.series-section { padding-block: 3rem 6rem; }
.first-section { padding-top: 5.5rem; }
.section-heading { margin-bottom: 1.75rem; }
.section-heading h2 { font-size: clamp(1.5rem, 2.3vw, 1.875rem); }
.section-intro { max-width: 62ch; margin-top: 1.25rem; margin-bottom: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.75; }
.reading-list { max-width: 52rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.reading-item { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.reading-number { color: var(--bordeaux); font: 700 1.125rem/1.6 var(--heading); }
.reading-copy h3 { margin-bottom: 0.4rem; font-size: 1.125rem; }
.reading-copy h3 a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.status { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.series-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.shelf-cover { display: flex; align-items: center; justify-content: center; width: min(100%, 13rem); aspect-ratio: 2 / 3; }
.shelf-cover > a { display: block; width: 100%; }
.shelf-cover img { width: 100%; height: 100%; object-fit: contain; }
.empty-cover { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 100%; border: 1px solid #d7d2c8; background: #fbfaf7; }
.placeholder-number { color: #8a8175; font: 700 2rem/1 var(--heading); }
.shelf-caption { max-width: 15rem; padding-top: 1.25rem; }
.shelf-caption h2 { margin-bottom: 0.5rem; font-size: 1rem; line-height: 1.5; }
.shelf-caption h2 a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.shelf-caption .reading-credit, .shelf-caption .placeholder-note { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.875rem; line-height: 1.55; }

/* Interior pages use the same calm white panel and readable measures. */
.page-heading { padding-top: 5.5rem; padding-bottom: 1.5rem; }
.page-title { max-width: 24ch; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.4; letter-spacing: -0.015em; }
.page-title * { font: inherit; color: inherit; }
.editorial-section { padding-block: 4rem 5.5rem; }
.editorial-section + .editorial-section { padding-top: 1.5rem; }
.prose { width: 100%; max-width: 62ch; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.5rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.125rem; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose a { color: var(--bordeaux); }
.theatre-layout { display: grid; grid-template-columns: minmax(13rem, 0.65fr) minmax(0, 1.35fr); align-items: start; gap: 5rem; }
.stage-mark { padding: 1.5rem 0 1.5rem 2rem; border-left: 1px solid var(--gold-rule); font: 700 1.5rem/1.5 var(--heading); }
.stage-mark .lang { margin: 1rem 0 0; color: var(--muted); font: 400 0.9375rem/1.6 var(--body); }
.stage-mark > p[lang] { margin: 0.75rem 0 0; font-size: 1.125rem; }
.project-list { max-width: 62ch; margin: 2rem 0 0; padding: 0; list-style: none; }
.project-list li + li { margin-top: 2.5rem; }
.project-list h3 { font-size: 1.125rem; }
.project-list p { margin-top: 0.75rem; margin-bottom: 0; color: var(--muted); }
.quiet-state { max-width: 62ch; padding-block: 1.5rem; }
.quiet-state h2 { margin-bottom: 1rem; font-size: 1.5rem; }
.quiet-state > :last-child { margin-bottom: 0; }
.event-list { margin-top: 2rem; border-top: 1px solid var(--rule); }
.event-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 3rem; padding-block: 1.75rem; border-bottom: 1px solid var(--rule); }
.event-date { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; color: var(--muted); font-size: 1rem; line-height: 1.6; font-variant-numeric: tabular-nums; }
.event-date strong { color: var(--ink); font-size: 1.25rem; font-weight: 600; }
.event-date span { white-space: nowrap; }
.event-date time { display: flex; flex-direction: column; gap: 0.25rem; }
.event-schedule { display: flex; flex-direction: column; gap: 1rem; }
.event-time { margin: 0; font-size: 1rem; color: var(--bordeaux); }
.event-venue { color: var(--muted); }
.event-body h3 { margin-bottom: 0.75rem; font-size: 1.125rem; }
.event-body p { margin-bottom: 0.75rem; }
.event-body > :last-child { margin-bottom: 0; }
.book-facts { max-width: 40rem; margin: 2rem 0; font-size: 1rem; }
.book-facts > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.5rem; padding-block: 0.75rem; border-bottom: 1px solid var(--rule); }
.book-facts dt { color: var(--muted); }
.book-facts dd { margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; color: var(--bordeaux); }
.text-link svg { width: 1rem; height: 1rem; }
.instagram-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; }
.instagram-link .instagram-icon { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; color: var(--muted); font-size: 0.875rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* The story remains readable without a PDF plug-in or JavaScript. */
.story-intro { max-width: 42rem; margin-bottom: 2rem; }
.story-intro h2 { margin-block: 0.75rem 1.25rem; font-size: clamp(1.5rem, 2.3vw, 1.875rem); }
.story-reader { max-width: 48rem; border-top: 1px solid #9ca69e; border-bottom: 1px solid #9ca69e; }
.story-reader > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding-block: 1rem; color: var(--bordeaux); font-weight: 600; cursor: pointer; list-style: none; }
.story-reader > summary::-webkit-details-marker { display: none; }
.story-reader > summary:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.story-reader[open] > summary .disclosure-icon { transform: rotate(45deg); }
.story-prose { max-width: 65ch; padding-block: 2rem; line-height: 1.9; overflow-wrap: break-word; }
.story-prose p { margin-bottom: 1.5em; }
.story-break { width: 4rem; margin: 3rem 0; border: 0; border-top: 1px solid var(--bordeaux); }
.story-prose .story-end { margin: 3rem 0 0; font-size: 1rem; color: var(--bordeaux); }

/* The footer remains a useful, quiet end to the page. */
.site-footer { padding-top: 2.5rem; background: var(--canvas); }
.footer-top { display: flex; align-items: start; justify-content: space-between; gap: 2rem; padding-block: 2rem; }
.footer-wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font: 700 1.25rem/1.5 var(--heading); text-decoration: none; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.9375rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.8125rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a, .back-to-top { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 68rem) {
  .novel-feature { grid-template-columns: 16.25rem minmax(0, 1fr); gap: 3.5rem; padding-block: 5rem 6rem; }
  .novel-title { font-size: 2.125rem; }
  .theatre-layout { gap: 3rem; }
  .series-shelf { gap: 2rem; }
}

@media (max-width: 52rem) {
  .header-inner { min-height: 6.5rem; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-block: 1.5rem; }
  .desktop-nav { width: 100%; justify-content: flex-start; gap: 0.25rem 1.5rem; }
  .js .desktop-nav { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .novel-feature { grid-template-columns: 15rem minmax(0, 1fr); gap: 2.5rem; padding-block: 4rem 5rem; }
  .novel-title { font-size: 1.875rem; }
  .blurb-text { font-size: 1rem; }
  .trope-list { gap: 0.35rem 1rem; font-size: 0.875rem; }
  .theatre-layout { grid-template-columns: minmax(10rem, 0.6fr) minmax(0, 1.4fr); gap: 2rem; }
  .series-shelf { gap: 1.5rem; }
  .shelf-caption h2 { font-size: 0.9375rem; }
  .footer-top { flex-direction: column; gap: 1rem; }
}

@media (max-width: 42rem) {
  .header-inner { min-height: 5.75rem; padding-block: 1rem; }
  .home-return { padding-bottom: 0.75rem; }
  .wordmark { font-size: 1.25rem; }
  .novel-feature { grid-template-columns: 1fr; gap: 3.5rem; padding-top: 3.5rem; padding-bottom: 4.5rem; }
  .novel-art { width: 13.125rem; }
  .novel-art figcaption { margin-top: 1.5rem; }
  .availability { font-size: 1.375rem; }
  .novel-copy { width: 100%; max-width: 32rem; margin-inline: auto; }
  .novel-title { font-size: 2rem; line-height: 1.45; }
  .author-credit { margin-top: 1.75rem; }
  .trope-list { gap: 0.5rem 1.25rem; margin-top: 1.5rem; font-size: 0.9375rem; }
  .series-section { padding-block: 2rem 4.5rem; }
  .first-section { padding-top: 3.5rem; }
  .series-shelf { gap: 1.25rem; margin-top: 2.5rem; }
  .shelf-caption h2 { font-size: 0.875rem; }
  .shelf-caption .status { font-size: 0.8125rem; }
  .placeholder-number { font-size: 1.5rem; }
  .page-heading { padding-top: 3.5rem; padding-bottom: 1rem; }
  .page-title { font-size: 2rem; }
  .section-intro { font-size: 1.0625rem; }
  .editorial-section { padding-block: 3rem 4rem; }
  .editorial-section + .editorial-section { padding-top: 1rem; }
  .theatre-layout { grid-template-columns: 1fr; gap: 2rem; }
  .stage-mark { padding-block: 1rem; padding-left: 1.5rem; }
  .reading-list { margin-top: 2rem; }
  .reading-item { grid-template-columns: 2rem minmax(0, 1fr); gap: 1rem; }
  .reading-copy h3 { font-size: 1rem; }
  .event-row { grid-template-columns: 1fr; gap: 1rem; }
  .book-facts > div { grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; }
  .footer-top { padding-block: 1.5rem; }
  .footer-nav { gap: 0.25rem 1.25rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 23rem) {
  .wordmark { font-size: 1.125rem; }
  .menu-toggle { min-width: 4rem; padding-inline: 0.6rem; }
  .novel-title { font-size: 1.75rem; }
  .series-shelf { gap: 0.875rem; }
  .shelf-caption h2 { font-size: 0.8125rem; }
  .shelf-caption .status { font-size: 0.75rem; }
  .trope-list { gap: 0.5rem 1rem; }
  .book-facts > div { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  main, .site-footer, .section-surface { background: Canvas; }
  .section-wave { display: none; }
  .empty-cover { border-color: CanvasText; background: Canvas; }
  .stage-mark { border-color: CanvasText; }
  .desktop-nav a[aria-current="page"] { text-decoration: underline; }
}

@media print {
  @page { margin: 1.5cm; }
  body, main { width: 100%; color: black; background: white; font-size: 11pt; }
  .section-shell { width: 100%; }
  .section-surface { background: white; }
  .section-wave { display: none; }
  .site-header, .site-footer, .menu-toggle, .mobile-nav { display: none !important; }
  .novel-feature { display: block; padding-block: 0.5cm; }
  .novel-art { width: 4cm; margin: 0 0 0.75cm; break-inside: avoid; }
  .novel-title, .page-title { font-size: 22pt; }
  .blurb-disclosure > summary { display: none; }
  .blurb-disclosure:not([open]) > .blurb-text { display: block; }
  .series-section, .editorial-section, .page-heading { padding-block: 0.5cm; }
  .theatre-layout { display: block; }
  h2, h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}
.book-genres { margin: .6rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.6; }

/* The world shares the quiet typography and solid colour chapters. */
.world-discover-link { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; margin-top: 1.75rem; color: var(--bordeaux); font-size: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.3em; }
.world-discover-link svg { width: 1rem; height: 1rem; }
.world-intro { padding-top: 5.5rem; padding-bottom: 2.5rem; }
.world-intro .section-intro { max-width: 58ch; }
.world-intro > .text-link { margin-top: 1.25rem; }
.world-atlas { display: grid; grid-template-columns: minmax(0, 28.75rem) minmax(0, 1fr); align-items: start; gap: 5rem; padding-top: 2rem; padding-bottom: 6rem; }
.world-map-figure { min-width: 0; margin: 0; }
.world-map-frame { position: relative; overflow: hidden; isolation: isolate; background: #f5efdf; border: 1px solid #b3a68d; }
.world-map-canvas { position: relative; overflow: hidden; }
.world-map-image { display: block; width: 100%; max-width: none; height: auto; transform: scale(1.06); transform-origin: center; }
.map-marker { position: absolute; z-index: 1; left: var(--marker-x, 50%); top: var(--marker-y, 50%); display: flex; flex-direction: column; align-items: center; justify-content: start; gap: 0.3rem; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.25rem 0.2rem; color: var(--bordeaux); line-height: 1.3; text-decoration: none; transform: translate(-50%, -0.45rem); }
.map-marker-dot { width: 0.875rem; height: 0.875rem; border: 3px solid var(--bordeaux); border-radius: 50%; background: #fffdf7; box-shadow: 0 0 0 3px #fffdf7bf; }
.map-marker > span:not(.map-marker-dot) { max-width: 9rem; padding: 0.2rem 0.45rem; border: 1px solid #781b3533; border-radius: 2px; background: #fffdf7f2; color: var(--bordeaux); font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.map-marker:hover > span:not(.map-marker-dot), .map-marker[aria-current="location"] > span:not(.map-marker-dot) { background: #ffffff; text-decoration: underline; text-underline-offset: 0.2em; }
.map-marker[aria-current="location"] .map-marker-dot { background: var(--bordeaux); }
.map-marker:focus-visible { outline-offset: 3px; border-radius: 2px; }
.map-caption { margin-top: 1.5rem; }
.map-caption h2 { margin-bottom: 0.75rem; font-size: 1.125rem; }
.map-caption p { margin-bottom: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-top: 1.25rem; }
.map-open { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; font-size: 0.9375rem; line-height: 1.4; }
.map-open { gap: 0.5rem; padding: 0.65rem 1rem; border: 1px solid var(--bordeaux); border-radius: 0; background: transparent; color: var(--bordeaux); }
.map-open:hover { background: #fffdf780; }
.atlas-guide { min-width: 0; padding-top: 1.5rem; }
.map-eyebrow { margin-bottom: 1rem; color: var(--bordeaux); font-size: 0.75rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; }
.atlas-guide h2 { max-width: 24ch; margin-bottom: 1.5rem; font-size: 1.5rem; }
.atlas-guide > p:not(.map-eyebrow) { max-width: 42ch; color: var(--muted); }
.country-index { display: flex; flex-direction: column; margin-top: 2rem; }
.country-index-link { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 3.5rem; padding-block: 1rem; border-bottom: 1px solid #bdb4a8; text-decoration: none; }
.country-index-link .number { color: var(--muted); font-size: 0.875rem; }
.country-index-link .name { font: 700 1.125rem/1.5 var(--heading); }
.country-index-link svg { width: 1rem; height: 1rem; }
.country-index-link:hover .name, .country-index-link[aria-current="location"] .name { color: var(--bordeaux); text-decoration: underline; text-underline-offset: 0.3em; }
.world-countries { padding-top: 1rem; padding-bottom: 3rem; }
.world-countries > .section-heading { margin-bottom: 2.5rem; }
.country-section { margin-top: 1rem; padding: 3rem 0 4rem 1.5rem; border-top: 1px solid #c6bfc1; border-left: 2px solid transparent; scroll-margin-top: 2rem; }
.country-header { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: 1.5rem; }
.country-number { color: var(--bordeaux); font-size: 0.875rem; }
.country-name { font-size: 1.75rem; line-height: 1.5; }
.country-content { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; gap: 4rem; }
.country-profile { min-width: 0; }
.country-specialism { margin-bottom: 1.5rem; color: var(--bordeaux); font-size: 1.125rem; font-weight: 600; }
.country-facts { margin: 0; }
.country-facts > div + div { margin-top: 1.5rem; }
.country-facts dt { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.country-facts dd { margin: 0.25rem 0 0; font-size: 1.0625rem; }
.magic-quote { align-self: start; margin: 0; padding-left: 2rem; border-left: 1px solid #b7a47e; }
.magic-quote p { margin-bottom: 1rem; font-size: 1.0625rem; line-height: 1.9; }
.magic-quote p:last-of-type { margin-bottom: 0; }
.magic-quote .quote-label { margin-bottom: 0.5rem; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.magic-quote cite { display: block; margin-top: 1.25rem; color: var(--muted); font-size: 0.875rem; font-style: normal; line-height: 1.6; }
.country-section:target, .country-section.is-selected { border-left-color: var(--bordeaux); background: #ffffff66; }
.country-section:focus-visible { outline-offset: 5px; }
.people-disclosure { margin-top: 3rem; border-top: 1px solid #c6bfc1; border-bottom: 1px solid #c6bfc1; }
.people-disclosure > summary { display: flex; align-items: center; gap: 1rem; min-height: 3.5rem; padding-block: 1.25rem; color: var(--bordeaux); list-style: none; cursor: pointer; }
.people-disclosure > summary::-webkit-details-marker { display: none; }
.people-disclosure-title { flex: 1; font-size: 1.0625rem; font-weight: 600; line-height: 1.6; }
.people-disclosure > summary:hover .people-disclosure-title { text-decoration: underline; text-underline-offset: 0.25em; }
.people-count { flex-shrink: 0; color: var(--muted); font-size: 0.875rem; }
.people-disclosure .disclosure-icon { flex-shrink: 0; }
.people-disclosure[open] .disclosure-icon { transform: rotate(45deg); }
.people-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 2rem 3rem; margin: 0; padding: 1.5rem 0 2.5rem; list-style: none; }
.people-list li { min-width: 0; }
.people-list h4 { font-size: 1.0625rem; line-height: 1.7; overflow-wrap: anywhere; }
.people-list p { max-width: 48ch; margin: 0.75rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.world-book-return { padding-top: 2.5rem; padding-bottom: 6rem; border-top: 1px solid #d1bbc3; }
.world-book-return h2 { font-size: 1.5rem; }
.world-book-return p { max-width: 62ch; margin-top: 1.25rem; margin-bottom: 1rem; color: var(--muted); }
.world-book-return > a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--bordeaux); }

/* Zoom is a deliberate action; the map never pans or moves on its own. */
.map-dialog { width: min(90vw, 68rem); height: min(90vh, 56rem); height: min(90dvh, 56rem); max-width: 90vw; max-height: 90dvh; margin: auto; padding: 0; overflow: hidden; border: 1px solid #b7ab98; background: var(--canvas); color: var(--ink); }
.map-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: map-dialog-arrival 180ms ease-out both; }
.map-dialog::backdrop { background: #292624b8; }
.map-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; border-bottom: 1px solid #d6cec0; }
.map-dialog-header h2 { font-size: 1.125rem; }
.map-dialog-header button, .map-dialog-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0.5rem 0.75rem; border: 1px solid #928a7e; border-radius: 0; background: transparent; color: var(--ink); font-size: 0.9375rem; line-height: 1.4; }
.map-dialog-header button:hover, .map-dialog-controls button:hover:not([aria-disabled="true"]) { border-color: var(--bordeaux); color: var(--bordeaux); }
.map-dialog-header button svg, .map-dialog-controls button svg { width: 1rem; height: 1rem; }
.map-dialog-scroll { min-width: 0; min-height: 0; padding: 1rem; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; background: #f1eee6; }
.map-dialog-image { display: block; width: var(--map-zoom, 100%); max-width: none; height: auto; margin-inline: auto; clip-path: inset(1% 2.7%); transition: width 180ms ease; }
.map-dialog-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 0.75rem; padding: 0.75rem 1rem; border-top: 1px solid #d6cec0; }
.map-dialog-controls output { min-width: 3.5rem; color: var(--muted); font-size: 0.9375rem; text-align: center; }
.map-dialog-controls button[aria-disabled="true"] { opacity: 0.45; cursor: default; }
@keyframes map-dialog-arrival { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 68rem) {
  .world-atlas { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 3rem; }
  .country-content { gap: 3rem; }
}
@media (max-width: 52rem) {
  .world-atlas { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 4.5rem; }
  .world-map-figure { width: min(100%, 28.75rem); margin-inline: auto; }
  .atlas-guide { padding-top: 0; }
  .atlas-guide > p:not(.map-eyebrow) { max-width: 58ch; }
  .country-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .country-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; }
  .country-facts > div + div { margin-top: 0; }
  .magic-quote { margin-top: 1rem; }
}
@media (max-width: 42rem) {
  .world-intro { padding-top: 3.5rem; padding-bottom: 1.5rem; }
  .world-atlas { padding-top: 1.5rem; padding-bottom: 3.5rem; }
  .world-discover-link { margin-top: 1.5rem; }
  .map-marker > span:not(.map-marker-dot) { font-size: 0.8125rem; }
  .map-caption h2 { font-size: 1rem; }
  .atlas-guide h2 { font-size: 1.375rem; }
  .world-countries { padding-top: 0; padding-bottom: 1.5rem; }
  .country-section { padding: 2rem 0 3rem 1rem; }
  .country-header { gap: 0.75rem; }
  .country-name { font-size: 1.5rem; }
  .people-disclosure { margin-top: 2rem; }
  .people-disclosure > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; }
  .people-disclosure-title { grid-column: 1; }
  .people-count { grid-column: 1; grid-row: 2; }
  .people-disclosure .disclosure-icon { grid-column: 2; grid-row: 1 / 3; }
  .people-list { grid-template-columns: 1fr; gap: 2rem; padding-block: 1rem 2rem; }
  .people-list h4 { font-size: 1rem; }
  .country-facts { grid-template-columns: 1fr; gap: 1.25rem; }
  .magic-quote { padding-left: 1.25rem; }
  .magic-quote p { font-size: 1rem; }
  .world-book-return { padding-top: 2rem; padding-bottom: 4rem; }
  .world-book-return h2 { font-size: 1.375rem; }
  .map-dialog { width: 90vw; max-width: 90vw; height: 90vh; height: 90dvh; }
  .map-dialog-header { padding: 0.5rem 0.75rem; gap: 0.5rem; }
  .map-dialog-header h2 { font-size: 1rem; }
  .map-dialog-scroll { padding: 0.5rem; }
  .map-dialog-controls { gap: 0.5rem; padding: 0.5rem; }
  .map-dialog-controls button { padding-inline: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .map-dialog[open] { animation: none; }
  .map-dialog-image { transition: none; }
}
@media (forced-colors: active) {
  .map-marker-dot { border-color: LinkText; background: Canvas; box-shadow: none; }
  .map-marker > span:not(.map-marker-dot), .map-dialog, .map-dialog-scroll { background: Canvas; color: CanvasText; }
  .country-section:target, .country-section.is-selected { border-left-color: Highlight; background: Canvas; }
  .map-dialog-controls button[aria-disabled="true"] { opacity: 1; color: GrayText; }
}
@media print {
  .map-dialog, .map-open { display: none !important; }
  .world-intro, .world-atlas, .world-countries, .world-book-return { padding-block: 0.5cm; }
  .world-atlas, .country-content { display: block; }
  .world-map-figure { max-width: 10cm; margin: 0 0 0.75cm; }
  .world-map-frame { break-inside: avoid; }
  .country-section { margin-top: 0.5cm; padding-left: 0; border-left: 0; }
  .country-section:target, .country-section.is-selected { background: transparent; }
  .country-header { margin-bottom: 0.5cm; }
  .people-disclosure > summary { display: block; color: black; }
  .people-disclosure .disclosure-icon { display: none; }
  .people-disclosure:not([open]) > .people-list { display: grid; }
  .people-list li { break-inside: avoid; }
  .magic-quote { margin-top: 0.5cm; }
}

@media (prefers-reduced-motion: no-preference) { html:has(.world-page) { scroll-behavior: smooth; } }

.map-dialog-header button { gap: .35rem; }
