/* 问海科技 Wenhai — swarm design (shared system with haimuyun.com) */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --void: #020C11;
  --abyss: #04131F;
  --line: rgba(150, 225, 255, 0.13);
  --line-strong: rgba(150, 225, 255, 0.3);
  --text: #E7F5FC;
  --soft: #BCD6E3;
  --muted: #8EB0C3;
  --dim: #5D7F93;
  --cyan: #5FE3FF;
  --cyan-soft: #9CF6FF;
  --signal: #F29400;
  --signal-hi: #FFAA2B;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sans: "Archivo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--void); line-height: 1.65;
       -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
::selection { background: rgba(95, 227, 255, .3); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--void);
        padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
          color: var(--cyan); margin: 0 0 16px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px;
       font: 600 16px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 0;
       transition: background .25s, box-shadow .25s, border-color .25s, transform .25s var(--ease); }
.btn .arrow { font-family: var(--mono); transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost:hover .arrow { transform: translateY(2px); }
.btn-primary { background: var(--signal); color: #1C1000;
               box-shadow: 0 0 0 1px rgba(255, 170, 43, .5), 0 12px 40px -10px rgba(242, 148, 0, .75); }
.btn-primary:hover { background: var(--signal-hi); box-shadow: 0 0 0 1px rgba(255, 170, 43, .7), 0 14px 48px -8px rgba(242, 148, 0, .9); }
.btn-ghost { color: var(--text); background: rgba(8, 32, 50, .45); border: 1px solid var(--line-strong);
             -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(95, 227, 255, .6); background: rgba(12, 44, 66, .6); }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent;
               transition: background .35s, border-color .35s, backdrop-filter .35s; }
.site-header.is-scrolled { background: rgba(2, 11, 20, .72); border-bottom-color: var(--line);
                           -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand img { display: block; height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.site-nav a { color: var(--soft); text-decoration: none; font-size: 15px; letter-spacing: .02em; transition: color .2s; }
.site-nav a:hover { color: #fff; }
.site-nav .idx { font-family: var(--mono); font-size: 11px; color: var(--cyan); margin-right: 7px; opacity: .85; }
.site-nav .lang-switch { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px;
                         font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.site-nav .lang-switch:hover { border-color: rgba(95, 227, 255, .6); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: max(100svh, 680px); display: flex; align-items: flex-end;
        overflow: hidden; isolation: isolate; background: #031820; }
.hero-poster, .hero-poster img, #sonar { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster img { object-fit: cover; display: block; }
#sonar { display: block; opacity: 0; transition: opacity 1.6s ease; }
.hero.is-live #sonar { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 11, 20, .86) 0%, rgba(2, 11, 20, .55) 30%, rgba(2, 11, 20, .12) 56%, rgba(2, 11, 20, 0) 70%),
    linear-gradient(180deg, rgba(2, 11, 20, .6) 0%, rgba(2, 11, 20, 0) 18%, rgba(2, 11, 20, 0) 72%, var(--void) 100%); }
.hero-content { position: relative; z-index: 3; padding: 150px 0 clamp(96px, 15vh, 168px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-family: var(--mono); font-size: 13px;
           letter-spacing: .14em; color: var(--cyan-soft); text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
                box-shadow: 0 0 0 4px rgba(242, 148, 0, .16), 0 0 18px var(--signal); animation: beacon 2.6s ease-in-out infinite; }
@keyframes beacon { 50% { box-shadow: 0 0 0 7px rgba(242, 148, 0, .05), 0 0 8px var(--signal); } }
.hero h1 { margin: 24px 0 26px; font-size: clamp(44px, 6.4vw, 96px); line-height: 1.06; letter-spacing: .01em;
           background: linear-gradient(180deg, #FFFFFF 10%, #D4F7FF 60%, #86E0F5 100%);
           -webkit-background-clip: text; background-clip: text; color: transparent;
           filter: drop-shadow(0 4px 30px rgba(2, 11, 20, .6)); }
html[lang="en"] .hero h1 { font-size: clamp(40px, 5.2vw, 76px); max-width: 13.5em; letter-spacing: -.01em; }
.lead { margin: 0 0 40px; max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); color: var(--soft); }
html[lang="en"] .lead { max-width: 40em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

/* HUD */
.hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hud-corner { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(156, 246, 255, .55); }
.hud-corner.tl { top: 98px; left: var(--gutter); border-top-width: 1px; border-left-width: 1px; }
.hud-corner.tr { top: 98px; right: var(--gutter); border-top-width: 1px; border-right-width: 1px; }
.hud-corner.bl { bottom: 30px; left: var(--gutter); border-bottom-width: 1px; border-left-width: 1px; }
.hud-corner.br { bottom: 30px; right: var(--gutter); border-bottom-width: 1px; border-right-width: 1px; }
.hud-bar { position: absolute; right: calc(var(--gutter) + 44px); bottom: 44px; display: flex; align-items: center; gap: 18px;
           font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: rgba(188, 214, 227, .85); }
.hud-bar b { font-weight: 500; color: var(--cyan-soft); font-variant-numeric: tabular-nums; }
.hud-caption { padding-left: 18px; border-left: 1px solid var(--line-strong); letter-spacing: .08em; }
.hud-radar { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(156, 246, 255, .5); }
.hud-radar::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
                    border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.hud-radar i { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--cyan-soft); opacity: 0; }
.hud-radar.is-pinging i { animation: radar 1.6s var(--ease); }
@keyframes radar { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.hud-scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); font-family: var(--mono);
              font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(188, 214, 227, .6);
              padding-bottom: 46px; }
.hud-scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 36px;
                     background: linear-gradient(180deg, rgba(156, 246, 255, .8), transparent);
                     animation: drop 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------------------------------------------------------------- sections */
main { position: relative; }
main::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(150, 225, 255, .085) 1px, transparent 1.2px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 70%, transparent); }
.section { position: relative; padding: clamp(72px, 8vw, 116px) 0; }
.areas { padding-top: clamp(80px, 9vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: end;
                margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.12; letter-spacing: .01em; word-break: keep-all; }
html[lang="en"] .section-head h2 { letter-spacing: -.01em; }
.section-intro { margin: 0; color: var(--muted); font-size: 17px; justify-self: end; max-width: 26em; }

/* business areas */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
        border: 1px solid var(--line); background: linear-gradient(180deg, rgba(9, 34, 52, .7), rgba(4, 19, 31, .9));
        transition: border-color .35s, box-shadow .45s, transform .45s var(--ease); }
.card--wide { grid-column: span 2; }
.card:hover { border-color: rgba(95, 227, 255, .45); transform: translateY(-4px);
              box-shadow: 0 0 0 1px rgba(95, 227, 255, .12), 0 24px 60px -24px rgba(30, 170, 225, .55); }
.card-media { position: relative; height: clamp(240px, 24vw, 310px); overflow: hidden; background: #041A2B; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card--wide .card-media img { object-position: 50% 42%; }
.card:hover .card-media img { transform: scale(1.045); }
.card-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; pointer-events: none;
                     background: linear-gradient(180deg, rgba(4, 19, 31, 0), rgba(4, 19, 31, .85)); }
.card-tag { position: absolute; left: 18px; top: 16px; z-index: 1; font-family: var(--mono); font-size: 11.5px;
            letter-spacing: .14em; color: var(--cyan-soft); padding: 5px 9px; border-radius: 6px;
            background: rgba(2, 11, 20, .55); border: 1px solid var(--line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.card-scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s;
             background: linear-gradient(180deg, transparent 0, transparent calc(50% - 1px), rgba(156, 246, 255, .9) 50%,
                         rgba(156, 246, 255, .18) calc(50% + 1px), transparent 62%);
             background-size: 100% 220%; background-repeat: no-repeat; }
.card:hover .card-scan { opacity: 1; animation: scan 1.8s linear infinite; }
@keyframes scan { from { background-position: 0 110%; } to { background-position: 0 -110%; } }
.card-body { padding: 24px 26px 28px; }
.card h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* process */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 9px; right: 0; top: 9px; height: 1px;
                    background: linear-gradient(90deg, rgba(95, 227, 255, .7), rgba(95, 227, 255, .25) 70%, rgba(242, 148, 0, .6)); }
.timeline::after { content: ""; position: absolute; top: 6px; left: 0; width: 140px; height: 7px; border-radius: 4px;
                   background: radial-gradient(closest-side, rgba(156, 246, 255, .95), rgba(156, 246, 255, 0));
                   animation: travel 5.5s linear infinite; }
@keyframes travel { from { transform: translateX(-140px); } to { transform: translateX(min(1240px, 100vw)); } }
.timeline li { position: relative; padding-top: 44px; }
.node { position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--void);
        border: 1px solid var(--cyan); box-shadow: 0 0 18px rgba(95, 227, 255, .45); }
.node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--cyan); }
.timeline li:last-child .node { border-color: var(--signal); box-shadow: 0 0 18px rgba(242, 148, 0, .6); }
.timeline li:last-child .node::after { background: var(--signal); }
.step-no { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; color: var(--dim); }
.step-no b { font-family: var(--sans); font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -.02em;
             color: transparent; -webkit-text-stroke: 1px rgba(156, 246, 255, .55); }
.timeline li:last-child .step-no b { -webkit-text-stroke-color: rgba(255, 170, 43, .75); }
.timeline h3 { font-size: 20px; margin: 16px 0 8px; }
.timeline p { margin: 0; color: var(--muted); font-size: 15px; }

/* contact */
.contact-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; border: 1px solid var(--line);
                 padding: clamp(40px, 6vw, 84px); background:
                   radial-gradient(70% 120% at 100% 50%, rgba(18, 92, 130, .38), rgba(4, 19, 31, 0) 70%),
                   linear-gradient(180deg, rgba(9, 34, 52, .75), rgba(4, 19, 31, .95)); }
.contact-panel h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.12; }
.contact-lead { margin: 18px 0 30px; color: var(--soft); font-size: 18px; max-width: 30em; }
.contact-email { display: inline-block; font-size: clamp(26px, 4.4vw, 54px); font-weight: 500; letter-spacing: -.01em;
                 text-decoration: none; background: linear-gradient(90deg, #FFFFFF, var(--cyan-soft) 60%, var(--cyan));
                 -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.contact-email:hover { filter: drop-shadow(0 0 18px rgba(95, 227, 255, .45)); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.company { margin: 40px 0 0; color: var(--dim); font-size: 14px; letter-spacing: .04em; }
.rings { position: absolute; z-index: -1; right: clamp(-160px, -6vw, -40px); top: 50%; width: 560px; height: 560px;
         transform: translateY(-50%); pointer-events: none; }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(156, 246, 255, .55); opacity: 0;
           animation: ring 6s linear infinite; }
.rings i:nth-child(2) { animation-delay: 1.5s; } .rings i:nth-child(3) { animation-delay: 3s; } .rings i:nth-child(4) { animation-delay: 4.5s; }
.rings b { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
           background: var(--signal); box-shadow: 0 0 0 6px rgba(242, 148, 0, .14), 0 0 26px var(--signal); }
@keyframes ring { 0% { transform: scale(.04); opacity: .9; } 70% { opacity: .25; } 100% { transform: scale(1); opacity: 0; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-inner img { height: 34px; width: auto; display: block; }
.legal { margin: 0; color: var(--dim); font-size: 14px; }
.footer-links { margin: 0 0 0 auto; display: flex; gap: 24px; font-size: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* reveal on scroll (only with JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.notfound-inner { position: relative; padding: 40px 24px; isolation: isolate; }
.notfound-inner img { height: 56px; width: auto; margin-bottom: 36px; }
.notfound h1 { font-size: 40px; margin-bottom: 14px; }
.notfound p { color: var(--muted); margin: 8px 0; }
.notfound a { color: var(--cyan-soft); }
.notfound .rings { right: 50%; top: 34%; transform: translate(50%, -50%); width: 640px; height: 640px; opacity: .7; }
.notfound .rings b { display: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: span 2; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .timeline::before, .timeline::after { display: none; }
  .hud-caption { display: none; }
}
@media (max-width: 760px) {
  .header-inner { height: 66px; }
  .brand img { height: 34px; }
  .site-nav a:not(.lang-switch) { display: none; }
  .hero { min-height: max(100svh, 620px); }
  .hero::before { background:
    linear-gradient(180deg, rgba(2, 11, 20, .55) 0%, rgba(2, 11, 20, .15) 30%, rgba(2, 11, 20, .35) 55%, rgba(2, 11, 20, .9) 80%, var(--void) 100%); }
  .hero-content { padding: 120px 0 112px; }
  .hero h1 { margin: 18px 0 18px; }
  .lead { margin-bottom: 30px; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .hud-corner.tl, .hud-corner.tr { top: 82px; }
  .hud-bar { right: auto; left: 50%; transform: translateX(-50%); bottom: 40px; gap: 14px; }
  .hud-scroll { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .section-intro { justify-self: start; }
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card-media { height: auto; aspect-ratio: 4 / 3; }
  .card--wide .card-media { aspect-ratio: 16 / 10; }
  .timeline { grid-template-columns: 1fr; row-gap: 34px; padding-left: 4px; }
  .timeline::before { display: block; left: 13px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto;
                      background: linear-gradient(180deg, rgba(95, 227, 255, .7), rgba(95, 227, 255, .25) 70%, rgba(242, 148, 0, .6)); }
  .timeline li { padding: 0 0 0 46px; }
  .node { top: 2px; left: 4px; }
  .contact-panel { border-radius: 20px; }
  .rings { width: 380px; height: 380px; right: -190px; top: 22%; }
  .contact-actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- Wenhai additions */
.brand img { height: 40px; }
#swarm { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.hero.is-live #swarm { opacity: 1; }
.hero h1 { max-width: 12em; }
html[lang="zh-CN"] .hero h1 { word-break: keep-all; font-size: clamp(40px, 5.1vw, 78px); }
html[lang="en"] .hero h1 { font-size: clamp(38px, 4.6vw, 66px); max-width: 11em; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 48px 0 0; }
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 4px 0 0; font-size: 16px; color: var(--text); }
.hero-content { padding-bottom: clamp(88px, 12vh, 140px); }

.card-media--svg { display: flex; align-items: center; justify-content: center;
  background: radial-gradient(70% 80% at 50% 45%, rgba(242, 148, 0, .08), rgba(242, 148, 0, 0) 70%),
              radial-gradient(90% 90% at 50% 50%, #0B2C38 0%, #051820 75%); }
.card-media--svg .illus { position: relative; display: block; width: 100%; height: 100%; padding: 18px 20px 26px;
                          transition: transform 1.4s var(--ease); }
.card:hover .card-media--svg .illus { transform: scale(1.04); }

.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; }
.apps li { position: relative; }
.apps .no { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--signal); margin-bottom: 12px; }
.apps h3 { font-size: 21px; line-height: 1.3; margin-bottom: 8px; }
.apps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* contact: a sonar display beside the text, whole inside the panel (replaces the expanding rings) */
.contact-top { display: flex; align-items: center; justify-content: space-between; gap: clamp(40px, 5vw, 96px); }
.contact-main { flex: 1 1 auto; min-width: 0; container-type: inline-size; }
.contact-email { font-size: clamp(26px, 8.8cqi, 54px); }                    /* always one line beside the sonar */
.sonar { position: relative; flex: none; width: clamp(280px, 27vw, 380px); aspect-ratio: 1; margin: 20px; pointer-events: none; }
.sonar::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(95, 227, 255, .08), rgba(95, 227, 255, .025) 70%, rgba(95, 227, 255, 0)); }
.sonar svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.sonar svg * { vector-effect: non-scaling-stroke; }
.sonar .grid { stroke: rgba(156, 246, 255, .12); }
.sonar .rim { stroke: rgba(156, 246, 255, .32); }
.sonar .ticks .min { stroke: rgba(156, 246, 255, .3); }
.sonar .ticks .maj { stroke: rgba(156, 246, 255, .6); }
.sonar .sweep { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(rgba(95, 227, 255, 0) 0deg 230deg, rgba(95, 227, 255, .035) 280deg, rgba(95, 227, 255, .12) 322deg,
                             rgba(95, 227, 255, .3) 354deg, rgba(156, 246, 255, .46) 360deg);
  animation: sonar-sweep 6s linear infinite; }
.sonar .sweep::after { content: ""; position: absolute; left: calc(50% - 1px); top: 0; width: 2px; height: 50%;
  background: linear-gradient(0deg, rgba(207, 251, 255, .95), rgba(156, 246, 255, .25)); box-shadow: 0 0 12px rgba(95, 227, 255, .8); }
.sonar i { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; color: var(--signal);
  background: currentColor; box-shadow: 0 0 12px currentColor; opacity: .5; animation: sonar-echo 6s linear infinite; }
.sonar i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; opacity: 0;
  animation: sonar-ripple 6s linear infinite; animation-delay: inherit; }
.sonar b { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #CFFBFF; box-shadow: 0 0 0 4px rgba(95, 227, 255, .14), 0 0 16px rgba(95, 227, 255, .9); }
@keyframes sonar-sweep { to { transform: rotate(1turn); } }
@keyframes sonar-echo { 0% { opacity: 1; transform: scale(1.35); } 10% { opacity: .95; transform: none; } 65% { opacity: .22; } 100% { opacity: .14; } }
@keyframes sonar-ripple { 0% { opacity: .85; transform: scale(.6); } 16% { opacity: 0; transform: scale(2.8); } 100% { opacity: 0; } }
.notfound .sonar { position: absolute; z-index: -1; left: 50%; top: 34%; width: min(560px, 130vw); margin: 0;
                   transform: translate(-50%, -50%); opacity: .7; }

.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 36px; margin: 48px 0 0; max-width: 980px; }
.contact-details dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.contact-details dd { margin: 8px 0 0; color: var(--soft); font-size: 16px; }
.contact-details dd a { text-decoration: none; }
.contact-details .alt { display: block; margin-top: 4px; color: var(--dim); font-size: 14px; }
.footer-inner img { height: 30px; width: auto; }
.notfound-inner img { height: 60px; width: auto; }

@media (max-width: 1100px) {
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide-lg { grid-column: auto; }
}
@media (max-width: 980px) {
  .contact-top { flex-direction: column; align-items: stretch; gap: 0; }
  .sonar { order: -1; align-self: center; width: min(100% - 40px, 300px); margin: 0 auto 44px; }
  .contact-email { font-size: clamp(26px, 4.4vw, 54px); }
}
@media (max-width: 760px) {
  .brand img { height: 34px; }
  .facts { gap: 12px 28px; margin-top: 34px; }
  .facts > div { min-width: 40%; }
  .apps { grid-template-columns: 1fr; gap: 30px; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1 1 100%; }
  .contact-email { font-size: clamp(22px, 7vw, 30px); overflow-wrap: normal; }
}
