/* Academy shell */
:root{
  --ink:#102c40;--muted:#51636c;--blue:#126568;--royal:#102c40;--line:#d7dedb;--wash:#f8f8f3;--lemon:#ffca68;
  --atlas-gutter:clamp(18px,4.7vw,78px);--atlas-width:1540px;
  background:var(--wash);color:var(--ink)
}
#shell .page-column{margin-right:0}
#main-content,.atlas-top{max-width:var(--atlas-width);padding-inline:var(--atlas-gutter)}
#main-content{padding-block:24px 64px}
#topbar{background:#fff;border:0;box-shadow:0 1px 0 #132e3920;position:relative;z-index:6}
.atlas-top{height:78px;display:flex;gap:22px;justify-content:space-between}
.atlas-brand-group,.atlas-brand,.atlas-tabs,.atlas-train,.atlas-top .top-tools{display:flex;align-items:center}
.atlas-brand-group{gap:18px}.atlas-top .atlas-brand{margin:0;gap:10px}
.atlas-brand .brand-title{color:var(--ink);font-size:25px;line-height:1.24}
.atlas-brand .brand-latin{font-size:10px;letter-spacing:.17em;color:#496369}
.atlas-brand img{width:44px;height:44px}
.atlas-top .mobile-toggle,.atlas-top .search-trigger,.atlas-drawer-close{display:grid;place-items:center;padding:0;background:transparent;min-width:0;min-height:0;width:42px;height:42px;border:1px solid #d4dedb;border-radius:50%;color:var(--ink)}
.atlas-top .search-trigger{border-color:transparent}
.atlas-top .mobile-toggle:hover,.atlas-top .search-trigger:hover,.atlas-drawer-close:hover{background:#edf3ef}
.atlas-tabs{align-self:stretch;gap:clamp(18px,2.4vw,43px)}
.atlas-tabs a{height:100%;display:flex;align-items:center;position:relative;color:#43555a;font-size:.97rem;font-weight:650}
.atlas-tabs a[aria-current],.atlas-tabs a:hover{color:#10575c}
.atlas-tabs a[aria-current]:after{content:"";position:absolute;bottom:1px;inset-inline:0;height:3px;border-radius:3px;background:#de9734}
.atlas-top .top-tools{gap:7px}.atlas-train{gap:8px;border-radius:9px;padding:9px 15px;color:white;background:var(--ink);font-weight:700;font-size:.95rem}
.atlas-train:hover{background:#15575c}
.atlas-top .pm-sound summary{background:transparent;border-color:transparent;color:#395762;min-height:42px;padding-inline:6px}
.atlas-top .pm-sound summary>span{display:none}
#sidebar{width:min(310px,87vw);max-width:none;padding:26px 18px 24px;background:#fff;z-index:64;transform:translateX(106%);visibility:hidden;transition:transform .22s ease,visibility .22s}
.nav-open #sidebar{transform:translateX(0);visibility:visible}.nav-open{overflow:hidden}
#shade:not([hidden]){display:block;position:fixed;z-index:63;inset:0;background:#081d2c99}
#sidebar .brand{margin-bottom:25px}
#sidebar .atlas-drawer-close{position:absolute;top:24px;left:15px}
#sidebar .nav-link.active{background:#e4eeea;color:#10575c}#sidebar .nav-link:hover{background:#f0f4f0;color:var(--blue)}
#sidebar .nav-group{font-size:.88rem;color:#596c6d}#sidebar .rail-bottom{padding-bottom:18px}

/* Photographic cover and its navigation */
.atlas-show{isolation:isolate;position:relative;overflow:hidden;border-radius:24px;background:#17343c;color:#fff}
.atlas-frames{display:grid}
.atlas-slide{grid-area:1/1;position:relative;min-height:clamp(410px,32.5vw,500px);isolation:isolate;display:flex;align-items:center}
.atlas-slide[hidden]{display:none}
.atlas-photo,.atlas-film{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.atlas-photo{object-fit:cover;object-position:center 57%;z-index:-2}
.atlas-slide[data-slide="0"] .atlas-photo{object-position:center 10%}
.atlas-film{background:linear-gradient(270deg,rgba(8,30,37,.95) 0%,rgba(11,32,39,.87) 19%,rgba(13,37,40,.5) 44%,rgba(14,31,34,.06) 69%),linear-gradient(0deg,rgba(8,21,22,.5),transparent 32%)}
.atlas-copy{width:min(59%,740px);padding:clamp(30px,4vw,64px) clamp(24px,4.2vw,68px) 76px 10px}
.atlas-overline{display:inline-flex;align-items:center;gap:9px;color:#ffde9e;font-weight:640;font-size:.97rem}
.atlas-overline i,.atlas-headline>span{width:29px;height:3px;border-radius:2px;background:#f5ba55}
.atlas-copy h2{margin:10px 0 0;color:#fff;font-weight:830;letter-spacing:-.04em;font-size:clamp(2.65rem,4.1vw,4.6rem);line-height:1.31}
.atlas-copy h2 em{display:block;color:#ffce78;font-style:normal}
.atlas-copy p{max-width:32em;color:#f0f3ed;line-height:1.75;margin:12px 0 20px;font-size:clamp(1rem,1.25vw,1.17rem);text-wrap:pretty}
.atlas-ctas,.atlas-controls,.atlas-dots,.atlas-place{display:flex;align-items:center}
.atlas-ctas{gap:12px;flex-wrap:wrap}
.atlas-ctas a{min-height:45px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;border-radius:8px;padding:7px 17px;font-size:.98rem}
.atlas-cta{color:#172a31;background:#ffca68}.atlas-cta:hover{background:#ffdb96}
.atlas-alt{border:1px solid #eef2ed8a;color:#fff;background:#0c252c48}.atlas-alt:hover{background:#0c252c90}
.atlas-controls{position:absolute;bottom:18px;inset-inline-start:clamp(24px,4.2vw,68px);gap:8px;direction:rtl}
.atlas-dot,.atlas-playback{height:34px;display:grid;place-items:center;padding:0;color:#fff}
.atlas-dot{width:27px}.atlas-dot span{height:4px;width:13px;border-radius:10px;background:#ffffff8f}
.atlas-dot[aria-pressed="true"]{width:40px}.atlas-dot[aria-pressed="true"] span{background:#ffca68;width:34px}
.atlas-playback{width:34px;border-radius:50%;border:1px solid #ffffff75;background:#162e39a6}
.atlas-place{position:absolute;bottom:24px;inset-inline-end:28px;gap:10px;padding:9px 13px;background:#0e242bbf;border:1px solid #ffffff4d;border-radius:11px;color:#fff;backdrop-filter:blur(8px)}
.atlas-place:hover{background:#092228}.atlas-place small{display:block;text-align:start;direction:ltr;color:#ffdb93;font:700 .66rem/1.5 Inter,Arial,sans-serif;letter-spacing:.14em}.atlas-place b{display:block;font-size:.9rem;font-weight:640}.atlas-location-icon{color:#ffce78}
.atlas-road-code{border:1px solid #ffcf84;color:#ffdda3;border-radius:5px;font:750 .84rem/1.1 Inter,Arial,sans-serif;padding:4px 6px}
@media(prefers-reduced-motion:no-preference){.atlas-slide:not([hidden]) .atlas-photo{animation:atlas-expose .55s ease-out}.atlas-slide:not([hidden]) .atlas-copy{animation:atlas-rise .48s ease-out}@keyframes atlas-expose{from{opacity:.68}to{opacity:1}}@keyframes atlas-rise{from{opacity:.65;transform:translateY(7px)}to{opacity:1;transform:none}}}

/* Entry points and learning sections */
.atlas-start{margin:30px 0 36px}.atlas-headline{display:flex;gap:10px;align-items:center;margin-bottom:13px}
.atlas-headline>span{width:7px;height:25px;background:#daa44e}
.atlas-headline h2,.section-head h2{color:#143443;font-weight:800;font-size:clamp(1.35rem,2.4vw,1.9rem);letter-spacing:-.035em}
.atlas-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.atlas-choice{display:flex;gap:14px;align-items:center;padding:20px clamp(12px,1.7vw,26px);background:#fff;border:1px solid #d8ded7;border-radius:14px;color:var(--ink);transition:border-color .18s,box-shadow .18s}
.atlas-choice:hover,.atlas-choice:focus-visible{border-color:#76a19b;box-shadow:0 6px 20px #253c3710}
.atlas-choice-icon{display:grid;place-items:center;background:#e2efea;color:#196767;width:52px;height:52px;flex:0 0 52px;border-radius:15px}
.atlas-choice.rust .atlas-choice-icon{color:#a74d39;background:#f8e8df}
.atlas-choice.gold .atlas-choice-icon{color:#906219;background:#f8edcc}
.atlas-choice strong,.atlas-choice small{display:block}.atlas-choice strong{font-size:1.18rem;line-height:1.55;font-weight:790}.atlas-choice small{color:#536568;font-size:.95rem}
.section{margin-block-start:34px}.panel,.lesson-card,.license-card,.sign-card,.resource-card,.activity-card,.route-tile{border-color:#d5ded9;border-radius:14px}
.section-head p,.vehicle-body p{font-size:.94rem}.button.primary,.primary,.chip.selected{background:#126568}.button.soft,.small-label .complete-ico,.tag{background:#e5efea;color:#195d60}
.tag.warm{background:#fff0ce;color:#795319}.activity-card .activity-meta b,.section-head .link-text{color:#145e60}
.featured-activities .activity-photo{height:auto;aspect-ratio:2.17}.activity-card img{transition:transform .28s ease}.activity-card:hover img{transform:scale(1.025)}
.intro:not(.reading .intro){border-inline-start:5px solid #dfaa57;padding-inline-start:16px}
.resource-card,.lesson-card,.panel{box-shadow:0 2px 6px #14353405}
#main-content:has(.atlas-show) .section-head,#main-content:has(.atlas-show) .dash-lower .section-head{margin-bottom:14px}
#footer{padding-inline:var(--atlas-gutter);background:#eef1ea}
@media(min-width:1500px){.atlas-top{height:85px}}
@media(max-width:1140px){.atlas-tabs{gap:16px}.atlas-tabs a{font-size:.9rem}.atlas-brand-group{gap:10px}.atlas-top{gap:12px}}
@media(max-width:980px){.atlas-tabs{display:none}.atlas-top{height:67px}.atlas-copy{width:65%}}
@media(max-width:720px){
  :root{--atlas-gutter:16px}.atlas-top{height:64px}.atlas-top .atlas-brand{gap:7px}.atlas-brand img{width:36px;height:36px}.atlas-brand .brand-title{font-size:20px}.atlas-brand .brand-latin{font-size:8px}
  .atlas-top .mobile-toggle,.atlas-top .search-trigger{width:36px;height:36px}.atlas-train{font-size:.85rem;gap:5px;padding:7px 9px}.atlas-top .top-tools{gap:3px}
  #main-content{padding-block:15px 36px}.atlas-show{border-radius:17px}.atlas-slide{min-height:440px;align-items:flex-end}
  .atlas-film{background:linear-gradient(0deg,#0a232dfc 0%,#0d252de8 30%,#112c329c 63%,#112c3219 100%)}
  .atlas-photo{object-position:40% 34%}.atlas-slide[data-slide="0"] .atlas-photo{object-position:46% 40%}
  .atlas-copy{width:100%;padding:86px 22px 63px}.atlas-copy h2{margin-top:7px;font-size:clamp(2.47rem,9.6vw,3.3rem)}
  .atlas-copy p{max-width:28rem;margin:8px 0 15px;line-height:1.75}.atlas-ctas{gap:8px}.atlas-ctas a{padding:6px 11px;font-size:.91rem;min-height:42px}
  .atlas-overline{font-size:.88rem}.atlas-overline i{width:21px}.atlas-place{top:12px;bottom:auto;left:12px;right:auto;padding:5px 9px;border-radius:8px;gap:6px}
  .atlas-place b{font-size:.76rem}.atlas-place small{font-size:.59rem}.atlas-road-code{font-size:.65rem}.atlas-location-icon .ico{width:16px}
  .atlas-controls{bottom:13px;inset-inline-start:22px}.atlas-start{margin:22px 0 25px}.atlas-choices{grid-template-columns:1fr;gap:8px}
  .atlas-choice{padding:10px 14px;gap:12px}.atlas-choice-icon{width:42px;height:42px;flex-basis:42px;border-radius:10px}.atlas-choice-icon .ico{width:22px}
  .atlas-choice strong{font-size:1.03rem}.atlas-choice small{font-size:.89rem}.section{margin-block-start:25px}.atlas-headline{margin-bottom:10px}
}
@media(max-width:440px){.atlas-top .pm-sound summary{padding-inline:4px}.atlas-train span{display:none}.atlas-train{width:36px;height:36px;justify-content:center;padding:0}.atlas-brand-group{gap:5px}.atlas-overline{font-size:.88rem}}
@media(prefers-reduced-motion:reduce){#sidebar,.activity-card img,.atlas-choice,.license-card,.lesson-card,.activity-card{transition:none}.activity-card:hover img{transform:none}}
@media print{#topbar,.atlas-controls,.atlas-choices,#sidebar,#shade{display:none!important}#main-content{padding:0}.atlas-slide{min-height:0}}

.atlas-coach .pm-tutor{margin:0 0 24px}
@media(min-width:850px){.atlas-coach .pm-tutor{display:flex;align-items:center;flex-wrap:wrap;gap:12px 25px}.atlas-coach .pt-top{flex:1;gap:20px}.atlas-coach .pt-controls{margin-top:0}.atlas-coach .pt-status:not(:empty),.atlas-coach .pt-translation,.atlas-coach .pt-script,.atlas-coach .pt-recall{flex-basis:100%}}
@media(max-width:375px){
  .atlas-top{padding-inline:9px;gap:4px}.atlas-top .atlas-brand img{display:none}.atlas-top .atlas-brand .brand-title{font-size:18px}.atlas-top .atlas-brand{gap:0}
  .atlas-top .mobile-toggle,.atlas-top .search-trigger{width:34px;height:34px}.atlas-copy{padding-inline:16px}.atlas-copy h2{font-size:2.1rem}
  .atlas-ctas{gap:6px}.atlas-ctas a{font-size:.84rem;padding:6px 8px}.atlas-ctas .ico{width:15px}
}
