:root {
  --night: #050d18;
  --navy: #07172b;
  --navy-2: #0d2847;
  --ink: #dce9f7;
  --muted: #93a9c2;
  --gold: #f3c55f;
  --gold-2: #ffd982;
  --teal: #3ab7ad;
  --line: rgba(244, 200, 106, .22);
  --panel: rgba(9, 28, 51, .78);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 4%, rgba(33, 92, 141, .28), transparent 30rem),
    radial-gradient(circle at 10% 52%, rgba(20, 102, 98, .12), transparent 26rem),
    var(--night);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image: radial-gradient(rgba(255,255,255,.7) .55px, transparent .7px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 20; background: white; color: black; padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.3rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); box-shadow: 0 0 30px rgba(243,197,95,.2); }
.brand strong { display: block; font: 700 1.4rem/1 var(--serif); color: white; letter-spacing: .025em; }
.brand small { display: block; margin-top: .35rem; color: var(--muted); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.site-header > nav { display: flex; gap: 1.65rem; }
.site-header > nav a { text-decoration: none; font-weight: 700; font-size: .91rem; color: #b7c9dd; }
.site-header > nav a:hover, .site-header > nav a:focus-visible { color: var(--gold-2); }

.hero {
  min-height: calc(100vh - 86px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 2rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  overflow: hidden;
}
.eyebrow { margin: 0 0 .8rem; color: var(--gold-2); font-weight: 800; font-size: .77rem; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); color: white; line-height: .98; text-wrap: balance; }
h1 { max-width: 720px; font-size: clamp(3.5rem, 7vw, 6.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -.025em; }
h3 { font-size: clamp(2.1rem, 4vw, 3.35rem); }
.hero-text { max-width: 650px; margin: 1.6rem 0 2rem; color: #b9cadc; font-size: clamp(1.08rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .75rem 1.25rem; border-radius: .4rem; text-decoration: none; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #171104; background: linear-gradient(135deg, var(--gold-2), #d79b2f); box-shadow: 0 14px 40px rgba(216,156,48,.17); }
.button-secondary { color: #dce9f7; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.035); }
.reader-promise { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.1rem; color: var(--muted); font-size: .83rem; font-weight: 700; }
.reader-promise span::before { content: "✦"; color: var(--gold); margin-right: .45rem; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 610px; }
.hero-cover { position: relative; z-index: 2; width: min(385px, 78vw); margin: 0; transform: rotate(1.4deg); filter: drop-shadow(0 34px 42px rgba(0,0,0,.58)); }
.hero-cover::before { content: ""; position: absolute; inset: -1rem; z-index: -1; border: 1px solid rgba(243,197,95,.28); border-radius: .8rem; transform: rotate(-3deg); }
.hero-cover img { width: 100%; border: 1px solid rgba(243,197,95,.48); border-radius: .35rem; }
.hero-cover figcaption { position: absolute; left: -1.8rem; bottom: 1.5rem; display: grid; max-width: 220px; padding: .8rem 1rem; color: #07101d; background: var(--gold-2); box-shadow: 0 14px 30px rgba(0,0,0,.38); transform: rotate(-3deg); line-height: 1.25; }
.hero-cover figcaption strong { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-cover figcaption span { margin-top: .2rem; font-size: .77rem; font-weight: 750; }
.glow { position: absolute; border-radius: 50%; filter: blur(4px); }
.glow-one { width: 430px; height: 430px; background: radial-gradient(circle, rgba(244,196,89,.29), rgba(244,196,89,.03) 55%, transparent 70%); }
.glow-two { width: 620px; height: 620px; border: 1px solid rgba(244,196,89,.12); box-shadow: inset 0 0 80px rgba(32,128,124,.1); }
.release-note { position: absolute; z-index: 3; right: -1rem; bottom: 4.5rem; width: 156px; padding: .85rem 1rem; color: #07101d; background: var(--gold-2); box-shadow: 0 15px 35px rgba(0,0,0,.32); transform: rotate(-2deg); }
.release-note strong, .release-note span { display: block; }
.release-note strong { font-size: 1.12rem; }
.release-note span { font-size: .76rem; font-weight: 700; }

.section { max-width: 1240px; margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 2rem; }
.section-heading { max-width: 810px; margin-bottom: 3rem; }
.world-card { position: relative; display: grid; grid-template-columns: 1fr .72fr; gap: 3rem; align-items: center; min-height: 460px; margin-bottom: 1.5rem; padding: clamp(2rem, 5vw, 4.5rem); overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(135deg, rgba(18,49,82,.84), rgba(5,17,31,.88)); box-shadow: 0 25px 80px rgba(0,0,0,.24); }
.world-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 18%, rgba(243,197,95,.18), transparent 32%); }
.world-number { position: absolute; right: 2rem; top: .2rem; font: 700 8rem/1 var(--serif); color: rgba(255,255,255,.035); }
.world-copy { position: relative; z-index: 2; }
.series-label { margin: 0 0 .65rem; color: var(--gold-2); font-weight: 800; }
.world-copy > p:not(.series-label) { max-width: 670px; color: #b7c9da; font-size: 1.05rem; }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.tags li { padding: .4rem .7rem; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; color: #b9cce0; font-size: .76rem; font-weight: 800; }
.text-link { display: inline-flex; gap: .55rem; align-items: center; color: var(--gold-2); font-weight: 800; text-decoration: none; }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform .2s; }
.world-symbol { position: relative; z-index: 2; display: grid; place-items: center; gap: 1.4rem; min-height: 280px; color: var(--gold); text-align: center; }
.world-symbol span { display: grid; place-items: center; width: 180px; height: 180px; border: 1px solid rgba(243,197,95,.42); border-radius: 50%; font-size: 3.7rem; box-shadow: 0 0 0 20px rgba(243,197,95,.025), 0 0 70px rgba(243,197,95,.12); }
.world-symbol small { max-width: 260px; color: var(--muted); font-size: .75rem; letter-spacing: .08em; }
.series-shelf { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem .75rem; align-items: end; padding: 1rem 0; }
.series-shelf::before { content: ""; position: absolute; inset: 5% -5% 8%; z-index: -1; background: radial-gradient(circle, rgba(243,197,95,.2), transparent 68%); filter: blur(8px); }
.series-book { min-width: 0; margin: 0; text-align: center; }
.series-book-start .cover-frame { border-color: rgba(255,217,130,.88); box-shadow: 0 22px 38px rgba(0,0,0,.55), 0 0 28px rgba(243,197,95,.14); }
.series-book-preview { opacity: .82; }
.cover-frame { aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid rgba(243,197,95,.42); border-radius: .35rem; background: #07172b; box-shadow: 0 26px 45px rgba(0,0,0,.54); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; }
.series-book figcaption { display: grid; gap: .05rem; margin-top: .55rem; color: var(--muted); font-size: .75rem; line-height: 1.3; }
.series-book figcaption strong { color: var(--gold-2); font-size: .77rem; text-transform: uppercase; letter-spacing: .09em; }
.world-lea { background: linear-gradient(135deg, rgba(9,55,67,.85), rgba(5,17,31,.91)); }
.cover-small { position: relative; z-index: 2; width: min(270px, 68vw); margin: 0 auto; transform: rotate(2.5deg); filter: drop-shadow(0 25px 30px rgba(0,0,0,.52)); }
.cover-small img { border-radius: 4px; }

.author { display: grid; grid-template-columns: .4fr 1fr; gap: 1rem 4rem; align-items: start; border-top: 1px solid rgba(255,255,255,.08); }
.author-portrait { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 25px 60px rgba(0,0,0,.32); }
.author-portrait::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(4,13,24,.28); pointer-events: none; }
.author-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.author-copy p:not(.eyebrow) { max-width: 760px; color: #b7c9da; font-size: 1.05rem; }
blockquote { grid-column: 2; margin: 2rem 0 0; padding: 1.5rem 0 0 1.5rem; border-left: 2px solid var(--gold); color: white; font: 600 clamp(1.6rem, 3vw, 2.5rem)/1.15 var(--serif); }

.instagram { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; border-top: 1px solid rgba(255,255,255,.08); }
.insta-copy p:not(.eyebrow) { color: #b7c9da; }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .55rem .85rem; border: 1px solid rgba(58,183,173,.42); border-radius: 99px; color: #8ae4dc; font-size: .78rem; font-weight: 800; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.status-pill:hover { transform: translateY(-2px); border-color: rgba(58,183,173,.8); background: rgba(58,183,173,.1); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.story-grid div { aspect-ratio: .78; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem; border: 1px solid rgba(255,255,255,.12); border-radius: .8rem; background: linear-gradient(to top, rgba(5,13,24,.98), rgba(15,54,83,.46)), radial-gradient(circle at 50% 20%, rgba(243,197,95,.2), transparent 37%); }
.story-grid span { margin: auto; color: var(--gold); font: 700 3.2rem/1 var(--serif); }
.story-grid strong { color: white; line-height: 1.2; }
.story-grid small { margin-top: .4rem; color: var(--muted); line-height: 1.35; }

.final-cta { max-width: 100%; text-align: center; background: linear-gradient(135deg, rgba(13,51,81,.72), rgba(8,76,71,.34)); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.final-cta h2 { margin-bottom: 2rem; }
footer { max-width: 1240px; margin: 0 auto; padding: 2.2rem 2rem 3rem; display: flex; justify-content: space-between; gap: 2rem; color: #738aa3; font-size: .78rem; }
footer strong, footer span { display: block; }
footer strong { color: #c5d3e3; font: 700 1.2rem var(--serif); }
footer p { max-width: 520px; text-align: right; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.footer-meta p { margin: 0; }
.legal-nav { display: flex; justify-content: flex-end; gap: 1.2rem; }
.legal-nav a { color: #a9bdd2; font-size: .82rem; text-decoration: underline; text-decoration-color: rgba(169,189,210,.35); text-underline-offset: .24em; }
.legal-nav a:hover, .legal-nav a:focus-visible, .legal-nav a[aria-current="page"] { color: var(--gold-2); }

.legal-header { position: sticky; top: 0; max-width: none; padding-left: max(2rem, calc((100vw - 1240px) / 2 + 2rem)); padding-right: max(2rem, calc((100vw - 1240px) / 2 + 2rem)); background: rgba(5,13,24,.92); backdrop-filter: blur(18px); }
.legal-page { max-width: 960px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 2rem clamp(5rem, 10vw, 9rem); }
.legal-intro { padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.legal-intro h1 { font-size: clamp(3.4rem, 8vw, 6rem); }
.legal-intro > p:last-child { max-width: 720px; margin: 1.35rem 0 0; color: #b7c9da; font-size: 1.08rem; }
.legal-content { max-width: 780px; padding-top: 1rem; }
.legal-content section { padding: 2.1rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-content h2 { margin-bottom: 1rem; font-family: var(--sans); font-size: 1.35rem; line-height: 1.25; letter-spacing: 0; }
.legal-content p { margin: .7rem 0 0; color: #b7c9da; }
.legal-content address { color: #d4e2ef; font-style: normal; }
.legal-content a { color: var(--gold-2); text-underline-offset: .2em; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .site-header > nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-art { min-height: 520px; }
  .release-note { right: 1rem; }
  .world-card, .instagram { grid-template-columns: 1fr; }
  .world-symbol { min-height: 220px; }
  .world-symbol span { width: 140px; height: 140px; }
  .series-shelf { width: 100%; max-width: 590px; margin: 0 auto; }
  .story-grid { max-width: 680px; }
}

@media (max-width: 640px) {
  .site-header { padding: 1rem 1.1rem; }
  .brand small { display: none; }
  .hero, .section { padding-left: 1.1rem; padding-right: 1.1rem; }
  .hero { min-height: auto; }
  h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-art { min-height: auto; padding: 1rem 0 4rem; }
  .hero-cover { width: min(320px, 78vw); }
  .hero-cover figcaption { left: -.5rem; bottom: 1rem; max-width: 185px; }
  .release-note { right: 0; bottom: .25rem; width: 142px; }
  .world-card { padding: 2rem 1.35rem; }
  .author { grid-template-columns: 1fr; }
  .author-portrait { max-width: 360px; }
  blockquote { grid-column: 1; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid div { aspect-ratio: 1.55; }
  footer { flex-direction: column; }
  footer p { text-align: left; }
  .footer-meta { align-items: flex-start; }
  .legal-nav { display: flex; justify-content: flex-start; }
  .legal-header { position: relative; padding-left: 1.1rem; padding-right: 1.1rem; }
  .legal-page { padding-left: 1.1rem; padding-right: 1.1rem; }
}

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