/* The supplied artwork is the setting, not a tile inside another card. */
body[data-stage=armada]{background:#050404;position:relative}
body[data-stage=armada] .preview-footer{display:none}
body[data-stage=armada] .site-header{border-color:#e0b88520}
body[data-stage=armada] .grain{opacity:.028}
.armada-education{--edu-brass:#d7a35f;--edu-paper:#f4ede3;--edu-muted:#b8a99a;min-height:max(930px,100svh);padding:106px 4.4vw 28px;background:#050404;color:var(--edu-paper);isolation:isolate}
.education-art{position:absolute;inset:0 0 0 30%;z-index:-2;overflow:hidden;background:#120c07}
.education-art>img,.education-art>video{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 32%;max-width:none;user-select:none;-webkit-user-drag:none;pointer-events:none}
.education-art>video{opacity:0;transition:opacity .65s ease}
.education-art.education-video-ready>video{opacity:1}
.education-art-shade{position:absolute;inset:0;background:linear-gradient(90deg,#050404 0%,#050404df 5%,#05040490 20%,#05040418 44%,transparent 65%),linear-gradient(0deg,#050404 0%,#050404c9 12%,transparent 37%,#05040438 88%,#05040480)}
.education-topline{position:relative;display:flex;align-items:center;font-family:Bai;font-size:13px;color:var(--edu-muted);z-index:1}
.education-back{background:none;padding:8px 0;display:flex;align-items:center;gap:12px;min-height:44px}
.education-back span{color:var(--edu-brass);font-size:20px}
.education-layout{display:grid;grid-template-columns:minmax(0,51%) 1fr;position:relative;margin-top:24px}
.education-copy{max-width:590px;position:relative}
.education-chapter{font-family:Bai;font-size:13px;color:var(--edu-brass);margin-bottom:15px}
.armada-education h1{font-size:clamp(44px,4.3vw,70px);line-height:.96;letter-spacing:-.055em;white-space:pre-line;max-width:100%;text-wrap:balance}
.education-lead{white-space:pre-line;font-size:clamp(18px,1.55vw,23px);line-height:1.6;color:#f0e4d5;margin-top:25px}
.education-figure{position:relative;margin-top:22px;margin-bottom:18px}
.education-figure[hidden]{display:none}
#education-qualifier{display:block;color:var(--edu-brass);font-size:14px;line-height:1.4}
.armada-education[data-chapter=prop-amm] #education-qualifier{position:absolute;left:0;bottom:calc(100% - 2px);font-family:Bai;font-size:12px;line-height:1;letter-spacing:.18em;text-transform:uppercase}
.education-figure>div{display:flex;align-items:baseline;gap:10px}
#education-metric{font-family:Bai;font-size:clamp(60px,6vw,96px);line-height:1.04;letter-spacing:-.04em;font-weight:700}
#education-unit{font-family:Bai;font-size:35px;color:var(--edu-brass)}
#education-metric-label{color:#e5caa9;font-size:16px;line-height:1.45;max-width:350px;margin-top:5px}
.education-body{font-size:17px;line-height:1.7;max-width:445px;color:#d5c9bc}
.armada-education[data-chapter=arrival] .education-body{margin-top:27px;max-width:390px}
.armada-education[data-chapter=arrival] h1{font-size:clamp(70px,7vw,108px)}
.armada-education[data-chapter=arrival] .education-layout{margin-top:35px}
.armada-education[data-chapter=pre-ipo] #education-metric{font-size:clamp(54px,5.4vw,84px)}
/* The "+" row is a button to a field note; it never grows the column. */
.education-detail{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:430px;margin-top:12px;background:none;cursor:pointer;padding:10px 0;font-size:13px;font-family:inherit;color:#e5cba9;border-bottom:1px solid #cda36f38;min-height:44px;text-align:left}
.education-detail:hover{color:#ffe3bf}
.education-detail>span:last-child{font-size:21px;color:var(--edu-brass);transition:transform .2s}
.education-detail[aria-expanded=true]>span:last-child{transform:rotate(45deg)}
.education-fieldnote{position:absolute;top:8px;right:clamp(24px,6vw,120px);width:min(440px,42vw);z-index:4;background:#100c09f2;border:1px solid #e0a15f;box-shadow:0 22px 60px #000a;padding:22px 24px;outline:none}
.education-fieldnote[hidden],.education-fieldnote-veil[hidden]{display:none}
.education-fieldnote-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.education-fieldnote h3{font:600 15px/1.35 Bai;color:#ffcb91;margin:0}
.education-fieldnote p{font-size:15px;line-height:1.7;color:#e6d7c3;margin:12px 0 0}
.education-fieldnote-veil{display:none}
.education-note{font-family:Bai;font-size:11px;line-height:1.6;max-width:410px;color:#ad9e8b;margin-top:14px}
.armada-education .button-hot{margin-top:24px;min-height:50px;font-size:13px;gap:30px;padding:14px 22px;min-width:218px}
.education-scene-caption{display:flex;gap:25px;align-items:center;justify-content:flex-end;align-self:end;margin-bottom:20px;color:#e8d4b7;font-family:Bai;font-size:12px;text-shadow:0 1px 6px #000}
.education-scene-caption>span{padding-left:25px;position:relative}
.education-scene-caption>span:before{content:'';position:absolute;left:0;top:50%;height:1px;width:16px;background:#d7a35f}
#education-motion{min-height:44px;background:#080604a6;border:1px solid #d7a35f60;padding:8px 14px;color:#eed7b6;font-family:Bai;font-size:12px}
.education-navigation{position:relative;margin-top:24px;padding-top:15px;border-top:1px solid #d7a35f20;z-index:2}
.education-rail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px}
.education-rail button:disabled{opacity:.3;cursor:default}
.education-gate{margin:26px 0 0;display:flex;align-items:center;gap:12px;font:11px/1.7 Bai,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#cfa77a}
.education-gate::before{content:'';flex:none;width:8px;height:8px;border-radius:50%;background:#ffb250;box-shadow:0 0 12px #ffb250;animation:education-gate-pulse 1.8s ease-in-out infinite}
@keyframes education-gate-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.education-gate::before{animation:none}}
.education-rail button{background:none;text-align:left;padding:0;min-height:49px;font-family:Bai;font-size:12px;color:#b9ac9c}
.education-rail button:hover{color:#fff4e3}
.education-rail-track{display:block;width:100%;height:2px;background:#d4ad7a36;margin-bottom:12px;position:relative}
.education-rail button[aria-current=step]{color:#ffcb91}
.education-rail button[aria-current=step] .education-rail-track{background:#d7a35f80}
.education-rail button[aria-current=step] .education-rail-track:after{content:'';position:absolute;left:0;top:-1px;height:4px;width:max(8px,var(--chapter-progress));background:#ffba73;box-shadow:0 0 10px #e99c5340;transition:width .25s linear}
.education-rail button.education-past .education-rail-track{background:#d7a35f}
.education-transport{display:flex;align-items:center;gap:27px;margin-top:14px;min-height:50px;padding-right:300px;font-family:Bai;font-size:12px;color:#cbbca7}
.education-transport>div{display:flex;align-items:center;gap:13px;white-space:nowrap}
.education-transport button{background:none;min-height:44px}
#education-previous,#education-next{font-size:23px;color:#eccaa0;min-width:34px}
#education-previous:disabled,#education-next:disabled{opacity:.25;cursor:default}
#education-story{display:flex;gap:9px;align-items:center;text-align:left}
#education-story-icon{font-size:19px;color:#ffb268;width:19px}
#education-story[aria-pressed=true]{color:#ffcc98}
#education-transcript-open{text-decoration:underline;text-decoration-color:#d7a35f60;text-underline-offset:5px}
.education-sound-slot{display:none}
/* On desktop the sound controls take the top row, beside the chapter name; at the foot they covered the last chapter of the rail. */
body[data-stage=armada]>aside.audio-dock{position:absolute;right:4.4vw;top:106px;bottom:auto;z-index:20}
.education-transcript{background:#100d0a;color:#eee2d1;border:1px solid #80613e;max-width:min(650px,calc(100vw - 32px));width:650px;max-height:85svh;padding:26px}
.education-transcript::backdrop{background:#000b;backdrop-filter:blur(10px)}
.education-transcript h2{font-size:30px;letter-spacing:-.025em}
.education-transcript .log-dialog-header{position:sticky;top:-26px;background:#100d0a;z-index:2;padding-block:12px;gap:12px}
.education-transcript .audio-dock{position:relative!important;inset:auto!important;margin:10px 0 22px;width:fit-content}
.education-transcript-body section{padding:18px 0;border-top:1px solid #d7a35f30}
.education-transcript h3{font-family:Bai;font-size:17px;color:#e9c18c;margin:0 0 10px}
.education-transcript p{font-size:16px;line-height:1.8}
@media(min-width:1500px) and (min-height:1050px){.education-layout{margin-top:38px}.education-navigation{margin-top:45px}}
@media(min-width:761px) and (max-width:1100px){.armada-education{padding-inline:32px}.education-layout{grid-template-columns:56% 1fr}.education-art{left:25%}.education-body{font-size:16px;max-width:370px}.education-transport{gap:18px}.education-rail{gap:10px}.education-rail-name{font-size:10px}.education-transport>div{gap:6px}.education-transcript-open{font-size:11px}}
@media(max-width:760px){
 .armada-education{padding:80px 22px 28px;min-height:100svh;overflow:hidden}
 .education-art{inset:0 0 auto;height:480px;z-index:-2}
 .education-art>img,.education-art>video{object-position:50% 28%}
 .education-art-shade{background:linear-gradient(0deg,#050404,transparent 60%,#05040433 80%,#050404b0)}
 .education-topline{font-size:12px}.education-back{font-size:12px}.education-back span{font-size:18px}
 .education-layout,.armada-education[data-chapter=arrival] .education-layout{display:flex;flex-direction:column;margin-top:225px}
 .education-copy{max-width:none}
 .education-chapter{font-size:12px;margin-bottom:17px}
 .armada-education h1,.armada-education[data-chapter=arrival] h1{font-size:clamp(40px,11vw,68px);letter-spacing:-.045em;line-height:1}
 .education-lead{font-size:18px;margin-top:20px;line-height:1.6}
 .education-body{font-size:16px;line-height:1.8;max-width:100%}
 .education-figure{margin-top:23px;margin-bottom:21px}
 #education-metric{font-size:75px}#education-unit{font-size:29px}#education-metric-label{font-size:15px}
 .education-note{font-size:11px;margin-top:16px}
 .education-detail{font-size:13px}
 .armada-education .button-hot{width:100%;justify-content:space-between;margin-top:24px}
 .education-scene-caption{position:absolute;top:-88px;right:0;margin:0;font-size:11px}
 #education-motion{min-height:40px;font-size:11px;padding:8px 10px}
 .education-navigation{margin-top:25px;padding-top:10px}
 .education-rail{display:flex;gap:13px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#ad7e4480 transparent;padding:12px 0 8px}
 .education-rail button{min-width:95px;flex:1;min-height:44px;font-size:11px}
 .education-transport{padding-right:0;gap:12px;flex-wrap:wrap;justify-content:space-between;margin-top:10px;font-size:12px}
 #education-transcript-open{padding:3px 0}
 .education-sound-slot{display:block;margin-top:28px;border-top:1px solid #d7a35f30;padding-top:19px}
 .education-sound-slot .audio-dock{position:relative!important;inset:auto!important;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;padding:0;max-width:none}
 .education-sound-slot .audio-buttons{flex:1;min-width:245px;max-width:100%}.education-sound-slot .audio-control{flex:1;justify-content:flex-start;min-height:54px}.education-sound-slot .sound-invitation{width:100%;position:static;margin:0}.education-sound-slot .audio-feedback{position:static;display:block;width:100%}
 .education-transcript{padding:18px}.education-transcript .log-dialog-header{top:-18px}.education-transcript h2{font-size:24px}.education-transcript p{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.education-art>video,.education-rail-track:after{transition:none!important}}

@media(min-width:761px){.armada-education:not([data-chapter=arrival]) .education-lead{display:none}.armada-education:not([data-chapter=arrival]) .education-scene-caption>span{white-space:pre-line;font-family:Mina;font-size:18px;line-height:1.6;max-width:290px;text-align:right}.education-scene-caption>span:before{display:none}}

@media(min-width:761px){
 body[data-stage=armada]>.audio-dock{flex-direction:row;align-items:center;width:auto;max-width:490px;gap:12px}
 body[data-stage=armada]>.audio-dock .audio-buttons{width:284px;flex:none}
 body[data-stage=armada]>.audio-dock .audio-feedback{position:absolute;right:0;top:calc(100% + 8px);bottom:auto}
}
@media(min-width:761px) and (max-width:1100px){body[data-stage=armada]>.audio-dock{right:32px;gap:8px}body[data-stage=armada]>.audio-dock .audio-buttons{width:246px}body[data-stage=armada]>.audio-dock .sound-invitation{padding:8px;font-size:11px}.education-transport{padding-right:405px;gap:10px}}
@media(max-width:760px){.education-sound-slot .audio-dock{flex-direction:row}}

@media(max-width:760px){
 .armada-education{display:flex;flex-direction:column}
 .education-topline{order:0}
 .education-sound-slot{order:1;position:sticky;top:0;z-index:22;margin:225px -22px 0;padding:10px 22px;background:#080604ed;backdrop-filter:blur(12px);border-top:0;border-bottom:1px solid #d7a35f28}
 .education-layout,.armada-education[data-chapter=arrival] .education-layout{order:2;margin-top:25px;position:static}
 .education-navigation{order:3}
 .education-scene-caption{top:275px;right:22px}.education-scene-caption>span{display:none}
 .education-sound-slot .audio-feedback{margin:0}
}

@media(max-width:760px){.armada-education{overflow:clip}.education-back{color:#fff2df;text-shadow:0 1px 5px #000;background:#05040466;border-radius:4px;padding-inline:9px}.education-sound-slot .sound-invitation[hidden]{display:none}.education-sound-slot .audio-feedback:empty{display:none}}

/* The dock: rail, transport and the sound controls live in a band fixed to the
   bottom of the screen, so the seven-chapter map and the way forward are on every
   chapter at every height. The copy above keeps its own rhythm; if it is ever taller
   than the room, the page scrolls under the dock, the dock does not move. */
@media(min-width:761px){
 .armada-education{padding-bottom:190px}
 .education-navigation{position:fixed;left:0;right:0;bottom:0;z-index:21;margin:0;padding:16px 4.4vw calc(12px + env(safe-area-inset-bottom));border-top:0;background:linear-gradient(180deg,#05040400,#050404e8 22%,#050404 55%)}
 .education-transport{margin-top:10px;min-height:44px}
 body[data-stage=armada]>.audio-dock{position:fixed;bottom:18px;z-index:22}
 .education-fieldnote{top:8px}
}
@media(min-width:761px) and (max-width:1100px){.armada-education{padding-bottom:200px}.education-navigation{padding-inline:32px}}
@media(max-width:760px){
 .armada-education{padding-bottom:124px}
 .education-navigation{position:fixed;left:0;right:0;bottom:0;z-index:40;margin:0;padding:8px 16px calc(8px + env(safe-area-inset-bottom));background:#080604f2;backdrop-filter:blur(12px);border-top:1px solid #d7a35f28;order:initial}
 .education-rail{display:flex;gap:6px;justify-content:center;padding:2px 0 4px;overflow:visible}
 .education-rail button{min-width:0;flex:none;width:24px;height:24px;min-height:0;padding:0;display:flex;align-items:center;justify-content:center;font-size:0;color:transparent}
 .education-rail-track{display:block;width:8px;height:8px;border-radius:50%;margin:0;background:#d4ad7a55}
 .education-rail button[aria-current=step] .education-rail-track{background:#ffba73;box-shadow:0 0 10px #e99c5380}
 .education-rail button[aria-current=step] .education-rail-track:after{display:none}
 .education-rail button.education-past .education-rail-track{background:#d7a35f}
 .education-rail-name{display:none}
 .education-transport{margin-top:2px;justify-content:space-between;gap:8px;font-size:12px;min-height:40px}
 .education-fieldnote{position:fixed;left:0;right:0;top:auto;bottom:0;width:auto;max-height:72svh;overflow:auto;border-left:0;border-right:0;border-bottom:0;padding:22px 22px calc(24px + env(safe-area-inset-bottom));z-index:60}
 .education-fieldnote-veil{display:block;position:fixed;inset:0;background:#00000088;z-index:59}
 .education-fieldnote-veil[hidden]{display:none}
}

/* Short screens: the story is fixed and always fits above the dock; the copy
   gives up spacing, not words, as the window gets shorter. */
@media(min-width:761px){.armada-education{min-height:100svh}}
@media(min-width:761px) and (max-height:940px){
 .armada-education{padding-top:92px;padding-bottom:170px}
 .education-layout,.armada-education[data-chapter=arrival] .education-layout{margin-top:10px}
 .education-chapter{margin-bottom:10px}
 .armada-education h1{font-size:clamp(40px,3.8vw,60px)}
 .armada-education[data-chapter=arrival] h1{font-size:clamp(56px,6vw,88px)}
 .education-lead{margin-top:16px;font-size:clamp(17px,1.4vw,20px)}
 .education-figure{margin-top:12px;margin-bottom:10px}
 #education-metric{font-size:clamp(48px,4.8vw,72px)}
 .armada-education[data-chapter=pre-ipo] #education-metric{font-size:clamp(44px,4.4vw,64px)}
 #education-metric-label{margin-top:2px;font-size:15px}
 .education-body{font-size:15px;line-height:1.6}
 .armada-education[data-chapter=arrival] .education-body{margin-top:16px}
 .education-detail{margin-top:8px;min-height:40px;padding:8px 0}
 .education-note{margin-top:8px}
 .armada-education .button-hot{margin-top:14px;min-height:46px}
 .education-gate{margin-top:14px}
 .education-navigation{padding-top:10px}
 .education-rail button{min-height:40px}
 .education-rail-track{margin-bottom:8px}
 .education-transport{margin-top:4px;min-height:40px}
}
@media(min-width:761px) and (max-height:760px){
 .armada-education{padding-top:84px;padding-bottom:150px}
 .armada-education h1{font-size:clamp(36px,3.2vw,50px)}
 .armada-education[data-chapter=arrival] h1{font-size:clamp(48px,5vw,72px)}
 #education-metric{font-size:clamp(42px,4vw,60px)}
 .education-body{font-size:14px}
 .education-note{font-size:10px}
 .site-header{height:72px}
}
/* Phone bar: one row of dots, one row of controls; the story button shows its icon
   and keeps its name for screen readers. */
@media(max-width:760px){
 #education-story-label{display:none}
 #education-story{min-width:44px;justify-content:center}
 .education-transport{flex-wrap:nowrap;font-size:11px}
 .education-transport>div{gap:6px}
 #education-previous,#education-next{font-size:21px;min-width:30px}
}

.armada-education[data-scene=still] .education-art>video{display:none}
