:root {
  color-scheme: dark;
  --ink: #f7f2e6;
  --ink-soft: #c6c5d6;
  --ink-muted: #8e91ad;
  --night: #080b23;
  --night-deep: #050716;
  --panel: rgba(17, 21, 54, 0.8);
  --panel-strong: #111536;
  --line: rgba(190, 178, 236, 0.18);
  --line-strong: rgba(239, 189, 88, 0.44);
  --gold: #efbd58;
  --gold-pale: #ffe3a4;
  --saffron: #f0873b;
  --violet: #8a78e8;
  --indigo: #26295f;
  --max: 1220px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 74% 16%, rgba(62, 54, 139, 0.2), transparent 34rem),
    var(--night-deep);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--gold);
  color: #171121;
  padding: 0.7rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
  padding: 0.8rem max(1.2rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 22, 0.76);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  filter: drop-shadow(0 0 12px rgba(239, 189, 88, 0.22));
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 0.24rem;
  color: var(--gold);
  font-size: 0.72rem;
}

nav {
  display: flex;
  gap: clamp(0.9rem, 2.2vw, 2rem);
}

nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.explorer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7.5rem) max(1.2rem, calc((100vw - var(--max)) / 2)) 6rem;
}

.cosmic-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(5, 7, 22, 0.24), var(--night-deep) 88%),
    radial-gradient(circle at 50% 12%, rgba(240, 135, 59, 0.2), transparent 24rem),
    url("./assets/cosmic-inquiry.png");
  background-position: center, center, center top;
  background-size: cover, cover, cover;
  opacity: 0.96;
}

.cosmic-wash::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 22, 0.75), transparent 45%, rgba(5, 7, 22, 0.45)),
    radial-gradient(circle at 50% 36%, transparent, rgba(5, 7, 22, 0.5) 70%);
  content: "";
}

.intro {
  max-width: 780px;
}

.kicker,
.section-label {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2.1vw, 1.42rem);
  line-height: 1.55;
}

.question-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 2rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 10, 31, 0.62);
  backdrop-filter: blur(16px);
}

.question-bar > span {
  flex: 0 0 auto;
  padding-left: 0.55rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.question-options,
.lens-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.path-chip,
.lens-chip,
.quiet-button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.65rem 0.88rem;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.path-chip:hover,
.lens-chip:hover,
.quiet-button:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.path-chip.is-active,
.lens-chip.is-active {
  border-color: rgba(239, 189, 88, 0.4);
  background: rgba(239, 189, 88, 0.13);
  color: var(--gold-pale);
}

.inquiry-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
  gap: 1rem;
  align-items: stretch;
}

.map-shell,
.insight-card,
.journey-detail,
.lens-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(22, 26, 65, 0.82), rgba(9, 12, 36, 0.88));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(20px);
}

.map-shell {
  min-height: 670px;
  border-radius: 28px;
  padding: clamp(1.2rem, 2.2vw, 2rem);
}

.map-heading {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.map-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  font-weight: 500;
}

.quiet-button {
  border-color: var(--line);
  padding-inline: 1rem;
}

.concept-map {
  position: relative;
  width: min(100%, 550px);
  aspect-ratio: 1;
  margin: 1.3rem auto 0;
}

.concept-map::before {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 189, 88, 0.08), transparent 68%);
  content: "";
  filter: blur(2px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(198, 185, 241, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  inset: 7%;
  box-shadow: inset 0 0 40px rgba(119, 99, 215, 0.07);
}

.orbit-two {
  inset: 30%;
  border-color: rgba(239, 189, 88, 0.24);
}

.concept-node {
  --node-size: 112px;
  position: absolute;
  z-index: 2;
  top: var(--y);
  left: var(--x);
  display: flex;
  width: var(--node-size);
  min-height: 64px;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(194, 183, 234, 0.23);
  border-radius: 16px;
  background: rgba(10, 13, 39, 0.9);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 0.65rem;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.concept-node:hover,
.concept-node:focus-visible {
  z-index: 4;
  border-color: var(--line-strong);
  color: var(--ink);
  transform: translate(-50%, -50%) scale(1.04);
}

.concept-node.is-related {
  border-color: rgba(239, 189, 88, 0.34);
  box-shadow: 0 0 24px rgba(239, 189, 88, 0.08);
}

.concept-node.is-muted {
  opacity: 0.46;
}

.concept-node.is-selected {
  z-index: 5;
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(98, 65, 41, 0.92), rgba(31, 25, 52, 0.96));
  box-shadow: 0 0 0 4px rgba(239, 189, 88, 0.09), 0 16px 45px rgba(0, 0, 0, 0.28);
  color: var(--gold-pale);
}

.node-sanskrit {
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 500;
}

.center-node {
  --node-size: 132px;
  top: 50%;
  left: 50%;
  min-height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 34%, rgba(90, 74, 170, 0.75), rgba(15, 18, 49, 0.96) 70%);
  box-shadow: 0 0 0 12px rgba(124, 103, 213, 0.04), 0 0 55px rgba(110, 88, 207, 0.16);
  font-size: 0.82rem;
}

.center-node .node-sanskrit {
  font-size: 1.3rem;
}

.insight-card {
  display: flex;
  min-height: 670px;
  flex-direction: column;
  border-radius: 28px;
  padding: clamp(1.5rem, 3.6vw, 3.2rem);
}

.insight-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.insight-topline span {
  color: var(--ink-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.insight-sanskrit {
  margin: clamp(2.4rem, 5vw, 5rem) 0 0.55rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}

.insight-card h2 {
  margin-bottom: 1.15rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.insight-summary {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.insight-card dl {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}

.insight-card dl div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.insight-card dt,
.lens-dimensions span,
.practice-card span,
.source-card > span {
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-card dd {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: fit-content;
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #1b1420;
  cursor: pointer;
  font-weight: 850;
  padding: 0.85rem 1.15rem;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
}

.section-pad {
  padding: clamp(5rem, 10vw, 9rem) max(1.2rem, calc((100vw - var(--max)) / 2));
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-intro .section-label {
  grid-column: 1 / -1;
  margin-bottom: -0.6rem;
}

.section-intro h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-intro > p:last-child {
  margin-bottom: 0.25rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.journey {
  background:
    linear-gradient(rgba(14, 18, 47, 0.95), rgba(8, 11, 35, 0.98)),
    radial-gradient(circle at 15% 80%, rgba(232, 133, 57, 0.16), transparent 34rem);
}

.journey-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 1rem;
}

.journey-rail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.journey-step {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0 0.8rem;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 1rem;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.journey-step:hover {
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(3px);
}

.journey-step.is-active {
  border-color: var(--line-strong);
  background: rgba(239, 189, 88, 0.09);
}

.journey-step span {
  grid-row: 1 / 3;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.journey-step strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.journey-step small {
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.journey-detail {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 440px;
  gap: 1.8rem;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(1.6rem, 4vw, 3.5rem);
}

.journey-number {
  color: rgba(239, 189, 88, 0.2);
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 0.85;
}

.journey-detail h3 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.journey-detail > div:last-child > p:not(.section-label, .source-line) {
  max-width: 62ch;
  color: var(--ink-soft);
}

.practice-card {
  margin-top: 2rem;
  padding: 1.2rem 1.3rem;
  border-left: 2px solid var(--gold);
  background: rgba(239, 189, 88, 0.06);
}

.practice-card p {
  margin: 0.4rem 0 0;
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.source-line {
  margin: 1.25rem 0 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.lenses {
  position: relative;
  overflow: hidden;
  background: #090c27;
}

.lenses::before {
  position: absolute;
  top: -20rem;
  right: -18rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(136, 118, 227, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8rem rgba(115, 94, 215, 0.02), inset 0 0 0 16rem rgba(115, 94, 215, 0.02);
  content: "";
  pointer-events: none;
}

.section-intro.narrow {
  position: relative;
  z-index: 1;
}

.lens-selector {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 9, 29, 0.7);
}

.lens-chip {
  flex: 1 1 auto;
  min-width: 112px;
}

.lens-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: 26px;
}

.lens-identity {
  padding: clamp(1.6rem, 4vw, 3.6rem);
  border-right: 1px solid var(--line);
}

.lens-sanskrit {
  margin-bottom: 2rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.lens-identity h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lens-identity > p:last-child {
  color: var(--ink-soft);
}

.lens-dimensions {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.lens-dimensions > div {
  display: grid;
  grid-template-columns: 0.56fr 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem clamp(1.5rem, 3vw, 2.8rem);
  border-bottom: 1px solid var(--line);
}

.lens-dimensions > div:last-child {
  border-bottom: 0;
}

.lens-dimensions p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.nuance-note {
  max-width: 760px;
  margin: 1rem 0 0 auto;
  color: var(--ink-muted);
  font-size: 0.82rem;
  text-align: right;
}

.sources {
  background:
    radial-gradient(circle at 15% 20%, rgba(114, 91, 211, 0.13), transparent 28rem),
    var(--night-deep);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.source-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16, 20, 51, 0.64);
  padding: clamp(1.3rem, 2.5vw, 2rem);
  transition: border-color 180ms ease, transform 180ms ease;
}

.source-card:hover {
  border-color: rgba(239, 189, 88, 0.34);
  transform: translateY(-3px);
}

.source-script {
  margin: 1.5rem 0 0.7rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.source-card h3 {
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}

.source-card > p:last-child {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.featured-source {
  background: linear-gradient(145deg, rgba(101, 65, 37, 0.42), rgba(23, 22, 52, 0.76));
  border-color: rgba(239, 189, 88, 0.28);
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(239, 189, 88, 0.09), transparent 22rem),
    #080b23;
  text-align: center;
}

.closing img {
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 24px rgba(239, 189, 88, 0.2));
}

.closing .source-script {
  margin-top: 0;
}

.closing h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.closing > p:not(.source-script) {
  max-width: 620px;
  color: var(--ink-soft);
}

.closing .primary-button {
  margin-top: 1.2rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem max(1.2rem, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #050716;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .inquiry-workspace,
  .journey-layout,
  .lens-card {
    grid-template-columns: 1fr;
  }

  .map-shell,
  .insight-card {
    min-height: auto;
  }

  .insight-card {
    min-height: 560px;
  }

  .insight-sanskrit {
    margin-top: 2rem;
  }

  .journey-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(155px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
  }

  .journey-step {
    scroll-snap-align: start;
  }

  .lens-identity {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  nav {
    gap: 1rem;
  }

  nav a:nth-child(2),
  nav a:nth-child(3) {
    display: none;
  }

  .explorer {
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .question-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .question-bar > span {
    padding-top: 0.45rem;
  }

  .concept-map {
    display: grid;
    width: 100%;
    aspect-ratio: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1.6rem;
  }

  .orbit,
  .concept-map::before {
    display: none;
  }

  .concept-node,
  .center-node {
    --node-size: auto;
    position: static;
    width: 100%;
    min-height: 76px;
    transform: none;
    border-radius: 15px;
  }

  .concept-node:hover,
  .concept-node:focus-visible {
    transform: translateY(-2px);
  }

  .center-node {
    grid-column: 1 / -1;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .section-intro .section-label {
    grid-column: auto;
  }

  .journey-detail {
    grid-template-columns: 1fr;
  }

  .journey-number {
    font-size: 4.5rem;
  }

  .lens-selector {
    border-radius: 18px;
  }

  .lens-dimensions > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .source-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .brand strong {
    font-size: 0.92rem;
  }

  .source-grid {
    grid-template-columns: 1fr;
  }

  .source-card {
    min-height: 210px;
  }

  footer {
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Progressive-depth expansion */
.depth-key {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  max-width: 900px;
  margin-top: 2.2rem;
  padding: 0.8rem 1rem;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(239, 189, 88, 0.08), transparent);
}

.depth-key > span {
  flex: 0 0 auto;
  color: var(--gold-pale);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.depth-key ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  list-style: none;
}

.depth-key li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.depth-key b {
  display: inline-grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border: 1px solid rgba(239, 189, 88, 0.38);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.7rem;
}

.inquiry-workspace {
  align-items: start;
  grid-template-columns: minmax(0, 0.94fr) minmax(390px, 1.06fr);
}

.map-shell {
  position: sticky;
  top: 94px;
  min-height: 745px;
}

.concept-map {
  width: min(100%, 580px);
  margin-top: 2rem;
}

.concept-node {
  --node-size: 100px;
  min-height: 66px;
  padding: 0.58rem;
  font-size: 0.69rem;
}

.concept-node[data-path-order]::after {
  position: absolute;
  top: -0.48rem;
  right: -0.42rem;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 1px solid rgba(239, 189, 88, 0.62);
  border-radius: 50%;
  background: #151634;
  color: var(--gold-pale);
  content: attr(data-path-order);
  font-size: 0.62rem;
  font-weight: 850;
}

.center-node {
  --node-size: 126px;
  min-height: 126px;
}

.path-trail {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.path-trail > span {
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.path-trail ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-trail li {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.path-trail button {
  border: 0;
  background: transparent;
  color: var(--gold-pale);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0;
  text-decoration: underline;
  text-decoration-color: rgba(239, 189, 88, 0.24);
  text-underline-offset: 0.25rem;
}

.path-trail button:hover,
.path-trail button:focus-visible {
  text-decoration-color: var(--gold);
}

.path-trail li > span {
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.insight-card {
  min-height: 0;
  padding: clamp(1.5rem, 3vw, 2.7rem);
}

.insight-sanskrit {
  margin-top: clamp(1.6rem, 3vw, 2.8rem);
}

.insight-card h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3vw, 3.05rem);
}

.depth-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 1.4rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(5, 7, 24, 0.62);
}

.depth-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.55rem 0.45rem;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.depth-tab:hover {
  color: var(--ink);
}

.depth-tab.is-active {
  border-color: rgba(239, 189, 88, 0.34);
  background: rgba(239, 189, 88, 0.12);
  color: var(--gold-pale);
}

.depth-panel {
  margin-top: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(190, 178, 236, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(132, 107, 222, 0.08), rgba(239, 189, 88, 0.035)),
    rgba(7, 9, 29, 0.56);
}

.depth-panel:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 2px;
}

.depth-eyebrow {
  margin-bottom: 0.45rem;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.depth-panel h3 {
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.18;
}

.depth-panel > p:not(.depth-eyebrow) {
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.58;
}

.depth-panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.depth-panel li::marker {
  color: var(--gold);
}

.depth-anchor {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.depth-anchor span,
.journey-facets span,
.signature-relation span {
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.depth-anchor p {
  margin: 0.25rem 0 0;
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.45;
}

.inquiry-pair {
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem !important;
  margin: 1rem 0 1.4rem !important;
}

.inquiry-pair div {
  padding: 0.85rem 0 0 !important;
}

.inquiry-pair dd {
  font-size: 0.84rem;
}

.section-intro {
  align-items: end;
}

.section-intro > div h2 {
  margin-bottom: 0;
}

.journey-layout {
  grid-template-columns: minmax(230px, 0.52fr) minmax(0, 1.48fr);
}

.journey-detail {
  min-height: 610px;
  grid-template-columns: 112px 1fr;
}

.journey-copy > p:not(.section-label, .source-line) {
  max-width: 70ch;
  color: var(--ink-soft);
}

.journey-facets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.journey-facets > div {
  min-height: 138px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 9, 29, 0.48);
}

.journey-facets > div:nth-child(3) {
  border-color: rgba(239, 189, 88, 0.3);
  background: rgba(239, 189, 88, 0.06);
}

.journey-facets > div:nth-child(4) {
  border-color: rgba(240, 135, 59, 0.24);
}

.journey-facets p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}

.lens-card {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
}

.lens-identity {
  display: flex;
  flex-direction: column;
}

.signature-relation {
  margin-top: 1.3rem;
  padding: 1rem;
  border-left: 2px solid var(--gold);
  background: rgba(239, 189, 88, 0.06);
}

.signature-relation p {
  margin: 0.35rem 0 0;
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
}

.lens-lineage {
  margin: auto 0 0;
  padding-top: 1.5rem;
  color: var(--ink-muted) !important;
  font-size: 0.76rem;
  line-height: 1.5;
}

.lens-dimensions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
}

.lens-dimensions > div {
  display: block;
  min-height: 168px;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lens-dimensions > div:nth-child(even) {
  border-right: 0;
}

.lens-dimensions > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.lens-dimensions p {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.52;
}

.nuance-note {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  max-width: none;
  margin-top: 0.9rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(240, 135, 59, 0.22);
  border-radius: 14px;
  background: rgba(240, 135, 59, 0.045);
  text-align: left;
}

.nuance-note strong {
  color: var(--saffron);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nuance-note p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.source-card {
  min-height: 325px;
}

.source-card > p:not(.source-script) {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.source-card details {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.source-card summary {
  color: var(--gold-pale);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
  list-style-position: outside;
}

.source-card details[open] summary {
  margin-bottom: 0.75rem;
}

.source-card details p {
  margin: 0 0 0.65rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.source-card details p:last-child {
  margin-bottom: 0;
}

.source-card details b {
  color: var(--ink-soft);
  font-weight: 750;
}

.reading-method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 26, 65, 0.58), rgba(9, 12, 36, 0.76));
  overflow: hidden;
}

.reading-method > div {
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.reading-method > div:last-child {
  border-right: 0;
}

.reading-method span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.reading-method h3 {
  margin: 0.7rem 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
}

.reading-method p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .inquiry-workspace {
    grid-template-columns: 1fr;
  }

  .journey-layout {
    grid-template-columns: 1fr;
  }

  .journey-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(155px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
  }

  .journey-step {
    scroll-snap-align: start;
  }

  .map-shell {
    position: relative;
    top: auto;
    min-height: 760px;
  }

  .concept-map {
    width: min(100%, 620px);
  }

  .insight-card h2 {
    max-width: 18ch;
  }

  .lens-card {
    grid-template-columns: 1fr;
  }

  .lens-identity {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lens-lineage {
    margin-top: 1.3rem;
  }
}

@media (max-width: 760px) {
  .depth-key {
    align-items: flex-start;
    flex-direction: column;
  }

  .depth-key ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .map-shell {
    min-height: auto;
  }

  .concept-node,
  .center-node {
    position: relative;
    min-height: 76px;
  }

  .center-node {
    min-height: 88px;
  }

  .concept-node[data-path-order]::after {
    top: 0.35rem;
    right: 0.35rem;
  }

  .path-trail {
    margin-top: 1rem;
  }

  .depth-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inquiry-pair {
    grid-template-columns: 1fr;
  }

  .journey-detail {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .journey-facets {
    grid-template-columns: 1fr;
  }

  .journey-facets > div {
    min-height: 0;
  }

  .lens-dimensions {
    grid-template-columns: 1fr;
  }

  .lens-dimensions > div,
  .lens-dimensions > div:nth-child(even),
  .lens-dimensions > div:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lens-dimensions > div:last-child {
    border-bottom: 0;
  }

  .nuance-note {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .source-card {
    min-height: 0;
  }

  .reading-method {
    grid-template-columns: 1fr 1fr;
  }

  .reading-method > div:nth-child(2) {
    border-right: 0;
  }

  .reading-method > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .depth-key ol,
  .reading-method {
    grid-template-columns: 1fr;
  }

  .reading-method > div,
  .reading-method > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reading-method > div:last-child {
    border-bottom: 0;
  }

  .depth-panel {
    padding: 1rem;
  }
}
