:root {
  --background: #171a20;
  --background-soft: #1b2130;
  --background-panel: #202a42;
  --background-deep: #11151c;
  --ink: #f7f8fb;
  --ink-soft: #b5bdcc;
  --blue: #155be8;
  --blue-bright: #4a83ff;
  --blue-deep: #0b347e;
  --line: rgba(255, 255, 255, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { margin: 0; color: var(--ink); background: var(--background); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 100; padding: 12px 16px; color: white; background: var(--blue); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 20; height: 68px; padding: 0 3.2%; display: flex; align-items: center; justify-content: space-between;
  background: rgba(17, 21, 28, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.wordmark { font-size: 16px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
nav { display: flex; align-items: center; gap: clamp(28px, 4.5vw, 66px); }
nav a { position: relative; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--blue); transition: right .25s; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.menu-button { display: none; }

.hero { position: relative; min-height: 600px; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(74,131,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(74,131,255,.07) 1px, transparent 1px);
  background-size: 70px 70px;
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 78% 42%, rgba(21,91,232,.28), transparent 31%), linear-gradient(115deg, rgba(23,26,32,.98), rgba(32,42,66,.88) 72%, rgba(11,52,126,.48)); pointer-events: none; }
.hero-copy { width: min(86%, 950px); margin: 0 auto; padding-top: 118px; text-align: center; }
.hero-copy .eyebrow { justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.crosshair { position: relative; display: inline-block; width: 21px; height: 21px; border: 1px solid rgba(11,85,232,.45); border-radius: 50%; }
.crosshair::before, .crosshair::after { content: ''; position: absolute; background: rgba(11,85,232,.45); }
.crosshair::before { top: -5px; left: 9px; width: 1px; height: 29px; }
.crosshair::after { top: 9px; left: -5px; width: 29px; height: 1px; }
h1, h2 { margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; }
h1 { margin-bottom: 26px; color: var(--ink); font-size: clamp(62px, 7vw, 108px); line-height: .95; letter-spacing: -.035em; }
.dek { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; justify-content: center; gap: 18px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 25px; gap: 34px; border: 1px solid var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { color: white; background: var(--blue); box-shadow: 0 11px 30px rgba(11,85,232,.14); }
.button.secondary { color: white; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.35); }
.coordinates { position: absolute; bottom: 14px; left: 8%; right: 8%; display: flex; justify-content: space-between; color: var(--blue); font: 8px monospace; }
.coordinates span { width: 18%; padding-bottom: 8px; border-bottom: 1px dotted rgba(11,85,232,.4); }

.section { padding: 78px 3.2% 90px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2, .worlds-section h2, .map-section h2, .about-section h2 { font-size: clamp(40px, 4vw, 64px); letter-spacing: -.025em; }
.series-count { margin: 13px 0 0 41px; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.series-count i { display: inline-block; width: 3px; height: 3px; margin: 0 8px 2px; background: var(--blue); border-radius: 50%; }
.series-code { display: flex; align-items: center; gap: 25px; width: 24%; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.series-code span { position: relative; flex: 1; height: 1px; background: rgba(11,85,232,.45); }
.series-code span::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border: 1px solid var(--blue); border-radius: 50%; }
.series-summary { width: min(35%, 430px); color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.series-summary a { display: block; margin-top: 12px; color: var(--blue); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.books-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; }
.book-card p { margin: 14px 0 6px; color: var(--ink-soft); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.book-card h3 { margin: 0 0 9px; font-size: 17px; font-weight: 400; letter-spacing: .02em; }
.book-card-link { display: block; }
.book-card-link .cover { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.book-card-link:hover .cover, .book-card-link:focus-visible .cover { transform: translateY(-5px); border-color: rgba(74,131,255,.7); box-shadow: 0 22px 46px rgba(0,0,0,.34); }
.book-card-link:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 6px; }
.cover { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 5 / 8; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(145deg, #222b3e, #111722); box-shadow: 0 16px 36px rgba(0,0,0,.24); }
.cover::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.09); }
.cover-image::before { display: none; }
.cover-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cover-one { background: radial-gradient(circle at 50% 35%, rgba(74,131,255,.36), transparent 25%), linear-gradient(145deg, #293758, #111722); }
.cover-two { background: linear-gradient(125deg, #1a2232, #26365b 50%, #10295c 51%, #151c29); }
.cover-three { background: radial-gradient(circle at 50% 38%, #8eafff 0 6%, #26365b 24%, #101827 62%, #1c263a); }
.titan-cover-one { background: linear-gradient(155deg, #263452 0 42%, #121a29 43% 48%, #155be8 49% 52%, #1c2435 53%); }
.titan-cover-two { background: radial-gradient(circle at 50% 40%, #d9e4ff 0 10%, #7899df 11% 25%, #155be8 26% 27%, #253653 28% 60%, #111722 61%); }
.forthcoming .cover { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.cover-index { position: absolute; left: 16px; top: 16px; color: var(--ink-soft); font: 8px monospace; letter-spacing: .12em; }
.cover-symbol { position: relative; width: 43%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; }
.cover-symbol::before, .cover-symbol::after { content: ''; position: absolute; background: rgba(11,85,232,.35); }
.cover-symbol::before { left: -22%; top: 50%; width: 145%; height: 1px; }
.cover-symbol::after { top: -22%; left: 50%; width: 1px; height: 145%; }
.cover-symbol i { position: absolute; inset: 20%; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.cover-symbol b { position: absolute; left: calc(50% - 2px); top: calc(50% - 2px); width: 5px; height: 5px; background: var(--blue); border-radius: 50%; }
.forthcoming .cover-symbol { width: 27%; opacity: .65; }
.question-mark { color: rgba(255,255,255,.28); font-size: clamp(54px, 6vw, 92px); font-weight: 300; }
.cover-status { position: absolute; bottom: 16%; color: var(--ink); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.status { font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.status.available { color: var(--blue); }
.status.planned { color: var(--ink-soft); }
.roadmap-note { margin: 42px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.roadmap-note strong { margin-right: 20px; color: var(--ink); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.series-intro { margin: -4px 0 34px; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.series-world-note { max-width: 980px; }
.series-world-note em, .series-intro em { color: var(--ink); }
.world-link { display: inline-block; margin-left: 18px; color: var(--blue); font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.world-link.unavailable { color: var(--ink-soft); opacity: .78; }
.flesh-section { border-top: 1px solid var(--line); background: var(--background-soft); }

.worlds-section { background: var(--background-soft); color: var(--ink); }
.worlds-section .eyebrow { color: var(--blue); }
.section-heading.compact { margin-bottom: 42px; }
.worlds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.worlds-grid article { position: relative; min-height: 350px; padding: clamp(35px,5vw,72px); background: var(--background); }
.worlds-grid article:last-child { color: white; background: var(--blue-deep); }
.world-number { color: var(--blue); font: 9px monospace; letter-spacing: .15em; }
.worlds-grid h3 { margin: 55px 0 18px; font-size: clamp(30px,3vw,47px); font-weight: 300; letter-spacing: -.02em; }
.worlds-grid p { max-width: 490px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.worlds-grid article:last-child p { color: rgba(255,255,255,.72); }
.worlds-grid a, .coming-label { position: absolute; bottom: 42px; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.worlds-grid article:last-child .coming-label { color: white; }
.worlds-grid a span { margin-left: 20px; }

.map-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 7%; min-height: 600px; overflow: hidden; color: var(--ink); background: var(--background); }
.map-copy p:not(.eyebrow) { max-width: 430px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.map-copy h2 { margin: 0 0 28px; line-height: 1.08; letter-spacing: .08em; }
.map-status { display: inline-block; margin-top: 25px; padding-bottom: 8px; border-bottom: 1px solid var(--blue); color: var(--blue); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.map-visual { position: relative; height: 420px; border: 1px solid rgba(11,85,232,.22); background-image: linear-gradient(rgba(11,85,232,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(11,85,232,.08) 1px, transparent 1px); background-size: 55px 55px; }
.orbit { position: absolute; border: 1px solid rgba(11,85,232,.3); border-radius: 50%; }
.orbit-one { left: 18%; top: 16%; width: 280px; height: 280px; }
.orbit-two { right: 12%; top: 31%; width: 160px; height: 160px; }
.star { position: absolute; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 16px 4px rgba(11,85,232,.35); }
.s1 { left: 29%; top: 48%; } .s2 { left: 53%; top: 25%; } .s3 { right: 26%; top: 52%; } .s4 { right: 8%; bottom: 17%; }
.route { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-deep), var(--blue), var(--blue-deep), transparent); transform-origin: left center; }
.r1 { left: 29%; top: 49%; width: 55%; transform: rotate(-18deg); } .r2 { left: 53%; top: 26%; width: 48%; transform: rotate(43deg); }
.map-label { position: absolute; color: var(--blue); font: 8px monospace; letter-spacing: .14em; }
.m1 { left: 20%; top: 54%; } .m2 { right: 12%; top: 59%; }

.about-section { border-top: 1px solid var(--line); color: var(--ink); background: var(--background); }
.about-section .eyebrow { color: var(--blue); }
.about-grid { display: grid; grid-template-columns: 250px .75fr 1.2fr; align-items: center; gap: 6%; }
.author-photo { display: block; width: 250px; height: 250px; object-fit: cover; border: 1px solid rgba(74,131,255,.34); border-radius: 50%; box-shadow: 0 20px 45px rgba(0,0,0,.28); }
.about-grid h2 { line-height: .95; letter-spacing: .08em; }
.about-grid p { max-width: 550px; margin: 0 0 22px; color: var(--ink-soft); font-size: 18px; font-weight: 300; line-height: 1.8; }
.updates-section { padding: 105px 20px; border-top: 1px solid var(--line); color: white; text-align: center; background: linear-gradient(115deg, var(--background), var(--background-panel) 70%, var(--blue-deep)); }
.updates-section .eyebrow { justify-content: center; }
.updates-section h2 { margin: 0 0 28px; font-size: clamp(43px,5vw,72px); line-height: .96; letter-spacing: .06em; }
.updates-section > p:not(.eyebrow) { max-width: 550px; margin: 0 auto 30px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; }
.updates-section small { display: block; margin-top: 17px; color: rgba(255,255,255,.52); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.button.is-disabled { cursor: default; opacity: .72; }
.button.is-disabled:hover { transform: none; }
footer { display: flex; align-items: center; justify-content: space-between; min-height: 100px; padding: 0 3.2%; color: rgba(255,255,255,.68); background: var(--background-deep); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
footer a { color: #79a5ff; }

@media (max-width: 900px) {
  .site-header { padding: 0 22px; }
  .wordmark { font-size: 15px; letter-spacing: .2em; }
  nav { gap: 18px; }
  nav a { font-size: 8px; }
  .hero { min-height: 600px; }
  .hero-copy { width: auto; margin: 0 7%; padding-top: 120px; }
  .books-grid { grid-template-columns: repeat(3, 1fr); }
  .series-code { display: none; }
  .series-summary { width: 42%; }
  .about-grid { grid-template-columns: 210px 1fr; gap: 7%; }
  .author-photo { width: 210px; height: 210px; }
  .about-copy { grid-column: 2; }
  .map-section { grid-template-columns: 1fr; }
  .map-visual { height: 380px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 64px; }
  .site-header { min-height: 64px; height: auto; }
  .wordmark { font-size: 13px; }
  .menu-button { display: grid; width: 48px; height: 42px; padding: 9px; border: 1px solid rgba(11,85,232,.28); color: var(--blue); background: transparent; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
  .menu-button i { display: block; height: 1px; background: var(--blue); }
  nav { position: absolute; left: 0; right: 0; top: 64px; display: none; grid-template-columns: 1fr; gap: 0; padding: 10px 22px 16px; border-bottom: 1px solid var(--line); background: rgba(17,21,28,.98); }
  nav.open { display: grid; }
  nav a { padding: 13px 0; font-size: 8px; letter-spacing: .16em; white-space: nowrap; }
  nav a + a { border-top: 1px solid var(--line); }
  .hero { min-height: auto; }
  .hero-copy { margin: 0 22px; padding: 66px 0 58px; }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  h1 { margin-bottom: 20px; font-size: 52px; }
  .dek { font-size: 14px; line-height: 1.55; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 26px; }
  .button { width: 100%; }
  .coordinates { display: none; }
  .section { padding: 60px 22px; }
  .section-heading h2 { letter-spacing: .08em; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 22px; }
  .series-count { margin-left: 0; }
  .series-summary { width: 100%; max-width: 520px; font-size: 11px; }
  .books-grid { grid-template-columns: 1fr 1fr; gap: 28px 15px; }
  .book-card:last-child { grid-column: 1 / -1; width: calc(50% - 8px); }
  #books .book-card:nth-child(3),
  #books .book-card:nth-child(4) { overflow: hidden; }
  #books .book-card:nth-child(3) .cover,
  #books .book-card:nth-child(4) .cover { height: 142px; aspect-ratio: auto; }
  #books .book-card:nth-child(3) .cover::after,
  #books .book-card:nth-child(4) .cover::after {
    content: ''; position: absolute; inset: 42% 0 0; z-index: 3;
    background: linear-gradient(rgba(20,27,40,.08), rgba(20,27,40,.72));
    backdrop-filter: blur(7px);
  }
  #books .book-card:nth-child(3) > p,
  #books .book-card:nth-child(3) > h3,
  #books .book-card:nth-child(3) > .status,
  #books .book-card:nth-child(4) > p,
  #books .book-card:nth-child(4) > h3,
  #books .book-card:nth-child(4) > .status { display: none; }
  #books .book-card:nth-child(5) { display: none; }
  .worlds-grid, .about-grid { grid-template-columns: 1fr; }
  .worlds-grid article { min-height: 330px; }
  .map-section { padding-inline: 22px; }
  .map-visual { height: 300px; }
  .about-section { padding-top: 46px; padding-bottom: 44px; }
  .about-section > .eyebrow { margin-bottom: 18px; }
  .about-grid { gap: 18px; }
  .author-photo { width: 165px; height: 165px; }
  .about-grid h2 { font-size: 42px; line-height: 1; }
  .about-grid p { margin-bottom: 13px; font-size: 16px; line-height: 1.55; }
  .about-copy { grid-column: 1; }
  .world-link { display: block; margin: 14px 0 0; white-space: normal; }
  .updates-section { padding: 56px 22px 50px; }
  .updates-section .eyebrow { margin-bottom: 18px; }
  .updates-section h2 { margin-bottom: 20px; font-size: 42px; line-height: 1; }
  .updates-section > p:not(.eyebrow) { margin-bottom: 22px; line-height: 1.55; }
  .updates-section small { margin-top: 12px; }
  footer { padding: 25px 22px; gap: 20px; }
}

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