/* map46.css - "Where we work": night-mission map. Brand colors: navy, orange, a little cream. */

/* ---------- the flat SVG (also the surface of the 3D map) ---------- */
.am{background:#08162A;border-color:#0B1624}
.am-water{fill:#08162A}
.am-land path{stroke:#27456B;stroke-width:1.3}
.am-il path{fill:#142943}
.am-in path{fill:#112338}
.am-mi path{fill:#0F1F34}
.am-state{stroke:#8FB0D6;opacity:.7}
.am-lake{fill:#3F6EA0}
.am-st{fill:#4F729B}
.am-ring{stroke:#FFB27A;opacity:.6}
.am-area{fill:rgba(255,106,19,.05);stroke:#FF6A13;stroke-width:5}
.am-mi{fill:#FFC9A0;stroke:#06101D}
.am-dots circle{fill:#FFE0BF;stroke:#06101D}
.am-towns text{fill:#fff;stroke:#06101D}
.am-home circle:first-child{fill:#FFC21A;stroke:#06101D}
.am-home__in{fill:#06101D}
.am-home text{fill:#fff;stroke:#06101D}
.am-scale path{stroke:#FFE0BF}
.am-scale text,.am-north text{fill:#FFE0BF}
.am-north path{fill:#FFE0BF;stroke:#FFE0BF}
.am-job circle{fill:#FF6A13;stroke:#fff}
.am-you__t{fill:#fff;stroke:#06101D}

/* highways: a soft orange glow, a dark edge, a cream line. Other state and US roads are thin and dim. */
.am-roads{fill:none;stroke-linecap:round;stroke-linejoin:round}
.am-rd--sec{stroke:#3B5C86;stroke-width:1.8;opacity:.85}
.am-rd--glow{stroke:#FF6A13;stroke-width:12;opacity:.2}
.am-rd--case{stroke:#06101D;stroke-width:6.6}
.am-rd--hw{stroke:#FFE6C7;stroke-width:3}
.am-sh rect{fill:#0B1A2E;stroke:#FF6A13;stroke-width:3}
.am-sh text{font-family:var(--display);font-weight:800;font-size:22px;fill:#fff;stroke:none}

/* ---------- the frame, the sky behind the tilted map, the HUD ---------- */
.am3d{background:radial-gradient(ellipse at 50% 38%,#17335A 0%,#0B1829 58%,#050C16 100%);border:2px solid #1C3558;box-shadow:0 0 0 1px rgba(255,106,19,.45),0 14px 36px rgba(8,18,32,.4)}
.am3d--flat{background:#08162A;border-color:#1C3558}
.am3d::before{content:"";position:absolute;inset:7px;z-index:2;pointer-events:none;
  background:
    linear-gradient(#FF6A13,#FF6A13) 0 0/20px 3px no-repeat,linear-gradient(#FF6A13,#FF6A13) 0 0/3px 20px no-repeat,
    linear-gradient(#FF6A13,#FF6A13) 100% 0/20px 3px no-repeat,linear-gradient(#FF6A13,#FF6A13) 100% 0/3px 20px no-repeat,
    linear-gradient(#FF6A13,#FF6A13) 0 100%/20px 3px no-repeat,linear-gradient(#FF6A13,#FF6A13) 0 100%/3px 20px no-repeat,
    linear-gradient(#FF6A13,#FF6A13) 100% 100%/20px 3px no-repeat,linear-gradient(#FF6A13,#FF6A13) 100% 100%/3px 20px no-repeat}
.am3d::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(ellipse at 50% 50%,transparent 52%,rgba(2,8,16,.6) 100%),repeating-linear-gradient(0deg,rgba(255,255,255,.028) 0 1px,transparent 1px 3px)}
.am3d__slab{background:#050B14}

/* the 50 mile ring and its wall: orange (the page's own code sets a blue on each layer, so these use !important) */
.am3d__wall{border-color:#FF6A13!important}
.am3d__wall:nth-child(9){border-color:#B33F00!important}.am3d__wall:nth-child(10){border-color:#BF4400!important}
.am3d__wall:nth-child(11){border-color:#CB4A02!important}.am3d__wall:nth-child(12){border-color:#D75007!important}
.am3d__wall:nth-child(13){border-color:#E2560B!important}.am3d__wall:nth-child(14){border-color:#EC5C0E!important}
.am3d__wall:nth-child(15){border-color:#F46211!important}.am3d__wall:nth-child(16){border-color:#FF6A13!important}
.am3d__wall:nth-child(17){border-color:#FF7424!important}.am3d__wall:nth-child(18){border-color:#FF7E34!important}
.am3d__wall:nth-child(19){border-color:#FF8846!important}.am3d__wall:nth-child(20){border-color:#FF9358!important}
.am3d__wall:nth-child(21){border-color:#FF9E6B!important}.am3d__wall:nth-child(22){border-color:#FFA97E!important}
.am3d__wall:nth-child(23){border-color:#FFB591!important}.am3d__wall:nth-child(24){border-color:#FFC0A4!important}
.am3d__fill{background:rgba(255,106,19,.06)}
.am3d__top{border-color:#FFD2B0}

/* sonar pulse from the shop */
.am3d__pulse{position:absolute;left:50%;top:50%;width:9%;aspect-ratio:1;box-sizing:border-box;border:max(2px,calc(var(--u,5px)*.45)) solid #FFC21A;border-radius:50%;pointer-events:none;opacity:0;
  transform:translate(-50%,-50%) translateZ(calc(var(--u,5px)*.6)) scale(.25);animation:am-sonar 3.4s ease-out infinite}
.am3d__pulse--b{animation-delay:1.7s}
@keyframes am-sonar{0%{opacity:.95;transform:translate(-50%,-50%) translateZ(calc(var(--u,5px)*.6)) scale(.25)}100%{opacity:0;transform:translate(-50%,-50%) translateZ(calc(var(--u,5px)*.6)) scale(3.1)}}
.am3d--flat .am3d__pulse{transform:translate(-50%,-50%) scale(.25)}

/* legend (top left, under the compass) */
.am-leg{position:absolute;z-index:2;left:8px;top:58px;display:flex;flex-direction:column;gap:3px;padding:.35rem .55rem;pointer-events:none;
  background:rgba(6,14,26,.82);border:1px solid #2A4468;border-radius:4px;color:#E3EAF2;font:700 .72rem/1.2 var(--text);letter-spacing:.02em}
.am-leg__r{display:flex;align-items:center;gap:.4rem;white-space:nowrap}
.am-leg__i{display:inline-block;flex:none;width:11px;height:11px;border-radius:50%}
.am-leg__i--hq{background:#FFC21A;border:2px solid #06101D;box-shadow:0 0 0 1px #FFC21A}
.am-leg__i--job{background:#FF6A13;border:2px solid #fff;box-sizing:border-box}
.am-leg__i--road{width:16px;height:3px;border-radius:2px;background:#FFE6C7;box-shadow:0 0 0 2px #06101D,0 0 7px 2px rgba(255,106,19,.6)}
@media (max-width:520px){.am-leg{display:none}}   /* small phones: the caption under the map says the same */

/* ---------- controls and tags: dark with an orange edge ---------- */
.am3d__ctl,.am3d__turn{background:#0B1A2E;border-color:#FF6A13;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.5)}
.am3d__ctl:hover:not(:disabled),.am3d__turn:hover{background:#17335A}
.am3d__ctl.is-on{background:#FF6A13;color:#0A1626}
.am3d__ctl:disabled{opacity:.4}
.am3d__btn{background:#0B1A2E;border-color:#0B1A2E;color:#fff}
.am3d__btn:hover:not([aria-pressed="true"]){background:#17335A}
.am3d__btn[aria-pressed="true"]{background:#FF6A13;border-color:#FF6A13;color:#0A1626}
.am3d__hint{background:rgba(6,14,26,.86);color:#FFD7B8;border:1px solid #2A4468}
.am3d__card{background:#0B1A2E;color:#fff;border-color:#FF6A13}
.am3d__cardp{color:#D2DCE8}
.am3d__carda{color:#FFB27A}
.am3d__cardx{color:#fff}
.area__map figcaption{color:var(--t-soft)}

@media (prefers-reduced-motion:reduce){.am3d__pulse{animation:none;opacity:0}}
