:root {
  --black: #000;
  --white: #fff;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, 0.18);
  --orange: #ff6a00;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
.page-pad { padding-left: clamp(24px, 4.2vw, 72px); padding-right: clamp(24px, 4.2vw, 72px); }

#book-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 800ms ease;
}
#book-canvas.ready { opacity: 1; }

.liquid-glass {
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.1) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.1) 80%, rgba(255,255,255,.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero { min-height: 100svh; position: relative; overflow: hidden; background: #000; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.site-header { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; padding-top: 24px; }
.nav { height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; padding: 8px 9px 8px 16px; }
.logo { display: flex; width: 128px; height: 38px; overflow: hidden; align-items: center; }
.logo img, .footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 13px; color: #fff; transition: color 200ms ease; }
.nav-links a:hover { color: #d1d1d1; }
.nav-cta { padding: 12px 22px; background: #fff; color: #000; border-radius: 9px; text-decoration: none; font-size: 13px; font-weight: 500; transition: background 200ms ease, transform 200ms ease; }
.nav-cta:hover, .button-light:hover { background: #ececec; transform: translateY(-1px); }

.hero-content { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; position: relative; z-index: 4; padding-bottom: clamp(28px, 4vw, 58px); padding-top: 110px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; }
.hero-copy { max-width: 850px; }
.animated-heading { margin: 0 0 18px; font-size: clamp(44px, 6.2vw, 92px); line-height: .98; letter-spacing: -.06em; font-weight: 400; text-wrap: balance; text-shadow: 0 2px 20px rgba(0,0,0,.22); }
.animated-heading .line { display: block; }
.animated-heading .word { display: inline-block; white-space: nowrap; }
.animated-heading .space { display: inline-block; }
.animated-heading .char { display: inline-block; opacity: 0; transform: translateX(-18px); transition: opacity 500ms ease, transform 500ms cubic-bezier(.2,.75,.2,1); }
.animated-heading.is-visible .char { opacity: 1; transform: translateX(0); }
.hero-sub { margin: 0 0 22px; color: #d2d2d2; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; text-shadow: 0 2px 18px #000; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 500; transition: color 200ms ease, background 200ms ease, transform 200ms ease; }
.button-light { background: #fff; color: #000; }
.button-glass { color: #fff; }
.button-glass:hover { color: #000; background: #fff; }
.hero-tag-wrap { display: flex; justify-content: flex-end; align-items: flex-end; padding-bottom: 2px; }
.hero-tag { border-radius: 13px; padding: 18px 24px; font-size: clamp(16px, 1.65vw, 25px); font-weight: 300; white-space: nowrap; }
.fade-in { opacity: 0; transition-property: opacity; transition-timing-function: ease; }
.fade-in.is-visible { opacity: 1; }

.launch-rail { margin-top: clamp(32px, 5.5vh, 72px); border-top: 1px solid rgba(255,255,255,.42); padding-top: 20px; display: grid; grid-template-columns: 1.7fr .8fr 1px .8fr 1px .8fr 1px .8fr; align-items: center; gap: 26px; }
.launch-label { display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .17em; font-size: 10px; }
.launch-label span { width: 24px; height: 3px; background: var(--orange); border-radius: 2px; }
.time-unit { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.time-unit strong { font-weight: 300; font-size: 24px; min-width: 34px; }
.time-unit span { color: #a8a8a8; text-transform: uppercase; letter-spacing: .14em; font-size: 8px; }
.launch-rail > i { width: 1px; height: 11px; background: rgba(255,255,255,.22); }

.collection { position: relative; min-height: 410vh; background: #020202; z-index: 1; }
.collection-intro { height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: 760px; position: relative; z-index: 4; }
.section-kicker { margin: 0 0 22px; color: #8d8d8d; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 500; }
.collection-intro h2, .writers h2, .teams h2, .launch h2 { margin: 0; font-size: clamp(50px, 7vw, 108px); line-height: .95; font-weight: 400; letter-spacing: -.06em; }
.collection-intro > p:last-child { max-width: 520px; margin-top: 30px; color: #929292; font-size: 16px; line-height: 1.65; }
.book-chapter { height: 100vh; position: relative; z-index: 4; display: flex; align-items: center; }
.chapter-copy { width: 100%; pointer-events: none; }
.chapter-copy > * { pointer-events: auto; }
.chapter-index { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; color: #8c8c8c; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; }
.chapter-index span { width: 40px; height: 1px; background: #555; }
.chapter-copy h3 { margin: 0; font-size: clamp(54px, 7.4vw, 112px); line-height: .9; letter-spacing: -.07em; font-weight: 400; max-width: 620px; }
.chapter-copy > p { margin: 28px 0; color: #aaa; line-height: 1.6; max-width: 410px; }
.chapter-copy a, .text-link { width: max-content; display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.chapter-copy a { font-size: 13px; }
.link-label { padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.premium-arrow { width: 17px; height: 17px; flex: 0 0 17px; overflow: visible; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; transition: transform 280ms cubic-bezier(.2,.75,.2,1), opacity 200ms ease; }
.chapter-copy a:hover .premium-arrow, .text-link:hover .premium-arrow { transform: translate(3px, -3px); }
.chapter-copy a:focus-visible, .text-link:focus-visible { outline: 2px solid currentColor; outline-offset: 7px; border-radius: 2px; }
.align-right .chapter-copy { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.align-right .chapter-index { flex-direction: row-reverse; }

.writers { min-height: 100vh; background: #f5f5f3; color: #0b0b0b; position: relative; z-index: 5; display: grid; grid-template-columns: .9fr 1.1fr; }
.writers-image { min-height: 760px; background: url('/img/books/the-school-of-life.jpg') center 46% / cover no-repeat; clip-path: inset(7% 7% 7% 7% round 4px); }
.writers-copy { display: flex; flex-direction: column; justify-content: center; padding: 9vw 8vw 9vw 4vw; }
.writers h2 { font-size: clamp(48px, 5.6vw, 88px); }
.writers-copy > p:not(.section-kicker) { max-width: 650px; color: #555; line-height: 1.7; font-size: 16px; margin: 32px 0; }
.text-link { color: #000; font-size: 14px; }

.teams { min-height: 100vh; background: #090909; position: relative; z-index: 5; padding: 13vh 0 10vh; }
.teams-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.teams-top .section-kicker { max-width: 220px; margin-top: 10px; }
.teams h2 { font-size: clamp(52px, 7vw, 108px); text-align: right; }
.service-rail { margin-top: 13vh; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.service-rail > div { border-top: 1px solid #363636; padding: 21px 30px 0 0; min-height: 210px; }
.service-rail > div + div { padding-left: 30px; border-left: 1px solid #262626; }
.service-rail b { color: #666; font-size: 10px; font-weight: 400; }
.service-rail span { display: block; font-size: 28px; letter-spacing: -.04em; margin: 50px 0 12px; }
.service-rail p { color: #777; font-size: 13px; line-height: 1.55; max-width: 220px; }

.launch { min-height: 92vh; background: #f3f2ef; color: #050505; position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.launch > img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 30px; }
.launch > p { text-transform: uppercase; letter-spacing: .18em; font-size: 10px; color: #666; margin: 0 0 28px; }
.launch h2 { font-size: clamp(52px, 7vw, 110px); max-width: 1100px; }
.launch .button { margin-top: 42px; background: #000; color: #fff; }

.book-wave { min-height: 100svh; background: #020202; position: relative; z-index: 5; overflow: hidden; isolation: isolate; }
.book-wave-copy { position: relative; z-index: 3; text-align: center; padding-top: clamp(76px, 10vh, 118px); }
.book-wave-copy .section-kicker { margin-bottom: 24px; }
.book-wave-copy h2 { margin: 0 auto; max-width: 1100px; font-size: clamp(50px, 6.4vw, 98px); line-height: .95; font-weight: 400; letter-spacing: -.065em; }
.book-wave-copy > p:last-child { margin: 26px auto 0; max-width: 530px; color: #848484; font-size: 15px; line-height: 1.65; }
#wave-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 900ms ease; }
#wave-canvas.ready { opacity: 1; }
.wave-floor { position: absolute; z-index: 1; left: 5vw; right: 5vw; bottom: 13%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15) 18%, rgba(255,255,255,.15) 82%, transparent); }
.wave-floor::after { content: ''; position: absolute; left: 10%; right: 10%; top: -36px; height: 72px; background: radial-gradient(ellipse at center, rgba(255,255,255,.06), transparent 70%); filter: blur(16px); }

footer { background: #000; position: relative; z-index: 5; }
.footer-main { min-height: 300px; display: grid; grid-template-columns: 1.1fr 1.5fr 1fr; gap: 8vw; align-items: start; padding-top: 70px; padding-bottom: 60px; }
.footer-logo { display: block; width: 142px; height: 42px; }
.footer-main > p { margin: 5px 0 0; max-width: 440px; color: #7d7d7d; line-height: 1.7; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.footer-links a { text-decoration: none; font-size: 13px; color: #d2d2d2; }
.footer-base { border-top: 1px solid #242424; min-height: 80px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: #606060; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.footer-domain { text-align: center; text-decoration: none; }
.footer-base > div { display: flex; justify-content: flex-end; gap: 24px; }
.footer-base a { text-decoration: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .logo { width: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-tag-wrap { justify-content: flex-start; margin-top: 20px; }
  .animated-heading { font-size: clamp(48px, 10vw, 76px); }
  .launch-rail { grid-template-columns: 1.2fr repeat(4, .6fr); gap: 12px; }
  .launch-rail > i { display: none; }
  .time-unit { flex-direction: column; gap: 3px; align-items: center; }
  .collection-intro { max-width: 540px; }
  .chapter-copy h3 { max-width: 56vw; }
  .writers { grid-template-columns: 1fr; }
  .writers-image { min-height: 70vh; }
  .writers-copy { padding: 12vh 7vw; }
  .teams-top { flex-direction: column; }
  .teams h2 { text-align: left; }
  .service-rail { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1.5fr; }
  .footer-links { grid-column: 1 / -1; }
  .book-wave { min-height: 900px; }
  .book-wave-copy h2 { font-size: clamp(50px, 9vw, 76px); }
  .wave-floor { bottom: 17%; }
}

@media (max-width: 560px) {
  .page-pad { padding-left: 18px; padding-right: 18px; }
  .site-header { padding-top: 14px; }
  .nav { height: 54px; border-radius: 12px; }
  .nav-cta { padding: 10px 14px; font-size: 11px; }
  .hero-content { padding-top: 92px; padding-bottom: 24px; }
  .hero-grid { gap: 0; padding-bottom: 70px; }
  .animated-heading { font-size: clamp(42px, 13vw, 58px); }
  .hero-sub { max-width: 280px; font-size: 14px; }
  .hero-tag-wrap { margin-top: 14px; }
  .hero-tag { padding: 13px 16px; font-size: 14px; }
  .launch-rail { position: absolute; left: 18px; right: 18px; bottom: 16px; margin-top: 0; padding-top: 11px; grid-template-columns: 1.2fr repeat(4, .72fr); gap: 5px; }
  .launch-label { gap: 7px; font-size: 7px; }
  .launch-label span { width: 12px; }
  .time-unit strong { font-size: 17px; min-width: 20px; }
  .time-unit span { font-size: 6px; }
  .collection-intro h2, .writers h2, .teams h2, .launch h2 { font-size: 47px; }
  .collection-intro { height: 90vh; }
  .collection { min-height: 390vh; }
  .book-chapter { height: 100vh; align-items: flex-end; padding-bottom: 9vh; }
  .chapter-copy h3 { font-size: 48px; max-width: 92vw; }
  .chapter-copy > p { max-width: 78vw; }
  .align-right .chapter-copy { align-items: flex-start; text-align: left; }
  .align-right .chapter-index { flex-direction: row; }
  .writers-image { min-height: 62vh; clip-path: inset(18px round 4px); }
  .service-rail { grid-template-columns: 1fr; margin-top: 70px; }
  .service-rail > div, .service-rail > div + div { min-height: 145px; border-left: 0; padding: 18px 0; }
  .service-rail span { margin: 24px 0 8px; }
  .launch { min-height: 80vh; }
  .book-wave { min-height: 780px; }
  .book-wave-copy { padding-top: 76px; }
  .book-wave-copy h2 { font-size: 44px; }
  .book-wave-copy > p:last-child { max-width: 310px; font-size: 13px; }
  .wave-floor { left: 0; right: 0; bottom: 15%; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { grid-column: auto; }
  .footer-base { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; padding-bottom: 24px; }
  .footer-domain { text-align: right; }
  .footer-base > div { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .animated-heading .char, .fade-in { opacity: 1; transform: none; }
  #wave-canvas { transition: none; }
}
