/* V36 unified academic interior — progressive enhancement, base V32 untouched. */
:root{--ax-accent:#4ee8f5;--ax-text:#f4fbff;--ax-muted:#bdd0e1;--ax-stroke:#294c67;--ax-bg:#041220;--ax-pane:#0a2035;--ax-pane2:#14334d}
body.ax-academia{background:radial-gradient(ellipse 65% 55% at 83% 0%,#092c4c 0%,transparent 70%),radial-gradient(ellipse 43% 38% at -13% 20%,#122b4a 0%,transparent 65%),#051422;color:#f3faff}
.ax-bar{background:rgba(3,16,30,.93);border-color:#19405d;box-shadow:0 8px 45px #00101e55}
.ax-bar .ax-wrap{width:min(1440px,calc(100% - 46px));min-height:73px}
.ax-brand{font-size:1.04rem;letter-spacing:-.06em}.ax-brand-mark{border-radius:11px;background:linear-gradient(145deg,#5cf4f7,#1e9be4);color:#001826;box-shadow:0 0 25px #22d9ed3f}
.ax-bar nav{gap:22px;color:#d4e6ef}.ax-bar nav a{transition:color .2s}.ax-bar nav a:hover{color:#54f4ef}
.ax-wrap{width:min(1400px,calc(100% - 56px))}
.ax-head{grid-template-columns:minmax(0,1fr) minmax(360px,.96fr);min-height:410px;padding-block:43px 38px;gap:45px}
.ax-head::before{content:'';position:absolute;pointer-events:none;left:-7vw;top:0;width:55%;height:105%;background:radial-gradient(circle,#0a4c64aa,transparent 68%);z-index:-1}
.ax-head h1{max-width:15ch;margin:13px 0 19px;font-size:clamp(2.9rem,5vw,5.6rem);font-weight:800}.ax-head h1 em{background:linear-gradient(120deg,#52eaff,#c0b3ff 75%);-webkit-background-clip:text;background-clip:text}
.ax-head .ax-lede{max-width:53ch;font-size:1.06rem;color:#c6daeb}.ax-eyebrow{color:#51e4f0}.ax-cta{background:linear-gradient(100deg,#3ee2f0,#85efe5);color:#05243a!important;box-shadow:0 11px 24px #02c8e51a;border-radius:999px;padding:12px 23px}.ax-cta.ax-ghost{background:#102f49;border:1px solid #3e6783}
.ax-kpi span{color:#c9e5f1;background:#0b2842;border-color:#27516c;font-size:.75rem}
.ax-hero-visual{min-height:345px;border-radius:24px;border:1px solid #2482a4;background:linear-gradient(0deg,#061b2b 2%,transparent 66%),url('art/v35/hero-science.webp') center/cover no-repeat;box-shadow:0 30px 80px #020916b8,0 0 46px #04b6e520}
.ax-hero-visual.anatomy,body[data-v36-view=anatomy] .ax-hero-visual{background-image:linear-gradient(0deg,#061b2b 2%,transparent 72%),url('art/v35/card-anatomy.webp')}
body[data-v36-view=space] .ax-hero-visual{background-image:linear-gradient(0deg,#061b2b 2%,transparent 72%),url('art/v35/card-space.webp')}
.ax-hero-caption{bottom:24px;left:26px;font-size:.9rem;color:#c9dce8;text-shadow:0 2px 10px #000}.ax-hero-caption strong{color:#fff;font-size:1.28rem}
.ax36-section-intro{display:flex;justify-content:space-between;align-items:end;gap:30px;margin:0 0 17px}.ax36-section-intro h2{margin:4px 0 0;font-size:clamp(1.45rem,2.3vw,2rem)}.ax36-section-intro p{max-width:52ch;color:#a7c5d8;font-size:.86rem;margin:0}.ax36-overline{font-size:.68rem;font-weight:800;letter-spacing:.17em;color:#56eaf0}
.ax36-spotlights{margin-bottom:20px}.ax36-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ax36-story{display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:236px;padding:17px;position:relative;isolation:isolate;overflow:hidden;border-radius:19px;border:1px solid #226583;background:#0b2135;color:#f4fbff!important;box-shadow:0 14px 30px #030c1855;transition:transform .22s,border-color .22s}.ax36-story::before{content:'';inset:0;position:absolute;z-index:-2;background-image:var(--ax36-image);background-position:center;background-size:cover;transition:transform .4s}.ax36-story::after{content:'';inset:0;position:absolute;z-index:-1;background:linear-gradient(0deg,#02101df8 0%,#051b2ed8 28%,#071c2d18 92%)}.ax36-story:hover{transform:translateY(-4px);border-color:#4de7ed}.ax36-story:hover::before{transform:scale(1.04)}.ax36-story-top{align-self:flex-start;border-radius:99px;border:1px solid #5ad2f089;background:#041829b8;padding:6px 11px;font-size:.66rem;font-weight:900;letter-spacing:.11em;color:#c5f9fb}.ax36-story-body{display:grid;gap:6px}.ax36-story strong{font-family:Sora,system-ui,sans-serif;font-size:1.26rem}.ax36-story small{max-width:34ch;font-size:.82rem;line-height:1.5;color:#d3e4ee}.ax36-story-action{font-size:.77rem;font-weight:900;color:#5cefff;margin-top:7px}
.ax36-shortcuts{display:flex;flex-wrap:wrap;gap:9px;padding-bottom:25px;border-bottom:1px solid #16405d;margin-bottom:27px}.ax36-shortcuts a{display:inline-flex;gap:20px;align-items:center;justify-content:space-between;border:1px solid #1d5471;background:#0b2940;border-radius:10px;padding:9px 13px;color:#d7f0f9;font-size:.77rem;font-weight:800}.ax36-shortcuts a:hover{border-color:#44dfee}.ax36-shortcuts span{color:#54edf5}
.ax-academic-shell{grid-template-columns:250px minmax(0,1fr);gap:25px}.ax-sidebar{background:#0a2235;border-color:#1b4b68;border-radius:18px}.ax-categories button[aria-pressed=true]{background:linear-gradient(100deg,#0a4c66,#113850);color:#e5ffff;box-shadow:inset 3px 0 #4deafa}.ax-categories button:hover{background:#153b53}
.ax-controls{background:linear-gradient(150deg,#0b2943,#0b2238);border-color:#205370;border-radius:18px;padding:25px}.ax-controls h2{color:#f3fbff}.ax-chip-bar button[aria-pressed=true]{background:#5de7eb;color:#072636}.ax-search-row button{background:#56e6ee;color:#071e30}
.ax-section-heading h2{font-size:1.35rem}.ax-card{border-color:#23516b;background:#0b253a}.ax-card:hover{border-color:#38d6eb}.ax-card-kicker,.ax-count{color:#67eced}.ax-card .ax-card-open:hover h3{color:#7feffd}.ax-empty{background:#0c2638;border-color:#285c78;color:#d2e8f0}.ax-archive-links a{border:1px solid #28647f;padding:9px 12px;border-radius:11px;background:#0b2c42;color:#a8eef4}
.ax36-preview-note{background:#133a4d;border-bottom:1px solid #45a7b1;padding:10px 0}.ax36-preview-note[hidden]{display:none}.ax36-preview-note>.ax-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:13px;font-size:.8rem}.ax36-preview-note strong{color:#83ffff}.ax36-preview-note span{color:#d3edf2;flex:1 1 340px}.ax36-preview-note a{font-weight:900;color:#a3fbfd!important}
@media(max-width:990px){.ax-head{grid-template-columns:minmax(0,1.06fr) minmax(230px,.94fr);min-height:320px;gap:20px}.ax-hero-visual{min-height:285px}.ax-academic-shell{grid-template-columns:200px minmax(0,1fr);gap:16px}.ax36-story{min-height:210px}.ax36-section-intro{align-items:start;flex-direction:column;gap:7px}}
@media(max-width:700px){.ax-wrap{width:min(100% - 28px,620px)}.ax-bar .ax-wrap{width:calc(100% - 28px);min-height:64px}.ax-bar nav a:nth-child(2){display:none}.ax-head{grid-template-columns:1fr;min-height:unset;gap:17px;padding-block:28px 22px}.ax-head h1{font-size:clamp(2.45rem,9.4vw,3.5rem)}.ax-head .ax-lede{font-size:.91rem}.ax-hero-visual{min-height:220px;max-height:260px}.ax36-section-intro h2{font-size:1.32rem}.ax36-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ax36-story{min-height:210px;padding:12px;border-radius:14px}.ax36-story strong{font-size:1rem}.ax36-story small{font-size:.71rem}.ax36-story-top{font-size:.59rem;padding:5px 8px}.ax36-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ax36-shortcuts a{padding:9px;gap:5px;font-size:.71rem}.ax-academic-shell{grid-template-columns:1fr}.ax-sidebar{border:0;padding:0;background:transparent}.ax-controls{padding:17px}.ax-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ax-bar nav{gap:9px}}
@media(max-width:410px){.ax36-story-grid{grid-template-columns:1fr}.ax36-story{min-height:195px}.ax-result-grid{grid-template-columns:1fr}.ax36-shortcuts{grid-template-columns:1fr 1fr}.ax-bar nav a:nth-child(3){display:none}}
@media(prefers-reduced-motion:reduce){.ax36-story,.ax36-story::before{transition:none}}
/* Never allow the horizontally scrolling mobile category rail to dictate grid width. */
@media(max-width:700px){
  .ax-academic-shell{grid-template-columns:minmax(0,1fr)!important;min-width:0}
  .ax-sidebar{width:100%;min-width:0;max-width:100%;overflow:hidden}
  .ax-categories{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain}
  .ax-categories button{white-space:nowrap}
  .ax-panel{width:100%;min-width:0}
}
