/* Homepage-only presentation; shared styles and interactions are unchanged. */
.home-editorial {
  --home-ink: #101218;
  --home-light: #f6f4fe;
  --home-mute: #c1bed0;
  --home-lilac: #b8a6ff;
  --home-purple: #5941aa;
  --home-divide: #d6d0e6;
  --shell: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
}

.home-editorial :where(section[id]) { scroll-margin-top: 1rem; }
.home-editorial .site-header { color: #f6f5fc; background: var(--home-ink); border-color: #30313d; }
.home-editorial .header-inner { min-height: 68px; gap: 24px; }
.home-editorial .brand { color: #f6f5fc; font-size: 1.18rem; letter-spacing: -.055em; text-transform: none; gap: 9px; white-space: nowrap; }
.home-editorial .brand-mark { color: var(--home-lilac); width: 37px; height: 37px; }
.home-brand-label { color: var(--home-mute); border-inline-start: 1px solid #606070; margin-inline-start: 8px; padding-inline-start: 14px; font: .62rem var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.home-editorial .site-nav { gap: clamp(12px, 1.7vw, 30px); }
.home-editorial .site-nav a { color: #f4f2fa; font-size: .88rem; white-space: nowrap; }
.home-editorial .site-nav .nav-source { color: var(--home-lilac); }
.home-editorial .site-nav .home-polly { color: var(--home-lilac); font-weight: 700; gap: 5px; }
.home-editorial .menu-toggle { color: #f6f5fc; }

.home-editorial .hero { color: #f8f6ff; padding: 0; background: radial-gradient(ellipse at 79% 26%, #211d35 0, transparent 44%), var(--home-ink); border: 0; }
.home-editorial .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(20px, 4vw, 66px); padding-block: clamp(54px, 6.3vw, 110px); }
.home-editorial .hero h1 { max-width: none; color: #f8f6ff; font-size: clamp(3rem, 5vw, 5.8rem); font-weight: 650; letter-spacing: -.07em; line-height: .99; }
.home-editorial .hero h1 span { color: var(--home-lilac); }
.home-editorial .hero-lead { margin-top: 23px; max-width: 42ch; color: #f0edf7; font-size: clamp(1.05rem, 1.8vw, 1.38rem); line-height: 1.5; }
.home-editorial .hero-detail { margin-top: 10px; max-width: 56ch; color: var(--home-mute); font-size: 1rem; }
.home-editorial .hero .button-row { margin-top: 27px; gap: 12px; }
.home-editorial .hero .button-primary, .home-editorial .closing .button-light:first-child { color: #151123; background: var(--home-lilac); border-color: var(--home-lilac); }
.home-editorial .hero .button-primary:hover, .home-editorial .closing .button-light:first-child:hover { color: #151123; background: #d1c5ff; border-color: #d1c5ff; }
.home-editorial .hero .button-secondary { color: #f8f6ff; background: transparent; border-color: #a59eaf; }
.home-editorial .hero .button-secondary:hover { color: #fff; background: #292437; }
.home-editorial .hero .buy-note { color: var(--home-mute); margin-top: 18px; font-size: .83rem; }
.home-orbit { display: grid; min-width: 0; place-items: center; }
.home-orbit svg { width: 100%; max-width: 620px; overflow: visible; }
.home-orbit-grid { fill: none; stroke: #8b84a5; stroke-width: .7; stroke-dasharray: 2 3; }
.home-orbit-tracks { fill: none; stroke: #b8a6ff; stroke-width: 1.2; }
.home-orbit-tracks ellipse:nth-child(2) { stroke: #dfd5ff; stroke-width: 1.6; }
.home-orbit-nodes { fill: #e8ddff; stroke: none; }
.home-orbit-corners { fill: none; stroke: #b7abc9; stroke-width: .8; }
.home-orbit-labels { fill: #d0c7e5; font: 9px var(--mono); letter-spacing: .1em; }

.home-proof, .home-jumps { display: flex; align-items: center; border-top: 1px solid #504a61; }
.home-proof a { flex: 1; min-width: 0; margin-block: 16px; padding-inline: clamp(14px, 3vw, 44px); color: #f8f6ff; text-decoration: none; }
.home-proof a:first-child { padding-inline-start: 0; }
.home-proof a + a { border-inline-start: 1px solid #504a61; }
.home-proof a:hover strong, .home-proof a:focus-visible strong { text-decoration: underline; text-underline-offset: .2em; }
.home-proof strong, .home-proof small { display: block; font-family: var(--mono); }
.home-proof strong { font-size: .83rem; }
.home-proof small { color: var(--home-mute); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.home-jumps { flex-wrap: wrap; gap: 4px clamp(13px, 3vw, 42px); padding-block: 6px; font: .79rem var(--mono); }
.home-jumps span { color: #fff; font-weight: 700; }
.home-jumps a { display: inline-flex; align-items: center; min-height: 44px; color: #e0d5ff; text-decoration: none; }
.home-jumps a:hover, .home-jumps a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }

.home-editorial .layers, .home-editorial .home-resources { background: var(--home-light); }
.home-editorial .layers { padding-block: clamp(56px, 7vw, 112px); }
.home-editorial .layers h2, .home-resources h2 { color: #191627; font-weight: 650; letter-spacing: -.055em; }
.home-editorial .layers .section-heading p, .home-resources p { color: #4e4964; }
.home-editorial .layer-list { border-top: 1px solid var(--home-divide); }
.home-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(22px, 5vw, 84px); padding: clamp(22px, 4vw, 59px) 0; border-bottom: 1px solid var(--home-divide); }
.home-feature:nth-child(even) .home-diagram { grid-column: 1; grid-row: 1; }
.home-feature:nth-child(even) .home-feature-copy { grid-column: 2; grid-row: 1; }
.home-feature-number { display: block; margin-bottom: 8px; color: var(--home-purple); font: 700 .8rem var(--mono); }
.home-feature h3 { color: #1b1633; font-size: clamp(1.65rem, 3vw, 3.2rem); font-weight: 650; letter-spacing: -.055em; line-height: 1.07; }
.home-feature p { max-width: 53ch; margin-top: 12px; color: #4e4964; }
.home-feature .text-link { margin-top: 8px; color: var(--home-purple); }
.home-diagram { min-width: 0; color: #36256e; border-inline-start: 1px solid var(--home-divide); padding-inline-start: clamp(10px, 3vw, 40px); }
.home-feature:nth-child(even) .home-diagram { border-inline-start: 0; border-inline-end: 1px solid var(--home-divide); padding-inline: 0 clamp(10px, 3vw, 40px); }
.home-diagram svg { width: 100%; max-width: 630px; margin-inline: auto; }
.home-diagram path, .home-diagram circle { stroke: currentColor; stroke-width: 1; fill: none; }
.home-diagram rect { stroke: currentColor; fill: #e7defe; }
.home-diagram text { fill: #20163f; font: 15px var(--mono); text-anchor: middle; }
.home-diagram .muted { fill: #595073; font-size: 12px; }

.home-mission { margin-top: clamp(38px, 6vw, 85px); }
.home-mission .active-readout { margin: 0 0 16px; }
.home-editorial .home-resources { padding-block: clamp(48px, 6vw, 95px); border-bottom: 1px solid var(--home-divide); }
.home-resources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 7vw, 105px); align-items: start; }
.home-resources h2 { margin-bottom: 13px; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.08; }
.home-resource-links { list-style: none; padding: 0; margin: 16px 0 0; }
.home-resource-links a, .home-resources summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; min-height: 45px; border-bottom: 1px solid var(--home-divide); color: #20163f; font-weight: 600; text-decoration: none; }
.home-resources summary { list-style: none; cursor: pointer; gap: 1rem; }
.home-resources summary::-webkit-details-marker { display: none; }
.home-resources summary::after { color: var(--home-purple); content: '+'; font: 1.32rem var(--mono); }
.home-resources details[open] summary::after { content: '−'; }
.home-resources details p { margin: 12px 0 18px; max-width: 56ch; }
.home-resource-links a:hover, .home-resource-links a:focus-visible, .home-resources summary:hover { color: var(--home-purple); }
.home-editorial .counter .buy-paths { margin: 0 0 26px; }
.home-editorial .counter .buy-paths a { color: var(--cobalt-dark); }
.home-welcome { padding-block: clamp(30px, 5vw, 72px); background: var(--home-light); }
.home-editorial .threshold-visual, .home-editorial .threshold-visual img { min-height: 0; max-height: 450px; box-shadow: none; }
.home-editorial .threshold-visual img { aspect-ratio: 3 / 1; object-fit: cover; object-position: center 48%; }
.home-editorial .closing { background: var(--home-ink); }
.home-editorial .closing-top { gap: 27px; }
.home-editorial .closing h2 { font-size: clamp(2rem, 4vw, 4.2rem); font-weight: 650; }

@media (max-width: 1100px) { .home-brand-label { display: none; } }
@media (max-width: 770px) {
  .home-editorial .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 45px 22px; }
  .home-orbit svg { max-width: 540px; }
}
@media (max-width: 720px) {
  .home-editorial .site-nav { background: var(--home-ink); }
  .home-editorial .site-nav a { border-color: #504a61; }
  .home-editorial .header-inner { min-height: 60px; }
  .home-feature, .home-resources-grid { grid-template-columns: minmax(0, 1fr); }
  .home-feature:nth-child(even) .home-feature-copy, .home-feature:nth-child(even) .home-diagram { grid-column: auto; grid-row: auto; }
  .home-diagram, .home-feature:nth-child(even) .home-diagram { border: 0; padding: 0; background: #eeebfb; }
  .home-proof a { padding-inline: 11px; }
  .home-proof strong { font-size: .72rem; }
  .home-proof small { font-size: .6rem; letter-spacing: .05em; }
  .home-jumps { gap: 0 16px; }
  .home-jumps span { flex-basis: 100%; margin-block: 8px 0; }
  .home-editorial .threshold-visual img { aspect-ratio: 16 / 9; }
}
