@import url("./ambient.css");

:root {
  font-family: "Segoe UI", Tahoma, sans-serif;
  color-scheme: dark;
  --ink: #edf4f3;
  --lime: #d0ec78;
  --sea: #d0ec78;
  --line: #37535c;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: radial-gradient(ellipse at 93% 0%,#1b424c 0%,transparent 35rem),#0b202b; color: var(--ink); line-height: 1.65; }
h1,h2,h3,p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #e19419; outline-offset: 4px; }
.wrap { width: min(1220px, 92%); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: .5rem; left: .5rem; padding: .5rem 1rem; background: #142e39; transform: translateY(-180%); }
.skip:focus { transform: none; }
.mast { background: #102a35; border-bottom: 1px solid var(--line); }
.mast-inner,.wordmark,.mast nav,.hero-actions,footer .wrap { display: flex; align-items: center; }
.mast-inner { min-height: 76px; justify-content: space-between; gap: 1rem; }
.wordmark { font: 850 clamp(1.2rem, 2vw, 1.55rem)/1 "Segoe UI", sans-serif; letter-spacing: -.055em; text-decoration: none; }
.wordmark img { width: 44px; height: 44px; object-fit: contain; margin-right: .65rem; }
.wordmark span { color: var(--lime); }
.mast nav { gap: clamp(.6rem, 3vw, 2.3rem); }
.mast nav a { padding-block: .65rem; text-decoration: none; font-weight: 600; }
.mast nav a:hover, address a:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; overflow: hidden; margin: 1.75rem 0 2.4rem; padding: clamp(1.8rem, 5vw, 4.6rem); border-radius: 24px; background: radial-gradient(ellipse at 85% 46%, #1e525d, transparent 55%), #0c2330; color: white; }
.hero::before { content:""; position: absolute; z-index:-1; inset: 0; opacity:.22; background-image: linear-gradient(#8db6bb44 1px,transparent 1px),linear-gradient(90deg,#8db6bb44 1px,transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(95deg,transparent,#000 60%); }
.hero-copy { position:relative; z-index:1; }
.unit-name { display: flex; align-items:center; gap:.65rem; color:#c1d5d7; font-size: .96rem; }
.unit-name::before { content:""; width:28px; height:3px; background:var(--lime); }
.hero h1 { margin: .8rem 0 .9rem; font: 850 clamp(3.3rem, 6.5vw, 6.3rem)/1 "Segoe UI",sans-serif; letter-spacing:-.075em; }
.hero h1 span { color:var(--lime); }
.intro { font-size:clamp(1.18rem, 2vw, 1.65rem); line-height:1.55; color:#e5eeee; }
.hero-actions { flex-wrap:wrap; gap:.7rem; margin-top:1.7rem; }
.hero-actions a { display:inline-flex; align-items:center; min-height:44px; padding:.6rem 1.1rem; border-radius: 9px; font-weight:650; text-decoration:none; }
.primary { color:#172d24; background:var(--lime); }
.secondary { border:1px solid #719096; color:#f3f8f8; }
.primary:hover { background:#e0fa96; }
.secondary:hover { background:#ffffff16; }
.insignia { position:relative; display:grid; place-items:center; isolation:isolate; min-width:0; }
.insignia img { width:min(76%,290px); height:auto; filter:drop-shadow(0 1rem 1rem #03151e70); }
.orbit,.orbit::before,.orbit::after { position:absolute; z-index:-1; aspect-ratio:1; border-radius:50%; border:1px solid #aedbd049; }
.orbit { width:min(98%,390px); display:grid; place-items:center; border-style:dashed; }
.orbit::before,.orbit::after { content:""; width:86%; }
.orbit::after { width:117%; opacity:.5; }
.orbit-signals {
  position:absolute; z-index:-1; width:min(94%,365px); aspect-ratio:1;
  border-radius:50%; border:1px solid #a2e0da32;
}
.orbit-signals i {
  position:absolute; width:.42rem; height:.42rem; border-radius:50%;
  background:#c7ffe8; box-shadow:0 0 .7rem #73e6c5;
}
.orbit-signals i:nth-child(1) { top:11%; left:18%; }
.orbit-signals i:nth-child(2) { top:35%; right:1%; }
.orbit-signals i:nth-child(3) { bottom:6%; left:24%; }
h2 { margin-bottom:1rem; font-size:clamp(1.4rem,2.4vw,2rem); line-height:1.4; }
.services { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.service { position:relative; padding:1.35rem; border:1px solid var(--line); border-radius:17px; background:#142e39; text-decoration:none; box-shadow:0 4px 12px #04131a28; }
.service:hover,.service:focus-visible { border-color:var(--accent); box-shadow:0 10px 24px #142b371a; }
.arrest { --accent:#226f67; --tint:#d9eee6; }
.press { --accent:#315f96; --tint:#dfebfb; }
.fleet { --accent:#8c5918; --tint:#fbebd3; }
.water { --accent:#386e8b; --tint:#dfedf2; }
.pict { position:relative; display:grid; place-items:center; width:46px; height:46px; margin-bottom:1.15rem; border-radius:13px; background:var(--tint); color:var(--accent); }
.pict::before,.pict::after { content:""; position:absolute; }
.chart::before { width:5px; height:11px; background:currentColor; left:13px; bottom:12px; box-shadow:7px -4px,14px -9px; }
.paper::before,.calendar::before { width:23px; height:21px; border:2px solid; border-radius:3px; }
.paper::after { width:13px; height:2px; background:currentColor; box-shadow:0 5px; transform:translateY(-3px); }
.calendar::after { width:21px; height:2px; background:currentColor; transform:translateY(-4px); }
.rain::before { width:22px; height:11px; border-radius:12px 12px 7px 7px; border:2px solid; transform:translateY(-4px); }
.rain::after { width:2px; height:5px; background:currentColor; box-shadow:6px 0,12px 0; transform:translate(-6px,8px) skewX(-18deg); }
.service h3 { font-size:1.2rem; margin-bottom:.2rem; }
.service p { color:#b1c5ca; }
.lower { display:grid; grid-template-columns:1.45fr 1fr; gap:clamp(1.3rem,4vw,3rem); border-top:1px solid var(--line); padding:2rem 0 3rem; margin-top:2.7rem; }
.lower h2 { font-size:1.35rem; }
.poster { position:relative; display:block; }
.poster img { display:block; width:100%; border-radius:14px; }
.poster span { position:absolute; inset:auto .8rem .8rem auto; background:#0c2330ed; color:white; padding:.25rem .75rem; border-radius:.5rem; }
address { font-style:normal; }
address p { color:#b1c5ca; margin:.45rem 0 1rem; }
address a { display:inline-block; color:var(--sea); font-weight:650; margin-right:1rem; }
footer { color:#c5d5d7; background:#112b37; }
footer .wrap { padding:1.1rem 0; justify-content:space-between; column-gap:1rem; flex-wrap:wrap; }
dialog { max-width:min(94vw,1450px); max-height:92vh; border:0; border-radius:14px; padding:.7rem; background:#102735; color:#fff; }
dialog::backdrop { background:#03101cce; }
dialog img { display:block; max-width:100%; max-height:76vh; object-fit:contain; }
dialog form { text-align:right; margin-bottom:.5rem; }
dialog button { color:#fff; background:#254958; border:1px solid #729299; padding:.3rem .95rem; border-radius:8px; }
@media (max-width:900px) { .services { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) {
  .mast-inner { min-height:62px; } .wordmark img { width:32px; height:32px; margin-right:.3rem; }
  .mast nav { font-size:.88rem; }
  .hero { grid-template-columns:1fr; margin:1rem 0 1.75rem; padding:1.55rem; }
  .insignia { grid-row:1; height:140px; margin:0 0 1.3rem; } .insignia img { width:124px; } .orbit { width:145px; }
  .orbit-signals { width:145px; }
  .hero h1 { font-size:clamp(3.2rem,12vw,4.6rem); }
  .hero-actions { margin-top:1.15rem; }
  .lower { grid-template-columns:1fr; }
  .service { padding:1rem; } .service p { font-size:.95rem; } .services { gap:.65rem; }
}
@media (max-width:360px) { .services { grid-template-columns:1fr; } .mast nav { gap:.4rem; } }
@media (prefers-reduced-motion:no-preference) {
  html { scroll-behavior:smooth; }
  .service,.hero-actions a { transition:transform .18s,border-color .18s,background-color .18s,box-shadow .18s; }
  .service:hover { transform:translateY(-4px); }
  .hero-copy { animation:arrive .45s ease-out both; }
  .hero::before { animation: hero-grid 14s linear infinite; }
  .orbit {
    background: conic-gradient(from 12deg, transparent 72%, #83e9d134 91%, #c8ffe08a 99%, transparent);
    animation: radar-sweep 14s linear infinite;
  }
  .orbit-signals i { animation: signal-glow 4s ease-in-out infinite; }
  .orbit-signals i:nth-child(2) { animation-delay:-1.4s; }
  .orbit-signals i:nth-child(3) { animation-delay:-2.8s; }
  .insignia img { animation:arrive .6s ease-out both, insignia-float 6s ease-in-out .6s infinite; }
  @keyframes signal-glow {
    0%, 100% { opacity:.48; scale:.85; }
    50% { opacity:1; scale:1.15; }
  }
  @keyframes radar-sweep { to { transform:rotate(360deg); } }
  @keyframes hero-grid { to { background-position:36px 36px; } }
  @keyframes insignia-float { 50% { transform:translateY(-7px); } }
  @keyframes arrive { from { opacity:0; translate:0 8px; } to { opacity:1; translate:0 0; } }
}
