/* KACO Systems — design language modelled on dji.com/global
   Tokens taken from DJI's published stylesheets: #000 / #fff base, #303233 text,
   #6c7073 / #919699 secondary, #f0f1f2 / #f7f9fa surfaces, #1890ff link accent. */


:root {
  --black: #000;
  --white: #fff;
  --ink: #303233;
  --ink-2: #55595c;
  --ink-3: #6c7073;
  --line: #e4e6e8;
  --surface: #f5f6f7;
  --surface-2: #eceff1;
  --accent: #0066cc;           /* Accessible accent (5.8:1 contrast on white, passes WCAG AA) */
  --brand: #00979c;            /* KACO logo teal — used only for tiny marks */
  --display: "Montserrat", "Dji", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --header-h: 48px;
  --gutter: 16px;
  --max: 1440px;
  /* Apple-style critically damped feel for CSS-driven motion */
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  font: 400 1rem/1.6 var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: #000; color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px; transition: top .2s; }
.skip:focus { top: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; margin-inline: auto; }

/* ---------- Typography (size-specific tracking & leading) ---------- */
h1, h2, h3, h4 { font-family: var(--display); color: #000; font-weight: 600; }
.display {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -.015em;
}
h2.title {
  font-size: clamp(1.78rem, 3.6vw, 2.78rem); line-height: 1.1; letter-spacing: -.02em;
  text-align: center; text-wrap: balance;
}
.lead { font-size: clamp(1rem, 1.5vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); max-width: 720px; margin-inline: auto; text-wrap: pretty; }
.eyebrow { font: 600 .78rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.center { text-align: center; }

/* ---------- Header (DJI: 48px bar, white, hairline, mega panel) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .3s var(--ease);
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(0,0,0,.08); opacity: 0; transition: opacity .3s; }
.site-header.scrolled::after { opacity: 1; }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; gap: 16px; padding-inline: 24px; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; grid-column: 1; justify-self: start; }
.nav { grid-column: 2; }
.logo img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav > li { height: 100%; display: flex; align-items: center; }
.nav a, .nav button.nav-btn {
  position: relative; display: flex; align-items: center; height: 100%; padding: 0 12px;
  font: 400 .875rem/1 var(--body); color: #000; white-space: nowrap;
}
.nav a::after, .nav button.nav-btn::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: #000;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after, .nav li:hover > button::after, .nav button[aria-expanded="true"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 600; }
.hdr-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.pill-sm {
  display: inline-flex; align-items: center; height: 30px; padding: 0 16px; border-radius: 999px;
  background: #000; color: #fff; font: 600 .8125rem/1 var(--body); transition: background .2s, transform .1s;
}
.pill-sm:hover { background: #303233; }
.pill-sm:active { transform: scale(.96); }
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #000; transition: transform .45s var(--ease), opacity .2s; }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: rgba(255,255,255,.985);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border-top: 1px solid rgba(0,0,0,.06); box-shadow: 0 24px 48px -24px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-in { max-width: 1200px; margin: 0 auto; padding: 28px 24px 34px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px 12px; }
.mega a { display: block; height: auto; padding: 10px 6px 14px; text-align: center; border-radius: 10px; transition: background .2s; }
.mega a::after { display: none; }
.mega a:hover { background: var(--surface); }
.mega .mi { height: 74px; display: grid; place-items: center; margin-bottom: 8px; }
.mega .mi img { max-height: 74px; width: auto; max-width: 100%; object-fit: contain; }
.mega .mn { font: 600 .8125rem/1.3 var(--body); white-space: normal; }
.mega .mt { display: block; font-size: .78rem; color: var(--ink-3); margin-top: 2px; white-space: normal; }
.mega-foot { grid-column: 1 / -1; text-align: center; padding-top: 10px; }

/* mobile sheet */
.sheet {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: rgba(255,255,255,.98);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.sheet.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sheet-in { flex: 1; overflow-y: auto; padding: 2px 20px 16px; overscroll-behavior: contain; }
.sheet-in > a, .sheet-in > .sh-btn { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 54px; padding: 12px 0; font: 600 1.25rem/1.2 var(--display); letter-spacing: -.01em; text-align: left; border-bottom: 1px solid var(--line); }
.sheet-in > a:active, .sheet-in > .sh-btn:active { background: var(--surface); }
.sheet-in > a[aria-current="page"] { box-shadow: inset 3px 0 #000; padding-left: 14px; }
.sheet-in svg { color: var(--ink-3); transition: transform .4s var(--ease); }
.sh-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sheet .sub { display: none; }
.sheet .sub.open { display: block; }
.sheet .sub > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; animation: subIn .45s var(--ease) both; }
@keyframes subIn { from { opacity: 0; transform: translateY(-8px); } }
.sheet .sub a { display: flex; align-items: center; min-height: 44px; font-size: .9375rem; color: var(--ink-2); }
.sheet .sub a.all { grid-column: 1 / -1; color: #000; font-weight: 600; border-bottom: 1px solid var(--line); }
.sheet-cta { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--line); background: #fff; }
.sheet-cta a { display: flex; align-items: center; justify-content: center; height: 48px; font: 600 .9375rem/1 var(--body); border-radius: 999px; transition: transform .1s; }
.sheet-cta a:active { transform: scale(.97); }
.sheet-cta a:first-child { background: #000; color: #fff; }
.sheet-cta a:last-child { background: var(--surface-2); color: #000; }

main { padding-top: var(--header-h); }

/* local sticky bar (DJI product pages) */
.localbar { position: sticky; top: var(--header-h); z-index: 60; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.localbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.localbar strong { font: 600 1rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.localbar nav { display: flex; align-items: center; gap: 22px; font-size: .8125rem; }
.localbar nav a { color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.localbar nav a:hover { color: #000; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 28px;
  border-radius: 999px; font: 600 .9375rem/1 var(--body); background: #000; color: #fff; border: 1.5px solid #000;
  transition: background .2s, color .2s, transform .1s var(--ease), border-color .2s;
}
.btn:hover { background: #303233; border-color: #303233; }
.btn:active { transform: scale(.97); }
.btn.light { background: #fff; color: #000; border-color: #fff; }
.btn.light:hover { background: #e9ecee; border-color: #e9ecee; }
.btn.ghost { background: transparent; color: #000; border-color: #000; }
.btn.ghost:hover { background: #000; color: #fff; }
.btn.ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost.on-dark:hover { background: #fff; color: #000; border-color: #fff; }
.tl { display: inline-flex; align-items: center; gap: 4px; font: 400 1rem/1.4 var(--body); color: inherit; padding: 6px 2px; position: relative; }
.tl::after { content: "›"; font-size: 1.2em; line-height: 1; transition: transform .3s var(--ease); }
.tl:hover::after { transform: translateX(3px); }
.tl:hover { text-decoration: underline; text-underline-offset: 4px; }
.tl.blue { color: var(--accent); }
.links-row { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: center; }

/* ---------- Hero carousel (DJI Enterprise style: left-aligned copy, dot pagination) ----------
   Two kinds of slide share it: studio product lineups (.stage) and full-bleed DJI banners (.hero--banner). */
.hero { --hero-pad: max(clamp(24px, 6vw, 96px), calc((100vw - var(--max)) / 2 + 24px)); position: relative; height: clamp(520px, 38vw, 700px); background: #000; color: #fff; overflow: hidden; touch-action: pan-y; }
.hero--banner { height: clamp(420px, 28vw, 560px); }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), transform .6s var(--ease), visibility 0s .9s; will-change: opacity;
  background: radial-gradient(60% 95% at 74% 100%, var(--glow, #3a424b) 0%, #14171a 56%, #0b0c0d 100%);
}
.slide.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero.dragging .slide { transition: none; }
.hero.dragging { cursor: grabbing; user-select: none; }
.slide img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 70%) 50%; transform: scale(1.05); transition: transform 7s linear; }
.slide.on img.bg { transform: none; }
.slide.photo { background: #000; }
.slide.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.3) 38%, transparent 64%); }
.slide-copy {
  position: absolute; z-index: 2; inset: 0 auto 0 0; width: min(100%, calc(var(--hero-pad) + 33rem)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  text-align: left; padding: 0 var(--gutter) 40px var(--hero-pad);
}
.slide-copy .eyebrow { color: rgba(255,255,255,.72); margin-bottom: 14px; display: block; }
.slide-copy h1, .slide-copy h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em; text-transform: none; max-width: 15ch; text-wrap: balance; }
.slide-copy p { margin: 16px 0 0; max-width: 40ch; color: rgba(255,255,255,.84); font-size: clamp(.9375rem, 1.2vw, 1.0625rem); text-wrap: pretty; }
.slide-copy .actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.slide-copy .btn { min-height: 40px; padding: 0 22px; font-size: .875rem; }
.slide-copy .tl { color: #fff; }
.slide-copy > * { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out) .25s, transform .9s var(--ease-out) .25s; }
.slide.on .slide-copy > * { opacity: 1; transform: none; }
.slide.on .slide-copy > :nth-child(2) { transition-delay: .35s; } .slide.on .slide-copy > :nth-child(3) { transition-delay: .45s; } .slide.on .slide-copy > :nth-child(4) { transition-delay: .55s; }
/* product lineup on the right; products stand on a soft contact shadow */
.stage { position: absolute; inset: 0 0 0 auto; width: min(60%, 1040px);  /* no z-index: a stacking context would stop .blk products blending into the slide backdrop */
  display: flex; justify-content: center; align-items: flex-end; gap: clamp(4px, 1.6vw, 28px); padding: clamp(28px, 5vh, 56px) clamp(16px, 3vw, 56px) 52px; }
.stage::after { content: ""; position: absolute; left: 50%; bottom: 42px; width: min(80%, 760px); height: 26px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); filter: blur(7px); }
.stage > img {
  position: relative; z-index: 1; flex: 0 1 auto; min-width: 0; width: auto; max-width: var(--w, 34%); height: calc(var(--s, 1) * 100%); object-fit: contain; object-position: bottom;
  opacity: 0; transform: translateY(28px) scale(.97);
  transition: opacity .9s var(--ease-out) calc(.3s + var(--i, 0) * .12s), transform 1.1s var(--ease-out) calc(.3s + var(--i, 0) * .12s);
}
.stage > img:first-child { margin-right: var(--m, 0); } .stage > img:last-child { margin-left: var(--m, 0); }  /* tuck side products toward the centre piece */
.stage > img.blk { mix-blend-mode: lighten; }  /* photographed on a black matte: lift it into the backdrop */
.stage > img.card { height: auto; width: var(--w, 40%); max-width: none; max-height: calc(var(--s, 1) * 100%); aspect-ratio: var(--r, auto); object-fit: cover; border-radius: 16px; background: #fff; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
/* screenshots in rectangular app windows (ArcGIS): title bar, hairline edge, overlapping and staggered */
.stage.wins { width: min(62%, 1120px); align-items: center; padding-bottom: 60px; }
.stage.wins::after { display: none; }
.win {
  position: relative; z-index: 1; top: var(--dy, 0); flex: 0 1 auto; min-width: 0; width: var(--w, 40%); overflow: hidden; border-radius: 12px; background: #0d0f11;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 44px 80px -30px rgba(0,0,0,.85);
  opacity: 0; transform: translateY(28px) scale(.97);
  transition: opacity .9s var(--ease-out) calc(.3s + var(--i, 0) * .12s), transform 1.1s var(--ease-out) calc(.3s + var(--i, 0) * .12s);
}
.win.main { z-index: 2; }
.win-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #24282c; font: 600 .6875rem/1 var(--body); letter-spacing: .02em; color: rgba(255,255,255,.55); }
.win-bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 1.6); object-fit: cover; }
.stage > .win:first-child { margin-right: var(--m, 0); } .stage > .win:last-child { margin-left: var(--m, 0); }
.slide.on .stage > img, .slide.on .win { opacity: 1; transform: none; }
.hero-ctl { position: absolute; z-index: 5; left: 50%; bottom: 4px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; }
.hero-dots { display: flex; }
.hero-dots button { position: relative; width: 40px; height: 44px; }
.hero-pause { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .2s, transform .1s; }
.hero-pause:hover { background: rgba(255,255,255,.16); } .hero-pause:active { transform: scale(.92); }
.hero-pause .i-play { display: none; } .hero-pause[aria-pressed="true"] .i-play { display: block; } .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-dots i { position: absolute; left: 5px; right: 5px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: rgba(255,255,255,.32); overflow: hidden; transition: background .2s; }
.hero-dots button:hover i { background: rgba(255,255,255,.55); }
.hero-dots i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots button[aria-selected="true"] i::after { transform: scaleX(1); }
.hero.playing .hero-dots button[aria-selected="true"] i::after { animation: fill var(--dur, 7s) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(28px, 4vw, 48px); text-align: center; background: #fff; }
.page-hero .eyebrow { margin-bottom: 16px; display: block; }
.page-hero h1 { max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.page-hero .lead { margin-top: 20px; }
.page-hero .links-row { margin-top: 22px; }
.hero-products { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 3vw, 40px); margin: clamp(28px, 4vw, 52px) auto 0; max-width: 1000px; }
.hero-products img { max-height: clamp(160px, 28vw, 340px); width: auto; object-fit: contain; flex: 0 1 auto; min-width: 0; }
.hero-photo { max-width: var(--max); margin: clamp(24px, 4vw, 44px) auto 0; padding-inline: var(--gutter); }
.hero-photo img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: 4px; }

/* ---------- Sections ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec.grey { background: var(--surface); }
.sec.dark { background: #000; color: #fff; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark .lead { color: rgba(255,255,255,.72); }
.sec-head { margin-bottom: clamp(28px, 4vw, 52px); text-align: center; }
.sec-head .lead { margin-top: 14px; }

/* DJI product tiles */
.tiles { display: grid; gap: var(--gutter); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.tiles.t2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.tiles.t3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--surface); padding: clamp(28px, 3.4vw, 44px) clamp(20px, 3vw, 36px) 0; overflow: hidden; min-height: 420px;
  transition: transform .5s var(--ease);
}
.sec.grey .tile { background: #fff; }
.tile:nth-child(4n+2), .tile:nth-child(4n+3) { background: var(--surface-2); }
.sec.grey .tile:nth-child(4n+2), .sec.grey .tile:nth-child(4n+3) { background: #fff; }
.tile .sub { font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.tile h3 { font-size: clamp(1.25rem, 2.2vw, 1.875rem); line-height: 1.12; letter-spacing: -.01em; text-transform: uppercase; margin: 6px 0 10px; text-wrap: balance; }
.tile .tag { font-size: .9375rem; font-weight: 600; color: var(--ink); max-width: 36ch; text-wrap: balance; }
.tile .desc { font-size: .9375rem; color: var(--ink-2); max-width: 46ch; margin: 8px auto 0; text-wrap: pretty; }
.specs { display: grid; margin: 16px 0 4px; border-top: 1px solid var(--line); text-align: left; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }  /* hairline rows, no ticks or bullets */
.specs li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs li b { display: block; margin-bottom: 2px; font-weight: 600; color: #000; }
.tile .specs { width: 100%; max-width: 46ch; margin-inline: auto; }
.tile .links-row { margin-top: 12px; }
.tile .media { margin-top: auto; padding-top: 24px; width: 100%; display: flex; justify-content: center; align-items: flex-end; }
.tile .media img { max-height: 280px; width: auto; max-width: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.tile.photo { padding: 0; justify-content: flex-start; }
.tile.photo .media { order: -1; padding: 0; margin: 0 0 24px; }
.tile.photo .media img { width: 100%; max-height: none; aspect-ratio: 16/10; object-fit: cover; }
.tile.photo > :not(.media) { padding-inline: clamp(20px, 3vw, 36px); }
.tile.photo > :last-child { padding-bottom: 32px; }
@media (hover: hover) { .tile:hover .media img { transform: scale(1.035); } }

/* Text cards */
.cards { display: grid; gap: var(--gutter); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: #fff; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .4s; }
.sec:not(.grey) .card { background: var(--surface); border-color: transparent; }
.card .num { font: 300 2.25rem/1 var(--display); color: var(--ink-3); margin-bottom: 18px; letter-spacing: -.02em; }
.card h3 { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 10px; }
.card p { font-size: .9375rem; color: var(--ink-2); text-wrap: pretty; }
.card .specs { margin-top: 14px; }
.card .tl { margin-top: auto; padding-top: 18px; align-self: flex-start; font-weight: 600; font-size: .9375rem; }
.card p + .tl, .card .specs + .tl { margin-top: auto; }
.sec.dark .card { background: #121314; border-color: #232527; }
.sec.dark .card p, .sec.dark .specs, .banner .specs { color: rgba(255,255,255,.72); }
.sec.dark .specs, .sec.dark .specs li, .banner .specs, .banner .specs li { border-color: rgba(255,255,255,.16); }
.sec.dark .specs li b, .banner .specs li b { color: #fff; }
.banner .specs { max-width: 460px; margin: 0 auto 22px; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.25); } }
.banner { margin-top: var(--gutter); background: #000; color: #fff; padding: clamp(32px, 5vw, 56px); text-align: center; }
.banner h3 { color: #fff; font-size: clamp(1.375rem, 2.6vw, 2rem); letter-spacing: -.015em; max-width: 24ch; margin: 0 auto 12px; text-wrap: balance; }
.banner p { max-width: 640px; margin: 0 auto 22px; color: rgba(255,255,255,.75); }
.banner .links-row { gap: 12px; }

/* Industry rows */
.rows { display: grid; gap: var(--gutter); }
.row { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); min-height: 440px; }
.row:nth-child(even) .row-media { order: 2; }
.row-media { position: relative; overflow: hidden; background: #ddd; }
.row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .row:hover .row-media img { transform: scale(1.04); } }
.row-body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.row-body .n { font: 300 .875rem/1 var(--display); letter-spacing: .12em; color: var(--ink-3); margin-bottom: 14px; }
.row-body h3 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.row-body p { color: var(--ink-2); text-wrap: pretty; max-width: 52ch; }
.row-body .specs { margin: 16px 0 6px; max-width: 52ch; font-size: .9063rem; }
.row-body .links-row { justify-content: flex-start; margin-top: 10px; }
.cs-detail { display: grid; gap: 12px; margin: 14px 0 8px; max-width: 56ch; }
.cs-detail div { font-size: .9063rem; color: var(--ink-2); }
.cs-detail b { display: block; font: 700 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #000; margin-bottom: 5px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); text-align: center; }
.stat b { display: block; font: 300 clamp(2.78rem, 7vw, 5.5rem)/1 var(--display); letter-spacing: -.04em; color: #000; }
.stat span { display: block; margin-top: 12px; font-size: .875rem; color: var(--ink-2); max-width: 22ch; margin-inline: auto; }

/* Explore photo tiles */
.photos { display: grid; gap: var(--gutter); grid-template-columns: repeat(3, 1fr); }
.ptile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(78vh, 640px); color: #fff; overflow: hidden; background: #111; padding: clamp(22px, 3vw, 36px); }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78)); }
.ptile > *:not(img) { position: relative; z-index: 2; }
.ptile h3 { color: #fff; font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 10px; }
.ptile p { color: rgba(255,255,255,.85); font-size: .9375rem; max-width: 34ch; }
.ptile .tl { margin-top: 10px; align-self: flex-start; font-weight: 600; }
@media (hover: hover) { .ptile:hover img { transform: scale(1.05); } }
.photos.short .ptile { min-height: min(62vh, 480px); }
.photos.cols { grid-template-columns: repeat(var(--cols, 3), 1fr); }
.photos.short.six .ptile { min-height: min(54vh, 400px); }

/* Horizontal scroller (industries) */
.rail { display: flex; gap: var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--gutter) 8px; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail .card { flex: 0 0 min(82vw, 380px); scroll-snap-align: start; min-height: 360px; user-select: none; }
.rail .card.pc { background: #fff; }
.rail-nav { display: flex; justify-content: flex-end; gap: 10px; max-width: var(--max); margin: 0 auto 18px; padding-inline: var(--gutter); }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: background .2s, transform .1s, opacity .2s; }
.rail-nav button:hover { background: #dfe3e6; }
.rail-nav button:active { transform: scale(.92); }
.rail-nav button[disabled] { opacity: .35; pointer-events: none; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 { font-size: clamp(1.78rem, 3.4vw, 2.78rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance; }
.split p { color: var(--ink-2); margin-bottom: 14px; text-wrap: pretty; }

/* Logo wall */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.logos figure { background: #fff; height: 96px; display: grid; place-items: center; padding: 16px 20px; }
.logos img { max-height: 54px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos figure:hover img { filter: none; opacity: 1; }
.logos.names figure { height: auto; min-height: 112px; align-content: center; gap: 8px; }
.logos figcaption { font-size: .78rem; color: var(--ink-3); text-align: center; line-height: 1.3; }
.sec:not(.grey) .logos figure { background: var(--surface); }

/* Gallery */
.masonry { columns: 3 320px; column-gap: 10px; }
.masonry button { display: block; width: 100%; margin: 0 0 10px; break-inside: avoid; position: relative; overflow: hidden; background: var(--surface); }
.masonry img { width: 100%; height: auto; transition: transform .9s var(--ease-out), opacity .4s; }
.masonry button:hover img { transform: scale(1.04); }
.masonry button::after { content: attr(data-cap); position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; color: #fff; font-size: .78rem; line-height: 1.35; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .3s; }
@media (hover: hover) { .masonry button:hover::after { opacity: 1; } }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.strip a { display: block; overflow: hidden; aspect-ratio: 1; background: #ddd; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.strip a:hover img { transform: scale(1.06); }
.lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(0,0,0,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; padding: 56px 16px 80px; }
.lb.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; touch-action: none; will-change: transform; }
.lb p { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: rgba(255,255,255,.85); font-size: .875rem; padding-inline: 72px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s, transform .1s; }
.lb button:hover { background: rgba(255,255,255,.24); }
.lb button:active { transform: scale(.92); }
.lb .x { top: 12px; right: 12px; } .lb .pv { left: 12px; top: 50%; margin-top: -24px; } .lb .nx { right: 12px; top: 50%; margin-top: -24px; }

/* ---------- Vendor pages (modelled on each vendor's own site) ---------- */
.v-trimble { --accent: #005f9e; } .v-esri { --accent: #006ea8; } .v-spectra { --accent: #0a58a0; } .v-nikon { --accent: #8a6d00; }
.v-usradar { --accent: #00608f; } .v-seafloor { --accent: #007a52; } .v-autodesk { --accent: #0a6ea8; } .v-datamine { --accent: #1d6a96; } .v-ibm { --accent: #0f62fe; }
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.news-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--surface); }
.news-card { display: flex; flex-direction: column; background: var(--surface); }
.sec.grey .news-lead, .sec.grey .news-card { background: #fff; }
.news-media { position: relative; overflow: hidden; background: #000; min-height: 300px; }
.news-card .news-media { min-height: 0; aspect-ratio: 3 / 2; }
.news-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50%) 50%; transition: transform 1.2s var(--ease-out); }
.news-media.contain { background: radial-gradient(70% 90% at 50% 100%, #3a424b, #14171a 70%); }
.news-media.contain img { inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.news-media.contain img.blk { mix-blend-mode: lighten; }
.news-media.light { background: radial-gradient(70% 90% at 50% 100%, #fff, #dde3e8 75%); }
.news-media.light img { mix-blend-mode: multiply; }
@media (hover: hover) { .news-lead:hover .news-media img, .news-card:hover .news-media img { transform: scale(1.04); } }
.news-body { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 36px); }
.news-lead .news-body { justify-content: center; }
.news-card .news-body { flex: 1; }
.cat { display: block; margin-bottom: 12px; font: 600 .78rem/1 var(--body); color: var(--ink-3); }
.news h3 { margin-bottom: 10px; font: 600 clamp(1.0625rem, 1.6vw, 1.375rem)/1.3 var(--body); letter-spacing: -.005em; text-wrap: balance; }
.news p { margin-bottom: 14px; font-size: .9375rem; color: var(--ink-2); text-wrap: pretty; }
.news .tl { margin-top: auto; align-self: flex-start; font-size: .9375rem; color: var(--accent); }

.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.vgrid.v3 { grid-template-columns: repeat(3, 1fr); }
.vcard { display: flex; flex-direction: column; background: #fff; color: inherit; text-align: left; cursor: pointer; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0c0d; }
.vthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.vplay { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .25s, color .25s, transform .4s var(--ease); }
.vplay svg { width: 22px; height: 22px; }
.vbody { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 22px; }
.vcard strong { margin-bottom: 14px; font: 600 1rem/1.35 var(--body); color: #000; text-wrap: balance; }
.vcard .tl { margin-top: auto; align-self: flex-start; font-size: .9375rem; color: var(--accent); }
@media (hover: hover) { .vcard:hover .vthumb img { transform: scale(1.05); } .vcard:hover .vplay { background: #fff; color: #000; transform: scale(1.1); } }
.vm .vm-frame { width: min(1120px, 100%); aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vm .vm-frame iframe { width: 100%; height: 100%; border: 0; }
.lb.vm p a { text-decoration: underline; text-underline-offset: 3px; }

.ptabs { display: none; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.js .ptabs { display: flex; }
.ptabs button { height: 40px; padding: 0 20px; border-radius: 999px; background: var(--surface-2); font: 600 .875rem/1 var(--body); transition: background .2s, color .2s, transform .1s; }
.ptabs button:hover { background: #dfe3e6; }
.ptabs button:active { transform: scale(.96); }
.ptabs button[aria-selected="true"] { background: #000; color: #fff; }
.ppanel + .ppanel { margin-top: 56px; }
.pcat { margin-bottom: 6px; text-align: center; font-size: 1.5rem; letter-spacing: -.01em; }
.js .pcat { display: none; }
.pnote { margin: 0 0 28px; text-align: center; font-size: .9375rem; color: var(--ink-2); }
.pgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pcard { display: flex; flex-direction: column; background: var(--surface); }
.sec.grey .pcard { background: #fff; }
.pcard-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: #edf0f2; }
.pcard-media img { max-width: calc(84% * var(--z, 1)); max-height: calc(84% * var(--z, 1)); object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease-out); }
.pcard-media.dark { background: radial-gradient(70% 90% at 50% 100%, #3a424b, #14171a 70%); }
.pcard-media.dark img { mix-blend-mode: normal; max-width: 86%; max-height: 86%; }
.pcard-media.dark img.blk { mix-blend-mode: lighten; }
.pcard-media img[src$=".svg"] { width: 58%; height: 58%; }
.pcard-media img.cover { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: var(--pos, 50%) 50%; mix-blend-mode: normal; }
@media (hover: hover) { .pcard:hover .pcard-media img { transform: scale(1.04); } }
.pcard-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.pcard h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 6px; }
.pcard .tag { margin-bottom: 14px; font-size: .9375rem; color: var(--ink-2); text-wrap: balance; }
.pcard .specs { margin: 12px 0 14px; }
.pcard .links-row { justify-content: flex-start; margin-top: auto; padding-top: 18px; }
.pcard.wide { flex-direction: row; }
.pcard.wide .pcard-media { flex: 1 1 52%; aspect-ratio: auto; min-height: 380px; }
.pcard.wide .pcard-body { flex: 1 1 48%; justify-content: center; padding: clamp(24px, 4vw, 56px); }
.pcard.wide h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.chips span { margin-right: 6px; font-size: .8125rem; color: var(--ink-3); }
.chips a { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-size: .8125rem; transition: background .2s, color .2s; }
.chips a:hover { background: #000; color: #fff; }

.disc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.disc a { display: grid; grid-template-columns: 40% 1fr; min-height: 180px; background: var(--surface); }
.sec.grey .disc a { background: #fff; }
.disc img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50%) 50%; }
.disc img.contain { object-fit: contain; padding: 12px; background: #edf0f2; }
.disc div { display: flex; flex-direction: column; justify-content: center; padding: clamp(18px, 2.4vw, 32px); }
.disc h3 { margin-bottom: 8px; font: 600 1.125rem/1.25 var(--body); }
.disc p { margin-bottom: 10px; font-size: .875rem; color: var(--ink-2); }
.disc .tl { align-self: flex-start; font-size: .9375rem; color: var(--accent); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list h3 { font: 700 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.info-list p, .info-list a { font-size: 1.0625rem; line-height: 1.5; }
.info-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
form.form { background: var(--surface); padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 16px; }
.form h2 { font-size: 1.5rem; letter-spacing: -.015em; margin-bottom: 4px; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: #000; background: #fff; border: 1px solid transparent; border-radius: 6px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23303233' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.fld textarea { min-height: 130px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; min-height: 48px; }
.form-note { font-size: .8125rem; color: var(--ink-2); min-height: 1.3em; }
.form-note.ok { color: #0a7a3e; } .form-note.err { color: #c0362c; }
.hp { position: absolute; left: -9999px; }
.map { margin-top: var(--gutter); aspect-ratio: 21/8; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Prose (legal) */
.prose h2 { font-size: 1.375rem; letter-spacing: -.01em; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; text-wrap: pretty; }
.prose ul { margin: 6px 0 18px; border-top: 1px solid var(--line); }
.prose li { padding: 11px 0; margin: 0; border-bottom: 1px solid var(--line); }
.note { background: var(--surface); padding: 14px 18px; font-size: .875rem; color: var(--ink-2); margin-bottom: 24px; }

/* Footer */
.site-footer { background: var(--surface); color: var(--ink-2); font-size: .8125rem; padding: 56px 0 84px; margin-top: 0; }
.f-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.f-grid h4 { font: 700 .78rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #000; margin-bottom: 16px; }
.f-grid li { margin-bottom: 9px; }
.f-grid a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.f-brand img { height: 30px; width: auto; mix-blend-mode: multiply; margin-bottom: 16px; }
.f-brand p { max-width: 36ch; line-height: 1.6; margin-bottom: 14px; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; font-size: .78rem; color: var(--ink-3); }
.f-bottom nav { display: flex; gap: 20px; }
.f-bottom a:hover { color: #000; }

/* Floating WhatsApp (DJI support-button position) */
.fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.2); display: grid; place-items: center; transition: transform .35s var(--ease), box-shadow .3s; }
.fab:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.fab:active { transform: scale(.94); }
.fab svg { width: 26px; height: 26px; color: #1fb855; }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .nav a, .nav button.nav-btn { padding: 0 9px; } .hdr { gap: 16px; } .mega-in { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1040px) {
  .photos.cols { grid-template-columns: 1fr; }
  .nav, .hdr-right .pill-sm { display: none; }
  .burger { display: block; } .hdr { padding-inline: 16px; }
  .photos { grid-template-columns: 1fr; } .ptile { min-height: 420px; }
  .strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero { height: clamp(600px, calc(100svh - var(--header-h)), 780px); }
  .hero--banner { height: clamp(500px, 124vw, 620px); }
  .slide { display: flex; flex-direction: column; }
  .slide-copy { position: relative; inset: auto; flex: none; width: 100%; padding: 30px var(--gutter) 0; align-items: center; text-align: center; }
  .slide-copy .actions { justify-content: center; }
  .stage { position: relative; inset: auto; flex: 1 1 0; width: 100%; min-height: 0; padding: 16px var(--gutter) 52px; }
  .stage > img { max-width: var(--wm, 56%); }
  .stage.wins { width: 100%; padding-bottom: 52px; }
  .stage > .win { width: var(--wm, 92%); }
  .stage > [data-side] { display: none; }
  .slide.photo::after { background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.34) 52%, transparent 80%); }
  .slide.photo img.bg { top: auto; height: 60%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .news { grid-template-columns: 1fr; }
  .news-lead { grid-template-columns: 1fr; }
  .news-lead .news-media { aspect-ratio: 16 / 10; min-height: 0; }
  .vgrid, .vgrid.v3 { grid-template-columns: 1fr 1fr; }
  .disc { grid-template-columns: 1fr; }
  .pcard.wide { flex-direction: column; }
  .pcard.wide .pcard-media { min-height: 0; aspect-ratio: 4 / 3; }
  .row, .split, .contact-grid { grid-template-columns: 1fr; }
  .split { text-align: center; }
  .row:nth-child(even) .row-media { order: 0; }
  .row-media { min-height: 260px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .localbar nav a:not(.keep) { display: none; }
  .tile { min-height: 360px; }
}
@media (max-width: 560px) {
  :root { --gutter: 14px; }
  .sec { padding: 48px 0; }
  .display { font-size: clamp(1.78rem, 8.4vw, 2.25rem); }
  h2.title { font-size: 1.625rem; }
  .page-hero { padding-top: 40px; }
  .ptile { min-height: 400px; }
  .ptile::after { background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,.62) 50%, rgba(0,0,0,.88)); }
  .ptile h3, .ptile p { text-shadow: 0 1px 10px rgba(0,0,0,.5); }
  .banner { padding: 28px 18px; }
  .banner h3 { font-size: 1.25rem; }
  .tile { min-height: 0; padding-inline: 18px; }
  .tile h3 { font-size: 1.125rem; }
  .tile.photo > :not(.media) { padding-inline: 18px; }
  .card { padding: 22px 20px; }
  .tl { padding: 11px 6px; }
  .links-row { gap: 0 14px; }
  .sec .links-row .btn, .banner .links-row .btn, .page-hero .links-row .btn { flex: 1 1 100%; }
  .row-body { padding: 24px 18px 28px; }
  .stat b { font-size: 3rem; }
  .masonry { columns: auto 2; column-count: 2; column-gap: 8px; } .masonry button { margin-bottom: 8px; }
  .strip { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .f-grid { grid-template-columns: 1fr; gap: 28px; } .f-bottom { flex-direction: column; }
  .lb { padding: 56px 8px 84px; } .lb p { padding-inline: 16px; font-size: .8125rem; }
  .localbar .wrap { height: 48px; }
  .two { grid-template-columns: 1fr; }
  .vgrid, .vgrid.v3 { grid-template-columns: 1fr; }
  .disc a { grid-template-columns: 34% 1fr; }
  .map { aspect-ratio: 4/3; }
}

/* ---------- Reduced motion / transparency / contrast ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; transition-delay: 0s !important; }
  .stage > img, .win, .slide.on .stage > img, .slide.on .win { transform: none !important; }
  .js .rv { transform: none; }
  .tile:hover .media img, .row:hover .row-media img, .ptile:hover img { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .localbar, .mega, .sheet { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #3b3e40; --ink-3: #535759; --line: #b9bec2; }
  .site-header { background: #fff; border-bottom: 1px solid #000; }
}

/* ---------- Audit additions ---------- */
a.card, a.ptile, a.pcard, a.tile, .news-card, .news-lead, .vcard, .disc a, .strip a, .masonry button { transition: transform .1s var(--ease-out), box-shadow .4s; }
a.card:active, a.ptile:active, a.pcard:active, a.tile:active, .news-card:active, .news-lead:active, .vcard:active, .disc a:active, .strip a:active, .masonry button:active { transform: scale(.985); }
.rail > * { translate: var(--rb, 0) 0; }
.rail.snapback > * { transition: translate .5s var(--ease); }
@media (pointer: coarse) {
  .tl, .localbar nav a, .chips a, .f-bottom a, .f-grid a { min-height: 44px; display: inline-flex; align-items: center; }
  .hdr-right .pill-sm { min-height: 44px; }  /* no display here: it would undo the mobile hide (menu sheet carries the CTA) */
  .f-grid li { margin-bottom: 0; }
  .pill-sm { height: 36px; }
}
.fld .err { font-size: .8125rem; line-height: 1.35; color: #b3261e; }
.fld .err:empty { display: none; }
.fld [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.1); }
.fld label small { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.priv { font-size: .8125rem; line-height: 1.5; color: var(--ink-2); }
.priv a { text-decoration: underline; text-underline-offset: 3px; }

.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards.c3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); } }
