/* ─────────────────────────────────────────────────────────────
   Body Politic — section-specific styles on top of styles.css.
   Long-form reading layout: hero, six numbered layers, bridge.
   ───────────────────────────────────────────────────────────── */

html, body { min-height: 100%; }
body.bp-body {
  background: var(--bg);
  overflow-x: hidden;
}

/* ───────── header ───────── */
.bp-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 36px; min-height: 60px;
  background: color-mix(in srgb, var(--bg), transparent 10%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--border), transparent 50%);
}
.bp-brand {
  font-family: "Cinzel", serif;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: baseline; gap: 10px;
  white-space: nowrap; flex-shrink: 0;
}
.bp-brand .sep { color: var(--muted); }
.bp-brand .sub { color: var(--text3); }

.bp-nav { display: flex; gap: 16px 18px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 1100px) {
  .bp-brand .sep, .bp-brand .sub { display: none; }
  .bp-nav { gap: 18px; }
}
.bp-nav a {
  font-family: "Jost", sans-serif;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  position: relative; padding: 4px 0;
}
.bp-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent); transition: right 300ms ease;
}
.bp-nav a:hover, .bp-nav a.active { color: var(--accent-hi); }
.bp-nav a:hover::after, .bp-nav a.active::after { right: 0; }

/* mobile: keep the header to one line — scroll the nav instead of wrapping it */
@media (max-width: 800px) {
  .bp-head { padding: 8px 16px; min-height: 56px; gap: 12px; }
  .bp-brand { font-size: 11px; letter-spacing: 0.16em; }
  .bp-nav {
    flex: 1 1 0;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    justify-content: flex-end;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bp-nav::-webkit-scrollbar { display: none; }
  .bp-nav a { white-space: nowrap; flex-shrink: 0; }
}

/* ───────── hero ───────── */
.bp-hero {
  position: relative;
  text-align: center;
  padding: 100px 24px 60px;
  max-width: 940px;
  margin: 0 auto;
}
.bp-eyebrow {
  font-family: "Cinzel", serif;
  font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.bp-eyebrow::before, .bp-eyebrow::after {
  content: ""; width: 28px; height: 1px;
  background: color-mix(in srgb, var(--muted), transparent 60%);
}
.bp-hero h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(46px, 8vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 36px;
}
.bp-hero h1 em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-hi);
}
.bp-bridge {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.55;
  color: var(--text);
  max-width: 720px; margin: 0 auto 44px;
  font-style: italic;
}
.bp-mckenna {
  max-width: 640px; margin: 0 auto;
  padding: 28px 32px;
  background: color-mix(in srgb, var(--bg2), transparent 0%);
  border-left: 2px solid var(--accent-lo);
  text-align: left;
}
.bp-mckenna-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px; line-height: 1.5;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 12px;
}
.bp-mckenna-attr {
  font-family: "Jost", sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}

/* ───────── thesis (top-of-page bridge preview) ─────────
   Sits between hero and layer index. States the destination up
   front so a skimmer gets the whole arc, while the full Antibody
   teaching still earns its place as the closer. */
.bp-thesis {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 24px 8px;
  text-align: center;
}
.bp-thesis-rule {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--accent), transparent 40%), transparent);
  margin: 0 auto 28px;
}
.bp-thesis-text {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.6;
  color: var(--text);
}
.bp-thesis-text + .bp-thesis-jump { margin-top: 22px; }
.bp-thesis-jump {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  transition: color .2s;
}
.bp-thesis-jump:hover { color: var(--accent-hi); }

/* ───────── layer index ───────── */
.bp-index {
  max-width: 940px; margin: 60px auto 80px;
  padding: 0 24px;
}
.bp-index-label {
  font-family: "Cinzel", serif;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}
.bp-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.bp-index-item {
  display: block;
  padding: 24px 22px;
  background: var(--bg);
  transition: background .18s ease;
  position: relative;
}
.bp-index-item:hover { background: var(--bg2); }
.bp-index-num {
  font-family: "Cinzel", serif;
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 8px;
}
.bp-index-label-row {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.bp-index-title {
  font-family: "Cinzel", serif;
  font-size: 18px;
  color: var(--cream);
  line-height: 1.2;
}

/* ───────── layer section ───────── */
.bp-layer {
  position: relative;
  padding: 80px 24px 60px;
  border-top: 1px solid var(--border);
}
.bp-layer:first-of-type { border-top: none; }
.bp-layer-head {
  max-width: 880px; margin: 0 auto 56px;
  text-align: center;
}
.bp-layer-num {
  font-family: "Cinzel", serif;
  font-size: 14px; letter-spacing: 0.36em;
  color: var(--accent);
  margin-bottom: 10px;
}
.bp-layer-eyebrow {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.bp-layer-title {
  font-family: "Cinzel", serif;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.06;
  color: var(--cream);
  margin-bottom: 22px;
}
.bp-layer-sub {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.5;
  color: var(--text2);
  max-width: 680px; margin: 0 auto 30px;
}
.bp-layer-intro {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px; line-height: 1.65;
  color: var(--text);
  max-width: 660px; margin: 0 auto;
}
.bp-layer-frame {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 22px 28px;
  background: color-mix(in srgb, var(--bg2), transparent 0%);
  border-left: 2px solid var(--accent-lo);
  font-family: "Cormorant Garamond", serif;
  font-size: 17px; line-height: 1.55;
  color: var(--text2);
  font-style: italic;
  text-align: left;
}

/* ───────── teaching cards within a layer ───────── */
.bp-teachings {
  max-width: 1100px; margin: 0 auto;
  display: grid; gap: 36px;
}
.bp-teaching {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 40px 44px 36px;
  position: relative;
  transition: border-color .2s ease, background .2s ease;
}
.bp-teaching:hover { border-color: var(--border2); }
.bp-teaching-head {
  display: flex; align-items: flex-start; gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid color-mix(in srgb, var(--border), transparent 40%);
  margin-bottom: 26px;
}
.bp-teaching-glyph { flex-shrink: 0; }
.bp-teaching-meta { flex: 1; min-width: 0; }
.bp-teaching-trad {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.bp-teaching-title {
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 6px;
}
.bp-teaching-title a {
  color: inherit;
  text-decoration: none;
}
.bp-teaching-title a:hover { color: var(--accent-hi); }
.bp-teaching-source {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text3);
}

.bp-teaching-passage {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px; line-height: 1.62;
  color: var(--text);
  white-space: pre-wrap;
  margin-bottom: 30px;
}
.bp-teaching-notes {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px; line-height: 1.7;
  color: var(--text2);
  white-space: pre-wrap;
}

.bp-teaching-foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--border), transparent 40%);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.bp-teaching-foot a {
  font-family: "Jost", sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.bp-teaching-foot a:hover { color: var(--accent-hi); }

@media (max-width: 720px) {
  .bp-teaching { padding: 30px 24px 28px; }
  .bp-teaching-head { gap: 14px; }
}

/* ───────── bridge teaching ───────── */
.bp-bridge-section {
  border-top: 1px solid var(--border);
  padding: 120px 24px 100px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%,
      color-mix(in srgb, var(--accent-lo) 18%, transparent) 0%,
      transparent 70%),
    var(--bg);
}
.bp-bridge-inner {
  max-width: 760px; margin: 0 auto;
  text-align: center;
}
.bp-bridge-eyebrow {
  font-family: "Cinzel", serif;
  font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.bp-bridge-title {
  font-family: "Cinzel", serif;
  font-size: clamp(54px, 9vw, 94px);
  line-height: 1.02;
  color: var(--cream);
  margin-bottom: 30px;
}
.bp-bridge-passage {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px; line-height: 1.55;
  color: var(--cream);
  font-style: italic;
  text-align: left;
  margin: 0 auto 40px;
  max-width: 640px;
  white-space: pre-wrap;
}
.bp-bridge-notes {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px; line-height: 1.72;
  color: var(--text);
  text-align: left;
  max-width: 640px; margin: 0 auto;
  white-space: pre-wrap;
}
.bp-bridge-cta {
  margin-top: 60px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.bp-bridge-cta a {
  font-family: "Jost", sans-serif;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--accent-lo);
  padding: 14px 24px;
  transition: background .2s, color .2s;
  background: color-mix(in srgb, var(--bg2), transparent 0%);
}
.bp-bridge-cta a:hover {
  background: var(--accent-lo);
  color: var(--bg);
}

/* ───────── footer ───────── */
.bp-foot {
  border-top: 1px solid var(--border);
  padding: 60px 36px 50px;
  background: var(--bg2);
}
.bp-foot-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; gap: 36px;
}
.bp-foot-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 36px; flex-wrap: wrap;
}
.bp-foot-brand {
  font-family: "Cinzel", serif;
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent);
}
.bp-foot-links {
  display: flex; gap: 22px; flex-wrap: wrap;
}
.bp-foot-links a {
  font-family: "Jost", sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.bp-foot-links a:hover { color: var(--accent-hi); }
.bp-foot-copy {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  color: var(--text3);
}
