/* The book opens into a chapter path. All decorative layers ignore input. */
.home-hero { min-height: 690px; padding: 64px 0 24px; background: #0b202e; color: #fff; isolation: isolate; }
.home-hero::before { width: auto; inset: 0; background: radial-gradient(ellipse at 75% 45%, #214c594d, transparent 62%); pointer-events: none; }
.home-hero-grid { position: relative; z-index: 1; grid-template-columns: 1.12fr 1fr; gap: 44px; }
.hero-copy { padding-top: 0; }
.hero-copy h1 { color: #fff; font-size: clamp(3.4rem, 5.2vw, 5.25rem); line-height: 1.03; letter-spacing: -.045em; }
.hero-copy h1 em { color: #b7d6e3; }
.home-hero .kicker { color: #ffac6e; max-width: 400px; }
.home-hero .hero-sub { color: #c0ced7; max-width: 465px; font-size: 1.12rem; }
.home-hero .micro-trust { color: #b0c1cc; font-size: .8rem; }
.home-hero .button--secondary { background: transparent; border-color: #7792a4; color: white; }
.home-hero .button--secondary:hover { background: #214353; }
.particle-field { position: absolute; z-index: -1; inset: -10% -10% -10% 28%; opacity: .55; pointer-events: none; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 42%); }
.particle-field img { width: 100%; height: 100%; object-fit: cover; animation: network-drift 22s ease-in-out infinite alternate; }
.book-stage { position: relative; min-height: 490px; padding: 0; display: grid; place-items: center; justify-content: center; perspective: 1100px; pointer-events: none; }
.floating-book { position: relative; width: 245px; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-22deg) rotateZ(-7deg); animation: book-float 7s ease-in-out infinite; }
.book-cover { display: block; width: 100%; max-width: none; position: relative; z-index: 2; transform: translateZ(17px); box-shadow: 0 35px 55px #0008; border-radius: 1px 3px 3px 1px; }
.floating-book::before { content: ''; position: absolute; inset: 3px -18px 3px auto; width: 22px; background: repeating-linear-gradient(0deg,#fffaf0 0px,#fffaf0 2px,#c3bbac 3px); transform-origin: left; transform: rotateY(90deg); }
.floating-book::after { content: ''; position: absolute; inset: 0; background: #263c42; transform: translateZ(-7px); box-shadow: 20px 45px 70px #0009; }
.orbit { position: absolute; width: 430px; height: 430px; border: 1px solid #9bc9d32a; border-radius: 50%; transform: rotateX(64deg) rotateZ(-25deg); }
.orbit--two { width: 510px; height: 510px; transform: rotateY(61deg) rotateZ(30deg); border-style: dashed; opacity: .65; }
.idea { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 13px 17px; background: #173544; border: 1px solid #527889; box-shadow: 8px 12px 0 #08192288, 0 18px 40px #0003; font-size: .82rem; letter-spacing: .015em; animation: idea-float 8s ease-in-out infinite; }
.idea span { color: #ffac6e; font-size: .7rem; }
.idea--one { top: 26px; right: 6px; transform: rotate(7deg); }
.idea--two { bottom: 110px; left: -25px; transform: rotate(-8deg); animation-delay: -3s; }
.idea--three { bottom: 57px; right: -5px; transform: rotate(5deg); animation-delay: -5s; }
.book-caption { position: absolute; bottom: 0; color: #aac0cb; font-size: .72rem; letter-spacing: .06em; }
.hero-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; margin-top: 35px; }
.scroll-cue { display: flex; align-items: center; gap: 16px; color: #d5e2e9; font-size: .8rem; text-decoration: none; }
.scroll-cue span { color: #ffac6e; font-size: 1.25rem; }
.motion-toggle { color: #c2d3dc; background: transparent; border: 1px solid #476371; border-radius: 4px; padding: 9px 13px; min-height: 44px; cursor: pointer; font: inherit; font-size: .75rem; }
.motion-toggle:hover { background: #214353; }
.chapter-shortcuts { background: #102c3b; border-top: 1px solid #38505b; }
.chapter-tabs { position: static; width: min(1160px, calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: repeat(4,1fr); padding-block: 0; }
.chapter-tabs li { margin: 0; min-width: 0; border-right: 1px solid #38505b; }
.chapter-tabs li:last-child { border: 0; }
.chapter-tabs a { border: 0; border-radius: 0; background: transparent; color: #fff; padding: 22px 20px; min-height: 87px; box-shadow: none; font-size: .85rem; line-height: 1.4; transition: background 150ms ease-out; }
.chapter-tabs a:hover { background: #254555; transform: none; box-shadow: none; }
.chapter-tabs span { color: #ffac6e; font-size: .72rem; }
.chapter-tabs b { margin-left: auto; color: #a3bdc9; font-weight: 400; }
.proof-band { background: #f1f5f6; color: #10294a; }
.proof-grid p { min-height: 110px; border-color: #d8e1e5; }
.proof-grid strong { color: #1e4b78; font-size: 2.8rem; }
.proof-grid span { color: #586474; }
.chapter-section { scroll-margin-top: 90px; }
.path-stop { min-height: 250px; perspective: 1000px; grid-template-columns: 56px 180px minmax(0,1fr); gap: 40px; }
.chapter-book { position: relative; width: 135px; margin: 15px auto; transform: rotateY(-12deg) rotateZ(-3deg); transform-style: preserve-3d; box-shadow: 7px 7px 0 #e6e0d5, 9px 9px 0 #b9b5ad, 16px 22px 25px #10294a24; }
.path-stop .chapter-book img { display: block; width: 135px; height: auto; object-fit: contain; border-radius: 1px; box-shadow: none; }
@keyframes book-float { 0%,100% { transform: translateY(0) rotateX(8deg) rotateY(-22deg) rotateZ(-7deg); } 50% { transform: translateY(-15px) rotateX(5deg) rotateY(-16deg) rotateZ(-4deg); } }
@keyframes idea-float { 50% { translate: 0 -12px; } }
@keyframes network-drift { to { transform: translate3d(-2%,3%,0) scale(1.06); opacity: .7; } }
@keyframes chapter-land { from { transform: translateY(-100px) rotateX(22deg) rotateY(-25deg) rotateZ(-14deg); } to { transform: translateY(0) rotateY(-12deg) rotateZ(-3deg); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .chapter-book { animation: chapter-land linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}
.motion-paused .home-hero *, .motion-paused .chapter-book { animation-play-state: paused !important; }
.motion-paused .chapter-book { animation: none !important; }
@media (max-width: 1000px) {
  .home-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 24px; }
  .hero-copy h1 { font-size: 3.65rem; }
  .floating-book { width: 210px; }
  .idea { font-size: .72rem; padding: 10px; }
  .idea--two { left: -5px; }
  .chapter-tabs a { padding: 18px 12px; }
}
@media (max-width: 760px) {
  .home-hero { padding: 44px 0 20px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-copy h1 { font-size: clamp(3rem,10vw,4.5rem); }
  .hero-copy { max-width: 560px; }
  .hero-sub { margin-bottom: 24px; }
  .book-stage { min-height: 415px; max-width: 460px; width: 100%; margin: auto; padding: 0; }
  .floating-book { width: 200px; }
  .book-cover { width: 100%; }
  .idea--one { right: 0; top: 5px; }
  .idea--two { left: 0; bottom: 90px; }
  .idea--three { right: 0; bottom: 42px; }
  .orbit { width: 350px; height: 350px; }
  .orbit--two { width: 400px; height: 400px; }
  .particle-field { inset: 25% -30% -5% -30%; }
  .hero-bottom { margin-top: 15px; }
  .chapter-tabs { grid-template-columns: 1fr 1fr; }
  .chapter-tabs li:nth-child(2) { border-right: 0; }
  .chapter-tabs li:nth-child(-n+2) { border-bottom: 1px solid #38505b; }
  .chapter-tabs a { min-height: 80px; font-size: .8rem; }
  .proof-grid strong { font-size: 2rem; }
  .proof-grid p { gap: 8px; }
  .proof-grid span { font-size: .73rem; }
  .path-stop { grid-template-columns: 38px 90px minmax(0,1fr); gap: 16px; min-height: 220px; }
  .chapter-book { width: 78px; }
  .path-stop .chapter-book img { display: block; width: 78px; height: auto; }
  .path-stop h3 { font-size: 1.1rem; }
  .path-stop p { font-size: .85rem; }
}
@media (max-width: 380px) {
  .path-stop { grid-template-columns: 30px 62px minmax(0,1fr); gap: 12px; }
  .chapter-book, .path-stop .chapter-book img { width: 58px; }
  .path-stop .chapter-book img { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero *, .chapter-book { animation: none !important; }
  .floating-book { transform: rotateY(-12deg) rotateZ(-3deg); }
  .motion-toggle { display: none; }
}
