/* A quiet, focused chapter in the Bella Bees Field School. */
.first-hive-page { min-width: 0; background: radial-gradient(ellipse at 100% 0, #e7b64b15, transparent 40%), var(--cream); }
.path-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px max(14px, calc((100vw - 1180px) / 2)); padding-top: max(12px, env(safe-area-inset-top, 0px)); color: var(--paper); background: var(--forest-deep); border-bottom: 1px solid #f3eddd25; }
.path-header { flex-wrap: wrap; }
.path-header .brand { gap: 7px; min-width: 0; min-height: 44px; }
.path-header .path-zen { margin-left: auto; }
.path-header .brand img { width: 36px; height: 36px; }
.path-header .brand strong { font-size: 1.35rem; }
.path-header .brand small { font-size: .52rem; }
.path-zen { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 10px; border: 1px solid #e7b64b66; border-radius: 4px; color: var(--honey-light); background: #e7b64b0b; font-size: .73rem; font-weight: 650; }
.path-zen:hover { background: #e7b64b20; }
.first-hive-page:has(.path-zen:not([hidden])) .bb-zen-launcher { display: none; }
.first-hive-main { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }
.path-intro { padding: 23px 0 18px; }
.path-intro .eyebrow { margin-bottom: 6px; font-size: .6rem; }
.path-intro h1 { font-size: clamp(2.1rem, 5vw, 3.65rem); margin: 0 0 8px; }
.path-intro > p:last-child { margin: 0; color: var(--muted); font-size: .87rem; }
.path-layout { display: grid; gap: 14px; }
.path-outline { min-width: 0; }
.path-outline-heading, .path-outline-note { display: none; }
.path-outline ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; list-style: none; margin: 0; padding: 0; }
.path-outline a { display: flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 3px; background: #faf6eb80; text-decoration: none; transition: background-color 180ms, color 180ms; }
.path-outline a:hover { border-color: var(--forest); }
.path-outline a[aria-current="step"] { color: var(--paper); background: var(--forest); border-color: var(--forest); }
.path-number { font: 400 1.25rem/1 Georgia, serif; }
.path-step-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.path-lessons { min-width: 0; }
.path-lesson { margin-bottom: 24px; padding: 15px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); box-shadow: 0 10px 24px #10291f0a; scroll-margin-top: 18px; }
.path-lesson-heading .eyebrow { margin-bottom: 5px; font-size: .6rem; }
.path-lesson-heading h2 { margin: 0 0 12px; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.13; }
.path-lesson-heading h2:focus { outline-offset: 3px; }
.path-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #10291f40; border-radius: 3px; background: radial-gradient(ellipse at 70% 30%, #546d3c, transparent 70%), var(--forest-deep); }
.path-media img { width: 100%; height: 100%; object-fit: cover; }
.path-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #10291f55, transparent 60%); }
.path-media iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: var(--forest-deep); }
.path-watch { position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; width: 100%; border: 0; color: white; background: #10291f17; font-size: .75rem; font-weight: 700; text-shadow: 0 1px 5px #000; }
.path-watch:hover { background: #10291f30; }
.path-watch:focus-visible { outline-offset: -5px; outline-color: var(--honey-light); }
.path-play-mark { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding-left: 3px; border: 1px solid #fff9; border-radius: 50%; color: var(--forest-deep); background: var(--honey); box-shadow: 0 4px 20px #0003; font-size: 1rem; text-shadow: none; }
.path-player-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-height: 44px; }
.path-source, .path-stop { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; color: var(--forest); font-size: .73rem; text-underline-offset: 3px; }
.path-stop { margin-right: auto; padding: 0 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--cream); }
.path-next { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: stretch; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.path-previous, .path-previous-start { display: inline-flex; align-items: center; min-height: 48px; color: var(--muted); font-size: .72rem; text-underline-offset: 4px; }
.path-previous-start { font-style: italic; }
.path-next-link { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; padding: 8px 11px; border: 1px solid var(--forest); border-radius: 3px; color: var(--paper); background: var(--forest); text-decoration: none; }
.path-next-link:hover { background: var(--forest-soft); }
.path-next-link small { color: var(--honey-light); font-size: .59rem; line-height: 1.3; }
.path-next-link strong { font-size: .8rem; line-height: 1.3; }
.path-lesson-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.path-lesson-note p { margin-bottom: 7px; font-size: .84rem; line-height: 1.55; }
.path-lesson-note p:last-child { margin-bottom: 0; color: var(--muted); }
.path-source-title { font-weight: 650; }
.path-grounding { max-width: 780px; margin: 12px 0 36px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.path-grounding h2 { font-size: 1.65rem; }
.path-grounding p { font-size: .88rem; }
.path-grounding .path-privacy { color: var(--muted); font-size: .74rem; }
.path-exits { display: flex; gap: 6px 24px; flex-wrap: wrap; }
.path-exits a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .8rem; font-weight: 650; text-underline-offset: 4px; }
.path-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 22px max(14px, calc((100vw - 1180px) / 2)); padding-bottom: max(22px, env(safe-area-inset-bottom, 0px)); color: var(--cream); background: var(--forest-deep); font-size: .76rem; }
.path-footer a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.path-footer span { color: #d8dccb; }
.path-footer-nav { display: flex; gap: 24px; }
@media (min-width: 600px) {
  .first-hive-main { width: min(1180px, calc(100% - 48px)); }
  .path-header { padding-inline: max(24px, calc((100vw - 1180px) / 2)); }
  .path-intro { padding: 32px 0 24px; }
  .path-lesson { padding: 24px; }
  .path-next { grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); }
  .path-next-link strong { font-size: .95rem; }
  .path-next-link small { font-size: .67rem; }
  .path-source, .path-stop, .path-previous { font-size: .84rem; }
}
@media (min-width: 960px) {
  .path-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 42px; align-items: start; }
  .path-outline { padding-top: 8px; }
  .path-outline ol { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .path-outline a { justify-content: flex-start; gap: 14px; padding: 15px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
  .path-number { min-width: 22px; }
  .path-step-name { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .84rem; line-height: 1.35; }
  .path-outline-heading { display: block; margin: 0 0 15px; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
  .path-outline-note { display: block; margin: 18px 0 0; color: var(--muted); font-size: .75rem; }
  .path-grounding { margin-left: 282px; }
  .path-media { max-height: 430px; }
}
@media (prefers-reduced-motion: reduce) {
  .first-hive-page *, .first-hive-page *::before, .first-hive-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 359px) {
  .path-outline ol { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
