/* Homepage v1 — loaded only on / . Does not change blog, about, or lane styles. */
body.home, body.home *, body.home *::before, body.home *::after { box-sizing: border-box; }
:root {
  --home-bg: #050505;
  --home-bg-2: #0b0b0b;
  --home-card: #111111;
  --home-ink: #f5f5f5;
  --home-muted: #b4b4b4;
  --home-orange: #f97316;
  --home-line: #222222;
  --home-radius: 8px;
  --home-radius-sm: 4px;
  --home-pad: clamp(20px, 6vw, 130px);
  --home-max: 1180px;
  --home-font: "Montserrat", system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body.home {
  margin: 0;
  background: var(--home-bg);
  color: var(--home-ink);
  font-family: var(--home-font);
  line-height: 1.6;
  min-height: 100vh;
}
body.home a { color: inherit; text-decoration: none; }
body.home a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.home .bsm-nav-header {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: var(--home-line);
  font-family: var(--home-font);
}
.home-main { display: block; }

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 96px var(--home-pad) 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  isolation: isolate;
}
.home-hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(5,5,5,0.92) 0, rgba(5,5,5,0.2) 40%, transparent 70%),
    radial-gradient(circle at 78% 42%, rgba(249,115,22,0.12), transparent 42%),
    repeating-linear-gradient(90deg, rgba(245,245,245,0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(245,245,245,0.04) 0 1px, transparent 1px 80px),
    var(--home-bg);
}
.home-hero-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 72%;
  height: 1px;
  background: rgba(245,245,245,0.16);
}
.home-kicker {
  margin: 0;
  color: var(--home-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
}
.home-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.home-lede {
  margin: 0;
  max-width: 42rem;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.625;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--home-radius-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  border: 1px solid transparent;
  text-decoration: none !important;
}
.home-btn:hover { filter: brightness(1.06); }
.home-btn-primary { background: var(--home-orange); color: #050505; }
.home-btn-secondary { background: transparent; color: var(--home-ink); border-color: var(--home-line); }
.home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-chips a, .home-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius-sm);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none !important;
}
.home-chips a:hover { border-color: #444; color: #fff; }

.home-section {
  padding: 88px var(--home-pad);
  background: var(--home-bg);
}
.home-section-tight { padding-top: 24px; }
.home-section h2 {
  margin: 12px 0 0;
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.home-section .home-lede { margin-top: 16px; }

.home-latest-card, .home-card, .home-bio, .home-faq-panel, .home-plan {
  background: var(--home-bg-2);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  padding: 28px 24px;
}
.home-latest-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.home-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--home-orange);
  border-radius: var(--home-radius-sm);
  color: var(--home-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-muted);
}
.home-latest-card h2, .home-plan h3 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.home-plan-price { margin: 0; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.01em; color: var(--home-ink); }
.home-latest-card p, .home-card p, .home-plan p { margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.57; }

.home-pillar-row, .home-offer-grid, .home-plan-row, .home-about-grid, .home-lane-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
.home-pillar-row { grid-template-columns: repeat(3, 1fr); }
.home-offer-grid, .home-plan-row, .home-about-grid { grid-template-columns: 1fr 1fr; }
.home-lane-grid { grid-template-columns: repeat(5, 1fr); }
.home-card, .home-lane-card, .home-plan { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.home-card .home-index {
  margin: 0;
  color: var(--home-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home-card h3, .home-lane-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.home-lane-card {
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  padding: 24px;
  text-decoration: none !important;
}
.home-lane-card:hover { border-color: #3a3a3a; }
.home-lane-card .home-index { color: var(--home-muted); }

.home-bio { max-width: 360px; justify-self: end; width: 100%; min-width: 0; }
.home-bio h3 { margin: 0 0 4px; font-size: 1.25rem; }
.home-bio p { margin: 0; color: var(--home-muted); font-size: 14px; }
.home-rule { border: 0; border-top: 1px solid var(--home-line); margin: 12px 0; }
.home-bio-links, .home-origin-links { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.home-bio-links a, .home-origin-links a, .home-faq-panel a { color: var(--home-ink); font-size: 13px; font-weight: 500; }

.home-faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; margin-top: 28px; align-items: start; }
.home-faq-tabs { display: flex; flex-direction: column; gap: 8px; }
.home-faq-tabs a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
}
.home-faq-tabs a[aria-current="true"] { background: var(--home-card); border-color: #444; }
.home-faq-panel { display: flex; flex-direction: column; gap: 16px; }
.home-faq-panel h3 { margin: 0; font-size: 1.15rem; }
.home-faq-panel p { margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.57; }

body.home footer.home-footer {
  max-width: none;
  margin: 0;
  padding: 48px var(--home-pad) 60px;
  background: var(--home-bg-2);
  border-top: 1px solid var(--home-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.54;
}
body.home footer.home-footer p { margin: 0; max-width: 52rem; }
body.home .home-footer-links, body.home .bsm-footer-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-family: var(--home-font);
  font-size: 13px;
}
body.home .home-footer-links a, body.home .bsm-footer-links a { min-height: 44px; min-width: 44px; }
body.home .bsm-footer-note { font-family: var(--home-font); color: var(--home-ink); opacity: 1; }

@media (max-width: 900px) {
  .home-hero { min-height: 520px; padding: 64px 20px 48px; }
  .home-section, body.home footer.home-footer { padding-left: 20px; padding-right: 20px; }
  .home-section { padding-top: 48px; padding-bottom: 48px; }
  .home-section-tight { padding-top: 8px; }
  .home-pillar-row, .home-offer-grid, .home-plan-row, .home-about-grid, .home-lane-grid, .home-faq-layout,
  .home-revisited-row, .home-path-grid, .home-selected-row {
    grid-template-columns: 1fr;
  }
  .home-faq-tabs { flex-direction: row; flex-wrap: wrap; }
  .home-bio { justify-self: stretch; max-width: 100%; }
  .home-hero h1 { max-width: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .home-lane-grid { grid-template-columns: repeat(3, 1fr); }
}

.home-posts { display: grid; gap: 14px; margin-top: 28px; }
.home-post {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  padding: 18px 20px;
}
.home-post time { color: var(--home-muted); font-size: 13px; font-weight: 700; }
.home-post h3 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.35; }
.home-post p { margin: 0; color: var(--home-muted); font-size: 14px; }
.home-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.home-topic {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--home-muted);
}
@media (max-width: 900px) {
  .home-post { grid-template-columns: 1fr; gap: 8px; }
}

.home-card > a,
.home-origin-links a,
.home-bio-links a,
.home-faq-panel a,
.home-embed-fallback a,
.home-post h3 a,
.home-latest-card a:not(.home-btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}
.home-embed {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 4px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: #ffffff;
  overflow: hidden;
}
.home-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 320px;
  border: 0;
  background: #ffffff;
  color-scheme: light;
}
.home-embed-fallback, .home-privacy {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.54;
}
.home-embed-fallback a { color: var(--home-ink); font-weight: 500; }
body.home .bsm-footer-note a {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .home-embed iframe { height: 360px; }
}


/* Design slice: featured piece, revisited theses, topic paths, selected row, newsletter. */
.home-hero { padding-bottom: 72px; }
.home-planned {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 36px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 40rem;
}
.home-feature {
  max-width: 40rem;
  padding-top: 8px;
}
.home-feature h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.home-feature p { margin: 0 0 20px; color: var(--home-muted); font-size: 1.05rem; line-height: 1.6; }
.home-date-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 10px;
}
.home-date-label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: var(--home-ink);
  font-size: 14px;
}
.home-date-key {
  color: var(--home-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home-revisited-row,
.home-path-grid,
.home-selected-row {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.home-revisited-row { grid-template-columns: 1fr 1fr; }
.home-path-grid { grid-template-columns: repeat(3, 1fr); }
.home-selected-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.home-selected-row .home-post {
  grid-template-columns: 1fr;
  background: var(--home-bg-2);
  min-width: 0;
}
.home-path {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 24px 22px;
  background: var(--home-bg-2);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  text-decoration: none !important;
}
.home-path:hover { border-color: #3a3a3a; }
.home-path h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.home-path p { margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.55; }
.home-news-benefits {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-news-benefits li {
  padding-left: 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.55;
}
.home-news-benefits li::before {
  content: "— ";
  color: var(--home-ink);
}
.home-frequency {
  margin: 20px 0 16px;
  max-width: 40rem;
  color: var(--home-ink);
  font-size: 15px;
  line-height: 1.55;
}
#updates .home-actions { margin: 18px 0 24px; }
#updates .home-embed { max-width: 32rem; }
.home-archive-link {
  margin: 0;
  padding: 0 var(--home-pad) 72px;
}
.home-feature h2 a,
.home-card h3 a,
.home-path {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}
.home-path { display: flex; }

@media (min-width: 901px) and (max-width: 1100px) {
  .home-path-grid { grid-template-columns: repeat(2, 1fr); }
  .home-selected-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-archive-link { padding-left: 20px; padding-right: 20px; padding-bottom: 48px; }
  .home-hero { min-height: 0; }
}

@media (max-width: 900px) {
  .home-revisited-row,
  .home-path-grid,
  .home-selected-row {
    grid-template-columns: 1fr;
  }
}
