.insight-library,.student-stories { scroll-margin-top:0 }
.insight-library { padding-top:clamp(38px,5vw,72px) }
.insight-library:target,.student-stories:target { padding-top:clamp(18px,2.5vw,34px) }
.insight-library-layout { display:grid; grid-template-columns:clamp(198px,21%,256px) minmax(0,1fr); gap:clamp(26px,4.6vw,68px); align-items:start }
.insight-topics { padding:19px 12px 12px; border:1px solid var(--line); border-radius:18px; background:#faf7f3 }
.insight-sidebar-title { margin:0 12px 15px; font-size:1.125rem; font-weight:800 }
.insight-topics nav { display:grid; gap:2px }
.insight-topics nav a { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:42px; padding:8px 12px; border-radius:9px; color:var(--ink-2); font-size:.94rem; font-weight:600; line-height:1.3; text-decoration:none; transition:background .18s,color .18s }
.insight-topics nav a:hover { color:var(--o-ink); background:#f1e9df }
.insight-topics nav a[aria-current] { background:#26211c; color:#fff; font-weight:750 }
.topic-arrow { display:grid; place-items:center; flex:0 0 24px; height:24px; color:#9b4d2c; transition:transform .18s }
.insight-topics nav a[aria-current] .topic-arrow { color:#ffad7a }
.insight-topics nav a:hover .topic-arrow,.insight-topics nav a:focus-visible .topic-arrow { transform:translateX(3px) }
.insight-topics a:focus-visible,.insight-topic-toggle:focus-visible,.story-controls button:focus-visible,.story-deck:focus-visible { outline:3px solid #bd4b13; outline-offset:3px }
.insight-topic-toggle { width:100%; min-height:52px; display:flex; align-items:center; gap:10px; padding:12px 14px; background:transparent; border:0; color:var(--ink); font:700 1rem/1.3 var(--font); text-align:left; cursor:pointer }
.insight-topic-toggle .topic-current { margin-left:auto; font-size:.875rem; color:var(--o-ink); font-weight:650; text-align:right }
.topic-disclosure { width:9px; height:9px; margin:0 3px 4px 0; border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(45deg); flex-shrink:0 }
.insight-topic-toggle[aria-expanded=true] .topic-disclosure { margin:5px 3px 0 0; transform:rotate(225deg) }
.insight-results-head { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; padding:0 0 18px; margin-bottom:21px; border-bottom:1px solid var(--line) }
.insight-results-head h2 { margin:0; font-size:clamp(1.6rem,2.5vw,2.25rem) }
.insight-count { flex-shrink:0; color:var(--mut); font-size:.9rem }
.insight-card-directory { grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(14px,1.9vw,26px) }
.insight-card-directory .ins { border-radius:16px }
.insight-card-directory .ins-body h3 { font-size:clamp(1.12rem,1.45vw,1.375rem) }
@media (min-width:761px) and (min-height:750px) {
  .insight-topics { position:sticky; top:92px; max-height:calc(100vh - 110px); max-height:calc(100dvh - 110px); overflow-y:auto }
}
@media (max-width:760px) {
  .insight-library-layout { grid-template-columns:minmax(0,1fr); gap:25px }
  .insight-topics[data-compact] { padding:0; border-radius:14px }
  .insight-topics[data-compact] .insight-sidebar-title { display:none }
  .insight-topics[data-compact] nav { padding:0 8px 8px }
}
@media (max-width:580px) {
  .insight-card-directory { grid-template-columns:minmax(0,1fr) }
}

.student-stories { background:#f8f4ee }
.story-header { display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:16px 24px; margin-bottom:clamp(19px,2.6vw,34px) }
.story-header h2 { margin:0 }
.story-header .eyebrow { margin-bottom:9px }
.story-controls { display:flex; align-items:center; gap:8px }
.story-position { margin-right:6px; color:#655b52; font:500 .88rem/1 var(--mono); font-variant-numeric:tabular-nums; white-space:nowrap }
.story-position b { color:var(--ink) }
.story-controls button { display:grid; place-items:center; width:46px; height:46px; padding:0; border:1px solid #bcb1a5; border-radius:50%; background:transparent; color:var(--ink); cursor:pointer; transition:background .18s,color .18s,border-color .18s }
.story-controls button[data-story-step="-1"] svg { transform:rotate(180deg) }
.story-controls button[data-story-step="1"] { background:#25211d; border-color:#25211d; color:#fff }
.story-controls button:hover,.story-controls button:focus-visible { background:#a73c09; border-color:#a73c09; color:#fff }
.story-deck { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; border-radius:24px; background:#211e1b }
.student-story { flex:0 0 100%; display:grid; grid-template-columns:41% minmax(0,1fr); min-height:clamp(355px,32vw,445px); scroll-snap-align:start; color:#fff }
.story-deck[data-enhanced] { display:block; overflow:clip; touch-action:pan-y pinch-zoom }
.story-image { position:relative; isolation:isolate; overflow:hidden; background:#433d35 }
.story-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; color:#fff }
.story-image::after { content:""; position:absolute; inset:40% 0 0; z-index:1; pointer-events:none; background:linear-gradient(to top,rgba(10,12,14,.84),transparent 88%) }
.story-place { position:absolute; z-index:2; inset:auto 22px 20px; color:white }
.story-place span { display:flex; gap:7px; align-items:center; font-size:1rem; font-weight:750; line-height:1.35 }
.story-place a { display:inline-block; margin:4px 0 0 24px; color:#f3ebe3; font-size:.8rem; line-height:1.4; text-decoration:underline; text-decoration-color:#c8bbaa; text-underline-offset:3px }
.story-place a:focus-visible { outline-color:#fff }
.story-quote { display:flex; flex-direction:column; justify-content:center; margin:0; padding:clamp(30px,3.9vw,61px); background:#211e1b }
.story-quotation { display:block; height:.56em; color:#fa9b68; font:normal clamp(4rem,6vw,5.5rem)/.9 Georgia,serif; user-select:none }
.story-quote blockquote { margin:.45rem 0 clamp(19px,2.2vw,33px); color:#fffaf4; font:normal clamp(1.12rem,1.52vw,1.45rem)/1.5 Georgia,"Times New Roman",serif; overflow-wrap:break-word }
.story-short .story-quote blockquote { font-size:clamp(1.35rem,2.05vw,2rem); line-height:1.37 }
.story-quote figcaption { display:grid; gap:4px; padding-top:17px; border-top:1px solid #5c5148; color:#e4d8cb; font-size:.94rem; line-height:1.45 }
.story-quote figcaption strong { color:#fff; font-size:1.07rem; font-weight:750 }
.editorial-reader { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; margin:0; padding:0 }
@media (max-width:680px) {
  .student-story { grid-template-columns:minmax(0,1fr); min-height:0 }
  .story-deck { border-radius:18px }
  .story-image { min-height:0; height:clamp(175px,49vw,268px) }
  .story-place { inset:auto 16px 13px }
  .story-quote { padding:25px clamp(19px,4.7vw,30px) 27px }
  .story-quotation { font-size:3.55rem }
  .story-quote blockquote { font-size:1.125rem; line-height:1.47 }
  .story-short .story-quote blockquote { font-size:clamp(1.28rem,4.4vw,1.65rem) }
  .story-controls button { width:44px; height:44px }
}
@media (prefers-reduced-motion:reduce) {
  .insight-topics nav a,.topic-arrow,.story-controls button { transition:none }
}
