:root {
  --paper: #f3f8f8;
  --paper-2: #e6f0f1;
  --ink: #0f2a3a;
  --ink-soft: #3d5663;
  --rule: #b9cfd4;
  --mag: #a81f63;
  --sea: #cfe4e6;
  --w2: #dcedee;
  --w3: #cbe3e6;
  --w4: #bcd9dd;
  --w5: #a9cdd3;
  --land: #f0e8d0;
  --park: #d4e2bd;
  --lake: #9fc9cf;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}
:root { color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1d29;
    --paper-2: #10293a;
    --ink: #e0eef0;
    --ink-soft: #9fb8c0;
    --rule: #28495a;
    --mag: #f06aa6;
    --sea: #12303f;
    --w2: #17394a;
    --w3: #1c4256;
    --w4: #204a60;
    --w5: #1a3d52;
    --land: #2a3b3a;
    --park: #31483a;
    --lake: #25566a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.6 var(--sans); }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mag); }
a:focus-visible { outline: 3px solid var(--mag); outline-offset: 3px; }

/* hero chart */
.hero { position: relative; background: var(--sea); }
.chart { display: block; width: 100%; height: min(78vh, 640px); min-height: 380px; }
.sea { fill: var(--sea); }
.w2 { fill: var(--w2); } .w3 { fill: var(--w3); } .w4 { fill: var(--w4); } .w5 { fill: var(--w5); }
.land { fill: var(--land); }
.coast { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.park { fill: var(--park); } .lake { fill: var(--lake); }
.road { fill: none; stroke: var(--ink); stroke-opacity: .16; stroke-width: .8; }
.artery { fill: none; stroke: var(--ink); stroke-opacity: .3; stroke-width: 2; }
.snd { fill: var(--ink); fill-opacity: .55; font: italic 13px var(--serif); }
.hatchline { stroke: var(--mag); stroke-opacity: .55; }
.jam { opacity: .85; }
.jamring { fill: none; stroke: var(--mag); stroke-width: 1.4; stroke-dasharray: 5 4; }
.note { fill: var(--mag); font: italic 15px var(--serif); }
.zone { fill: none; stroke: var(--mag); stroke-width: 2.4; stroke-dasharray: 2 7; stroke-linecap: round; }
.zone.inner { stroke-opacity: .5; }
.route { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.route.static { stroke-dasharray: 5 5; stroke-width: 2; }
.dronering { fill: var(--sea); stroke: var(--ink); stroke-width: 2; }
.droneX { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.dronedot { fill: var(--mag); }

@media (prefers-reduced-motion: no-preference) {
  .hero .route { stroke-dashoffset: 1; animation: draw 5s cubic-bezier(.4,.1,.3,1) .5s forwards; }
  .hero .zone { transform-box: fill-box; transform-origin: center; animation: shrink 12s ease-in-out .8s forwards; }
  .hero .drone { opacity: 0; animation: appear .4s ease-out 5.3s forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .zone { transform-box: fill-box; transform-origin: center; transform: scale(.62); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes shrink { to { transform: scale(.62); } }
@keyframes appear { to { opacity: 1; } }

.cartouche { position: absolute; left: clamp(16px, 5vw, 72px); bottom: clamp(16px, 8vh, 64px); max-width: 27rem; background: var(--paper); border: 2px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 4px; padding: 1.4rem 1.6rem 1.3rem; }
h1 { margin: 0 0 .5rem; font: 600 clamp(2.6rem, 6.5vw, 4.4rem)/1 var(--serif); letter-spacing: -.02em; }
.lead { margin: 0 0 .7rem; font: 1.3rem/1.35 var(--serif); }
.small { margin: 0 0 1rem; color: var(--ink-soft); font-size: .95rem; }
.jump { display: flex; gap: 1.4rem; }

/* sections */
.band { padding: clamp(2.5rem, 7vw, 5rem) clamp(16px, 5vw, 72px); border-top: 1px solid var(--rule); }
.band.tint { background: var(--paper-2); }
.band > *, .split { max-width: 62rem; }
h2 { margin: 0 0 1.4rem; font: 600 clamp(1.7rem, 3.6vw, 2.4rem)/1.15 var(--serif); letter-spacing: -.01em; max-width: 24ch; }
h3 { margin: 0 0 .4rem; font: 600 1.35rem/1.2 var(--serif); }
p { margin: 0 0 1rem; max-width: 60ch; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2.4rem 3rem; }
.pair article { border-left: 3px solid var(--ink); padding-left: 1.2rem; }
.mini { width: 10rem; height: auto; display: block; margin-bottom: .8rem; }
.mini.big { width: min(100%, 22rem); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2rem 3rem; align-items: center; }
.facts { margin: 0 0 1.4rem; display: grid; gap: 1.1rem; max-width: 46rem; }
.facts div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.facts dt { font: 600 1.2rem/1.3 var(--serif); }
.facts dd { margin: 0; }
.fine { color: var(--ink-soft); font-size: .95rem; margin-top: 1.4rem; }
.lists ul { margin: 0; padding-left: 1.1rem; }
.lists li { margin-bottom: .45rem; max-width: 40ch; }
footer { padding: 2rem clamp(16px, 5vw, 72px) 3rem; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: .92rem; }
footer p { margin: 0 0 .4rem; }

@media (max-width: 640px) {
  .chart { height: 300px; min-height: 0; }
  .cartouche { position: static; max-width: none; margin: 0; border-width: 0 0 2px; outline: 0; padding: 1.4rem 16px 1.3rem; }
  .facts div { grid-template-columns: 1fr; gap: .2rem; }
}
.mini .note { font-size: 8.5px; }
