/* 112Heli – website. Huisstijl van het app-icoon: navy, radarblauw, rood 112-label. */
@font-face { font-family: "Poppins"; src: url(../fonts/Poppins-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/Poppins-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/Poppins-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/Poppins-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0d111c; --navy2: #121726; --navy3: #1a2134; --line: rgba(255,255,255,.09);
  --radar: #4c6bff; --radar-soft: rgba(76,107,255,.18); --accent: #2747e8; --red: #e11d48; --orange: #ff6600;
  --trauma: #9333ea; --politie: #3f74d8; --kustwacht: #0891b2; --defensie: #7d9148; --kmar: #7d9148; --regering: #7d9148; --bijzonder: #ff6600;
  --text: #eef1f8; --muted: #9aa4bd; --card: rgba(255,255,255,.045);
  --radius: 22px; --max: 1180px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--radar); margin-bottom: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(13,17,28,.82); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.07); }
.nav-cta { padding: 9px 16px !important; background: var(--accent) !important; color: #fff !important; }
@media (max-width: 720px) { .nav-links a:not(.nav-cta):not(.keep) { display: none; } }

/* ---------- buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 1rem var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px rgba(39,71,232,.35); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: .88rem; font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: live 1.8s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.badge-112 { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: .85em; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden;
  background: radial-gradient(1200px 700px at 75% 45%, rgba(76,107,255,.20), transparent 60%), radial-gradient(800px 500px at 10% 90%, rgba(225,29,72,.10), transparent 60%), var(--navy); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero h1 .glow { background: linear-gradient(90deg, #fff, #9fb2ff 60%, var(--radar)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .radar { max-width: 440px; margin: 0 auto; } }

/* radar with live blips */
.radar { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(76,107,255,.10), rgba(13,17,28,.2) 70%); box-shadow: inset 0 0 0 1px rgba(76,107,255,.35), 0 40px 120px rgba(0,0,0,.45); }
.radar .ring { position: absolute; inset: var(--i); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(76,107,255,.30); }
.radar .cross::before, .radar .cross::after { content: ""; position: absolute; background: rgba(76,107,255,.18); }
.radar .cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar .cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(76,107,255,.55), rgba(76,107,255,0) 60deg); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar .pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px rgba(76,107,255,.4); animation: wave 4s ease-out infinite; opacity: 0; }
.radar .pulse:nth-child(2) { animation-delay: 2s; }
@keyframes wave { 0% { transform: scale(.05); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.blip { position: absolute; transform: translate(-50%, -50%); text-decoration: none; z-index: 2; }
.blip i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 0 18px var(--c); animation: blipIn .6s cubic-bezier(.3,1.6,.5,1) both; }
.blip i::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--c); animation: ping 2s infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes blipIn { from { transform: scale(0); } }
.blip span { position: absolute; left: 18px; top: -6px; white-space: nowrap; font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(13,17,28,.8); border: 1px solid var(--line); }
.radar .center-badge { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); }

/* a helicopter flying through the hero */
.flyby { position: absolute; z-index: 1; width: clamp(160px, 22vw, 300px); top: 16%; left: -30%; animation: fly 22s linear infinite; opacity: .95; pointer-events: none; }
.flyby img { animation: bob 2.4s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.flyby.two { top: 74%; width: clamp(120px, 15vw, 210px); animation-duration: 30s; animation-delay: -12s; opacity: .55; }
@keyframes fly { from { left: -30%; } to { left: 120%; } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1.5deg); } }

.scroll-hint { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid rgba(255,255,255,.35); z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--navy2); overflow: hidden; padding: 14px 0; }
.ticker-move { display: flex; gap: 40px; width: max-content; animation: marquee var(--dur, 50s) linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: .95rem; text-decoration: none; }
.ticker-item img { width: 64px; height: 23px; object-fit: contain; }
.ticker-item b { font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section.block { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 46px; }
.feature { grid-column: span 2; padding: 22px 26px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; overflow: hidden; }
.feature.span3 { grid-column: span 3; } .feature.span4 { grid-column: span 4; } .feature.span6 { grid-column: span 6; }
.feature:hover { transform: translateY(-5px); border-color: rgba(76,107,255,.5); box-shadow: 0 26px 50px -30px rgba(76,107,255,.6); }
.feature h3 { font-size: 1.25rem; margin: 0 0 6px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } .feature, .feature.span3 { grid-column: span 1; } .feature.span4, .feature.span6 { grid-column: span 2; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } .feature, .feature.span3, .feature.span4, .feature.span6 { grid-column: span 1; } }

/* feature visuals */
.fv { position: relative; height: 150px; margin: 0 -6px 20px; border-radius: 18px; overflow: hidden; background: rgba(76,107,255,.08); display: grid; place-items: center; }
.fv img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fv svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fv-trail { fill: none; stroke: #9333ea; stroke-width: 2.5; stroke-dasharray: 6 6; animation: fvDash 2s linear infinite; opacity: .8; }
.fv-trail.b { stroke: #3f74d8; }
@keyframes fvDash { to { stroke-dashoffset: -24; } }
.fv-map { background: radial-gradient(circle at 60% 50%, rgba(76,107,255,.22), transparent 60%), linear-gradient(135deg, #151c33, #1b2547); }
.fv-sweep { position: absolute; width: 320px; height: 320px; left: 50%; top: 50%; margin: -160px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(76,107,255,.35), transparent 60deg); animation: fvSpin 5s linear infinite; }
@keyframes fvSpin { to { transform: rotate(360deg); } }
.fv-fly { position: absolute; left: 0; top: 0; width: 64px; height: 24px; offset-rotate: 0deg; animation: fvFly 9s linear infinite; }
.fv-fly.b { animation-duration: 11s; animation-delay: -4s; }
.fv-fly.slow { animation-duration: 14s; width: 80px; height: 30px; }
@keyframes fvFly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.fv-pin { position: absolute; width: 22px; height: 22px; margin: -11px; border-radius: 7px; background: #fff; color: var(--red); display: grid; place-items: center; font-weight: 900; font-size: 13px; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.fv-pin.h { color: var(--trauma); }
.fv-push { background: linear-gradient(135deg, #1a2140, #241b40); }
.fv-note { display: flex; gap: 10px; align-items: center; width: 86%; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); animation: fvNote 4.5s cubic-bezier(.2,.8,.2,1) infinite; }
.fv-note img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.fv-note b { display: block; font-size: .85rem; } .fv-note small { color: var(--muted); font-size: .75rem; }
@keyframes fvNote { 0% { transform: translateY(-120px); opacity: 0; } 12%, 80% { transform: none; opacity: 1; } 95%, 100% { transform: translateY(-120px); opacity: 0; } }
.fv-bell { position: absolute; right: 14px; bottom: 10px; font-size: 1.3rem; animation: fvRing 4.5s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes fvRing { 0%, 14%, 40%, 100% { transform: none; } 18% { transform: rotate(-16deg); } 24% { transform: rotate(14deg); } 30% { transform: rotate(-8deg); } }
.fv-zone { background: linear-gradient(135deg, #12263a, #15304a); }
.fv-area { position: absolute; width: 90px; height: 90px; border-radius: 50%; border: 2px dashed rgba(34,197,94,.7); background: rgba(34,197,94,.08); }
.fv-area.r2 { border: 2px solid rgba(34,197,94,.6); background: none; animation: fvPing 2.4s ease-out infinite; }
@keyframes fvPing { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.fv-home { position: absolute; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #22c55e; color: #fff; }
.fv-cross { position: absolute; left: 0; top: 34%; width: 58px; height: 22px; animation: fvCross 6s linear infinite; }
@keyframes fvCross { from { transform: translateX(-70px); } to { transform: translateX(340px); } }
.fv-inzet { background: linear-gradient(135deg, #2a1424, #33152a); }
.fv-alarm { position: absolute; width: 70px; height: 70px; border-radius: 50%; border: 3px solid var(--red); animation: fvPing 1.8s ease-out infinite; }
.fv-alarm.r2 { animation-delay: .9s; }
.fv-in { position: absolute; top: 50%; width: 58px; height: 22px; margin-top: -11px; }
.fv-in.l { left: 50%; animation: fvInL 5s ease-in-out infinite; } .fv-in.r { left: 50%; animation: fvInR 5s ease-in-out infinite; }
.fv-in.r img { transform: scaleX(-1); }
@keyframes fvInL { 0% { transform: translate(-190px, -40px); } 45%, 80% { transform: translate(-64px, 6px); } 100% { transform: translate(-190px, -40px); } }
@keyframes fvInR { 0% { transform: translate(140px, 40px); } 45%, 80% { transform: translate(6px, -14px); } 100% { transform: translate(140px, 40px); } }
.fv-land { background: linear-gradient(135deg, #182238, #1f2a46); }
.fv-pad { position: absolute; bottom: 16px; width: 84px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-weight: 900; font-size: 13px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.fv-down { position: absolute; width: 70px; height: 26px; bottom: 24px; animation: fvLand 5s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes fvLand { 0% { transform: translate(-120px, -90px); opacity: 0; } 15% { opacity: 1; } 55%, 85% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.fv-tag { position: absolute; top: 14px; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #fff; color: #111; opacity: 0; animation: fvTag 5s ease infinite; }
@keyframes fvTag { 0%, 52% { opacity: 0; transform: translateY(6px); } 60%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.fv-fog { background: linear-gradient(180deg, #2a3142, #3a4256); }
.fv-mist { position: absolute; left: -40%; width: 180%; height: 34px; border-radius: 99px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); filter: blur(6px); animation: fvMist 9s linear infinite; }
.fv-mist.m1 { top: 22px; } .fv-mist.m2 { top: 62px; animation-duration: 12s; animation-direction: reverse; } .fv-mist.m3 { top: 100px; animation-duration: 15s; }
@keyframes fvMist { from { transform: translateX(-20%); } to { transform: translateX(20%); } }
.fv-warn { position: relative; font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: rgba(255,159,10,.92); color: #fff; animation: fvPulse 3s ease-in-out infinite; }
@keyframes fvPulse { 50% { transform: scale(1.05); } }
.fv-fav { background: linear-gradient(135deg, #2b2410, #3a2e12); display: flex; gap: 14px; justify-content: center; align-items: center; }
.fv-widget { position: relative; width: 134px; flex: none; height: 110px; border-radius: 22px; padding: 12px; background: #fff; color: #111; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); animation: fvPop 4s ease-in-out infinite; }
.fv-widget small { color: #666; font-size: .68rem; } .fv-widget b { font-size: .9rem; white-space: nowrap; } .fv-widget span { font-size: .7rem; color: #22a447; font-weight: 600; white-space: nowrap; }
.fv-widget i { position: absolute; right: 10px; top: 8px; color: #ffcc00; font-style: normal; animation: fvStar 2s ease-in-out infinite; }
@keyframes fvStar { 50% { transform: scale(1.4) rotate(20deg); } }
@keyframes fvPop { 0%, 100% { transform: none; } 50% { transform: translateY(-6px); } }
.fv-live { width: 46%; min-width: 180px; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 18px; background: rgba(18,23,38,.9); color: #fff; animation: fvPop 4s ease-in-out infinite; animation-delay: -2s; }
.fv-live img { width: 56px; height: 22px; flex: none; } .fv-live b { display: block; font-size: .8rem; white-space: nowrap; } .fv-live small { white-space: nowrap; } .fv-live small { font-size: .7rem; color: var(--muted); }
.fv-live em { margin-left: auto; font-style: normal; font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: rgba(34,197,94,.3); }
.fv-tv { height: 190px; background: linear-gradient(135deg, #10162a, #1a2548); }
.fv-screen { position: relative; width: min(560px, 90%); height: 150px; border-radius: 14px; background: linear-gradient(135deg, #1e2c55, #26345f); box-shadow: 0 0 0 6px #05070d, 0 30px 50px -20px rgba(0,0,0,.8); overflow: hidden; }
.fv-side { position: absolute; right: 10px; top: 10px; bottom: 10px; width: 120px; border-radius: 10px; background: rgba(10,14,26,.8); padding: 10px; display: grid; align-content: start; gap: 6px; font-size: .72rem; }
.fv-side b { font-size: .78rem; } .fv-side span { padding: 4px 6px; border-radius: 6px; background: rgba(255,255,255,.06); animation: fvRow 6s ease-in-out infinite; }
.fv-side span:nth-child(3) { animation-delay: 2s; } .fv-side span:nth-child(4) { animation-delay: 4s; }
@keyframes fvRow { 0%, 30%, 100% { background: rgba(255,255,255,.06); } 10%, 20% { background: rgba(76,107,255,.45); } }
@media (max-width: 620px) { .fv-live { min-width: 0; width: auto; } .fv-live em, .fv-live img { display: none; } }
@media (prefers-reduced-motion: reduce) { .fv *, .fv { animation: none !important; } .fv-note, .fv-tag { opacity: 1; transform: none; } .fv-fly { offset-distance: 50%; } }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* animated route map */
.routes { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .routes { grid-template-columns: 1fr; } }
.routemap { position: relative; aspect-ratio: 1.1; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/40px 40px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/40px 40px, radial-gradient(circle at 60% 40%, #1b2440, #0f1424 70%); }
.routemap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.routemap .path { fill: none; stroke-width: 3; stroke-dasharray: 8 8; animation: dash 1.2s linear infinite; opacity: .85; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.mover { position: absolute; left: 0; top: 0; width: 120px; height: 43px; margin: -21px 0 0 -60px; offset-rotate: 0deg; animation: move var(--t, 14s) linear infinite; animation-delay: var(--delay, 0s); }
.mover img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.55)); animation: bob 2.4s ease-in-out infinite; }
@keyframes move { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.spot { position: absolute; transform: translate(-50%, -50%); font-size: .72rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.spot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c, #ef4444); box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.spot.incident::before { width: 18px; height: 18px; background: rgba(225,29,72,.35); box-shadow: 0 0 0 2px var(--red); animation: ping 1.8s infinite; }

/* gallery of everything that flies */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 44px; }
.type { position: relative; padding: 18px 18px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s; overflow: hidden; }
.type::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(closest-side, var(--c), transparent); opacity: .18; transition: opacity .3s; }
.type:hover { transform: translateY(-6px) rotate(-.6deg); background: rgba(255,255,255,.07); }
.type:hover::after { opacity: .32; }
.type img { height: 70px; width: 100%; object-fit: contain; margin-bottom: 12px; transition: transform .5s; }
.type:hover img { transform: translateX(8px) scale(1.04); }
.type b { display: block; font-weight: 600; }
.type small { color: var(--muted); }

/* Max Verstappen */
.max { overflow: hidden; background: linear-gradient(115deg, #1a0f08, #2a1406 40%, #160c06); border-block: 1px solid rgba(255,102,0,.25); }
.max::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,102,0,.10) 0 18px, transparent 18px 60px); mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.max .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.max h2 span { color: var(--orange); }
.max .jet { animation: jet 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
@keyframes jet { 0% { transform: translateX(-6%) rotate(-2deg); } 50% { transform: translateX(6%) translateY(-14px) rotate(1deg); } 100% { transform: translateX(-6%) rotate(-2deg); } }
@media (max-width: 860px) { .max .wrap { grid-template-columns: 1fr; } }

/* platforms + download */
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.platforms span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 500; }
.download { text-align: center; }
.appicon { width: 128px; height: 128px; margin: 0 auto 24px; border-radius: 29px; box-shadow: 0 25px 60px rgba(0,0,0,.5); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 60px 0 40px; background: var(--navy2); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.foot nav a:hover { color: var(--text); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
.more-apps { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 22px; background: #161b27; border: 1px solid #262d3d; text-decoration: none; transition: transform .2s; }
.more-apps:hover { transform: translateY(-2px); }
.more-apps .lr { width: 58px; height: 58px; border-radius: 13px; flex: none; }
.more-apps b { color: #8a9dff; display: block; }
.more-apps small { color: #98a0b3; }
.more-apps .go { margin-left: auto; padding: 7px 15px; border-radius: 999px; background: #8a9dff; color: #0d1018; font-weight: 700; font-size: .9rem; }
.app-info { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 46px; color: var(--muted); font-size: .88rem; }
.app-info img { width: 56px; height: 56px; border-radius: 13px; margin-bottom: 4px; }
.credits { font-size: .78rem; color: #6b7590; margin-top: 10px; text-align: center; }

/* ---------- pages ---------- */
.page { padding: 110px 0 70px; min-height: 70vh; }
.page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.status-group { margin-top: 34px; }
.status-group h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 14px; }
.ac { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, background .2s; }
.ac:hover { transform: translateY(-3px); background: rgba(255,255,255,.07); }
.thumb { width: 86px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); flex: none; padding: 3px 6px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.ac .t { min-width: 0; }
.ac b { display: block; }
.ac small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac .r { margin-left: auto; text-align: right; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.ac.old { opacity: .6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 500 .85rem var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chip[aria-pressed="false"] { opacity: .45; }
.banner { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; font-weight: 600; font-size: .92rem; margin-top: 12px; }
.banner.weer { background: rgba(249,115,22,.15); color: #fdba74; }
.banner.incident { background: rgba(225,29,72,.16); color: #fda4af; cursor: pointer; }
.empty { padding: 30px; border-radius: 18px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }

/* live map page */
.mapapp { position: fixed; inset: 68px 0 0; display: grid; grid-template-columns: 380px 1fr; }
.mapapp aside { overflow: auto; padding: 18px; border-right: 1px solid var(--line); background: var(--navy2); }
.mapapp #map { position: relative; }
@media (max-width: 860px) { .mapapp { grid-template-columns: 1fr; grid-template-rows: 1fr 42vh; } .mapapp aside { order: 2; border-right: 0; border-top: 1px solid var(--line); } }
.mk-marker { position: relative; transform: translate(-50%, -50%); text-align: center; cursor: pointer; }
.mk-marker .draw { width: 84px; height: 30px; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); transition: transform .4s; }
.mk-marker .lbl { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 999px; background: rgba(13,17,28,.86); color: #fff; font: 600 11px var(--font); white-space: nowrap; border: 1.5px solid transparent; }
.mk-marker .age { display: block; font: 500 9px var(--font); color: #cbd5e1; }
.mk-marker.sel .lbl { border-color: var(--c); }
.mk-marker.old .draw { filter: grayscale(1) drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.mk-marker.old { opacity: .75; }
.mk-place { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; }
.detail { margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--navy3); border: 1px solid var(--line); }
.detail img.draw { width: 100%; height: 90px; object-fit: contain; }
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.figures div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); }
.figures small { display: block; color: var(--muted); font-size: .75rem; }
.figures b { font-variant-numeric: tabular-nums; }

/* aircraft page */
.ac-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.ac-hero .ac-art { animation: acfloat 4s ease-in-out infinite; }
.ac-hero img { display: block; width: 100%; max-height: 240px; object-fit: contain; transition: transform .4s; }
@keyframes acfloat { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .ac-hero .ac-art { animation: none; } }
@media (max-width: 860px) { .ac-hero { grid-template-columns: 1fr; } }
.minimap { height: 380px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); margin-top: 26px; background: var(--navy3); }
table.flights { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .95rem; }
table.flights td, table.flights th { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.flights th { color: var(--muted); font-weight: 500; font-size: .82rem; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .flyby { display: none; }
}
