/* An editorial field guide, with native scrolling and accessible activities. */
.knowledge-heading { position: relative; padding-bottom: 55px; border-bottom: 1px solid var(--line); margin-bottom: 54px; }
.knowledge-heading > .eyebrow { margin-bottom: 28px; }
.knowledge-heading h2 { font-size: clamp(48px, 6.2vw, 94px); max-width: 970px; }
.knowledge-heading h2 em { font-style: normal; }
.knowledge-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 34px; }
.knowledge-intro > p { font: 400 23px/1.25 var(--serif); letter-spacing: -.02em; }
.knowledge-intro > span { font-size: 12px; color: var(--muted); }
.knowledge-intro small { display: block; font-size: 9px; margin-top: 8px; }
.knowledge-layout { display: grid; grid-template-columns: minmax(190px, .28fr) minmax(0, .72fr); gap: clamp(28px, 4vw, 76px); align-items: start; }
.knowledge-guide { position: sticky; top: calc(var(--knowledge-header, 106px) + 24px); }
.knowledge-guide-top > .eyebrow { font-size: 9px; letter-spacing: .1em; }
.knowledge-large-index { font: 400 clamp(90px, 11vw, 165px)/1 var(--serif); letter-spacing: -.07em; margin-block: 20px 28px; color: var(--blue); }
.knowledge-large-index > span { font: 11px/1.4 "DM Sans", sans-serif; letter-spacing: .04em; margin-left: 15px; vertical-align: middle; }
.knowledge-nav { display: flex; flex-direction: column; }
.knowledge-nav a { min-height: 58px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 13px; font-size: 14px; transition: color .3s; }
.knowledge-nav a:last-child { border-bottom: 1px solid var(--line); }
.knowledge-nav a > span { font-size: 9px; color: var(--muted); }
.knowledge-nav a > i { margin-left: auto; font-size: 20px; font-style: normal; opacity: .3; transition: transform .3s, opacity .3s; }
.knowledge-nav a[aria-current="true"] { color: var(--blue); }
.knowledge-nav a[aria-current="true"] i { opacity: 1; transform: rotate(45deg); }
.knowledge-guide-bottom { margin-top: 40px; }
.knowledge-guide-line { display: block; height: 2px; background: #d9e0df; overflow: hidden; }
.knowledge-guide-line > i { display: block; height: 100%; background: var(--sky); transform: scaleX(0); transform-origin: left; }
.knowledge-guide-bottom > p { font-size: 13px; line-height: 1.8; color: var(--muted); margin-block: 20px; }
.knowledge-sample { font-size: 9px; color: var(--muted); }
.knowledge-notes { min-width: 0; }
.knowledge-note { padding: clamp(24px, 3vw, 48px); border-radius: 8px 36px 8px 8px; margin-bottom: 36px; position: relative; scroll-margin-top: calc(var(--knowledge-header, 106px) + 24px); }
.knowledge-note:last-child { margin-bottom: 0; }
.note-questions { background: #e6eff0; --note-accent: #305677; }
.note-independent { background: #e8ebdf; --note-accent: #3d5945; }
.note-perspective { background: #e4e8f3; --note-accent: #3d4c80; }
.note-header { display: flex; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .1em; color: var(--note-accent); padding-bottom: 25px; }
.knowledge-note h3 { font: 450 clamp(32px, 3.1vw, 49px)/1.06 var(--serif); letter-spacing: -.04em; }
.knowledge-note h3 em { font-style: normal; color: var(--note-accent); }
.note-summary { max-width: 565px; font-size: 14px; line-height: 1.7; color: #4c5b69; margin-top: 18px; }
.note-lab { display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, .6fr); gap: 28px; margin-block: 30px; padding-block: 30px; border-top: 1px solid #14234b20; border-bottom: 1px solid #14234b20; }
.note-visual { position: relative; min-width: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; min-height: 260px; }
.note-visual > svg { width: 100%; max-width: 290px; height: auto; }
.note-visual-label { position: absolute; bottom: 0; width: 100%; font-size: 7px; letter-spacing: .09em; text-align: center; color: var(--note-accent); }
.note-leaf { transform: rotate(-7deg); }
.leaf-target { transition: opacity .4s; }
.note-playground { min-width: 0; align-self: center; }
.note-scenario { font: 400 19px/1.25 var(--serif); letter-spacing: -.02em; margin-bottom: 18px; }
.question-steps { display: flex; gap: 4px; }
.question-steps button { flex: 1; border-radius: 5px; padding: 10px 4px; min-height: 50px; font-size: 8px; background: #ffffff50; color: var(--ink); border: 1px solid transparent; }
.question-steps button > span { display: block; font-size: 11px; margin-top: 3px; }
.question-steps button[aria-pressed="true"] { background: #294967; color: #fff; }
.note-feedback { margin-top: 22px; min-height: 132px; }
.note-feedback h4 { font: 400 21px/1.2 var(--serif); letter-spacing: -.02em; }
.note-feedback > p { font-size: 13px; line-height: 1.65; color: #4c5b69; margin-top: 9px; }
.note-instruction { font-size: 9px; color: #586579; margin-top: 10px; line-height: 1.5; }
.note-footer { display: flex; gap: 20px; justify-content: space-between; align-items: center; }
.note-footer > span { font-size: 8px; line-height: 1.6; letter-spacing: .08em; color: var(--note-accent); }
.note-footer strong { display: block; font-size: 12px; letter-spacing: 0; font-weight: 500; margin-top: 5px; }
.note-footer button { color: var(--ink); background: transparent; min-height: 44px; border-bottom: 1px solid #14234b50; font-size: 11px; display: flex; gap: 18px; align-items: center; text-align: left; flex-shrink: 0; }
.note-footer button span { font-size: 21px; transition: transform .3s; }
.note-footer button:hover span { transform: translate(3px, -3px); }
.conversation-label { font-size: 8px; letter-spacing: .08em; margin-bottom: 14px; }
.child-bubble { padding: 23px 18px; font: 400 clamp(18px, 1.7vw, 27px)/1.12 var(--serif); background: #385943; color: #fff; border-radius: 18px 18px 18px 0; position: relative; width: 100%; max-width: 220px; }
.child-bubble > svg { position: absolute; left: 0; bottom: -16px; height: 20px; width: 20px; color: #385943; }
.book-pair { display: flex; align-items: center; position: relative; height: 100px; margin-top: 28px; gap: 12px; }
.book-pair i { display: block; width: 37px; height: 60px; background: #b8c6ae; border-radius: 2px 5px 5px 2px; border-left: 3px solid #91a68b; transform: rotate(-10deg); transition: transform .6s; }
.book-pair i:nth-child(2) { background: #ded6b3; border-color: #bbb28c; transform: rotate(12deg); }
.book-pair span { position: absolute; inset: auto -10px 0; text-align: center; font-size: 9px; line-height: 1.3; color: #526249; }
.note-independent[data-response="1"] .book-pair i { transform: rotate(0) translateX(-5px); }
.note-independent[data-response="1"] .book-pair i:nth-child(2) { transform: rotate(0) translateX(5px); }
.note-independent[data-response="0"] .book-pair i:first-child { transform: rotate(-10deg) translateY(-12px); }
.parent-options { display: flex; flex-direction: column; gap: 8px; }
.parent-options button { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 10px 12px; min-height: 44px; font-size: 12px; line-height: 1.4; border: 1px solid #576d4e40; border-radius: 5px; background: #ffffff40; color: #29442f; }
.parent-options button[aria-pressed="true"] { background: #385943; color: #fff; border-color: #385943; }
.bridge-toggle { display: flex; align-items: center; gap: 18px; min-height: 48px; background: #394d7d; color: #fff; border-radius: 5px; padding: 12px 16px; font-size: 12px; }
.bridge-toggle b { font-size: 20px; font-weight: 400; }
.bridge-folded { opacity: 0; }
.bridge-flat, .bridge-folded { transition: opacity .5s; }
.note-perspective.is-folded .bridge-flat { opacity: 0; }
.note-perspective.is-folded .bridge-folded { opacity: 1; }
@media (max-width: 1100px) and (min-width: 1001px) {
  .note-lab { grid-template-columns: minmax(0, .35fr) minmax(0, .65fr); gap: 18px; }
  .note-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 1000px) {
  .knowledge-layout { display: block; }
  .knowledge-guide { top: var(--knowledge-header, 106px); background: #f8f9f5; z-index: 12; padding-block: 8px 14px; margin-bottom: 18px; }
  .knowledge-guide-top, .knowledge-guide-bottom { display: none; }
  .knowledge-nav { flex-direction: row; gap: 16px; }
  .knowledge-nav a { border-top: 0; border-bottom: 1px solid var(--line); min-height: 48px; flex: 1; font-size: 12px; gap: 8px; }
  .knowledge-nav a[aria-current="true"] { border-bottom: 2px solid #293d8a; }
  .knowledge-nav a i { font-size: 14px; }
  .knowledge-note { scroll-margin-top: calc(var(--knowledge-header, 106px) + 95px); }
  .knowledge-note h3 { font-size: clamp(32px, 5vw, 48px); }
  .note-lab { grid-template-columns: minmax(0, .4fr) minmax(0, .6fr); }
}
@media (max-width: 600px) {
  .knowledge-heading { padding-bottom: 28px; margin-bottom: 20px; }
  .knowledge-heading h2 { font-size: clamp(42px, 10vw, 60px); }
  .knowledge-intro { display: block; margin-top: 24px; }
  .knowledge-intro > p { font-size: 21px; }
  .knowledge-intro > span { display: block; font-size: 11px; margin-top: 12px; max-width: 260px; line-height: 1.6; }
  .knowledge-nav { gap: 10px; }
  .knowledge-nav a { font-size: 10px; line-height: 1.35; gap: 5px; }
  .knowledge-nav a i { display: none; }
  .knowledge-nav a > span { font-size: 8px; }
  .knowledge-note { padding: 23px 20px; border-radius: 6px 26px 6px 6px; margin-bottom: 22px; }
  .note-header { font-size: 7px; padding-bottom: 20px; gap: 8px; }
  .knowledge-note h3 { font-size: clamp(28px, 7.6vw, 38px); }
  .note-summary { font-size: 12px; margin-top: 14px; line-height: 1.65; }
  .note-lab { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-block: 22px; padding-block: 22px; }
  .note-visual { min-height: 0; height: 190px; }
  .note-visual > svg { height: 180px; width: auto; max-width: 100%; }
  .note-visual-label { font-size: 6px; }
  .note-feedback { min-height: 112px; margin-top: 18px; }
  .note-feedback h4 { font-size: 21px; }
  .note-feedback > p { font-size: 12px; }
  .note-scenario { font-size: 18px; }
  .question-steps button { min-height: 48px; }
  .note-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .note-footer button { width: 100%; justify-content: space-between; }
  .conversation-visual { align-items: flex-start; padding-right: 75px; }
  .child-bubble { font-size: 21px; padding: 18px; }
  .book-pair { position: absolute; right: 0; top: 50px; gap: 5px; }
  .book-pair i { width: 27px; height: 48px; }
  .book-pair span { font-size: 8px; }
}
@media (max-height: 600px) and (min-width: 1001px) {
  .knowledge-guide-top { display: none; }
  .knowledge-guide-bottom { margin-top: 20px; }
  .knowledge-guide-bottom > p { display: none; }
  .knowledge-sample { display: block; margin-top: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .knowledge *, .knowledge *::after { transition: none !important; }
}
/* Mobile and tablet: a fixed reading window, with measured GSAP page turns. */
.knowledge-pinned .knowledge-layout { height: calc(100svh - var(--knowledge-header, 76px) - 10px); display: flex; flex-direction: column; gap: 0; background: #f8f9f5; }
.knowledge-pinned .knowledge-guide { position: relative; top: auto; width: 100%; margin-bottom: 10px; flex-shrink: 0; padding-block: 0 8px; }
.knowledge-pinned .knowledge-notes { flex: 1; width: 100%; min-height: 0; position: relative; overflow: clip; border-radius: 6px 26px 6px 6px; }
.knowledge-pinned .knowledge-note { position: absolute; top: 0; left: 0; width: 100%; min-height: 100%; margin: 0; }
.knowledge-pinned .note-feedback { min-height: 120px; }
@media (max-width: 600px) {
  .knowledge-pinned .knowledge-note { padding: 16px; }
  .knowledge-pinned .note-header { padding-bottom: 12px; }
  .knowledge-pinned .knowledge-note h3 { font-size: clamp(25px, 7vw, 32px); }
  .knowledge-pinned .note-summary { line-height: 1.45; margin-top: 10px; }
  .knowledge-pinned .note-lab { margin-block: 12px; padding-block: 12px; gap: 10px; }
  .knowledge-pinned .note-visual { height: 82px; }
  .knowledge-pinned .note-visual > svg { height: 80px; }
  .knowledge-pinned .leaf-visual, .knowledge-pinned .bridge-visual { flex-direction: row; gap: 16px; }
  .knowledge-pinned .note-visual-label { position: static; max-width: 95px; line-height: 1.5; font-size: 7px; text-align: left; }
  .knowledge-pinned .conversation-visual { height: 90px; padding-right: 70px; }
  .knowledge-pinned .conversation-label { font-size: 7px; margin-bottom: 7px; }
  .knowledge-pinned .child-bubble { font-size: 16px; padding: 11px 14px; border-radius: 12px 12px 12px 0; }
  .knowledge-pinned .child-bubble > svg { height: 12px; bottom: -10px; }
  .knowledge-pinned .book-pair { top: 0; margin-top: 10px; height: 80px; }
  .knowledge-pinned .book-pair i { height: 38px; width: 23px; }
  .knowledge-pinned .note-scenario { font-size: 16px; margin-bottom: 10px; }
  .knowledge-pinned .note-feedback { min-height: 112px; margin-top: 12px; }
  .knowledge-pinned .note-feedback h4 { font-size: 18px; }
  .knowledge-pinned .note-feedback > p { line-height: 1.45; margin-top: 7px; }
  .knowledge-pinned .parent-options { gap: 6px; }
  .knowledge-pinned .parent-options button { padding: 8px 10px; font-size: 11px; }
  .knowledge-pinned .note-instruction { margin-top: 5px; font-size: 8px; }
  .knowledge-pinned .note-footer { flex-direction: row; align-items: center; gap: 12px; }
  .knowledge-pinned .note-footer > span { flex: 1; font-size: 7px; }
  .knowledge-pinned .note-footer strong { font-size: 10px; line-height: 1.4; margin-top: 3px; }
  .knowledge-pinned .note-footer button { width: auto; max-width: 100px; font-size: 10px; gap: 10px; }
}
@media (max-height: 440px) {
  .knowledge-pinned .note-lab { grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); }
  .knowledge-pinned .knowledge-guide { margin-bottom: 6px; padding: 0; }
  .knowledge-pinned .knowledge-nav a { min-height: 40px; }
}
