/* Homepage only: learning pages and member workbenches keep their own themes. */
.cosmos-home {
  --bg: #020713;
  --surface: #0b1327;
  --surface-raised: #101a31;
  --text: #edf0ff;
  --muted: #a0adc5;
  --line: rgba(180,201,255,.18);
  --accent: #becdff;
  --warm: #a3b8ed;
  color-scheme: dark;
  background: #020713;
}
.cosmos-home .site-particle-field { opacity: .7; mix-blend-mode: normal; }
.cosmos-home .home-deep-space { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #020713; }
.cosmos-home .home-deep-space video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; }
.cosmos-home .home-deep-space::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(1,5,16,.88),rgba(2,7,20,.70) 37%,rgba(3,8,22,.18) 66%,rgba(2,7,18,.42)),linear-gradient(180deg,rgba(1,4,13,.64),transparent 24%,rgba(1,5,15,.28) 75%,rgba(1,4,13,.62)); }
.cosmos-home main { overflow: clip; }
.cosmos-home .hero--cosmos,.cosmos-home .hero-cosmos { background: transparent; }
.cosmos-home .hero--cosmos::before,.cosmos-home .hero--cosmos::after,.cosmos-home .hero-cosmos-shade { display: none; }
.cosmos-home .hero-cosmos-canvas { mask-image: linear-gradient(to bottom,#000 65%,transparent 100%); }
.cosmos-home .module-index { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; gap: 56px; padding: 112px 0 96px; background: none; scroll-margin-top: 0; }
.cosmos-home .section-intro { display: block; margin: 0; }
.cosmos-home .section-intro .eyebrow { margin: 0 0 22px; }
.cosmos-home .section-intro h2 { margin: 0; font-size: clamp(34px,4.2vw,60px); line-height: 1.3; letter-spacing: -.03em; }
.cosmos-home .module-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 0; gap: 30px; }
.cosmos-home .module-row { position: relative; min-height: 82px; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-color: var(--line); }
.cosmos-home .module-row:hover { padding: 12px 0; background: transparent; border-color: #b4caff; }
.cosmos-home .module-number { display: none; }
.cosmos-home .module-copy { gap: 6px; flex-direction: column; }
.cosmos-home .module-copy strong { font-size: 26px; font-weight: 500; white-space: nowrap; }
.cosmos-home .module-copy small { font-size: 9px; letter-spacing: .16em; }
.cosmos-home .module-status { display: none; }
.cosmos-home .module-arrow { grid-row: 2; grid-column: 2; align-self: start; }
.cosmos-home .module-enter { display: grid; place-items: center; min-width: 50px; min-height: 36px; border: 1px solid #a9bcdf66; border-radius: 6px; background: #101d35a8; color: #eaf0ff; font-size: 13px; transition: background .2s,border-color .2s; }
.cosmos-home .module-row:hover .module-enter { background: #263e62; border-color: #bccff5; }
.cosmos-home .module-row:focus-visible, .cosmos-home .home-cosmos-link:focus-visible { outline: 2px solid #c6d6ff; outline-offset: 6px; }
.cosmos-home [data-sections] { position: relative; background: transparent; }
.cosmos-home .home-section { position: relative; padding: 36px 0; border: 0; background: none; backdrop-filter: none; scroll-margin-top: 95px; }
.cosmos-home .home-section .content-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: center; }
.cosmos-home .home-section + .home-section::before { position: absolute; inset: 0 max(24px,calc((100% - 1180px)/2)) auto; height: 1px; content: ''; background: linear-gradient(90deg,transparent,var(--line),transparent); }
.cosmos-home .home-section-copy { max-width: 470px; }
.cosmos-home .home-section .eyebrow { color: #9aafd8; letter-spacing: .2em; }
.cosmos-home .home-section .eyebrow span { color: #eef2ff; margin-right: 16px; }
.cosmos-home .home-section h2 { margin: 0; max-width: none; font-size: clamp(34px,3.3vw,46px); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; white-space: nowrap; }
.cosmos-home .home-editorial-lines { margin: 22px 0 14px; font: 400 clamp(24px,2.4vw,34px)/1.55 var(--font-display); letter-spacing: .02em; color: #c8d5ef; }
.cosmos-home .home-editorial-lines span { display: block; white-space: nowrap; }
.cosmos-home .home-editorial-lines span + span { margin-left: 2.4em; color: #f0f3ff; }
.cosmos-home .home-entry-button { display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; min-height: 44px; padding: 10px 23px; border: 1px solid #b8caef99; border-radius: 7px; color: #f3f6ff; background: #172742c9; font-size: 15px; line-height: 1.4; transition: background .2s,box-shadow .2s,transform .2s; }
.cosmos-home .home-entry-button:hover { background: #304e78; box-shadow: 0 0 22px #809dea2b; transform: translateY(-2px); }
.cosmos-home .home-entry-button:active { transform: translateY(0); }
.cosmos-home .home-entry-button:focus-visible { outline: 2px solid #d3e1ff; outline-offset: 5px; }
.cosmos-home .home-title-link { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; color: #edf0ff; text-shadow: 0 2px 24px #020713; transition: color .25s,text-shadow .25s; }
.cosmos-home .home-title-link > span { font: 300 28px/1 var(--font-body); color: #acbfe6; transition: transform .3s,color .3s; }
.cosmos-home .home-title-link:hover { color: #fff; text-shadow: 0 0 28px #a8c3ff88; }
.cosmos-home .home-title-link:hover > span { color: #fff; transform: translate(4px,-4px); }
.cosmos-home .home-title-link:focus-visible,.cosmos-home a.home-orbit-item:focus-visible { outline: 2px solid #c6d6ff; outline-offset: 6px; border-radius: 4px; }
.cosmos-home .section-description { max-width: 380px; margin: 24px 0 0; line-height: 1.9; text-wrap: pretty; }
.cosmos-home .home-cosmos-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 44px; margin-top: 30px; padding: 0 0 7px; border-bottom: 1px solid rgba(186,206,255,.6); font-size: 15px; transition: color .25s,border-color .25s; }
.cosmos-home .home-cosmos-link span { display: inline-block; transition: transform .25s; color: #c2d3ff; }
.cosmos-home .home-cosmos-link:hover { color: #fff; border-color: #fff; }
.cosmos-home .home-cosmos-link:hover span { transform: translate(4px,-4px); }
.cosmos-home .home-access-note { display: block; margin-top: 17px; color: #8593ae; font-size: 12px; line-height: 1.6; }
.cosmos-home .home-section-visual { min-width: 0; color: #aebee9; border: 0; border-radius: 0; background: transparent; }
.cosmos-home .home-orbit-scene { position: relative; aspect-ratio: 500 / 420; width: 100%; max-width: 470px; margin: auto; isolation: isolate; }
.cosmos-home .home-section-visual svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cosmos-home .home-course-graphic::before,.cosmos-home .home-project-graphic::before { content: ''; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle,rgba(120,149,238,.17),rgba(55,78,146,.08) 40%,transparent 72%); animation: home-nebula-breathe 9s ease-in-out infinite; }
.cosmos-home .home-orbit-rings { opacity: .25; transform-origin: center; animation: home-orbit-turn 100s linear infinite; }
.cosmos-home .home-section-visual svg > path { opacity: .3; }
.cosmos-home .home-orbit-stars { filter: drop-shadow(0 0 6px #c2d4ff); animation: home-star-light 4.7s ease-in-out infinite alternate; }
.cosmos-home .home-course-count { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; }
.cosmos-home .home-course-count strong { font: 400 clamp(70px,8vw,110px)/1 var(--font-display); color: #eef2ff; }
.cosmos-home .home-course-count span { margin-top: 16px; color: #9aadd4; font-size: 12px; letter-spacing: .1em; }
.cosmos-home .home-course-caption,.cosmos-home .home-project-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cosmos-home .home-course-caption span:last-child,.cosmos-home .home-project-caption span:last-child { color: #8090ad; font-size: 10px; white-space: nowrap; }
.cosmos-home .home-section--notebook .home-section-copy { grid-column: 2; grid-row: 1; padding-left: 50px; }
.cosmos-home .home-section--notebook .home-section-visual { grid-column: 1; grid-row: 1; }
.cosmos-home .home-journal { padding: 0; background: none; border: 0; }
.cosmos-home .home-visual-label { font: 10px var(--font-code); letter-spacing: .18em; color: #7f91b4; }
.cosmos-home .home-journal p { margin: 36px 0; font: 400 clamp(25px,2.5vw,36px)/1.7 var(--font-display); color: #dce5fa; }
.cosmos-home .home-journal-topics { display: flex; gap: 18px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 12px; color: #a7b6d1; }
.cosmos-home .home-journal-sign { display: block; margin-top: 22px; font: 14px var(--font-display); color: #92a4c8; text-align: right; }
.cosmos-home .home-project-core { position: absolute; inset: 34% 34%; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px solid #687ca3; border-radius: 50%; font: 400 50px var(--font-display); color: #e3eaff; background: radial-gradient(circle at 30% 24%,#273650,#070d1b 70%); box-shadow: inset -8px -10px 28px #020610,0 0 60px #18294c55; }
.cosmos-home .home-project-core span { font: 8px var(--font-code); letter-spacing: .15em; margin-top: 8px; }
.cosmos-home .home-project-label { position: absolute; font-size: 12px; color: #b3c1db; }
.cosmos-home .home-project-label--one { left: 10%; top: 25%; }
.cosmos-home .home-project-label--two { right: 2%; top: 55%; }
.cosmos-home .home-project-label--three { left: 30%; bottom: 10%; }
.cosmos-home .home-section--community { padding-bottom: 44px; }
.cosmos-home .home-section--community .home-section-copy { grid-column: 2; grid-row: 1; padding-left: 30px; }
.cosmos-home .home-section--community .home-section-visual { grid-column: 1; grid-row: 1; }
.cosmos-home .home-constellation { position: relative; }
.cosmos-home .home-constellation svg { color: #a5bce8; }
.cosmos-home .home-constellation svg path { opacity: .22; }
.cosmos-home .home-constellation svg g { filter: drop-shadow(0 0 8px #90b3ff); animation: home-star-light 5.3s ease-in-out infinite alternate; }
.cosmos-home .home-community-label { position: absolute; font: 16px var(--font-display); color: #c6d1e8; animation: home-nebula-breathe 9s ease-in-out infinite; }
.cosmos-home .home-community-label--one { top: 15%; left: 23%; }
.cosmos-home .home-community-label--two { top: 44%; left: 55%; animation-delay: -3s; }
.cosmos-home .home-community-label--three { bottom: 8%; right: 20%; animation-delay: -6s; }
.cosmos-home .home-orbit-core { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font: 400 clamp(66px,7vw,100px)/1 var(--font-display); letter-spacing: -.06em; color: #eff4ff; text-shadow: 0 0 34px #829fe688; animation: home-core-breathe 7s ease-in-out infinite; }
.cosmos-home .home-orbit-core--notes svg { width: 80px; height: 80px; filter: drop-shadow(0 0 14px #96b3ff66); }
.cosmos-home .home-orbit-core--projects { font-size: 74px; }
.cosmos-home .home-orbit-labels { position: absolute; inset: 0; }
.cosmos-home .home-orbit-item { position: absolute; width: min(190px,37%); transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 4px; color: #d3def4; text-align: center; text-shadow: 0 1px 7px #020713,0 0 16px #020713; font-size: 14px; line-height: 1.6; opacity: 1; transition: opacity .4s,color .25s; }
.cosmos-home .home-orbit-item span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-wrap: balance; }
.cosmos-home .home-orbit-item i { display: block; flex: none; width: 5px; height: 5px; border-radius: 50%; background: #f4f7ff; box-shadow: 0 0 7px 2px #c4d6ff80,0 0 22px 5px #779eff44; animation: home-orbit-pulse var(--pulse-duration,4s) var(--pulse-delay,0s) ease-in-out infinite; }
.cosmos-home .home-orbit-item.is-changing { opacity: 0; }
.cosmos-home a.home-orbit-item:hover { color: #fff; }
.cosmos-home a.home-orbit-item:hover i { animation-play-state: paused; box-shadow: 0 0 9px 3px #e1eaff,0 0 28px 8px #719bff66; }
.cosmos-home a.home-orbit-item:hover span { text-decoration: underline; text-underline-offset: 5px; }
.cosmos-home .home-orbit-status { position: absolute; bottom: 0; left: 10%; right: 10%; text-align: center; font-size: 13px; color: #aabbd9; }
.cosmos-home .site-footer { color: #8795b2; padding-top: 28px; padding-bottom: 38px; border-color: var(--line); }
.cosmos-home .site-footer a:hover { color: #e0eaff; }
.cosmos-home .account-menu-panel { background: #0a1326; border-color: #334363; color: #dce5f8; }
.cosmos-home .account-menu-panel a:hover,.cosmos-home .account-menu-panel button:hover { background: #182642; }
@keyframes home-nebula-breathe { 0%,100% { opacity: .6; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-7px); } }
@keyframes home-star-light { from { opacity: .5; } to { opacity: 1; } }
@keyframes home-orbit-turn { to { transform: rotate(360deg); } }
@keyframes home-orbit-pulse { 0%,100% { opacity: .4; transform: scale(.7); } 45% { opacity: 1; transform: scale(1.25); } 60% { opacity: .7; transform: scale(.9); } }
@keyframes home-core-breathe { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
@media (max-width: 960px) {
  .cosmos-home .home-section .content-grid { gap: 34px; }
  .cosmos-home .home-section--notebook .home-section-copy { padding-left: 0; }
  .cosmos-home .module-list { gap: 20px; }
  .cosmos-home .module-copy strong { font-size: 22px; }
}
@media (max-width: 760px) {
  .cosmos-home .site-nav { background: #0a1326; border-color: #344563; }
  .cosmos-home .home-deep-space video { object-position: 61% center; }
  .cosmos-home .home-deep-space::after { background: linear-gradient(90deg,rgba(1,5,16,.88),rgba(2,7,20,.55) 78%),linear-gradient(180deg,rgba(1,4,13,.5),transparent 42%,rgba(1,4,13,.65)); }
  .cosmos-home .module-index { padding: 100px 0 80px; gap: 36px; }
  .cosmos-home .section-intro { margin-bottom: 0; }
  .cosmos-home .section-intro .eyebrow { margin-bottom: 18px; }
  .cosmos-home .section-intro h2 { font-size: clamp(28px,7.7vw,38px); }
  .cosmos-home .module-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; }
  .cosmos-home .module-row,.cosmos-home .module-row:hover { min-height: 82px; padding: 10px 0; gap: 6px; }
  .cosmos-home .module-copy strong { font-size: clamp(18px,4.7vw,24px); }
  .cosmos-home .module-copy small { font-size: 8px; letter-spacing: .04em; }
  .cosmos-home .module-enter { min-width: 40px; min-height: 34px; font-size: 12px; }
  .cosmos-home .home-section { padding: 30px 0; }
  .cosmos-home .home-section .content-grid { grid-template-columns: 1fr; gap: 8px; }
  .cosmos-home .home-section h2 { font-size: 34px; margin: 0; }
  .cosmos-home .home-editorial-lines { margin: 16px 0 10px; font-size: 25px; }
  .cosmos-home .home-entry-button { margin-top: 16px; }
  .cosmos-home .section-description { margin-top: 16px; max-width: 100%; }
  .cosmos-home .home-cosmos-link { margin-top: 20px; }
  .cosmos-home .home-section--notebook .home-section-copy,.cosmos-home .home-section--notebook .home-section-visual,.cosmos-home .home-section--community .home-section-copy,.cosmos-home .home-section--community .home-section-visual { grid-column: auto; grid-row: auto; padding-left: 0; }
  .cosmos-home .home-section-visual { width: 100%; max-width: 480px; margin: 0 auto; }
  .cosmos-home .home-orbit-scene { max-width: 340px; }
  .cosmos-home .home-orbit-item { font-size: 12px; gap: 7px; }
  .cosmos-home .home-course-caption,.cosmos-home .home-project-caption { font-size: 13px; }
  .cosmos-home .home-journal { padding: 0; }
  .cosmos-home .home-journal p { margin: 26px 0; }
  .cosmos-home .home-journal-topics { gap: 14px; }
  .cosmos-home .home-community-label { font-size: 14px; }
  .cosmos-home .home-section--community { padding-bottom: 30px; }
  .cosmos-home .site-footer { flex-wrap: wrap; gap: 14px 24px; line-height: 1.6; }
}
@media (max-width: 360px) {
  .cosmos-home .site-header .brand > span:last-child { display: none; }
}

/* The same four links travel from the index into the reading guide. The slot
   keeps its height when they dock, so scrolling never pulls the content up. */
.cosmos-home .module-index.reveal-section { transform: none; }
.cosmos-home .home-guide-slot { position: relative; }
.cosmos-home .home-guide { margin: 0; }
.cosmos-home .home-guide .module-row { transform-origin: top left; }
.cosmos-home .home-guide.is-docked {
  position: fixed; z-index: 8; left: max(24px,calc((100vw - 1400px)/2));
  top: max(var(--home-guide-top,88px),calc(50vh - 128px));
  width: 154px; display: grid; grid-template-columns: 1fr; gap: 8px;
  padding: 12px 0; border: 0; background: transparent;
}
.cosmos-home .home-guide.is-docked::before {
  content: ''; position: absolute; left: 8px; top: 38px; bottom: 38px;
  width: 1px; background: linear-gradient(transparent,#8fa8d96b 12%,#8fa8d96b 88%,transparent);
}
.cosmos-home .home-guide.is-docked .module-row {
  min-height: 50px; grid-template-columns: 16px 1fr; gap: 10px; padding: 8px 4px 8px 0;
  border: 0; border-radius: 6px; color: #9eafcc; transition: color .2s,background .2s;
}
.cosmos-home .home-guide.is-docked .module-row::before {
  content: ''; width: 5px; height: 5px; margin-left: 6px; border-radius: 50%;
  background: #7184a5; box-shadow: 0 0 0 4px #020713;
  transition: background .25s,box-shadow .25s;
}
.cosmos-home .home-guide.is-docked .module-row:hover { background: #1a2c484d; color: white; }
.cosmos-home .home-guide.is-docked .module-row.is-active { color: #f2f6ff; background: linear-gradient(90deg,#2136595c,transparent); }
.cosmos-home .home-guide.is-docked .module-row.is-active::before { background: #eef4ff; box-shadow: 0 0 0 4px #14233d,0 0 14px #c1d4ff; }
.cosmos-home .home-guide.is-docked .module-copy { gap: 5px; }
.cosmos-home .home-guide.is-docked .module-copy strong { font: 500 14px/1.5 var(--font-body); }
.cosmos-home .home-guide.is-docked .module-copy small { font-size: 8px; letter-spacing: .08em; opacity: .7; }
.cosmos-home .home-guide.is-docked .module-enter { display: none; }
.cosmos-home .home-section + .home-section::before { opacity: .4; }
@media (min-width: 1101px) {
  .cosmos-home.has-home-guide [data-sections] { padding-left: 180px; }
  .cosmos-home.has-home-guide .home-section .section-shell {
    width: auto;
    flex: 1 1 auto;
    margin-left: max(24px,calc((100vw - 1400px)/2));
    margin-right: 24px;
  }
}
@media (max-width: 1100px) {
  .cosmos-home .home-guide.is-docked {
    top: var(--home-guide-top,88px); left: 16px; right: 16px; width: auto;
    grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; padding: 4px;
    border: 1px solid #a8c3ef40; border-radius: 9px; background: #071021e8;
    backdrop-filter: blur(16px);
  }
  .cosmos-home .home-guide.is-docked::before { display: none; }
  .cosmos-home .home-guide.is-docked .module-row { display: flex; justify-content: center; min-height: 40px; padding: 6px 0; }
  .cosmos-home .home-guide.is-docked .module-row::before,.cosmos-home .home-guide.is-docked .module-copy small { display: none; }
  .cosmos-home .home-guide.is-docked .module-copy strong { font-size: clamp(12px,2.9vw,14px); }
  .cosmos-home .home-guide.is-docked .module-row.is-active { background: #243a5c; box-shadow: inset 0 -2px #bed4ff; }
  .cosmos-home.has-home-guide .home-section { scroll-margin-top: calc(var(--home-guide-top,88px) + 64px); }
}
.cosmos-home .hero-welcome {
  position: absolute; z-index: 2; top: 132px; left: max(24px,calc((100% - 1180px)/2));
  margin: 0; font-size: 16px; color: #dce6ffab; opacity: 0;
  transform: translateY(10px); transition: opacity 1.25s ease,transform 1.25s ease;
}
.cosmos-home .is-narrative-final .hero-welcome { opacity: 1; transform: none; }
.cosmos-home .hero-story.is-final .hero-story-final-main {
  transform-origin: left center; animation: hero-title-breathe 7s ease-in-out 1.2s infinite;
}
@keyframes hero-title-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.015); } }
.cosmos-home .hero-question-star b { display: flex; align-items: center; gap: 8px; }
.cosmos-home .question-avatar { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; }

/* Four public destinations share one cosmic system, while each section gets
   its own editorial rhythm and content-shaped motion. */
.cosmos-home .home-section {
  --section-glow: #9db5ff;
  min-height: clamp(500px,70svh,700px);
  display: flex;
  align-items: center;
  padding: clamp(48px,7vw,88px) 0;
  scroll-margin-top: 86px;
}
.cosmos-home .home-section--notebook { --section-glow: #91d5e6; }
.cosmos-home .home-section--projects { --section-glow: #f0c995; }
.cosmos-home .home-section--community { --section-glow: #c4b8ff; }
.cosmos-home .home-section .content-grid {
  width: 100%;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(48px,8vw,128px);
}
.cosmos-home .home-section-copy { max-width: 520px; }
.cosmos-home .home-section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--section-glow);
  font: 600 11px/1.2 var(--font-code);
  letter-spacing: .17em;
  text-transform: uppercase;
}
.cosmos-home .home-section-kicker span { color: #edf2ff; font-size: 12px; }
.cosmos-home .home-section-kicker i { width: 30px; height: 1px; background: currentColor; opacity: .65; }
.cosmos-home .home-section h2 {
  width: fit-content;
  max-width: 100%;
  padding: 0 0 9px;
  border-bottom: 1px solid color-mix(in srgb,var(--section-glow) 58%,transparent);
  font-size: clamp(40px,5vw,64px);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-shadow: 0 0 32px color-mix(in srgb,var(--section-glow) 18%,transparent);
}
.cosmos-home .home-editorial-lines {
  margin: 26px 0 14px;
  font-size: clamp(23px,2.4vw,31px);
  line-height: 1.58;
  color: #e4ebfb;
}
.cosmos-home .home-editorial-lines span { white-space: nowrap; }
.cosmos-home .home-entry-button {
  gap: 22px;
  margin-top: 18px;
  min-height: 44px;
  padding: 0 17px;
  border-color: color-mix(in srgb,var(--section-glow) 60%,transparent);
  background: linear-gradient(110deg,color-mix(in srgb,var(--section-glow) 13%,#101a31),#0a1222cc);
  box-shadow: 0 0 26px color-mix(in srgb,var(--section-glow) 9%,transparent);
}
.cosmos-home .home-entry-button > span { color: var(--section-glow); transition: transform .24s ease; }
.cosmos-home .home-entry-button:hover { border-color: var(--section-glow); box-shadow: 0 0 30px color-mix(in srgb,var(--section-glow) 22%,transparent); }
.cosmos-home .home-entry-button:hover > span { transform: translate(3px,-3px); }
.cosmos-home .home-section-visual { width: 100%; max-width: 610px; justify-self: end; }
.cosmos-home .home-orbit-scene { max-width: 560px; }
.cosmos-home .home-section-visual svg { overflow: hidden; }
.cosmos-home .home-orbit-rings { color: var(--section-glow); opacity: .34; }
.cosmos-home .home-orbit-stars { color: var(--section-glow); }
.cosmos-home .home-orbit-core { color: #f1f4ff; text-shadow: 0 0 22px color-mix(in srgb,var(--section-glow) 48%,transparent),0 0 64px color-mix(in srgb,var(--section-glow) 24%,transparent); }
.cosmos-home .home-orbit-item i { background: var(--section-glow); box-shadow: 0 0 8px 2px color-mix(in srgb,var(--section-glow) 75%,transparent),0 0 24px 6px color-mix(in srgb,var(--section-glow) 38%,transparent); }
.cosmos-home .home-section--notebook .home-section-copy { padding-left: 0; }
.cosmos-home .home-section--notebook .home-section-visual,
.cosmos-home .home-section--community .home-section-visual { grid-column: 1; grid-row: 1; justify-self: start; }
.cosmos-home .home-section--notebook .home-section-copy,
.cosmos-home .home-section--community .home-section-copy { grid-column: 2; grid-row: 1; }
.cosmos-home .home-section--notebook .home-orbit-rings { opacity: .43; stroke-dasharray: 2 7; animation: home-orbit-turn 130s linear infinite; }
.cosmos-home .home-section--notebook .home-orbit-core--notes svg { width: 94px; height: 94px; filter: drop-shadow(0 0 18px color-mix(in srgb,var(--section-glow) 50%,transparent)); animation: home-note-open 5.8s ease-in-out infinite; }
.cosmos-home .home-section--notebook .home-orbit-scene::after {
  position: absolute; inset: 17%; z-index: -1; border: 1px dashed color-mix(in srgb,var(--section-glow) 25%,transparent);
  border-radius: 48%; content: ''; transform: rotate(-28deg); animation: home-note-weave 24s linear infinite;
}
.cosmos-home .home-section--projects .home-project-core { inset: 34%; display: flex; border-color: color-mix(in srgb,var(--section-glow) 55%,#687ca3); color: #f7ead4; background: radial-gradient(circle at 30% 24%,#5b4a3a,#090d18 72%); box-shadow: inset -8px -10px 28px #020610,0 0 72px color-mix(in srgb,var(--section-glow) 23%,transparent); text-shadow: 0 0 28px color-mix(in srgb,var(--section-glow) 55%,transparent); animation: home-project-turn 18s ease-in-out infinite; }
.cosmos-home .home-section--projects .home-orbit-rings { animation: home-project-orbit 75s linear infinite; }
.cosmos-home .home-project-signal { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); color: color-mix(in srgb,var(--section-glow) 70%,#dce5fa); font: 10px/1.4 var(--font-code); letter-spacing: .18em; white-space: nowrap; opacity: .78; }
.cosmos-home .home-section--community .home-constellation svg path { stroke-dasharray: 4 9; animation: home-community-connect 9s ease-in-out infinite; }
.cosmos-home .home-section--community .home-constellation svg g { color: var(--section-glow); }
.cosmos-home .home-section--community .home-orbit-item { width: min(160px,32%); }
@keyframes home-note-open { 0%,100% { transform: scale(.96); opacity: .78; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes home-note-weave { to { transform: rotate(332deg); } }
@keyframes home-project-turn { 0%,100% { transform: rotate(-5deg) scale(.98); } 50% { transform: rotate(5deg) scale(1.035); } }
@keyframes home-project-orbit { to { transform: rotate(-360deg); } }
@keyframes home-community-connect { 0%,100% { stroke-dashoffset: 0; opacity: .26; } 50% { stroke-dashoffset: -28; opacity: .72; } }
@media (max-width: 960px) {
  .cosmos-home .home-section { min-height: 540px; }
  .cosmos-home .home-section .content-grid { gap: 34px; }
  .cosmos-home .home-section h2 { font-size: clamp(36px,5vw,48px); }
  .cosmos-home .home-editorial-lines { font-size: clamp(21px,2.9vw,27px); }
}
@media (max-width: 760px) {
  .cosmos-home .home-section { min-height: auto; padding: 56px 0 64px; scroll-margin-top: calc(var(--home-guide-top,88px) + 58px); }
  .cosmos-home .home-section .content-grid { width: min(100% - 40px,560px); grid-template-columns: minmax(0,1fr); gap: 22px; }
  .cosmos-home .home-section-copy,.cosmos-home .home-section--notebook .home-section-copy,.cosmos-home .home-section--community .home-section-copy { grid-column: 1; grid-row: 1; max-width: none; padding: 0; }
  .cosmos-home .home-section-visual,.cosmos-home .home-section--notebook .home-section-visual,.cosmos-home .home-section--community .home-section-visual { grid-column: 1; grid-row: 2; justify-self: center; max-width: 500px; }
  .cosmos-home .home-section-kicker { margin-bottom: 15px; }
  .cosmos-home .home-section h2 { font-size: 38px; }
  .cosmos-home .home-editorial-lines { margin: 19px 0 10px; font-size: clamp(22px,6vw,28px); }
  .cosmos-home .home-editorial-lines span + span { margin-left: .9em; }
  .cosmos-home .home-entry-button { margin-top: 14px; }
  .cosmos-home .home-orbit-scene { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .cosmos-home .home-section--notebook .home-orbit-core--notes svg,
  .cosmos-home .home-section--notebook .home-orbit-scene::after,
  .cosmos-home .home-section--projects .home-project-core,
  .cosmos-home .home-section--projects .home-orbit-rings,
  .cosmos-home .home-section--community .home-constellation svg path { animation: none; }
}
@media (max-width: 760px) {
  .cosmos-home .hero-welcome { top: 120px; left: 20px; font-size: 13px; }
  .cosmos-home .hero-question-star { --drift-y: 8px; --drift-x: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .cosmos-home .hero-story.is-final .hero-story-final-main { animation: none; }
  .cosmos-home .home-section-visual *, .cosmos-home .home-section-visual::before { animation: none !important; }
  .cosmos-home .home-entry-button { transition: none; }
}
