:root {
  color-scheme: dark;
  --bg: #100f1e;
  --deep: #0b0b16;
  --panel: #181628;
  --text: #f7f0e8;
  --muted: #cdc4d0;
  --gold: #eed0a0;
  --rule: #3a344c;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); font: 1rem/1.65 var(--sans); }
picture, img { display: block; }
img { width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: .23em; }
a:hover { color: #fff0d1; }
a:focus-visible, summary:focus-visible, main:focus-visible { outline: 3px solid #f7d398; outline-offset: 4px; }
p { margin: 0 0 1em; color: var(--muted); overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.07; font-weight: 400; margin: 0 0 .52em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 7.4vw, 7.3rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2.1rem, 4.1vw, 4rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.45rem, 2.15vw, 2.02rem); letter-spacing: -.025em; }
.wrap { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.section { padding-block: clamp(3.4rem, 7vw, 7rem); }
.section + .section { border-top: 1px solid var(--rule); }
.lede { font-size: clamp(1.1rem, 2vw, 1.32rem); max-width: 37rem; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 5; padding: .55rem 1rem; color: #1b1422; background: var(--gold); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: #1b1422; }

.header { background: var(--deep); border-bottom: 1px solid var(--rule); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 5.1rem; }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--text); text-decoration: none; line-height: 1; padding: .4rem 0; }
.wordmark strong { font: 400 1.43rem/1 var(--serif); letter-spacing: -.045em; }
.wordmark span { color: var(--gold); font-size: .65rem; letter-spacing: .27em; margin-top: .38rem; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem clamp(.65rem, 2.5vw, 2.3rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--gold); text-decoration: underline; }

.hero { position: relative; isolation: isolate; background: #121223; }
.hero-visual, .hero-art, .final-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img, .final-art img { height: 100%; object-fit: cover; }
.hero-art img { object-position: center 52%; }
.hero-visual::after, .final-banner::after { content: ''; position: absolute; inset: 0; }
.hero-visual::after {
  background: linear-gradient(90deg, #0d0c19 2%, #0e0d1ce8 30%, #14122591 58%, #14122526 100%),
              linear-gradient(0deg, #100f1e 0%, transparent 45%);
}
.hero-grid { min-height: clamp(34rem, 49vw, 44rem); display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem; padding-block: 4rem; }
.hero-copy h1 { margin-bottom: .22em; }
.hero-copy .lede { max-width: 33ch; color: var(--text); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.15rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 48px; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .24rem; font-size: .94rem; font-weight: 650; text-decoration: none; }
.button-gold { color: #1c1521; background: var(--gold); }
.button-gold:hover { color: #1c1521; background: #ffe2b6; }
.button-outline { color: var(--text); background: #151224d9; border-color: #9f8797; }
.button-outline:hover { background: #2b2338; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.hero-book { justify-self: end; margin-right: clamp(0px, 5vw, 5rem); width: min(100%, 17.2rem); }
.book-cover { box-shadow: 0 1.15rem 2.8rem #03030eaa, 0 0 0 1px #c8b4dd49; overflow: hidden; border-radius: .2rem; }
.feature, .publisher, .split, .book-grid { display: grid; gap: clamp(1.5rem, 6vw, 6rem); grid-template-columns: 1fr 1fr; align-items: center; }
.feature h2 { margin-bottom: .26em; }
.eyebrow { color: var(--gold); text-transform: uppercase; font-size: .77rem; font-weight: 650; letter-spacing: .12em; }
.subtitle { color: var(--text); max-width: 35ch; font-size: clamp(1.18rem, 2.1vw, 1.52rem); line-height: 1.4; }
.byline { margin-bottom: .4em; }
.feature-copy > p, .publisher p, .split p { max-width: 57ch; }
.pathways { background: #151325; }
.pathways h2 { margin-bottom: .9em; }
.pathway-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.65vw, 1.5rem); }
.pathway-grid article { background: var(--panel); border: 1px solid var(--rule); border-radius: .35rem; overflow: hidden; }
.pathway-grid img { aspect-ratio: 1.33; object-fit: cover; object-position: center 44%; }
.pathway-copy { padding: clamp(.85rem, 1.75vw, 1.45rem); }
.pathway-copy p { margin: 0; font-size: .94rem; }
.pathway-copy .text-link { margin-top: .25rem; font-size: .94rem; }
.final-banner { position: relative; isolation: isolate; min-height: 28rem; display: grid; align-items: center; background: #24202e; }
.final-art img { object-position: 34% center; }
.final-banner::after { z-index: -1; background: linear-gradient(90deg, #1410203a, #171223bf 53%, #100d1bad), linear-gradient(0deg, #0d0b17c9, transparent 73%); }
.final-content { padding-block: 4rem; text-align: right; }
footer { background: var(--deep); border-top: 1px solid var(--rule); }
.footer-inner { min-height: 7rem; padding-block: 1rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; font-size: .84rem; }

.book-intro, .simple-heading { padding-block: clamp(2.7rem, 6vw, 6.5rem); }
.book-intro { background: radial-gradient(ellipse at 85% 55%, #2b2141, var(--bg) 68%); border-bottom: 1px solid var(--rule); }
.book-grid { grid-template-columns: 1.35fr .8fr; }
.book-grid h1 { font-size: clamp(3.25rem, 7vw, 6rem); }
.book-grid .book-cover { width: min(84%, 20rem); justify-self: center; }
.breadcrumb { margin-bottom: 1.15rem; }
.book-grid .lede { margin-top: 1.2rem; font-size: 1.09rem; }
.book-credits .subtitle { margin-bottom: .65rem; }
.book-actions { margin-top: 1.2rem; }
.simple-heading + .section { border-top: 1px solid var(--rule); }
.simple-heading h1 { font-size: clamp(3rem, 6.8vw, 6rem); }
.simple-heading p { margin-bottom: 0; }
.editorial > p { max-width: 66ch; }
.book-description { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.description-art { max-width: 25rem; }
.description-art img { border-radius: .35rem; }
.editorial > h2:not(:first-child) { margin-top: 1em; }
.editorial > .button, .challenge .button { margin-top: .5rem; }
.author-bio p { max-width: 66ch; }
.author-profile { display: grid; grid-template-columns: minmax(11rem, 17.5rem) 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.author-portrait img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: .35rem; }
.catalog { grid-template-columns: minmax(9rem, .55fr) 1fr; }
.catalog .book-cover { max-width: 17rem; }
.challenge { background: var(--deep); }
.challenge-copy ul { margin: 0 0 1rem; padding-inline-start: 1.25rem; color: var(--muted); }
.challenge-copy li + li { margin-top: .35rem; }
.challenge-copy li::marker { color: var(--gold); }
.challenge-art img { border-radius: .35rem; aspect-ratio: 1.22; object-fit: cover; object-position: center 38%; }
.teaser-layout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(2rem, 7vw, 7rem); max-width: 60rem; }
.teaser-layout video { display: block; width: min(29vw, 17.5rem); height: auto; aspect-ratio: 9 / 16; background: var(--deep); border-radius: .35rem; }
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { padding: .95rem .2rem; cursor: pointer; color: var(--text); font-weight: 650; }
.faq details p { padding-inline: 1.25rem .2rem; }
.error-actions { margin-top: 0; margin-bottom: 5rem; }

@media (max-width: 920px) {
  .wrap { width: min(100% - 3.25rem, 74rem); }
  .pathway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .book-description { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: .08rem; padding-block: .62rem .14rem; }
  .header-inner .wordmark { align-items: center; width: 100%; }
  .header-inner nav { justify-content: center; gap: .15rem 1.1rem; }
  .hero-grid, .feature, .publisher, .split, .book-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; grid-template-columns: minmax(0, 1fr) min(34vw, 10rem); gap: .85rem 1rem; padding-block: 1.9rem 2rem; }
  .hero-copy, .book-intro-copy { display: contents; }
  .hero-copy h1, .hero-actions { grid-column: 1 / -1; }
  .hero-copy h1 { font-size: clamp(3.3rem, 12vw, 5.2rem); }
  .hero-break { display: none; }
  .hero-copy .lede { margin: 0; }
  .hero-actions { margin-top: .35rem; }
  .hero-visual::after { background: linear-gradient(180deg, #100e1beb, #121020d1 49%, #151224ad 78%, #100f1ee8); }
  .hero-art img { object-position: 64% 50%; }
  .hero-book { grid-area: 2 / 2; width: 100%; margin: 0; }
  .book-intro { padding-block: 1.5rem 2rem; }
  .book-grid { grid-template-columns: minmax(0, 1fr) min(34vw, 10rem); gap: .8rem 1rem; }
  .book-grid .breadcrumb, .book-grid h1, .book-actions, .book-grid .lede { grid-column: 1 / -1; justify-self: start; margin: 0; }
  .book-grid h1 { text-wrap: initial; }
  .book-grid .book-cover { grid-area: 3 / 2; width: 100%; }
  .book-actions .text-link { min-height: 44px; }
  .challenge .split { gap: 1rem; }
  .challenge-copy { grid-row: 1; }
  .author-profile { grid-template-columns: 1fr; }
  .author-portrait { width: min(72vw, 17.5rem); }
  .catalog .book-cover { width: min(60vw, 15rem); justify-self: center; }
  .catalog .book-cover { grid-row: 2; }
  .final-banner { min-height: 24rem; }
  .final-art img { object-position: 28% center; }
  .final-banner::after { background: linear-gradient(0deg, #100d1bf5, #161224d9 38%, #1b172334 88%); }
  .final-content { align-self: end; text-align: left; padding-block: 2.25rem; }
  .teaser-layout { grid-template-columns: 1fr; }
  .teaser-layout video { width: min(100%, 17.5rem); justify-self: center; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-grid img { aspect-ratio: 1.6; }
}
