@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --ink: #06111c;
  --ink-soft: #122333;
  --ice: #3ec6ff;
  --ice-deep: #087eaf;
  --mist: #eaf5fa;
  --white: #ffffff;
  --muted: #9eb3c1;
  --line: rgba(255, 255, 255, .14);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f7fbfd; font-family: var(--body); font-size: 1rem; line-height: 1.7; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.launch-bar { position: fixed; inset: 0 0 auto 0; z-index: 30; min-height: 38px; display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .45rem 1rem; color: #d9ebf4; background: #02080d; border-bottom: 1px solid rgba(62,198,255,.25); font-size: .76rem; letter-spacing: .025em; text-align: center; }
.launch-bar strong { color: white; }
.launch-bar a { margin-left: .45rem; color: var(--ice); font-weight: 700; text-underline-offset: 3px; }
.launch-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 14px rgba(62,198,255,.8); }
.site-header { position: fixed; inset: 38px 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 78px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); color: white; transition: background .35s, height .35s, box-shadow .35s; }
.site-header.scrolled { height: 66px; background: rgba(4, 13, 22, .9); box-shadow: 0 12px 30px rgba(0,0,0,.18); backdrop-filter: blur(15px); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-family: var(--display); font-size: 1.25rem; line-height: 1; }
.brand b { font-weight: 700; color: var(--ice); }
.brand-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: var(--ice); font-size: .82rem; letter-spacing: 0; }
.site-nav { display: flex; gap: 2rem; }
.site-nav a { position: relative; color: rgba(255,255,255,.82); text-decoration: none; font-size: .88rem; font-weight: 600; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.4rem; height: 2px; background: var(--ice); transition: right .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-button { display: none; border: 0; background: transparent; padding: .5rem; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: white; }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); align-items: center; gap: 3rem; overflow: hidden; padding: 9.5rem clamp(1.25rem, 8vw, 9rem) 5rem; color: white; background: radial-gradient(circle at 73% 47%, rgba(26,156,212,.25), transparent 28%), linear-gradient(120deg, #03090f 4%, #071827 58%, #0b2231 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,9,15,.98), rgba(3,9,15,.6) 48%, rgba(3,9,15,.14)), url("assets/cover-spread.webp") center / cover; opacity: .18; filter: grayscale(1) contrast(1.2); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 84%); }
.hero-copy, .book-stage, .scroll-cue { position: relative; z-index: 2; }
.hero-copy { max-width: 730px; }
.eyebrow { margin: 0 0 1.15rem; color: var(--ice); font-size: .77rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.release-label { display: inline-flex; margin: 0 0 1rem; padding: .45rem .7rem; border: 1px solid rgba(62,198,255,.38); color: #d9f4ff; background: rgba(62,198,255,.08); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--display); text-transform: uppercase; line-height: .9; }
h1 { font-size: clamp(4.4rem, 10vw, 9.5rem); letter-spacing: -.045em; }
h1 span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.hero-intro { max-width: 570px; margin: 1.8rem 0 2rem; color: #d4e1e8; font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.45rem; border: 1px solid transparent; text-decoration: none; font-size: .86rem; font-weight: 700; letter-spacing: .04em; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #03111b; background: var(--ice); box-shadow: 0 12px 34px rgba(62,198,255,.2); }
.text-link { color: white; text-decoration: none; font-size: .9rem; font-weight: 600; }
.text-link span { display: inline-block; margin-left: .35rem; color: var(--ice); transition: transform .2s; }
.text-link:hover span { transform: translateY(4px); }
.book-stage { justify-self: center; width: min(31vw, 380px); perspective: 1000px; }
.book-stage img { position: relative; z-index: 2; width: 100%; border-radius: 2px 7px 7px 2px; box-shadow: -16px 18px 45px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12); transform: rotateY(-7deg) rotateZ(1.2deg); }
.book-stage::before { content: ""; position: absolute; z-index: 3; inset: 0 auto 0 3px; width: 8px; background: linear-gradient(90deg, rgba(0,0,0,.42), rgba(255,255,255,.18), transparent); transform: rotateY(-7deg) rotateZ(1.2deg); border-radius: 2px; }
.book-glow { position: absolute; inset: 12% -15%; border-radius: 50%; background: rgba(21,162,220,.32); filter: blur(70px); }
.book-stage p { position: relative; z-index: 3; margin: 1.3rem 0 0; color: var(--muted); text-align: center; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue { position: absolute; left: clamp(1.25rem, 4vw, 4.5rem); bottom: 1.6rem; display: flex; gap: .75rem; align-items: center; color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue span { width: 34px; height: 1px; background: var(--ice); }

.section-pad { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem); }
.story { position: relative; overflow: hidden; background: #f7fbfd; }
.section-number { position: absolute; right: 5vw; top: 2.5rem; color: rgba(7,17,28,.045); font-family: var(--display); font-weight: 800; font-size: clamp(8rem, 18vw, 16rem); line-height: 1; }
.story-heading { position: relative; max-width: 950px; }
h2 { color: var(--ink); font-size: clamp(3.1rem, 6.2vw, 6.6rem); letter-spacing: -.025em; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; margin-top: clamp(3rem, 6vw, 6rem); }
.story-copy { max-width: 710px; }
.story-copy p { color: #425565; }
.lead { color: var(--ink) !important; font-size: clamp(1.15rem, 1.75vw, 1.45rem); line-height: 1.6; }
.book-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 2rem; border-top: 1px solid #cddce4; margin-top: 2.4rem; }
.book-facts div { display: grid; gap: .1rem; }
.book-facts dt { color: #748896; font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; }
.book-facts dd { margin: 0; font-family: var(--display); font-size: 1.15rem; font-weight: 600; text-transform: uppercase; }
.quote-card { position: relative; margin: 0; padding: 3.8rem 2.7rem 2.7rem; color: white; background: var(--ink-soft); box-shadow: 18px 20px 0 #d7edf6; }
.quote-card::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(62,198,255,.25); transform: translate(-9px,-9px); pointer-events: none; }
.quote-mark { position: absolute; top: -.5rem; left: 1.5rem; color: var(--ice); font-family: Georgia, serif; font-size: 6rem; line-height: 1; }
.quote-card p { margin: 0; font-family: var(--display); font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; text-transform: uppercase; }
.quote-card footer { margin-top: 1.5rem; color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.realm { display: grid; grid-template-columns: 1fr 1fr; min-height: 740px; color: white; background: #06111c; }
.realm-image { min-height: 620px; background-image: linear-gradient(90deg, rgba(6,17,28,.05) 48%, #06111c 100%), url("assets/de-nieuwe-koning-cover.webp"); background-position: center, 67% 58%; background-size: cover, cover; background-repeat: no-repeat; filter: contrast(1.06); }
.realm-content { align-self: center; padding-left: clamp(2rem, 5vw, 6rem); }
.realm-content h2 { color: white; font-size: clamp(3rem, 5.4vw, 5.7rem); }
.realm-content > p:not(.eyebrow) { max-width: 670px; color: #b9cbd5; }
.series-badge { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: .9rem 1.2rem; border: 1px solid var(--line); }
.series-badge > span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ice); border-radius: 50%; color: var(--ice); font-family: var(--display); font-size: 1.5rem; }
.series-badge div { display: grid; }
.series-badge strong { font-family: var(--display); font-size: 1.18rem; letter-spacing: .06em; text-transform: uppercase; }
.series-badge small { color: var(--muted); }

.author { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(3rem, 9vw, 10rem); background: white; }
.author-title h2 { font-size: clamp(4rem, 8vw, 8rem); }
.author-copy { max-width: 720px; border-left: 1px solid #d8e5eb; padding-left: clamp(1.6rem, 4vw, 4rem); }
.author-copy p:not(.lead) { color: #526573; }

.release { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 10rem); align-items: start; color: white; background: linear-gradient(135deg, #07111c 0%, #0a2131 100%); }
.release-kicker { position: sticky; top: 9rem; display: grid; width: min-content; padding-left: 1.35rem; border-left: 3px solid var(--ice); font-family: var(--display); line-height: .85; text-transform: uppercase; }
.release-month { color: white; font-size: clamp(3.4rem, 7vw, 7rem); font-weight: 700; }
.release-year { color: transparent; -webkit-text-stroke: 1px rgba(62,198,255,.75); font-size: clamp(4.5rem, 9vw, 9rem); font-weight: 800; }
.release-copy { max-width: 820px; }
.release-copy h2 { color: white; }
.release-copy .lead { margin-top: 2rem; color: white !important; }
.release-copy > p:not(.eyebrow):not(.lead) { color: #b9cbd5; }
.release-status { display: inline-flex; align-items: center; gap: .7rem; margin: 1rem 0 2.5rem; padding: .7rem 1rem; border: 1px solid rgba(62,198,255,.3); color: #dff6ff; font-size: .82rem; letter-spacing: .04em; }
.release-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 13px rgba(62,198,255,.7); }
.release-details { display: grid; grid-template-columns: 1.25fr .8fr .8fr; gap: 1rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.release-details div { display: grid; gap: .2rem; }
.release-details dt { color: var(--muted); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.release-details dd { margin: 0; font-family: var(--display); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; }

.closing { position: relative; min-height: 640px; display: grid; place-items: center; overflow: hidden; padding: 5rem 1.25rem; text-align: center; color: white; background: #07111c; }
.closing::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(2,8,14,.68), rgba(2,8,14,.92)), url("assets/cover-spread.webp") center 33% / cover; filter: grayscale(.65); transform: scale(1.03); }
.closing-copy { position: relative; z-index: 1; max-width: 900px; }
.closing h2 { color: white; }
.closing p:not(.eyebrow) { margin: 1.5rem 0 2rem; color: #c4d3db; }
.button-light { color: var(--ink); background: white; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2rem clamp(1.25rem, 4vw, 4.5rem); color: #a8bbc7; background: #02070c; font-size: .76rem; }
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }

@media (max-width: 900px) {
  .site-header { height: 66px; }
  .menu-button { position: relative; z-index: 2; display: block; }
  .site-nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 2.2rem; visibility: hidden; opacity: 0; background: rgba(3,10,17,.97); transition: opacity .25s, visibility .25s; }
  .site-nav.open { visibility: visible; opacity: 1; }
  .site-nav a { font-family: var(--display); font-size: 2.2rem; text-transform: uppercase; }
  .hero { grid-template-columns: 1fr .62fr; gap: 1.5rem; padding-top: 8rem; }
  .story-grid { grid-template-columns: 1fr; }
  .quote-card { max-width: 520px; }
  .realm { grid-template-columns: 1fr; }
  .realm-image { min-height: 500px; background-position: center, 67% 58%; }
  .author { grid-template-columns: 1fr; gap: 2.5rem; }
  .author-copy { padding-left: 0; border-left: 0; }
  .release { grid-template-columns: 1fr; gap: 3rem; }
  .release-kicker { position: static; }
}

@media (max-width: 640px) {
  .launch-bar { min-height: 56px; flex-wrap: wrap; gap: .2rem .4rem; padding: .45rem .8rem; line-height: 1.25; }
  .launch-bar a { width: 100%; margin: 0; }
  .site-header { inset-block-start: 56px; }
  .hero { grid-template-columns: 1fr; align-content: center; gap: 2.8rem; min-height: auto; padding-top: 10rem; }
  .hero-copy { text-align: left; }
  h1 { font-size: clamp(4.1rem, 23vw, 6.4rem); }
  .book-stage { width: min(66vw, 320px); }
  .scroll-cue { display: none; }
  .book-facts { grid-template-columns: 1fr; }
  .release-details { grid-template-columns: 1fr; }
  .realm-image { min-height: 420px; background-position: center, 66% 58%; }
  .site-footer { flex-direction: column; text-align: center; }
}

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