@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/ibm-plex-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Saira Semi Condensed';
  src: url('fonts/saira-semi-condensed-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Saira Semi Condensed';
  src: url('fonts/saira-semi-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg0: #0a0a0a;
  --bg1: #0d1117;
  --bg2: #111820;
  --bg3: #152030;
  --accent: #1e7fc0;
  --accent-dim: #155e94;
  --accent-text: #3d9ad6;
  --accent-fill: #1a6fa8;
  --accent-fill-hi: #176a9f;
  --err: #e0554d;
  --accent-glow: rgba(30,127,192,0.15);
  --accent-glow-hi: rgba(30,127,192,0.35);
  --silver: #7a9bb0;
  --silver-hi: #b0c8d8;
  --text: #ccdde8;
  --text-dim: #7391a6;
  --border: rgba(30,100,160,0.2);
  --border-hi: rgba(30,160,220,0.45);
  --white: #eaf2f8;
  --r: 3px;
  --fh: 'Saira Semi Condensed','Arial Narrow',sans-serif;
  --fb: 'IBM Plex Sans','Segoe UI',Arial,sans-serif;
  --ease: 0.28s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg0);
  color: var(--text);
  font-family: var(--fb);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg1); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

/* grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--fh);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

h2 {
  font-family: var(--fh);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.15;
  font-weight: 700;
}

/* reveal */
.js .rv:not(.in) { opacity: 0; transform: translateY(20px); }
.rv:not(.settled) { transition: opacity 0.6s ease, transform 0.6s ease; }
.d1:not(.settled) { transition-delay: 0.1s; }
.d2:not(.settled) { transition-delay: 0.2s; }
.d3:not(.settled) { transition-delay: 0.3s; }
.d4:not(.settled) { transition-delay: 0.4s; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 800;
  transition: background var(--ease), border-color var(--ease);
}
#nav.scrolled {
  background: rgba(10,10,10,0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo .lt {
  width: 128px; height: auto;
  filter: invert(1); mix-blend-mode: normal;
  position: relative;
}
.nav-logo .wh {
  height: 48px; width: 48px;
  mix-blend-mode: screen;
  animation: spin 14s linear infinite;
  opacity: 0.85;
  margin-right: -32px;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }
.wh-fast     { animation-duration: 0.5s !important; }
.wh-fast-ccw { animation: spin-ccw 0.5s linear infinite !important; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--fh);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  position: relative;
  transition: color var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .cta {
  color: var(--white) !important;
  border: 1px solid var(--accent);
  padding: 7px 18px; border-radius: var(--r);
  transition: background var(--ease), box-shadow var(--ease) !important;
}
.nav-links .cta::after { display: none !important; }
.nav-links .cta:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 14px var(--accent-glow-hi);
}

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 810;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--silver-hi);
  transition: transform var(--ease), opacity var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-nav {
  display: none; position: fixed; inset: 0;
  background: rgba(8,8,8,0.97); backdrop-filter: blur(16px);
  z-index: 799;
  flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-family: var(--fh); font-size: 1.5rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--silver-hi); text-decoration: none;
  transition: color var(--ease);
}
.mob-nav a:hover { color: var(--white); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg0);
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 65% 50%, rgba(16,52,88,0.22) 0%, transparent 68%);
  pointer-events: none;
}
/* scanline texture */
#hero::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 79px,
    rgba(30,100,160,0.03) 79px, rgba(30,100,160,0.03) 80px
  );
  pointer-events: none;
}
@keyframes radar-arm {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.radar-sweep {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 58%,
    rgba(0,255,110,0.02) 68%,
    rgba(0,255,110,0.07) 84%,
    rgba(0,255,110,0.2) 95%,
    rgba(0,255,110,0.46) 100%
  );
  animation: radar-arm 3.5s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.radar-sweep::after {
  content: ''; position: absolute; left: calc(50% - 0.75px); top: 0;
  width: 1.5px; height: 50%;
  background: linear-gradient(to top, rgba(120,255,170,0.35), #a8ffc6);
  box-shadow: 0 0 6px rgba(0,255,120,0.8);
}
@keyframes sonar-out {
  0%   { transform: translate(-50%,-50%) scale(0);   opacity: 0.75; }
  100% { transform: translate(-50%,-50%) scale(4);   opacity: 0; }
}
.sonar-ping {
  position: fixed;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,220,80,0.8);
  pointer-events: none;
  z-index: 9999;
  animation: sonar-out 0.85s ease-out forwards;
}
.sonar-bearing {
  position: fixed;
  width: 34px; height: 2px;
  pointer-events: none;
  z-index: 9998;
  transform-origin: 0 50%;
  background: rgba(0,220,80,0.9);
}
.sonar-bearing::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border-left: 7px solid rgba(0,220,80,0.9);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
#sonar-score {
  position: fixed; bottom: 24px; right: 24px;
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: rgba(0,220,80,0.5);
  text-shadow: 0 0 8px rgba(0,220,80,0.25);
  pointer-events: none; z-index: 9997;
}

/* ── RADAR BLIPS ── */
.radar-grid {
  position: absolute; inset: 0;
  border-radius: 50%; overflow: hidden;
  pointer-events: none; z-index: 1;
  background:
    radial-gradient(closest-side, transparent calc(33.3% - 0.6px), rgba(0,235,110,0.24) 33.3%, transparent calc(33.3% + 0.6px)),
    radial-gradient(closest-side, transparent calc(66.6% - 0.6px), rgba(0,235,110,0.24) 66.6%, transparent calc(66.6% + 0.6px)),
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(0,235,110,0.16) calc(50% - 0.5px), rgba(0,235,110,0.16) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(0deg,  transparent calc(50% - 0.5px), rgba(0,235,110,0.16) calc(50% - 0.5px), rgba(0,235,110,0.16) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.radar-grid::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(rgba(0,235,110,0.6) 0 1deg, transparent 1deg 30deg);
  -webkit-mask: radial-gradient(closest-side, transparent 92%, #000 92.5%);
  mask: radial-gradient(closest-side, transparent 92%, #000 92.5%);
}
.radar-grid::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 4px; height: 4px; margin: -2px 0 0 -2px;
  border-radius: 50%; background: #7dffae;
  box-shadow: 0 0 6px rgba(0,255,120,0.9);
}
.radar-field {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 4;
}
.radar-blip {
  position: absolute; width: 5px; height: 5px;
  border-radius: 50%;
  background: #6dffa6;
  box-shadow: 0 0 4px #39ff85, 0 0 12px rgba(0,255,110,0.55);
  opacity: 0;
  transform: translate(-50%,-50%);
  transition: opacity 2.6s ease-out;
}
.radar-blip.lit {
  opacity: 1;
  transition: opacity 0.06s linear;
}
.radar-target { opacity: 0; }
.radar-target.lit  { opacity: 1; }
.radar-target.warm {
  opacity: 1;
  background: rgba(0,255,80,0.85);
  box-shadow: 0 0 9px rgba(0,255,80,1), 0 0 20px rgba(0,255,80,0.5);
}
.radar-target.found {
  opacity: 1;
  background: #00ff50;
  box-shadow: 0 0 8px #00ff50, 0 0 24px rgba(0,255,80,0.6);
  animation: blip-found 0.55s ease-in-out infinite;
}
@keyframes blip-found {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%      { transform: translate(-50%,-50%) scale(3); }
}
.radar-contact {
  position: fixed; bottom: 14%; left: 50%;
  transform: translateX(-50%);
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(0,255,80,0.9);
  text-shadow: 0 0 8px rgba(0,255,80,0.45);
  text-align: center;
  display: flex; flex-direction: column; gap: 5px;
  z-index: 10; pointer-events: none;
  background: rgba(0,8,3,0.85); border: 1px solid rgba(0,255,80,0.28);
  padding: 14px 24px; backdrop-filter: blur(6px);
  animation: rc-appear 0.35s ease-out;
  transition: opacity 0.8s;
}
.radar-contact.rc-out { opacity: 0; }
@keyframes rc-appear {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.rc-head { color: #00ff50; font-size: 0.75rem; }
.rc-sub  { color: rgba(0,210,70,0.65); font-size: 0.75rem; margin-top: 1px; }
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px; padding-top: 72px;
}
.hero-title {
  font-family: var(--fh);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--white);
  line-height: 1.08; letter-spacing: 0.01em; font-weight: 700;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem; color: var(--silver); line-height: 1.7;
  max-width: 500px; margin-bottom: 40px; letter-spacing: 0.02em;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 30px; border-radius: var(--r);
  text-decoration: none; display: inline-block;
  transition: all var(--ease);
}
.btn-solid {
  color: #eaf2f8; background: var(--accent-fill); border: 1px solid var(--accent-fill);
}
.btn-solid:hover {
  background: var(--accent-fill-hi);
  box-shadow: 0 4px 22px rgba(30,127,192,0.4);
  transform: translateY(-1px);
}
.btn-outline {
  color: var(--silver-hi); background: transparent; border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--silver); color: var(--white); }

.scroll-cue {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 2;
}
.scroll-cue span {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.3} 50%{opacity:1} }
@media (min-width: 1025px) { .scroll-cue { display: none; } }

/* ── SERVICES ── */
#services {
  padding: 96px 0; background: var(--bg1);
  border-top: 1px solid var(--border);
}
.sec-head { margin-bottom: 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.scard {
  background: var(--bg2);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: background var(--ease), transform var(--ease);
}
.scard:last-child { border-right: none; }
.scard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity var(--ease);
}
.scard:hover { background: var(--bg3); transform: translateY(-2px); }
.scard:hover::before { opacity: 1; }
.scard svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: 22px; }
.scard h3 {
  font-family: var(--fh); font-size: 1rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--white); margin-bottom: 10px;
}
.scard p { font-size: 1rem; color: var(--silver); line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 18px; }
.tag {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-text); border: 1px solid rgba(30,127,192,0.28);
  padding: 2px 7px; border-radius: 2px;
}

/* ── TRUST ── */
#trust {
  padding: 56px 0; background: var(--bg0);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
}
.tstat {
  background: var(--bg0); padding: 28px 20px; text-align: center;
}
.tstat-val {
  font-family: var(--fh);
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  letter-spacing: 0.04em; color: var(--white);
  display: block; margin-bottom: 6px;
}
.tstat-lbl {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-dim);
}

/* ── DEALERS ── */
#dealers {
  padding: 72px 0; background: var(--bg1);
  border-top: 1px solid var(--border);
}
.dealers-head { margin-bottom: 44px; }
.brands-row {
  display: flex; flex-wrap: wrap;
  gap: 14px; align-items: center;
}
.brand-pill {
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--ease), opacity var(--ease);
}
.brand-pill:hover { transform: translateY(-2px); opacity: 1 !important; }
.brand-logo {
  height: 104px; width: auto;
  max-width: 220px; object-fit: contain;
  display: block; opacity: 0.88;
  transition: opacity var(--ease);
}
.brand-pill:hover .brand-logo { opacity: 1; }

/* ── GALLERY ── */
#gallery {
  padding: 96px 0; background: var(--bg1);
  border-top: 1px solid var(--border);
}
.gal-head { margin-bottom: 44px; }
.filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.fbtn {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--silver); background: transparent;
  border: 1px solid var(--border); padding: 7px 16px;
  border-radius: 20px; cursor: pointer;
  transition: all var(--ease);
}
.fbtn:hover { color: var(--white); border-color: var(--silver); }
.fbtn.on {
  color: #eaf2f8; background: var(--accent-fill);
  border-color: var(--accent-fill);
  box-shadow: 0 2px 10px rgba(30,127,192,0.32);
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 10px; margin-top: 28px;
  list-style: none;
}
.gal-grid li { min-width: 0; }
.gal-grid li[hidden] { display: none; }
.gal-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.gal-more {
  font-family: var(--fh); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--silver-hi); background: transparent; border: 1px solid var(--border);
  padding: 12px 28px; min-height: 44px; border-radius: var(--r); cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
}
.gal-more:hover { border-color: var(--silver); color: var(--white); }
.gal-more[hidden] { display: none; }
.gitem {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--border);
  cursor: pointer; display: block; width: 100%;
  padding: 0; background: var(--bg2); color: inherit; font: inherit;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.gitem:hover {
  border-color: var(--border-hi);
  transform: scale(1.025);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  z-index: 2;
}
.gthumb {
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  transition: transform var(--ease);
}
.gthumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gitem:hover .gthumb { transform: scale(1.06); }
.gover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--ease);
  display: flex; align-items: flex-end; padding: 14px;
}
.gitem:hover .gover, .gitem:focus-visible .gover { opacity: 1; }
@media(hover:none){ .gover { opacity: 1; } }
.gover-lbl {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.05em; color: #eaf2f8; text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* ── LIGHTBOX ── */
#lb {
  display: none; position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  border: 0; padding: 0; color: #eaf2f8;
  background: rgba(4,8,12,0.95); backdrop-filter: blur(10px);
  align-items: center; justify-content: center;
}
#lb[open] { display: flex; }
#lb::backdrop { background: transparent; }
.lb-wrap {
  position: relative; max-width: 880px; width: 90vw;
}
.lb-box {
  width: 100%; aspect-ratio: 4/3; max-height: calc(100vh - 120px);
  border: 1px solid var(--border); border-radius: var(--r);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
}
.lb-img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: var(--r); display: block; }
.lb-cap { margin-top: 14px; text-align: center; }
.lb-cap h4 {
  font-family: var(--fh); font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #eaf2f8; margin-bottom: 3px;
}
.lb-cap p { font-size: 0.875rem; color: #b0c8d8; }
.lb-close {
  position: absolute; top: -14px; right: -14px;
  width: 38px; height: 38px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 50%; color: var(--silver-hi);
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--ease), color var(--ease);
  line-height: 1; z-index: 1;
}
.lb-close:hover { background: var(--bg3); color: var(--white); }
.lb-nav {
  position: absolute; top: calc(50% - 30px); transform: translateY(-50%);
  width: 42px; height: 42px;
  background: rgba(13,17,23,0.85); border: 1px solid var(--border);
  border-radius: 50%; color: var(--silver-hi);
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--ease); user-select: none;
}
.lb-nav:hover { background: var(--bg3); border-color: var(--border-hi); color: var(--white); }
.lb-prev { left: -56px; }
.lb-next { right: -56px; }

/* ── ABOUT ── */
#about { padding: 96px 0; background: var(--bg0); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 72px; align-items: stretch;
}
.about-vis {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  position: relative; min-height: 320px; padding: 22px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden;
}
.about-photo-cap {
  margin-top: 18px; text-align: center;
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-dim);
}
.about-photo-cap strong { color: var(--silver-hi); display: block; margin-bottom: 4px; font-size: 0.75rem; }
.about-map {
  flex: 1; width: 100%; margin-top: 18px; min-height: 120px;
  border: 1px solid var(--border); border-radius: calc(var(--r) - 1px);
  overflow: hidden;
}
.about-map iframe {
  width: 100%; height: 100%; display: block; border: 0;
  filter: invert(0.92) hue-rotate(180deg) contrast(0.9) brightness(0.95);
}
[data-theme="light"] .about-map iframe { filter: none; }
/* radar: day-mode display on the light theme */
[data-theme="light"] .contact-radar-bg {
  background: radial-gradient(closest-side, #f8fcf9 0%, #eef6f1 65%, #dfeae4 100%);
  box-shadow:
    0 0 0 1px rgba(10,90,55,0.5),
    0 0 0 6px #d3dee7,
    0 0 0 7px rgba(20,60,90,0.3),
    0 8px 20px rgba(20,60,90,0.16);
}
[data-theme="light"] .radar-grid {
  background:
    radial-gradient(closest-side, transparent calc(33.3% - 0.6px), rgba(0,95,55,0.3) 33.3%, transparent calc(33.3% + 0.6px)),
    radial-gradient(closest-side, transparent calc(66.6% - 0.6px), rgba(0,95,55,0.3) 66.6%, transparent calc(66.6% + 0.6px)),
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(0,95,55,0.22) calc(50% - 0.5px), rgba(0,95,55,0.22) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(0deg,  transparent calc(50% - 0.5px), rgba(0,95,55,0.22) calc(50% - 0.5px), rgba(0,95,55,0.22) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
[data-theme="light"] .radar-grid::before { background: repeating-conic-gradient(rgba(0,95,55,0.7) 0 1deg, transparent 1deg 30deg); }
[data-theme="light"] .radar-grid::after { background: #0a6b3f; box-shadow: none; }
[data-theme="light"] .radar-sweep {
  background: conic-gradient(from 0deg, transparent 0 58%, rgba(0,140,80,0.02) 68%, rgba(0,140,80,0.07) 84%, rgba(0,140,80,0.18) 95%, rgba(0,140,80,0.38) 100%);
}
[data-theme="light"] .radar-sweep::after { background: linear-gradient(to top, rgba(0,120,70,0.45), #0a7a48); box-shadow: none; }
[data-theme="light"] .radar-blip { background: #0a7a48; box-shadow: 0 0 3px rgba(0,120,70,0.6); }
[data-theme="light"] .radar-target.warm { background: #0a8a50; box-shadow: 0 0 6px rgba(0,130,70,0.7); }
[data-theme="light"] .radar-target.found { background: #067a43; box-shadow: 0 0 6px rgba(0,130,70,0.8), 0 0 16px rgba(0,130,70,0.35); }
.about-photo {
  width: 100%; height: auto;
  border-radius: calc(var(--r) - 1px);
  position: relative; z-index: 3;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { font-size: 1.05rem; color: var(--silver); line-height: 1.7; margin-bottom: 18px; }
.alist { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 9px; }
.alist li {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.04em; color: var(--silver-hi);
  display: flex; align-items: center; gap: 12px;
}
.alist li::before {
  content: ''; display: inline-block; width: 18px; height: 1px;
  background: var(--accent); flex-shrink: 0;
}

/* ── CONTACT ── */
#contact {
  padding: 96px 0; background: var(--bg1);
  border-top: 1px solid var(--border);
}
.con-head {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding-right: 196px; min-height: 176px;
}
.contact-radar-bg {
  position: absolute; top: 50%; right: 8px;
  transform: translateY(-50%);
  width: 168px; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; pointer-events: none;
  background: radial-gradient(closest-side, #07170e 0%, #05120b 62%, #020a06 100%);
  box-shadow:
    0 0 0 1px rgba(0,230,100,0.38),
    0 0 0 6px #0c141b,
    0 0 0 7px rgba(130,170,190,0.38),
    0 10px 28px rgba(0,0,0,0.45);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 72px; margin-top: 56px;
}
.cinfo h3 {
  font-family: var(--fh); font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); margin-bottom: 28px;
}
.cdet { display: flex; gap: 14px; margin-bottom: 22px; align-items: center; }
.cdet svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.cdet-txt { font-size: 1rem; color: var(--silver); line-height: 1.6; }
.cico {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid rgba(30,127,192,0.3); border-radius: var(--r);
  color: var(--accent-text); text-decoration: none;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.cico svg { width: 20px; height: 20px; }
.cico:hover { background: var(--accent-glow); border-color: var(--accent); color: var(--white); }
.cdet-txt strong {
  display: block; font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--silver-hi); margin-bottom: 3px;
}
.cform { display: flex; flex-direction: column; gap: 14px; }
.crow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-grid > * { min-width: 0; }
.cfield { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cfield input, .cfield textarea, .cfield select { width: 100%; min-width: 0; }
.cfield label {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim);
}
.cfield input, .cfield textarea, .cfield select {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); font-family: var(--fb); font-size: 1rem;
  padding: 11px 13px; border-radius: var(--r); outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.cfield input::placeholder, .cfield textarea::placeholder { color: var(--text-dim); }
.cfield select option { background: var(--bg2); }
.cfield input:focus, .cfield textarea:focus, .cfield select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,127,192,0.1);
}
.cfield textarea { resize: vertical; min-height: 116px; }
.cf-hp {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.cform-err {
  font-size: 0.875rem; color: var(--err);
  min-height: 1.1em; margin-top: -4px;
}

/* ── FOOTER ── */
footer {
  background: var(--bg0); border-top: 1px solid var(--border);
  padding: 44px 0;
}
.foot-row {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 18px;
}
.foot-logo { display: flex; align-items: center; gap: 10px; }
.foot-logo .lt { width: 128px; height: auto; filter: invert(1); mix-blend-mode: normal; position: relative; }
.foot-logo .wh { height: 48px; width: 48px; mix-blend-mode: screen; opacity: 0.85; animation: spin 18s linear infinite; margin-right: -32px; flex-shrink: 0; }
.flinks { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.flinks a {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  transition: color var(--ease);
}
.flinks a:hover { color: var(--silver); }
.fcopy { font-size: 0.875rem; color: var(--text-dim); letter-spacing: 0.04em; }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .trust-row { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-vis { order: 2; max-width: 320px; margin: 0 auto; }
  .about-text { order: 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media(max-width:1040px){
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
@media(max-width:680px){
  .nav-links { display: none; }
  .burger { display: flex; }
  .crow { grid-template-columns: 1fr; }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .con-head { padding-right: 104px; min-height: 96px; }
  .contact-radar-bg { width: 88px; right: 7px; }
  .radar-blip { width: 4px; height: 4px; }
  .burger { width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; }
  .fbtn { min-height: 44px; }
  .cfield input, .cfield textarea, .cfield select { font-size: 16px; }
}
@media(max-width:480px){
  .trust-row { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg0: #f2f5f8;
  --bg1: #e8eef4;
  --bg2: #dde6ee;
  --bg3: #d0dce8;
  --accent: #1468a0;
  --accent-dim: #0e5080;
  --accent-text: #105c8f;
  --accent-fill: #1468a0;
  --accent-fill-hi: #105c8f;
  --err: #b3261e;
  --accent-glow: rgba(20,104,160,0.1);
  --accent-glow-hi: rgba(20,104,160,0.25);
  --silver: #4a6880;
  --silver-hi: #1e3448;
  --text: #1a2c3c;
  --text-dim: #4a6880;
  --border: rgba(20,80,140,0.14);
  --border-hi: rgba(20,140,200,0.4);
  --white: #0d1a24;
}
[data-theme="light"] #nav.scrolled { background: rgba(242,245,248,0.94); }
[data-theme="light"] .mob-nav { background: rgba(236,243,250,0.98); }
/* logo PNG has black outlines and white fill — multiply drops the fill on light backgrounds */
[data-theme="light"] .nav-logo .lt,
[data-theme="light"] .foot-logo .lt { filter: none; mix-blend-mode: multiply; }
/* wheel PNG has black bg — multiply replaces screen so dark wheel shows on light bg */
[data-theme="light"] .nav-logo .wh,
[data-theme="light"] .foot-logo .wh { mix-blend-mode: multiply; opacity: 0.7; }
[data-theme="light"] .cfield select option { background: var(--bg2); color: var(--text); }
/* grain looks too heavy on light bg */
[data-theme="light"] body::after { opacity: 0.12; }

/* ── THEME TOGGLE ── */
#theme-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: 1px solid var(--border);
  color: var(--silver); display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
#theme-toggle:hover { border-color: var(--silver); color: var(--white); background: var(--accent-glow); }
#theme-toggle svg { width: 15px; height: 15px; pointer-events: none; }
@media(max-width:680px){ #theme-toggle { width: 44px; height: 44px; } }

/* ── HERO ALIGNMENT ── */
#hero .wrap { width: 100%; }

/* ── HERO SLIDESHOW ── */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.6s ease, transform 9s linear;
}
.hero-slides img.on { opacity: 1; transform: scale(1.1); }
/* Text side stays solid enough to read over any photo; bottom fades into the next section */
.hero-slides::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 70%, var(--bg0) 100%),
    linear-gradient(90deg, var(--bg0) 0%, var(--bg0) 40%, rgba(10,10,10,0.86) 50%, rgba(10,10,10,0.35) 100%);
}
[data-theme="light"] .hero-slides::after {
  background:
    linear-gradient(180deg, transparent 70%, var(--bg0) 100%),
    linear-gradient(90deg, var(--bg0) 0%, var(--bg0) 46%, rgba(242,245,248,0.75) 60%, rgba(242,245,248,0.25) 100%);
}
@media (max-width: 680px) {
  .hero-slides::after { background: linear-gradient(180deg, rgba(10,10,10,0.84) 0%, rgba(10,10,10,0.88) 40%, var(--bg0) 92%); }
  [data-theme="light"] .hero-slides::after { background: linear-gradient(180deg, rgba(242,245,248,0.9) 0%, rgba(242,245,248,0.93) 40%, var(--bg0) 92%); }
}
html.no-motion .hero-slides img { transition: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) .hero-slides img { transition: none; transform: none; }
}

/* ── BUTTONS, LINKS, FOCUS ── */
.btn { cursor: pointer; }
.btn:disabled { cursor: default; }
.btn-solid.is-sent, .btn-solid.is-sent:hover { background: #1a6b3a; border-color: #1a6b3a; box-shadow: none; transform: none; }
.form-submit { align-self: flex-end; }
.form-note { font-size: 0.875rem; color: var(--text-dim); line-height: 1.6; }
.cdet-txt a { color: inherit; overflow-wrap: anywhere; text-underline-offset: 3px; }
.cdet-txt a:hover { color: var(--white); }
.rc-foot { margin-top: 4px; color: rgba(0,255,80,0.6); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.cfield input:focus-visible, .cfield textarea:focus-visible, .cfield select:focus-visible { outline-offset: 0; }
.motion-toggle {
  font-family: var(--fh); font-size: 0.75rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-dim); background: none; border: 0;
  min-height: 44px; padding: 0; cursor: pointer;
}
.motion-toggle:hover { color: var(--silver); }
html:not(.js) #theme-toggle, html:not(.js) .motion-toggle { display: none; }

/* ── MOTION CONTROL ── */
html.no-motion { scroll-behavior: auto; }
html.no-motion *, html.no-motion *::before, html.no-motion *::after { animation-play-state: paused !important; }
html.no-motion .rv { transition: none; }
html.no-motion .radar-contact { animation: none; }
html.no-motion .radar-blip:not(.radar-target) { opacity: 0.7; transition: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) { scroll-behavior: auto; }
  html:not(.motion-on) *, html:not(.motion-on) *::before, html:not(.motion-on) *::after { animation-play-state: paused !important; }
  html:not(.motion-on) .rv { transition: none; }
  html:not(.motion-on) .radar-contact { animation: none; }
  html:not(.motion-on) .radar-blip:not(.radar-target) { opacity: 0.7; transition: none; }
}

/* ── HERO LOGOTYPE ── drawn as vector outlines, so no display font file is published */
.hero-logotype { display: block; height: 1.775em; width: auto; max-width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.cico-static, .cico-static:hover { background: none; border-color: rgba(30,127,192,0.3); color: var(--accent-text); }
