/* Use the installed DIN face without redistributing the proprietary font.
   D-DIN Condensed is the bundled OFL fallback on devices without DIN. */
@font-face{font-family:"DIN Condensed";src:local("DIN Condensed Bold"),local("DINCondensed-Bold");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"D-DIN Condensed";src:url("./fonts/D-DINCondensed-Bold.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"AxisOne Inter";src:url("./fonts/Inter-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}

.ao-booting .ao-story:not([data-mode]){min-height:1670svh}
.ao-booting .ao-story:not([data-mode]) .ao-fallback{visibility:hidden}
.ao-story{
  --ao-blue:#2445E4;--ao-ink:#202b30;--ao-muted:#647076;--ao-paper:#ffffff;--ao-line:#d6dbd8;
  --ao-heading-size:54px;--ao-tag-size:16px;--ao-body-size:14px;
  --ao-condensed:var(--axisone-heading-font,"DIN Condensed","D-DIN Condensed","Arial Narrow",sans-serif);
  display:block;position:relative;isolation:isolate;background:var(--ao-paper);color:var(--ao-ink);
  font-family:var(--axisone-font,"AxisOne Inter",Inter,Arial,sans-serif);font-weight:400;-webkit-font-smoothing:antialiased;
}
.ao-story *{box-sizing:border-box}
.ao-story button,.ao-story a{font:inherit}
.ao-story button{cursor:pointer;color:inherit}
.ao-story button:focus-visible,.ao-story a:focus-visible{outline:2px solid var(--ao-blue);outline-offset:5px}
.ao-story h2,.ao-story p{margin:0}
.ao-stage{display:none}
.ao-story.is-ready{height:var(--ao-scroll-height,1670svh)}
.ao-story.is-ready .ao-stage{display:block;position:sticky;top:var(--axisone-sticky-top,0px);height:calc(100svh - var(--axisone-sticky-top,0px));min-height:560px;overflow:hidden;background:var(--ao-paper)}
.ao-story.is-ready .ao-fallback{display:none}
.ao-stage:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--ao-paper) 0%,var(--ao-paper) 24%,#ffffffed 30%,#ffffff8a 38%,#ffffff00 48%);opacity:var(--ao-framing,0)}
.ao-visual{position:absolute;inset:0}
.ao-canvas{display:block;width:100%;height:100%;outline:none;touch-action:pan-y}
.ao-annotations{position:absolute;inset:0;overflow:hidden;pointer-events:none}

/* Equipment annotations retain their small neutral labels and circular ports. */
.ao-label{position:absolute;top:0;left:0;white-space:nowrap;font-size:10px;line-height:1.3;letter-spacing:.025em;color:#4e5b60;padding:6px 9px;background:#ffffffe8;border:1px solid #d3dad8;border-radius:2px;transform:translate(-50%,-100%)}
.ao-label:after{content:"";position:absolute;top:100%;left:50%;height:12px;width:1px;background:#a9b4b4}
.ao-label:before{content:"";position:absolute;top:calc(100% + 12px);left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:var(--ao-blue)}

.ao-copy{position:absolute;z-index:2;left:5.4%;top:50%;width:30%;max-width:420px;pointer-events:none}
.ao-copy .ao-chapter{position:absolute;left:0;top:0;transform:translateY(-50%);width:100%;visibility:hidden;pointer-events:none}
.ao-copy .ao-chapter.is-current{visibility:visible}
.ao-heading,.ao-copy .ao-body,.ao-copy .ao-options,.ao-copy .ao-capacity{will-change:opacity,transform}
.ao-chapter .ao-category{display:flex;align-items:center;gap:9px;margin-bottom:22px;font-family:var(--ao-condensed);font-size:var(--ao-tag-size);font-weight:700;line-height:1.15;letter-spacing:.1em;text-transform:uppercase;color:var(--ao-ink)}
.ao-chapter .ao-category:before{content:"";display:block;flex:0 0 8px;align-self:flex-start;margin-top:.325em;width:8px;height:8px;background:var(--ao-blue)}
.ao-chapter h2{font-family:var(--ao-condensed);font-size:var(--ao-heading-size);font-weight:700;line-height:.926;letter-spacing:0;text-transform:uppercase;text-wrap:balance}
.ao-body{font-size:var(--ao-body-size);line-height:1.57;color:var(--ao-muted);margin-top:22px!important;max-width:43ch;text-wrap:pretty}

.ao-options{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px;pointer-events:auto}
.ao-options button{display:flex;align-items:center;gap:9px;background:var(--ao-paper);border:1px solid #bdc6c7;border-radius:2px;padding:11px 15px;font-size:12px;min-height:44px;transition:background-color .15s}
.ao-options button[aria-pressed="true"]{background:#f1f4ff;border-color:var(--ao-blue)}
.ao-option-dot{width:5px;height:5px;border-radius:50%;background:#a3acad}
.ao-options button[aria-pressed="true"] .ao-option-dot{background:var(--ao-blue)}
.ao-option-caption{width:100%;font-size:10px;line-height:1.5;color:var(--ao-muted);margin-top:4px!important}
.ao-capacity{margin-top:26px!important;display:flex;align-items:center;gap:18px;border-top:1px solid var(--ao-line);padding-top:18px;max-width:290px}
.ao-capacity strong{font-family:var(--ao-condensed);font-size:44px;font-weight:700;line-height:1;white-space:nowrap}
.ao-capacity strong span{font-size:20px;color:var(--ao-blue)}
.ao-capacity>span{font-size:10px;line-height:1.5;color:var(--ao-muted)}

.ao-end{position:absolute;bottom:0;left:0}
.ao-fallback{padding:48px max(6%,24px) 80px}
.ao-fallback img{width:100%;height:auto;display:block;margin:0 auto 64px;max-width:1350px}
.ao-static-chapters{display:grid;grid-template-columns:repeat(2,1fr);gap:64px 9%;max-width:1200px;margin:0 auto}
.ao-static-chapters .ao-chapter{padding-top:24px;border-top:1px solid var(--ao-line)}
.ao-static-chapters .ao-options{display:none}
.ao-static-chapters .ao-body{max-width:45ch}
.ao-story[data-mode="reading"] .ao-end{position:static;display:block}

@media(min-width:1700px){.ao-copy{left:6%;width:28%}}
@media(max-width:1024px) and (min-width:761px){
  .ao-story{--ao-heading-size:48px}
  .ao-copy{left:5%;width:33%}
  .ao-label{font-size:9px}
}
@media(max-width:760px){
  .ao-booting .ao-story:not([data-mode]){min-height:1360svh}
  .ao-story{--ao-heading-size:40px}
  .ao-stage:after{background:linear-gradient(0deg,var(--ao-paper) 0%,var(--ao-paper) 25%,#ffffffcc 32%,#ffffff00 42%)}
  .ao-copy{top:auto;bottom:clamp(24px,5svh,44px);left:7%;width:86%;max-width:none}
  .ao-copy .ao-chapter{transform:none;top:auto;bottom:0}
  .ao-chapter .ao-category{margin-bottom:18px;line-height:1.2;letter-spacing:.08em}
  .ao-chapter h2{line-height:.98;max-width:24ch}
  .ao-body{line-height:1.5;margin-top:18px!important;max-width:46ch}
  .ao-copy .ao-heading,.ao-copy .ao-body,.ao-copy .ao-capacity{background:var(--ao-paper);box-shadow:0 0 16px 12px var(--ao-paper)}
  .ao-visual{inset:0}
  .ao-label{font-size:8px;padding:4px 5px}
  .ao-label:after{height:7px}
  .ao-label:before{top:calc(100% + 7px)}
  .ao-options{margin-top:18px;gap:8px}
  .ao-options button{padding:9px 13px;font-size:11px;min-height:44px}
  .ao-option-caption{display:none}
  .ao-capacity{margin-top:18px!important;padding-top:12px;gap:14px;max-width:260px}
  .ao-capacity strong{font-size:34px}
  .ao-capacity strong span{font-size:17px}
  .ao-static-chapters{grid-template-columns:1fr;gap:44px}
  .ao-fallback{padding:32px 7% 60px}
  .ao-fallback img{width:116%;max-width:none;margin-left:-8%;margin-bottom:40px}
}
@media(max-width:380px){.ao-story{--ao-heading-size:36px}.ao-chapter .ao-category{letter-spacing:.055em}}
@media(max-height:670px) and (min-width:761px){
  .ao-copy{top:48%}
  .ao-capacity{margin-top:18px!important;padding-top:12px}
  .ao-chapter .ao-category{margin-bottom:18px}
}
@media(max-height:720px) and (max-width:760px){
  .ao-copy{bottom:22px}
  .ao-story{--ao-heading-size:36px}
  .ao-chapter .ao-category{margin-bottom:14px}
  .ao-body{margin-top:14px!important}
  .ao-options{margin-top:12px}
  .ao-label{display:none}
}
@media(prefers-reduced-motion:reduce){
  .ao-story *{scroll-behavior:auto!important;transition:none!important}
  .ao-story .ao-stage{display:none!important}
  .ao-story{height:auto!important}
  .ao-story .ao-fallback{display:block!important}
}
