@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #09243a;
  --ink-2: #10364a;
  --ink-3: #174a55;
  --paper: #f8f9f6;
  --paper-2: #edf5f2;
  --white: #ffffff;
  --text: #173147;
  --muted: #607687;
  --line: rgba(12, 52, 66, .14);
  --teal: #00a987;
  --teal-bright: #42e0bd;
  --gold: #d2ae72;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --width: 1180px;
  --gutter: clamp(24px, 5vw, 76px);
  --shadow: 0 30px 80px rgba(7, 29, 48, .12);
}

/* Dark reading surfaces inspired by the deep blue and teal reference. */
body { background: var(--ink); color: #d7e4e8; }
.site-header { background: rgba(8, 31, 50, .94); border-bottom-color: rgba(255,255,255,.1); }
.wordmark, .desktop-nav a, .header-actions a { color: #e2edf0; }
.wordmark small { color: #8daab5; }
.wordmark-mark { border-color: rgba(66,224,189,.48); }
.wordmark-mark::before { border-color: var(--teal-bright); }
.sign-in-link { border-color: rgba(255,255,255,.24); }
.intro-section { background: #0a2a42; }
.intro-grid h2, .section-heading h2, .method-intro h2 { color: #f1f5f2; }
.intro-grid h2 em, .section-heading h2 em, .method-intro h2 em { color: #9eb8c0; }
.intro-copy p, .method-intro > p:last-child { color: #bdccd0; }
.principle-line { color: #e6eeee; }
.questions-section { background: linear-gradient(180deg, #0d3048, #0a293f); }
.questions-section::before { opacity: .18; }
.question-card { background: #12364d; border-color: rgba(255,255,255,.11); color: #edf5f3; box-shadow: 0 14px 38px rgba(0,0,0,.16); }
.question-card:hover { color: white; }
.question-summary { color: #b5c9cf; }
.question-topic, .question-action, .text-link { color: #48d8b6; }
.method-section { color: #d8e5e8; }
.step-symbol { background: #0a293f; color: #49d9b8; border-color: rgba(66,224,189,.4); box-shadow: 0 0 0 9px #0a293f; }
.method-steps strong { color: #f1f5f2; }
.method-steps small { color: #aec2c9; }
.evidence-section { color: #d6e3e6; }
.evidence-quote blockquote, .evidence-grid h3 { color: #f1f5f2; }
.evidence-quote p { color: #49d9b8; }
.evidence-grid article { border-color: rgba(255,255,255,.16); }
.closing-section p { color: #eff5f3; }
.closing-section p em, .closing-section > a { color: #46d7b4; }
.closing-orbit { border-color: rgba(66,224,189,.2); }
.site-footer { background: #061b2d; }
.page-hero h1, .info-sections h2, .library-empty-page h2, .error-page h1 { color: #f1f5f2; }
.page-lead, .info-sections p, .library-empty-page p { color: #b9cbd0; }
.info-aside, .explore-cards article, .join-note { background: #103249; border-color: rgba(255,255,255,.13); }
.info-aside p, .join-note p { color: #bccdd1; }
.info-sections > section { border-color: rgba(255,255,255,.14); }
.explore-cards h2 { color: #f1f5f2; }
.login-panel h2, .login-panel label { color: #f1f5f2; }
.login-panel input, .search-form input { background: #f2f6f5; }
.login-page { background: #09243a; }
.login-panel { color: #d2e0e4; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:hover { color: var(--teal); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.page-width { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: absolute; top: -70px; left: 20px; z-index: 100; padding: 10px 18px; background: #fff; border-radius: 999px; }
.skip-link:focus { top: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 244, .9);
  border-bottom: 1px solid rgba(8, 29, 48, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1360px, calc(100% - 2 * var(--gutter)));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .16em; line-height: 1; white-space: nowrap; }
.wordmark-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 125, 119, .45);
  border-radius: 50%;
  color: transparent;
}
.wordmark-mark::before, .wordmark-mark::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--teal); }
.wordmark-mark::before { inset: 7px; }
.wordmark-mark::after { width: 5px; height: 5px; border: 0; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.wordmark small, .footer-brand small { display: block; margin-top: 7px; color: var(--muted); font-size: .66rem; font-weight: 650; letter-spacing: .18em; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.desktop-nav a, .header-actions a { position: relative; color: #345064; font-size: .875rem; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--teal); transition: right .25s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { gap: 14px; }
.sign-in-link { padding: 9px 17px; border: 1px solid rgba(23, 59, 77, .25); border-radius: 999px; }
.mobile-nav { display: none; }

/* Shared type */
.section-space { padding-top: clamp(56px, 6vw, 84px); padding-bottom: clamp(56px, 6vw, 84px); }
.section-kicker {
  margin: 0 0 26px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 13px 4px 0; background: var(--gold); }
.section-kicker-light { color: var(--teal-bright); }
.eyebrow { margin: 0 0 25px; color: #cedbe0; font-size: .78rem; font-weight: 750; letter-spacing: .19em; }
.eyebrow span { color: var(--teal-bright); }
.eyebrow i { display: inline-block; width: 28px; height: 1px; margin: 0 12px 4px; background: var(--gold); }
.button {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--paper); color: var(--ink); box-shadow: 0 10px 35px rgba(0, 0, 0, .12); }
.button-light:hover { color: var(--ink); box-shadow: 0 16px 42px rgba(0, 0, 0, .2); }
.button-outline { border-color: rgba(255, 255, 255, .4); color: white; background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); }
.button-outline:hover { background: rgba(255, 255, 255, .11); color: white; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--teal); color: white; }
.text-link { display: inline-flex; align-items: center; color: var(--teal); font-size: .9rem; font-weight: 750; text-decoration: none; border-bottom: 1px solid rgba(20, 125, 119, .35); }

/* Hero */
.hero {
  position: relative;
  min-height: min(850px, calc(100svh - 82px));
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: #09243a;
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #09243a 0%, rgba(9, 36, 58, .96) 31%, rgba(9, 36, 58, .48) 61%, rgba(9, 36, 58, .13) 100%),
    radial-gradient(circle at 74% 38%, rgba(97, 212, 198, .2), transparent 34%);
}
.hero-art {
  position: absolute;
  z-index: -3;
  inset: 0 0 0 29%;
  background: url("../img/cosmic_mind_reference.webp") center 47% / cover no-repeat;
  opacity: .96;
  transform: translate(var(--hero-x, 0), var(--hero-y, 0)) scale(1.04);
  transition: transform .7s cubic-bezier(.22,.8,.24,1);
  mask-image: linear-gradient(90deg, transparent, black 22%, black 94%);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 22%, black 94%);
}
.hero-aurora {
  position: absolute;
  z-index: -2;
  width: 44vw;
  height: 44vw;
  right: 10vw;
  top: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 212, 198, .13), rgba(210, 174, 114, .06) 38%, transparent 70%);
  filter: blur(28px);
  animation: breatheGlow 7s ease-in-out infinite;
}
.hero-inner { padding-top: 64px; padding-bottom: 96px; }
.hero h1, .page-hero h1, .login-art h1, .error-page h1 {
  margin: 0;
  color: #fff;
  font: 400 clamp(4.5rem, 7.2vw, 7.2rem) / .92 var(--serif);
  letter-spacing: -.055em;
}
.hero h1 { font-size: clamp(4.5rem, 7vw, 6.8rem); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 em { color: #d3dcd9; font-weight: 400; }
.hero-lead { max-width: 560px; margin: 34px 0 12px; font: 400 clamp(1.35rem, 2vw, 1.72rem) / 1.35 var(--serif); }
.hero-copy { max-width: 510px; margin: 0; color: #b9cbd3; font-size: 1rem; line-height: 1.85; }
.hero-actions { display: flex; gap: 13px; margin-top: 24px; }
.hero-disciplines { display: flex; flex-wrap: wrap; gap: 0; margin-top: 22px; }
.hero-disciplines span { color: #a9bec8; font-size: .8125rem; letter-spacing: .03em; }
.hero-disciplines span + span::before { content: "/"; color: #68838d; margin-inline: 14px; }
.hero-orbits { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orbit { position: absolute; border: 1px solid rgba(210, 174, 114, .2); border-radius: 50%; transform: rotate(-19deg); }
.orbit i { position: absolute; width: 5px; height: 5px; top: 50%; left: -3px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.orbit-one { width: 420px; height: 190px; right: 18%; top: 20%; }
.orbit-two { width: 600px; height: 300px; right: 4%; top: 13%; transform: rotate(10deg); border-color: rgba(97, 212, 198, .16); }
.orbit-two i { background: var(--teal-bright); animation-duration: 12s; }
.orbit-three { width: 290px; height: 580px; right: 20%; top: 5%; transform: rotate(29deg); }
.hero-bottom { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(212,225,223,.18); }
.hero-bottom p { margin: 0; color: #afc3cb; font: 1rem var(--serif); }
.hero-bottom p em { color: #e0ddd0; }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: #c0d0d6; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.scroll-cue:hover { color: white; }
.scroll-cue span { width: 1px; height: 24px; background: linear-gradient(transparent, var(--gold)); }
.motion-toggle { min-height: 44px; padding: 8px 0 8px 14px; color: #bacbd1; border: 0; background: transparent; font-size: .8125rem; cursor: pointer; }
.motion-toggle:hover { color: white; }
.motion-toggle[hidden] { display: none; }

/* Intro */
.intro-section { position: relative; }
.intro-section::after { content: ""; position: absolute; right: 0; top: 0; width: 110px; height: 1px; background: var(--gold); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .8fr; gap: 10%; align-items: start; }
.intro-grid h2, .section-heading h2, .method-intro h2, .constellation-heading h2, .library-shell h2, .contribute-inner h2 {
  margin: 0;
  color: var(--ink);
  font: 400 clamp(2.7rem, 4.5vw, 4.6rem) / 1.08 var(--serif);
  letter-spacing: -.045em;
}
.intro-grid h2 em, .section-heading h2 em, .method-intro h2 em, .constellation-heading h2 em, .library-shell h2 em, .contribute-inner h2 em { color: #708796; font-weight: 400; }
.intro-copy { padding-top: 8px; }
.intro-copy p { margin: 0 0 18px; color: #506879; font-size: 1.04rem; }
.principle-line { display: flex; gap: 16px; align-items: center; margin-top: 32px; color: var(--ink); font: 400 1.05rem/1.5 var(--serif); }
.principle-line span { width: 44px; height: 1px; flex: none; background: var(--gold); }

/* Question gallery */
.questions-section { position: relative; background: linear-gradient(180deg, #e8f3ef, #f5f8f5); }
.questions-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(20, 125, 119, .13) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, black, transparent 75%); opacity: .4; }
.section-heading { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.question-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.question-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(8, 29, 48, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(7, 34, 44, .04);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.question-card:hover { transform: translateY(-5px); color: var(--ink); border-color: rgba(20, 125, 119, .36); box-shadow: 0 24px 50px rgba(7, 29, 48, .1); }
.question-art { position: relative; height: 155px; margin: -24px -24px 22px; overflow: hidden; background: #0b2638; }
.question-art::before, .question-art::after, .question-art i { content: ""; position: absolute; border-radius: 50%; }
.question-art::before { width: 155px; height: 155px; left: 50%; top: 50%; border: 1px solid rgba(255, 255, 255, .25); transform: translate(-50%, -50%); }
.question-art::after { width: 7px; height: 7px; left: 50%; top: 50%; background: var(--gold); box-shadow: 0 0 25px var(--gold); }
.question-art i { border: 1px solid rgba(97, 212, 198, .3); }
.question-art i:nth-child(1) { width: 90px; height: 34px; left: 32%; top: 44%; transform: rotate(19deg); }
.question-art i:nth-child(2) { width: 130px; height: 56px; left: 30%; top: 32%; transform: rotate(-25deg); }
.question-art i:nth-child(3) { width: 12px; height: 12px; left: 25%; top: 36%; background: var(--teal-bright); border: 0; box-shadow: 0 0 18px var(--teal-bright); }
.question-matter .question-art { background: radial-gradient(circle at 50% 50%, #284554, #0a2335); }
.question-matter .question-art::before { box-shadow: inset 0 0 0 28px rgba(97, 212, 198, .05), inset 0 0 0 52px rgba(210, 174, 114, .04); }
.question-time .question-art { background: linear-gradient(135deg, #0a2234, #1b4552); }
.question-time .question-art::before { width: 120px; height: 120px; border: 0; background: conic-gradient(from 20deg, transparent, rgba(210, 174, 114, .55), transparent 48%); mask-image: radial-gradient(transparent 58%, black 60%); }
.question-topic { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.question-title { margin-top: 24px; font: 400 2rem/1.12 var(--serif); }
.question-summary { margin-top: 13px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.question-action { margin-top: auto; padding-top: 24px; color: var(--teal); font-size: .84rem; font-weight: 750; }
.question-card .question-art { height: 176px; flex-shrink: 0; background-position: center; background-size: cover; transition: background-size .4s ease; }
.question-card .question-art::before, .question-card .question-art::after, .question-art i { display: none; }
.question-breath .question-art { background-image: url("../img/question-breath.svg"); }
.question-matter .question-art { background-image: url("../img/question-matter.svg"); }
.question-time .question-art { background-image: url("../img/question-time.svg"); }
.question-topic { font-size: .75rem; letter-spacing: .12em; }
.question-title { margin-top: 16px; }
.question-action { font-size: .875rem; }

/* Method */
.method-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 10%; align-items: center; }
.method-intro > p:last-child { max-width: 520px; margin: 27px 0 0; color: var(--muted); }
.method-steps { position: relative; list-style: none; margin: 0; padding: 0; }
.method-steps::before { content: ""; position: absolute; left: 29px; top: 45px; bottom: 45px; width: 1px; background: linear-gradient(var(--teal), var(--gold), var(--teal)); }
.method-steps li { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 22px; align-items: center; min-height: 92px; }
.step-symbol { position: relative; z-index: 1; width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(20, 125, 119, .35); border-radius: 50%; background: var(--paper); color: var(--teal); font: 400 1.3rem var(--serif); box-shadow: 0 0 0 9px var(--paper); }
.method-steps strong { display: block; color: var(--ink); font: 400 1.45rem var(--serif); }
.method-steps small { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; }

/* Interactive constellation */
.constellation-section { position: relative; overflow: hidden; padding: clamp(72px, 8vw, 112px) 0; background: #08243a; color: white; }
.constellation-section::before { content: ""; position: absolute; width: 820px; height: 820px; left: 32%; top: 28%; border: 1px solid rgba(97, 212, 198, .07); border-radius: 50%; box-shadow: 0 0 0 120px rgba(97, 212, 198, .018), 0 0 0 240px rgba(210, 174, 114, .012); }
.constellation-stars { position: absolute; inset: 0; opacity: .48; background-image: radial-gradient(circle, rgba(255,255,255,.75) 0 1px, transparent 1.5px), radial-gradient(circle, rgba(97,212,198,.55) 0 1px, transparent 1.5px); background-size: 91px 91px, 147px 147px; background-position: 0 0, 38px 70px; mask-image: linear-gradient(black, transparent 94%); }
.constellation-heading { position: relative; display: grid; grid-template-columns: 1fr .75fr; gap: 12%; align-items: end; }
.constellation-heading h2 { color: white; }
.constellation-heading h2 em { color: #a8bdc6; }
.constellation-heading > p { margin: 0 0 8px; color: #9fb3bd; font-size: 1rem; }
.constellation-layout { position: relative; display: grid; grid-template-columns: 1.4fr .65fr; gap: 6%; align-items: center; margin-top: 48px; }
.knowledge-map { position: relative; min-height: 540px; }
.connection-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.connection-lines path { fill: none; stroke: url(#lineGlow); stroke-width: 1.2; stroke-dasharray: 5 8; animation: lineFlow 14s linear infinite; }
.map-core { position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; transform: translate(-50%, -50%); display: grid; place-content: center; text-align: center; border: 1px solid rgba(97, 212, 198, .35); border-radius: 50%; background: radial-gradient(circle, rgba(20,125,119,.34), rgba(7,29,48,.92) 68%); box-shadow: 0 0 60px rgba(97, 212, 198, .14), inset 0 0 35px rgba(97, 212, 198, .08); }
.map-core::before, .map-core::after { content: ""; position: absolute; border: 1px solid rgba(210, 174, 114, .14); border-radius: 50%; }
.map-core::before { inset: -18px; }
.map-core::after { inset: -38px; border-style: dashed; animation: slowSpin 30s linear infinite; }
.map-core span { color: var(--teal-bright); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.map-core strong { margin-top: 8px; font: 400 1.62rem/1.2 var(--serif); }
.map-core i { position: absolute; width: 8px; height: 8px; right: 8px; top: 46%; border-radius: 50%; background: var(--gold); box-shadow: 0 0 20px var(--gold); }
.map-node { position: absolute; width: 180px; min-height: 74px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.055); color: white; text-align: left; cursor: pointer; backdrop-filter: blur(10px); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.map-node:hover, .map-node.is-active { transform: translateY(-4px); border-color: rgba(97,212,198,.7); background: rgba(20,125,119,.22); }
.map-node span { display: block; font: 400 1.15rem var(--serif); }
.map-node small { display: block; margin-top: 3px; color: #94aab5; font-size: .75rem; }
.map-node.is-active small { color: #c5d9dd; }
.node-physics { left: 0; top: 60px; }
.node-chemistry { left: 0; top: 245px; }
.node-biology { left: 25px; bottom: 40px; }
.node-mathematics { right: 0; top: 60px; }
.node-yoga { right: 0; top: 245px; }
.node-philosophy { right: 25px; bottom: 40px; }
.lens-panel { position: relative; overflow: hidden; min-height: 490px; padding: 44px 38px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: 0 30px 90px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.lens-orbit { position: relative; width: 110px; height: 110px; margin-bottom: 42px; border: 1px solid rgba(97,212,198,.28); border-radius: 50%; }
.lens-orbit::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(210,174,114,.35); border-radius: 50%; }
.lens-orbit span { position: absolute; width: 9px; height: 9px; left: 50%; top: 50%; border-radius: 50%; background: var(--gold); box-shadow: 0 0 22px var(--gold); }
.lens-orbit i { position: absolute; inset: -8px; border-top: 1px solid var(--teal-bright); border-radius: 50%; animation: slowSpin 6s linear infinite; }
.lens-type { margin: 0; color: var(--teal-bright); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.lens-panel h3 { margin: 13px 0 17px; font: 400 2.1rem/1.1 var(--serif); }
.lens-panel > p:not(.lens-type) { color: #afc1c9; font-size: .95rem; }
.lens-context { margin: 30px 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); }
.lens-context span { display: block; color: #8299a5; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.lens-context strong { display: block; margin-top: 7px; color: #d7e1e4; font-size: .88rem; font-weight: 500; }
.lens-panel > a { color: var(--gold); font-size: .86rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(210,174,114,.4); }
.lens-panel.is-changing > * { animation: panelChange .35s ease; }
.constellation-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 4%; }
.constellation-section { background: radial-gradient(ellipse at 25% 65%, #104754 0%, #08243a 60%); }
.constellation-stars { opacity: .25; }
.map-node { width: 158px; border-radius: 12px; }
.map-node.is-active { box-shadow: inset 3px 0 0 var(--teal-bright), 0 10px 35px rgba(0,0,0,.12); }
.map-core { width: 180px; height: 180px; }
.map-core::after { inset: -32px; border-style: solid; border-color: rgba(210,174,114,.08); animation: none; }
.lens-panel { padding: 34px 30px; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.15); }
.lens-orbit { width: 72px; height: 72px; margin-bottom: 32px; }
.lens-orbit::before { inset: 15px; }
.lens-panel > p:not(.lens-type) { font-size: 1rem; line-height: 1.8; }
.lens-type { font-size: .75rem; letter-spacing: .1em; }
.lens-context span { font-size: .75rem; }
.lens-panel > a { font-size: .875rem; }

/* Evidence */
.evidence-quote { max-width: 880px; margin: 0 auto 64px; text-align: center; }
.quote-mark { color: var(--gold); font: 400 6rem/.6 var(--serif); }
.evidence-quote blockquote { margin: 20px 0; color: var(--ink); font: 400 clamp(2rem, 3.4vw, 3.6rem)/1.2 var(--serif); letter-spacing: -.035em; }
.evidence-quote p { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.evidence-grid article { padding: 34px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(20,125,119,.035)); }
.evidence-grid h3 { margin: 24px 0 10px; color: var(--ink); font: 400 1.45rem var(--serif); }
.evidence-grid p { margin: 0; color: var(--muted); font-size: .93rem; }
.evidence-icon { position: relative; width: 48px; height: 48px; display: block; border: 1px solid rgba(20,125,119,.3); border-radius: 50%; }
.evidence-icon::before, .evidence-icon::after { content: ""; position: absolute; }
.evidence-icon.science::before { width: 18px; height: 18px; left: 14px; top: 14px; border: 1px solid var(--teal); border-radius: 50%; }
.evidence-icon.science::after { width: 5px; height: 5px; left: 22px; top: 6px; border-radius: 50%; background: var(--gold); }
.evidence-icon.sources::before { inset: 12px 15px; border: 1px solid var(--teal); border-radius: 2px; box-shadow: 5px 5px 0 rgba(20,125,119,.15); }
.evidence-icon.openness::before { width: 22px; height: 11px; left: 12px; top: 17px; border: 1px solid var(--teal); border-radius: 50%; }
.evidence-icon.openness::after { width: 5px; height: 5px; left: 21px; top: 20px; border-radius: 50%; background: var(--gold); }

/* Library + contribution */
.library-teaser { position: relative; overflow: hidden; padding: clamp(64px, 7vw, 100px) 0; background: linear-gradient(135deg, #123447, #0b2538); color: white; }
.library-teaser::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 30%, rgba(97,212,198,.16), transparent 31%); }
.library-shell { position: relative; display: grid; grid-template-columns: 1fr .8fr; gap: 12%; align-items: center; }
.library-shell h2 { color: white; }
.library-shell h2 em { color: #aec0c8; }
.library-shell p { max-width: 550px; color: #aebfc6; }
.library-shell .button { margin-top: 22px; }
.library-stack { position: relative; min-height: 310px; perspective: 1000px; }
.library-stack span { position: absolute; width: 250px; height: 340px; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: #f5f2e9; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.library-stack span:nth-child(1) { transform: translate(-64%, -48%) rotate(-12deg); background: #97b9b2; }
.library-stack span:nth-child(2) { transform: translate(-35%, -48%) rotate(9deg); background: #d1ad73; }
.library-stack span:nth-child(3) { transform: translate(-50%, -50%) rotate(-1deg); display: grid; place-content: center; color: var(--ink); text-align: center; }
.library-stack b { font: 400 2rem var(--serif); }
.library-stack i { margin-top: 7px; color: var(--teal); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.contribute-section { position: relative; padding: clamp(64px, 7vw, 96px) 0; background: var(--teal); color: white; }
.contribute-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 50%, rgba(255,255,255,.07)); }
.contribute-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .75fr; gap: 12%; align-items: center; }
.contribute-inner h2 { color: white; }
.contribute-inner h2 em { color: #c5e3df; }
.contribute-inner > div + div p { color: #d5ebe7; }
.contribute-inner .button { margin-top: 17px; }
.contribute-email { margin: 12px 0 0; font-size: .95rem; }
.contribute-email a { color: white; text-underline-offset: 4px; }
.closing-section { position: relative; min-height: 390px; display: grid; place-content: center; text-align: center; }
.closing-section p { position: relative; z-index: 1; margin: 0; color: var(--ink); font: 400 clamp(3.3rem, 6vw, 6rem)/1.02 var(--serif); letter-spacing: -.05em; }
.closing-section p em { color: var(--teal); font-weight: 400; }
.closing-section > a { position: relative; z-index: 1; width: max-content; margin: 35px auto 0; color: var(--teal); font-size: .9rem; font-weight: 750; text-decoration: none; border-bottom: 1px solid rgba(20,125,119,.35); }
.closing-orbit { position: absolute; width: 420px; height: 180px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); border: 1px solid rgba(20,125,119,.16); border-radius: 50%; }
.closing-orbit span { position: absolute; inset: 28px; border: 1px solid rgba(210,174,114,.18); border-radius: 50%; }
.closing-orbit i { position: absolute; width: 9px; height: 9px; left: 12px; top: 50%; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }

/* Footer */
.site-footer { background: #061a2b; color: #d7e1e4; padding: 68px var(--gutter) 24px; }
.footer-main { width: min(var(--width), 100%); margin: auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; padding-bottom: 52px; }
.wordmark-footer { display: inline-block; color: white; }
.wordmark-footer small { color: #8ea5b0; }
.footer-brand p { max-width: 300px; margin: 20px 0 0; color: #9fb1b9; font: 400 1.1rem/1.5 var(--serif); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h2 { margin: 0 0 16px; color: white; font-size: .82rem; }
.footer-links a { display: block; width: max-content; max-width: 100%; margin: 9px 0; color: #aebec5; font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { width: min(var(--width), 100%); margin: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; gap: 20px; color: #8299a4; font-size: .74rem; }

/* Inner pages */
.page-hero { position: relative; padding-top: clamp(80px, 9vw, 130px); padding-bottom: clamp(65px, 8vw, 105px); }
.page-hero::before { content: ""; position: absolute; width: 260px; height: 260px; right: 0; top: 18%; border: 1px solid rgba(20,125,119,.12); border-radius: 50%; box-shadow: 0 0 0 50px rgba(20,125,119,.025); }
.eyebrow-dark { color: var(--teal); margin-bottom: 24px; }
.page-hero h1 { max-width: 900px; color: var(--ink); font-size: clamp(3.4rem, 6.2vw, 6rem); }
.page-lead { max-width: 720px; margin: 26px 0 0; color: var(--muted); font: 400 1.35rem/1.55 var(--serif); }
.page-hero-rule { display: block; width: 80px; height: 2px; margin-top: 40px; background: linear-gradient(90deg, var(--gold), transparent); }
.info-layout { display: grid; grid-template-columns: 250px 1fr; gap: 9%; padding-bottom: 120px; }
.info-aside { position: sticky; top: 120px; align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.55); }
.info-aside > span { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
.info-aside p { color: var(--muted); font: 400 1rem/1.55 var(--serif); }
.info-aside a, .join-note a { color: var(--teal); font-size: .85rem; font-weight: 750; text-decoration: none; }
.info-sections > section { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.info-number { color: var(--gold); font-size: .82rem; font-weight: 800; }
.info-sections h2 { margin: -6px 0 12px; color: var(--ink); font: 400 1.8rem/1.25 var(--serif); }
.info-sections p { max-width: 700px; margin: 0; color: var(--muted); font-size: 1rem; }
.info-sections > .button { margin-left: 64px; }
.search-form { max-width: 700px; display: flex; gap: 10px; margin-top: 36px; }
.search-form input { flex: 1; min-width: 0; min-height: 54px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); }
.search-form button { padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: white; font-size: .88rem; font-weight: 750; cursor: pointer; }
.explore-list { padding-bottom: 120px; }
.explore-list > .section-label { margin-bottom: 28px; }
.explore-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.explore-cards article { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper-2); }
.explore-cards article > span { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.explore-cards h2 { margin: 24px 0 10px; color: var(--ink); font: 400 1.65rem/1.2 var(--serif); }
.explore-cards p { min-height: 78px; color: var(--muted); font-size: .92rem; }
.explore-cards a { color: var(--teal); font-size: .84rem; font-weight: 750; text-decoration: none; }
.explore-note, .search-empty { margin: 26px 0; color: var(--muted); font-size: .88rem; }
.search-empty a { color: var(--teal); }
.join-note { margin-bottom: 100px; padding: 30px; border-left: 3px solid var(--teal); border-radius: 0 16px 16px 0; background: var(--paper-2); }
.join-note p { max-width: 720px; color: var(--muted); }
.join-email { margin: 0 0 22px; color: var(--text); }
.join-email a, .join-note a[href^="mailto:"] { color: var(--teal); font-weight: 750; text-underline-offset: 3px; }
.library-empty-page { padding: 24px 0 120px; }
.library-empty-page h2 { margin: 20px 0 8px; color: var(--ink); font: 400 2rem var(--serif); }
.library-empty-page p { max-width: 650px; color: var(--muted); }
.empty-mark { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(20,125,119,.3); border-radius: 50%; color: var(--teal); font-size: 1.5rem; }
.search-results { max-width: 700px; margin-top: 28px; }
.search-results > p { color: var(--muted); }
.search-result { display: flex; align-items: center; gap: 18px; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result span { min-width: 155px; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.search-result strong { font: 400 1.25rem var(--serif); }
.search-result b { margin-left: auto; color: var(--teal); }
.section-label { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .14em; }
.section-label span:first-child { color: var(--teal); }
.section-label-light { color: #a9bec7; }
.section-label-light span:first-child { color: var(--gold); }
.error-page { min-height: 520px; padding-top: 110px; }
.error-page h1 { color: var(--ink); font-size: clamp(3.4rem, 6vw, 5.5rem); }
.error-page .page-lead { margin-bottom: 30px; }

/* Sign in */
.login-page { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; }
.login-art { min-height: 680px; display: flex; align-items: end; padding: clamp(45px, 7vw, 100px); background: linear-gradient(90deg, rgba(6,26,44,.82), rgba(6,26,44,.32)), url("../img/cosmic_mind_reference.webp") center/cover; color: white; }
.login-art h1 { font-size: clamp(3.5rem, 5.2vw, 5.7rem); }
.login-art > div > p:last-child { color: #c6d4da; }
.login-panel { width: min(440px, calc(100% - 54px)); margin: auto; padding: 72px 0; }
.login-panel h2 { margin: 0; color: var(--ink); font: 400 3rem var(--serif); }
.login-panel > .page-lead { margin: 8px 0 28px; font-size: 1.05rem; }
.login-panel form { display: grid; gap: 10px; }
.login-panel label { margin-top: 10px; color: var(--text); font-size: .85rem; font-weight: 750; }
.login-panel input { height: 50px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.login-panel button { margin-top: 17px; }
.login-footnote { margin-top: 22px; color: var(--muted); font-size: .82rem; }
.form-error { padding: 12px; border-radius: 10px; background: #fcf1ed; color: #8d392a; font-size: .88rem; }

/* Motion */
.reveal { animation: heroReveal .8s both cubic-bezier(.22,.8,.24,1); }
.hero h1.reveal { animation-delay: .08s; }
.hero-lead.reveal { animation-delay: .16s; }
.hero-copy.reveal { animation-delay: .23s; }
.hero-actions.reveal { animation-delay: .3s; }
.hero-disciplines.reveal { animation-delay: .37s; }
.reveal-section { opacity: 1; transform: none; }
.reveal-section.reveal-ready { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.24,1); }
.reveal-section.is-visible { opacity: 1; transform: none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; scroll-behavior: auto !important; }
.motion-paused .reveal, .motion-paused .reveal-section { opacity: 1; transform: none; animation: none; transition: none; }
.motion-paused .hero-art { transform: scale(1.04); transition: none; }
.motion-paused .lens-panel.is-changing > * { animation: none; }
@keyframes heroReveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes breatheGlow { 50% { transform: scale(1.12); opacity: .72; } }
@keyframes scrollPulse { 50% { transform: translateY(8px); opacity: .45; } }
@keyframes orbitSpark { to { transform: rotate(360deg); } }
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes lineFlow { to { stroke-dashoffset: -130; } }
@keyframes panelChange { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .desktop-nav { gap: 15px; }
  .header-inner { gap: 17px; }
  .hero-art { left: 20%; }
  .method-section { grid-template-columns: 1fr; gap: 58px; }
  .constellation-layout { grid-template-columns: 1fr; gap: 32px; }
  .knowledge-map { max-width: 760px; width: 100%; margin: auto; }
  .lens-panel { min-height: auto; display: grid; grid-template-columns: 130px 1fr; column-gap: 26px; }
  .lens-orbit { grid-row: 1 / 6; }
  .lens-panel h3, .lens-panel p, .lens-context, .lens-panel > a { grid-column: 2; }
  .lens-type { grid-column: 2; }
  .lens-context { margin: 18px 0; }
}

@media (max-width: 1000px) {
  .header-inner { height: 70px; }
  .desktop-nav, .header-actions { display: none; }
  .mobile-nav { display: block; margin-left: auto; position: relative; }
  .mobile-nav summary { width: 44px; height: 44px; list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
  .mobile-nav[open] summary span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .mobile-nav[open] summary span:nth-child(2) { opacity: 0; }
  .mobile-nav[open] summary span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .mobile-menu { position: absolute; right: -10px; top: 53px; width: min(320px, calc(100vw - 28px)); padding: 14px; display: grid; border: 1px solid var(--line); border-radius: 16px; background: rgba(247,248,244,.98); box-shadow: var(--shadow); }
  .mobile-menu a { padding: 13px 12px; border-bottom: 1px solid var(--line); font-size: .96rem; text-decoration: none; }
  .mobile-menu a:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .hero { min-height: calc(100svh - 70px); align-items: end; }
  .hero::before { background: linear-gradient(180deg, rgba(6,26,44,.08), rgba(6,26,44,.56) 35%, #061a2c 77%); }
  .hero-art { inset: 0; background-position: 61% top; opacity: .72; mask-image: linear-gradient(180deg, black 0%, black 48%, transparent 84%); -webkit-mask-image: linear-gradient(180deg, black 0%, black 48%, transparent 84%); }
  .hero-orbits { opacity: .55; transform: scale(.7); transform-origin: 80% 20%; }
  .hero-inner { padding-top: 250px; padding-bottom: 90px; }
  .hero h1 { font-size: clamp(3.7rem, 17vw, 5.3rem); }
  .hero-lead { font-size: 1.3rem; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; }
  .hero-disciplines { display: none; }
  .hero-bottom { bottom: 16px; padding-top: 6px; }
  .hero-bottom p { display: none; }
  .scroll-cue { font-size: .75rem; letter-spacing: .04em; }
  .section-space { padding-top: 58px; padding-bottom: 58px; }
  .intro-grid, .constellation-heading, .library-shell, .contribute-inner { grid-template-columns: 1fr; gap: 22px; }
  .intro-grid h2, .section-heading h2, .method-intro h2, .constellation-heading h2, .library-shell h2, .contribute-inner h2 { font-size: 2.75rem; }
  .intro-section::after { font-size: 130px; }
  .section-heading { align-items: start; flex-direction: column; }
  .question-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .question-card { min-height: 350px; }
  .knowledge-map { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 220px; }
  .connection-lines { display: none; }
  .map-core { top: 110px; width: 160px; height: 160px; }
  .map-node { position: static; width: auto; min-height: 82px; padding: 14px 12px; }
  .node-physics, .node-chemistry, .node-biology, .node-mathematics, .node-yoga, .node-philosophy { inset: auto; }
  .lens-panel { display: block; padding: 26px 24px; }
  .lens-orbit { width: 82px; height: 82px; margin-bottom: 30px; }
  .lens-panel h3 { font-size: 1.8rem; }
  .evidence-quote { margin-bottom: 65px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .library-stack { min-height: 350px; transform: scale(.86); }
  .contribute-inner { gap: 15px; }
  .closing-section { min-height: 330px; }
  .closing-section p { font-size: 3.5rem; }
  .closing-orbit { width: 300px; height: 150px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-links { gap: 14px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-hero { padding-top: 72px; padding-bottom: 58px; }
  .page-hero h1 { font-size: 3.6rem; }
  .page-lead { font-size: 1.18rem; }
  .info-layout { grid-template-columns: 1fr; gap: 30px; padding-bottom: 80px; }
  .info-aside { position: static; }
  .info-sections > section { grid-template-columns: 32px 1fr; gap: 12px; }
  .info-sections > .button { margin-left: 44px; }
  .search-form { flex-direction: column; }
  .search-form button { min-height: 50px; }
  .explore-cards { grid-template-columns: 1fr; }
  .explore-cards p { min-height: auto; }
  .search-result { align-items: flex-start; flex-direction: column; }
  .search-result b { display: none; }
  .login-page { grid-template-columns: 1fr; }
  .login-art { min-height: 390px; padding: 45px 28px; background-position: center 40%; }
  .login-art h1 { font-size: 3.7rem; }
  .login-panel { padding: 55px 0 72px; }
}

@media (max-width: 430px) {
  .wordmark { font-size: .9rem; }
  .wordmark small { font-size: .57rem; }
  .hero-inner { padding-top: 220px; }
  .hero h1 { font-size: clamp(2.8rem, 13.3vw, 3.55rem); }
  .hero-copy { line-height: 1.68; }
  .question-card { min-height: 340px; padding: 22px; }
  .question-art { margin: -22px -22px 20px; }
  .map-node small { font-size: .75rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 3rem; }
}

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

/* Deep blue and teal visual system */
:root { --paper: #102b37; --paper-2: #173d45; --text: #e1edef; --muted: #aec3ca; --line: rgba(170, 218, 211, .16); --teal: #43d7b9; --teal-bright: #65e8cd; }
body { background: var(--paper); color: var(--text); }
.site-header { background: rgba(15, 39, 51, .96); border-color: rgba(152, 213, 204, .14); }
.wordmark, .desktop-nav a, .header-actions a { color: #eef8f6; }
.wordmark small { color: #9dbac1; }
.sign-in-link { border-color: rgba(100, 223, 198, .35); }
.sign-in-link:hover { color: #0d2934; background: #55dbbd; }
.hero { background: #102d3a; }
.hero::before { background: linear-gradient(90deg, #102d3a 0%, rgba(16,45,58,.94) 32%, rgba(13,49,54,.54) 62%, rgba(9,38,45,.16) 100%), radial-gradient(circle at 75% 42%, rgba(28,195,155,.17), transparent 37%); }
.hero h1, .intro-grid h2, .section-heading h2, .method-intro h2, .page-hero h1, .info-sections h2, .explore-cards h2, .library-empty-page h2, .error-page h1, .login-panel h2 { color: #f3faf8; }
.hero h1, .intro-grid h2, .section-heading h2, .method-intro h2, .constellation-heading h2, .library-shell h2, .contribute-inner h2, .page-hero h1 { font-family: var(--sans); font-weight: 700; letter-spacing: -.045em; }
.hero h1 em, .intro-grid h2 em, .section-heading h2 em, .method-intro h2 em { color: #64dfc3; font-style: normal; }
.hero h1 { font-size: clamp(3.7rem, 6vw, 6rem); }
.button-light { background: #19b99a; color: #062d2c; }
.button-light:hover { background: #69e7cb; color: #062d2c; }
.button-dark, .search-form button { background: #16b394; color: #072b2b; }
.button-dark:hover { background: #65e4c8; color: #072b2b; }
.intro-section { background: transparent; }
.intro-copy p, .method-intro > p:last-child, .page-lead, .info-sections p, .library-empty-page p, .join-note p { color: #b8ccd0; }
.principle-line, .method-steps strong, .closing-section p { color: #edf7f4; }
.questions-section { background: linear-gradient(135deg, #102e3c, #103f40 72%, #12363e); }
.question-card, .explore-cards article { color: #f0f8f6; border: 1px solid rgba(125,216,199,.18); background: linear-gradient(145deg, #183c48, #102f3b); box-shadow: 0 18px 45px rgba(3,20,27,.2); }
.question-card::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #13b999, #65e6c9); }
.question-card:hover { color: white; background: #1b4850; border-color: rgba(93,235,204,.55); }
.question-summary, .explore-cards p { color: #b4cbd0; }
.question-topic, .question-action, .text-link, .section-kicker, .eyebrow-dark, .explore-cards a, .explore-cards article > span { color: #65e4c8; }
.question-title, .method-steps strong, .evidence-grid h3 { font-family: var(--sans); font-weight: 650; letter-spacing: -.03em; }
.step-symbol { background: #143641; color: #65e4c8; box-shadow: 0 0 0 9px var(--paper); }
.method-steps small, .evidence-grid p { color: #b9cbd0; }
.constellation-section { background: radial-gradient(ellipse at 25% 60%, #16494a, #0e2d3b 68%); }
.lens-panel, .map-node { border-color: rgba(153,220,207,.2); }
.evidence-quote blockquote { color: #eff8f5; font-family: var(--sans); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 650; letter-spacing: -.035em; }
.evidence-quote p { color: #65e4c8; }
.evidence-grid article { padding: 28px; border: 1px solid rgba(145,218,202,.16); border-radius: 18px; background: linear-gradient(150deg, #193c47, #112f3a); }
.evidence-grid h3 { color: #f1f8f5; }
.library-teaser { background: linear-gradient(125deg, #102f3d, #145047); }
.contribute-section { background: linear-gradient(120deg, #0d675b, #10544c); }
.closing-section p em, .closing-section > a { color: #65e4c8; }
.site-footer { background: #0b242e; }
.info-aside, .join-note { background: #173b45; border-color: rgba(151,221,205,.18); }
.info-aside p { color: #b9cbd0; }
.info-sections > section { border-color: rgba(151,221,205,.18); }
.login-page { background: #102b37; }
.login-panel label { color: #e0edeb; }
.login-panel input, .search-form input { background: #f0f7f5; color: #102b37; }
.skip-link { color: #102b37; }
@media (max-width: 1000px) {
  .mobile-nav summary span { background: #e4f4ef; }
  .mobile-menu { background: #12343d; border-color: rgba(151,221,205,.2); }
  .mobile-menu a { color: #e3f1ee; }
}
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(13,42,51,.18), rgba(13,42,51,.65) 35%, #102d3a 77%); }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 5rem); }
}
@media (max-width: 430px) { .hero h1 { font-size: clamp(2.8rem, 13.3vw, 3.55rem); } }

/* Keep the connected example compact on shorter laptop displays. */
@media (min-width: 1001px) and (max-height: 850px) {
  .constellation-section { padding: 32px 0; }
  .constellation-heading { gap: 8%; }
  .constellation-heading .section-kicker { margin-bottom: 12px; }
  .constellation-heading h2 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.08; }
  .constellation-heading > p { margin-bottom: 0; line-height: 1.5; }
  .constellation-layout { margin-top: 20px; }
  .knowledge-map { min-height: 360px; }
  .map-core { width: 145px; height: 145px; }
  .map-core strong { font-size: 1.35rem; }
  .map-node { min-height: 62px; padding: 10px 14px; }
  .node-physics, .node-mathematics { top: 15px; }
  .node-chemistry, .node-yoga { top: calc(50% - 31px); }
  .node-biology, .node-philosophy { bottom: 15px; }
  .lens-panel { min-height: 0; padding: 22px 26px; }
  .lens-orbit { width: 48px; height: 48px; margin-bottom: 18px; }
  .lens-orbit::before { inset: 10px; }
  .lens-panel h3 { margin: 8px 0 10px; font-size: 1.65rem; }
  .lens-panel > p:not(.lens-type) { margin: 0; line-height: 1.55; }
  .lens-context { margin: 16px 0; padding-top: 14px; }
}

/* Reading room covers */
.library-stack span { border-color: rgba(133, 226, 207, .24); box-shadow: 0 25px 60px rgba(2, 18, 27, .34); }
.library-stack span:nth-child(1) { background: linear-gradient(145deg, #24695f, #123b43); }
.library-stack span:nth-child(2) { background: linear-gradient(145deg, #267e70, #164554); }
.library-stack span:nth-child(3) { overflow: hidden; color: #f0faf7; background: radial-gradient(circle at 50% 35%, rgba(62, 203, 171, .16), transparent 46%), linear-gradient(150deg, #173f4b, #0b2837); }
.library-stack span:nth-child(3)::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(102, 225, 197, .2); border-radius: 4px; }
.library-stack span:nth-child(3)::after { content: ""; position: absolute; width: 86px; height: 86px; left: 50%; top: 23%; transform: translateX(-50%); border: 1px solid rgba(102, 225, 197, .24); border-radius: 50%; box-shadow: 0 0 0 14px rgba(102, 225, 197, .04), inset 0 0 0 15px rgba(102, 225, 197, .04); }
.library-stack b { position: relative; font-family: var(--sans); font-size: 1.55rem; letter-spacing: .12em; }
.library-stack i { position: relative; color: #70e1c7; font-style: normal; }
