:root {
  --bg: #030711;
  --panel: rgba(8, 13, 29, 0.78);
  --panel-strong: rgba(7, 11, 24, 0.92);
  --line: rgba(112, 178, 255, 0.22);
  --line-hot: rgba(255, 145, 54, 0.38);
  --text: #f4f7ff;
  --muted: #a5b0ce;
  --faint: #6f7894;
  --blue: #67b7ff;
  --blue-2: #9bc8ff;
  --orange: #ff9c42;
  --green: #69ffb4;
  --violet: #b191ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 60% 10%, #132343 0%, #06101f 35%, #030711 80%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(103, 183, 255, 0.16), transparent 22%),
    radial-gradient(circle at 82% 23%, rgba(255, 156, 66, 0.13), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.86));
  pointer-events: none;
  z-index: -2;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  background-image: url("assets/images/book-site-concept-bg.png");
  background-size: cover;
  background-position: center top;
  transform: scale(1.03);
  /*
  opacity: 0.22;
  filter: blur(2px) saturate(0.85);
  transform: scale(1.03);
  */
  z-index: -4;
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 12%, rgba(103,183,255,0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 45% 72%, rgba(255,255,255,0.5) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 36%, rgba(255,156,66,0.55) 0 1px, transparent 2px);
  background-size: 260px 260px, 360px 360px, 420px 420px, 520px 520px;
  animation: starDrift 90s linear infinite;
}

@keyframes starDrift { to { transform: translate3d(-80px, -120px, 0); } }

.book-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 66px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: linear-gradient(180deg, rgba(2, 5, 12, 0.9), rgba(2, 5, 12, 0.52));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
}

.book-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand-main {
  font-size: clamp(18px, 2.3vw, 28px);
  letter-spacing: 0.12em;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(103,183,255,0.28);
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.book-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 38px);
}
.book-menu a {
  position: relative;
  color: rgba(230, 237, 255, 0.72);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  transition: color .2s ease;
}
.book-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transform: scaleX(.4);
  transition: .25s ease;
}
.book-menu a:hover,
.book-menu a.active { color: #fff; }
.book-menu a:hover::after,
.book-menu a.active::after { opacity: 1; transform: scaleX(1); }
.book-menu .book-link {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(103,183,255,0.28);
  color: var(--blue-2);
  background: rgba(103,183,255,0.04);
}
.book-menu .book-link::after { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(103,183,255,0.28);
  border-radius: 10px;
  background: rgba(8,13,29,0.7);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

main { padding-top: 66px; }
section { scroll-margin-top: 84px; }

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: clamp(46px, 8vw, 86px) clamp(18px, 7vw, 120px) 28px;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,7,17,0.97) 0%, rgba(3,7,17,0.74) 38%, rgba(3,7,17,0.26) 67%, rgba(3,7,17,0.8) 100%),
    radial-gradient(circle at 74% 28%, rgba(255,156,66,0.25), transparent 22%),
    radial-gradient(circle at 64% 58%, rgba(103,183,255,0.15), transparent 28%);
  z-index: -1;
}

.hero-shell {
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.hero-copy { max-width: 720px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(48px, 7.4vw, 92px);
  line-height: .96;
  letter-spacing: -0.045em;
  text-shadow: 0 18px 42px rgba(0,0,0,.65);
}
.hero h1 span { color: #6faaff; }
.hero-line {
  width: 72px;
  height: 4px;
  margin: 28px 0 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), transparent);
  box-shadow: 0 0 20px rgba(103,183,255,.7);
}
.hero p {
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  max-width: 650px;
}
.hero strong { color: var(--blue-2); font-weight: 650; }
.lede { color: #d8e1ff !important; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #07101e;
  background: linear-gradient(135deg, #9bd0ff, #3f83ff);
  box-shadow: 0 0 28px rgba(63,131,255,.36);
}
.btn-ghost {
  color: var(--blue-2);
  border: 1px solid rgba(103,183,255,.35);
  background: rgba(4,10,24,.65);
}
.btn-ghost:hover { box-shadow: 0 0 22px rgba(103,183,255,.18); }

.hero-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.hero-tag {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  min-width: 0;
}
.tag-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-2);
  border: 1px solid rgba(103,183,255,.32);
  background: rgba(8,13,29,.72);
  box-shadow: inset 0 0 18px rgba(103,183,255,.08);
}
.hero-tag b {
  display: block;
  color: #dfe8ff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  margin-bottom: 3px;
}
.hero-tag small { display: block; font-size: 12px; line-height: 1.25; color: var(--muted); }

.book-hero-card {
  justify-self: center;
  position: relative;
  width: min(390px, 100%);
  perspective: 1400px;
}
.book-cover-wrap {
  position: relative;
  border-radius: 12px;
  transform: rotateY(-7deg) rotateX(1.5deg);
  transform-origin: center;
  box-shadow: var(--shadow), 22px 18px 0 rgba(0,0,0,.42);
}
.book-cover-wrap::before {
  content: "";
  position: absolute;
  inset: -1px -4px -1px auto;
  width: 26px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, #101625, #010308 55%, #20293c);
  transform: translateX(22px) skewY(4deg);
  filter: brightness(.75);
}
.book-cover {
  display: block;
  width: 100%;
  aspect-ratio: 687 / 1024;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
}
.book-status {
  margin: 24px auto 0;
  width: 90%;
  padding: 14px 16px;
  border: 1px solid rgba(103,183,255,.25);
  background: rgba(5,10,22,.72);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(12px);
}
.book-status span,
.book-status small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
}
.book-status strong { display: block; margin: 6px 0; color: #fff; }

.feature-strip,
.panel-grid,
.crew-section,
.silence-band,
.timeline-section,
.excerpt-section {
  width: min(1420px, calc(100% - 36px));
  margin: 0 auto 22px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -28px;
  position: relative;
  z-index: 3;
}
.feature-tile {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  min-height: 120px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(8,13,29,.86), rgba(2,5,12,.72));
  color: var(--text);
  text-decoration: none;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 50px rgba(0,0,0,.32);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feature-tile:hover { transform: translateY(-4px); border-color: rgba(103,183,255,.54); box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 28px rgba(103,183,255,.12); }
.tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  background: rgba(255,255,255,.04);
  font-size: 22px;
}
.cyan .tile-icon { color: #58e3ff; }
.blue .tile-icon { color: #a9c5ff; }
.violet .tile-icon { color: var(--violet); }
.green .tile-icon { color: var(--green); }
.tile-text b {
  display: block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  margin-bottom: 9px;
}
.tile-text small { color: var(--muted); line-height: 1.45; }

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  padding-top: 28px;
}
.story-panel,
.crew-section,
.silence-band,
.timeline-section,
.excerpt-card,
.signup-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(8,13,29,.86), rgba(3,7,17,.72));
  box-shadow: 0 18px 60px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
}
.story-panel { min-height: 300px; padding: 26px; position: relative; overflow: hidden; }
.story-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent, var(--orange));
  opacity: .6;
}
.story-panel h2,
.section-heading h2,
.silence-copy h2,
.excerpt-card h2,
.signup-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  font-size: clamp(28px, 3vw, 42px);
}
.story-panel p,
.section-heading p,
.silence-copy p,
.excerpt-card p,
.signup-card p,
.icon-list {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}
.text-link {
  display: inline-block;
  color: var(--blue-2);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  margin-top: 12px;
}
.portrait-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  gap: 18px;
  align-items: end;
  padding-bottom: 0;
}
.portrait-panel img {
  align-self: stretch;
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: cover;
  object-position: 50% 14%;
  border-radius: 12px 12px 0 0;
  filter: saturate(.88) contrast(1.06);
}
.icon-list { padding-left: 20px; margin: 0; }
.icon-list li { margin-bottom: 12px; }
.icon-list li::marker { color: var(--orange); }

.crew-section { padding: clamp(24px, 4vw, 42px); }
.section-heading { max-width: 760px; margin-bottom: 26px; }
.section-heading.compact { max-width: none; }
.crew-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.crew-card {
  min-height: 320px;
  border: 1px solid rgba(103,183,255,.18);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(3,7,17,.7);
  transition: transform .22s ease, border-color .22s ease;
}
.crew-card:hover { transform: translateY(-4px); border-color: rgba(103,183,255,.45); }
.crew-card img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  object-position: center 16%;
  filter: saturate(.86) contrast(1.04);
}
.crew-card:nth-child(2) img { object-position: center 8%; }
.crew-card:nth-child(5) img { object-position: center 4%; }
.crew-card div { padding: 14px; }
.crew-card h3 { margin: 0 0 4px; font-size: 16px; }
.crew-card p { margin: 0 0 9px; color: var(--blue-2); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.crew-card small { color: var(--muted); line-height: 1.45; }

.silence-band {
  min-height: 340px;
  padding: clamp(26px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.silence-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,7,17,.86), rgba(3,7,17,.25)),
    radial-gradient(circle at 72% 42%, rgba(103,183,255,.22), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255,156,66,.18), transparent 24%);
  z-index: -1;
}
.silence-copy { max-width: 660px; }
.log-card {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(103,183,255,.25);
  background: rgba(1,4,10,.62);
  color: #dfe8ff;
  box-shadow: inset 0 0 40px rgba(103,183,255,.08);
}
.log-card p { color: var(--muted); line-height: 1.7; }
.log-card strong { color: #fff; font-size: 18px; }
.log-label { color: var(--blue) !important; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }

.timeline-section { padding: clamp(24px, 4vw, 42px); }
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,183,255,.5), rgba(255,156,66,.3), transparent);
}
.timeline-node { position: relative; z-index: 1; }
.timeline-node span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 1px solid rgba(225,237,255,.5);
  background: #050814;
}
.timeline-node.active span { background: var(--blue); box-shadow: 0 0 24px rgba(103,183,255,.85); }
.timeline-node h3 {
  margin: 0 0 8px;
  color: #e8eefc;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.timeline-node p { color: var(--muted); line-height: 1.55; font-size: 13px; }

.excerpt-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, .45fr);
  gap: 18px;
  padding-bottom: 36px;
}
.excerpt-card,
.signup-card { padding: clamp(24px, 4vw, 42px); }
blockquote {
  margin: 0 0 22px;
  padding-left: 24px;
  border-left: 3px solid var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
  color: #fff;
}
.signup-card label {
  display: block;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  margin: 18px 0 8px;
}
.email-row { display: flex; gap: 0; }
.email-row input {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(103,183,255,.25);
  border-radius: 8px 0 0 8px;
  outline: none;
}
.email-row input:focus { border-color: rgba(103,183,255,.66); box-shadow: 0 0 18px rgba(103,183,255,.14); }
.email-row button {
  width: 54px;
  border: 0;
  border-radius: 0 8px 8px 0;
  color: #06101f;
  background: linear-gradient(135deg, #9bd0ff, #3f83ff);
  cursor: pointer;
  font-size: 22px;
}
.form-note { font-size: 12px !important; color: var(--faint) !important; }

.book-footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 7vw, 120px);
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(2,5,12,.82);
}
.book-footer span { font-weight: 800; letter-spacing: .18em; }
.book-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.book-footer a { color: var(--muted); text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.to-top {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(103,183,255,.3);
  color: var(--blue-2);
  background: rgba(8,13,29,.78);
  cursor: pointer;
}

@media (max-width: 1180px) {
  .book-menu { gap: 18px; }
  .book-menu a { font-size: 11px; }
  .hero-tags, .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-grid { grid-template-columns: 1fr; }
  .crew-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .book-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(103,183,255,.25);
    border-radius: 16px;
    background: rgba(3,7,17,.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
  }
  .book-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .book-menu a { padding: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .book-menu a::after { display: none; }
  .book-menu .book-link { margin-top: 10px; text-align: center; }
  .hero-shell { grid-template-columns: 1fr; }
  .book-hero-card { width: min(320px, 82vw); }
  .hero { min-height: auto; }
  .silence-band, .excerpt-section { grid-template-columns: 1fr; }
  .timeline-track { grid-template-columns: 1fr; }
  .timeline-track::before { left: 10px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(103,183,255,.5), transparent); }
  .timeline-node { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
  .timeline-node span { grid-row: span 2; margin-top: 2px; }
  .timeline-node p { margin-top: 0; }
}

@media (max-width: 640px) {
  .book-nav { padding: 12px 14px; }
  .brand-sub { display: none; }
  .hero { padding: 44px 18px 28px; }
  .hero h1 { font-size: clamp(42px, 14vw, 58px); }
  .hero-tags, .feature-strip, .crew-grid { grid-template-columns: 1fr; }
  .feature-strip { margin-top: 0; }
  .portrait-panel { grid-template-columns: 1fr; padding-bottom: 26px; }
  .portrait-panel img { height: 300px; max-height: none; border-radius: 12px; }
  .crew-card { min-height: auto; display: grid; grid-template-columns: 110px 1fr; }
  .crew-card img { height: 100%; min-height: 170px; }
  .book-footer { flex-direction: column; align-items: flex-start; }
}
