:root {
  --ink: #07111d;
  --ink-soft: #0d1d2d;
  --paper: #f4efe5;
  --paper-2: #e5ded0;
  --white: #fffdf8;
  --sky: #6e98b8;
  --blue: #20496a;
  --gold: #c99b4a;
  --gold-light: #e9c982;
  --muted: #9eabb5;
  --line: rgba(255,255,255,.14);
  --shadow: 0 25px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { max-width: 100%; margin: 0; background: var(--ink); color: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; overflow-x: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, audio { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--gold); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 1rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--gold-light); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .85rem clamp(1.25rem, 4vw, 4rem); background: rgba(7,17,29,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; line-height: 1.1; }
.brand-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border: 1px solid var(--gold); color: var(--gold-light); font-family: Georgia, serif; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 1rem; }
.brand small { margin-top: .25rem; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.header-book-link { display: flex; align-items: center; gap: .7rem; margin-left: auto; color: var(--white); text-decoration: none; }
.header-book-link img { width: 48px; height: 72px; object-fit: cover; border: 1px solid rgba(233,201,130,.45); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.header-book-link span, .header-book-link strong, .header-book-link small { display: block; }
.header-book-link small { color: var(--muted); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; }
.header-book-link strong { color: var(--gold-light); font-size: .72rem; }
.header-book-link:hover strong { color: var(--white); }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
nav a { color: #d8e0e6; font-size: .82rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--gold-light); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--white); padding: .55rem .8rem; }

.hero { position: relative; min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); overflow: hidden; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem); background: radial-gradient(circle at 75% 35%, rgba(52,96,131,.4), transparent 34%), linear-gradient(115deg, #07111d 0%, #0a1927 60%, #08121d 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: repeating-linear-gradient(115deg, transparent 0 45px, rgba(255,255,255,.025) 46px 47px); pointer-events: none; }
.hero-atmosphere { position: absolute; width: 760px; height: 760px; right: -240px; top: -170px; border: 1px solid rgba(201,155,74,.18); border-radius: 50%; box-shadow: 0 0 0 90px rgba(201,155,74,.025), 0 0 0 180px rgba(201,155,74,.018); }
.hero-copy, .hero-portrait { position: relative; z-index: 1; min-width: 0; }
.hero h1 { max-width: 900px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 7vw, 7.2rem); font-weight: 500; line-height: .93; letter-spacing: -.055em; }
.hero h1 span, .hero h1 em { display: block; max-width: 100%; white-space: normal; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.lede { max-width: 760px; margin: 2rem 0 0; color: #cad4dd; font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero-actions, .book-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.2rem; border: 1px solid transparent; font-size: .8rem; font-weight: 850; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover { background: var(--gold-light); }
.button-secondary { border-color: rgba(255,255,255,.32); color: var(--white); }
.button-secondary:hover { border-color: var(--gold-light); color: var(--gold-light); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); gap: 1.5rem; max-width: 780px; margin: 3.2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-stats div { min-width: 0; }
.hero-stats dt { color: var(--white); font-family: Georgia, serif; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.hero-stats dd { margin: .2rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }
.hero-portrait { justify-self: center; width: min(100%, 460px); }
.portrait-frame { position: relative; padding: 12px; border: 1px solid rgba(233,201,130,.5); background: rgba(255,255,255,.03); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.portrait-frame::after { content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1; border: 1px solid rgba(110,152,184,.25); }
.portrait-frame img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; filter: contrast(1.05); }
.portrait-frame p { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 1rem .45rem .3rem; color: var(--white); line-height: 1.2; }
.portrait-frame span { max-width: 130px; color: var(--muted); font-size: .7rem; text-align: right; }

.honor-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 6vw, 7rem); background: var(--paper); color: var(--ink); }
.honor-strip .eyebrow { color: #8a611d; }
.honor-strip h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.honor-strip p { margin: .25rem 0 0; }
.honor-seal { display: grid; place-items: center; width: 88px; aspect-ratio: 1; border: 1px solid #9b762e; border-radius: 50%; color: #7c5b1e; font-size: .63rem; font-weight: 900; letter-spacing: .08em; }
.text-link { color: #725013; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { max-width: 900px; margin-bottom: clamp(2.4rem, 5vw, 5rem); }
.section-heading h2, .book-copy h2, .legacy h2, .listen-content h1, .listen-content h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 5.2rem); font-weight: 500; line-height: 1.03; letter-spacing: -.04em; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr minmax(260px, .48fr); align-items: end; gap: 3rem; }
.split-heading > p { margin: 0; color: var(--muted); }
.story { background: var(--paper); color: var(--ink); }
.story .eyebrow { color: #8a611d; }
.story-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 8vw, 9rem); }
.story-prose { max-width: 760px; font-family: Georgia, serif; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.story-prose p { margin: 0 0 1.3rem; }
.dropcap::first-letter { float: left; margin: .1rem .5rem 0 0; color: #9d6d1c; font-size: 4.2rem; line-height: .75; }
blockquote { align-self: center; margin: 0; padding: 2.2rem; border-left: 3px solid var(--gold); background: #e9e1d2; }
blockquote p { margin: 0; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.15; }
blockquote cite { display: block; margin-top: 1.4rem; color: #5f5b54; font-size: .72rem; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.flight-log { background: #0a1623; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.timeline article { min-height: 250px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline span { color: var(--gold-light); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.timeline h3 { margin: 1rem 0 .7rem; font-family: Georgia, serif; font-size: 1.6rem; }
.timeline p { margin: 0; color: #aebcc7; font-size: .9rem; }

.photo-break { position: relative; height: min(78vh, 850px); overflow: hidden; background: #050a10; }
.photo-break::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,16,.72), transparent 52%), linear-gradient(0deg, rgba(5,10,16,.8), transparent 42%); }
.photo-break img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: contrast(1.06); }
.photo-caption { position: absolute; z-index: 1; left: clamp(1.25rem, 6vw, 7rem); bottom: 3.5rem; max-width: 620px; }
.photo-caption span { display: block; margin-bottom: .7rem; color: var(--gold-light); font-size: .72rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.photo-caption strong { display: block; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 3.8rem); line-height: 1.05; }

.gallery-section { background: var(--paper); color: var(--ink); }
.gallery-section .eyebrow { color: #8a611d; }
.gallery-section .split-heading > p { color: #5f625f; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: .8rem; }
.gallery-card { position: relative; grid-column: span 4; overflow: hidden; padding: 0; border: 0; background: #101820; cursor: zoom-in; }
.gallery-card.wide { grid-column: span 8; }
.gallery-card.tall { grid-row: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: transform .5s ease, filter .5s ease; }
.gallery-card:hover img { transform: scale(1.035); filter: grayscale(.25) contrast(1.03); }
.gallery-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; color: white; font-size: .75rem; font-weight: 800; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.8)); }

.listen-section { background: linear-gradient(145deg, #07111d, #102b41); }
.listen-shell { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.listen-art img { border-radius: 4px; box-shadow: 0 32px 75px rgba(0,0,0,.5); }
.listen-content > p:not(.eyebrow) { max-width: 740px; color: #becbd4; }
.audiobook-gate .button { margin-top: 1.2rem; }
.listen-page-main { min-height: calc(100vh - 76px); background: linear-gradient(145deg, #07111d, #102b41); }
.listen-page-main .listen-section { padding-top: clamp(3rem, 6vw, 6rem); }
.player { margin-top: 2rem; padding: 1.2rem; border: 1px solid var(--line); background: rgba(255,255,255,.055); }
.now-playing { display: grid; gap: .2rem; margin-bottom: .8rem; }
.now-playing span { color: var(--gold-light); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.now-playing strong { font-family: Georgia, serif; font-size: 1.25rem; }
.player audio { width: 100%; }
.player-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; }
.player-actions button { border: 0; background: transparent; color: #d7e0e7; font-size: .75rem; font-weight: 800; cursor: pointer; }
.player-actions button:hover { color: var(--gold-light); }
.chapter-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 3.5rem; }
.chapter-button { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: .7rem; min-height: 68px; padding: .7rem; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--white); text-align: left; cursor: pointer; }
.chapter-button:hover, .chapter-button[aria-current="true"] { border-color: var(--gold); background: rgba(201,155,74,.12); }
.chapter-button .number { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.3rem; text-align: center; }
.chapter-button .title { font-size: .75rem; font-weight: 720; line-height: 1.25; }
.review-note { margin: 1.5rem 0 0; color: var(--muted); font-size: .72rem; }

.book-section { display: grid; grid-template-columns: 1fr minmax(250px, 430px); align-items: center; gap: clamp(3rem, 9vw, 10rem); background: #10100f; }
.book-copy > p:not(.eyebrow) { max-width: 750px; color: #bbc3c9; font-family: Georgia, serif; font-size: 1.1rem; }
.book-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.book-meta dt { color: var(--gold-light); font-size: .68rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.book-meta dd { margin: .35rem 0 0; color: #aeb8bf; font-size: .76rem; }
.book-cover { position: relative; padding: 1.2rem; border: 1px solid rgba(201,155,74,.4); }
.book-cover img { box-shadow: var(--shadow); }
.book-cover span { display: block; margin-top: 1rem; color: var(--gold-light); font-family: Georgia, serif; text-align: center; }

.legacy { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 4rem; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); background: var(--gold); color: var(--ink); }
.legacy .eyebrow { color: #4e3713; }
.legacy > div > p:last-child { max-width: 760px; font-size: 1.1rem; }
.legacy-signoff { margin: 0; padding-left: 2rem; border-left: 1px solid rgba(7,17,29,.35); font-family: Georgia, serif; font-size: clamp(1.2rem, 2vw, 1.8rem); }

footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; padding: 3rem clamp(1.25rem, 6vw, 7rem); color: #aeb7bf; background: #03080d; border-top: 1px solid var(--line); }
footer strong { color: white; font-family: Georgia, serif; }
footer p { margin: .25rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { color: #d8dfe4; font-size: .75rem; font-weight: 750; }
.source-note { grid-column: 1 / -1; max-width: 900px; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .67rem; }

dialog { width: min(92vw, 900px); padding: 0; border: 1px solid rgba(255,255,255,.2); background: #070d13; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0,0,0,.86); }
dialog img { max-height: 86vh; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; right: .7rem; top: .7rem; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(0,0,0,.65); color: white; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 1000px) {
  .header-book-link span { display: none; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 76px; align-items: stretch; flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; background: rgba(7,17,29,.98); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; }
  .hero-portrait { width: min(78%, 430px); margin-top: 2rem; }
  .honor-strip { grid-template-columns: auto 1fr; }
  .honor-strip .text-link { grid-column: 2; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .chapter-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header { gap: .5rem; padding-inline: 1rem; }
  .brand { min-width: 0; }
  .brand strong { font-size: .84rem; white-space: nowrap; }
  .brand small { display: none; }
  .header-book-link { margin-left: auto; }
  .header-book-link img { width: 36px; height: 54px; }
  .menu-toggle { flex: 0 0 auto; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding-top: 5rem; }
  .hero h1 { font-size: clamp(3rem, 12.5vw, 3.7rem); overflow-wrap: anywhere; }
  .hero .eyebrow, .hero .lede { max-width: 100%; overflow-wrap: break-word; }
  .hero-actions .button { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-portrait { width: 88%; }
  .honor-strip { grid-template-columns: 1fr; }
  .honor-strip .text-link { grid-column: 1; }
  .split-heading, .story-grid, .listen-shell, .book-section, .legacy { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .photo-break { height: 68vh; }
  .photo-break img { object-position: 48% center; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .gallery-card, .gallery-card.wide { grid-column: 1; }
  .gallery-card.tall { grid-row: span 1; }
  .chapter-list { grid-template-columns: 1fr; }
  .book-cover { width: min(90%, 420px); justify-self: center; }
  .book-meta { grid-template-columns: 1fr; }
  .legacy-signoff { padding: 1.5rem 0 0; border-top: 1px solid rgba(7,17,29,.35); border-left: 0; }
  footer { grid-template-columns: 1fr; }
}

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