/* Karanovic Research — main stylesheet
   Dark, Apple-inspired. Orange is an accent only. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-400.woff") format("woff"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #0B0B0D;
  --surface: rgba(28, 28, 34, 0.55);
  --surface-solid: #141418;
  --surface-2: #1C1C21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #F5F5F7;
  --text-2: #C7C7CC;
  --muted: #A1A1A6;
  --subtle: #8E8E93;
  --accent: #FF6A00;
  --accent-hover: #FF7F26;
  --accent-soft: rgba(255, 106, 0, 0.12);
  --danger: #FF6B6B;
  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 32px;
  --container: 1200px;
  --gutter: 24px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 56px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; position: relative; z-index: 0;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #0B0B0D; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: #0B0B0D; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.center { text-align: center; }
.mt-lg { margin-top: 32px; }
.mt-xl { margin-top: 56px; }
.mt-auto { margin-top: auto; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- Background effects ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aura { position: absolute; border-radius: 50%; will-change: transform; }
.aura-a { width: 900px; height: 900px; top: -420px; left: -300px; background: radial-gradient(circle, rgba(255,106,0,.10), rgba(255,106,0,0) 62%); animation: drift-a 32s ease-in-out infinite alternate; }
.aura-b { width: 1000px; height: 1000px; bottom: -480px; right: -360px; background: radial-gradient(circle, rgba(120,140,190,.09), rgba(120,140,190,0) 62%); animation: drift-b 38s ease-in-out infinite alternate; }
.spot {
  position: absolute; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,150,80,.055), rgba(255,150,80,0) 60%);
  transform: translate3d(var(--mx, -999px), var(--my, -999px), 0); opacity: var(--spot-o, 0); transition: opacity .6s ease;
}
.dot-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
}
.dot-grid-left {
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 25% 20%, #000 15%, transparent 75%);
          mask-image: radial-gradient(ellipse 65% 70% at 25% 20%, #000 15%, transparent 75%);
}
@keyframes drift-a { to { transform: translate3d(260px, 180px, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-240px, -200px, 0) scale(1.08); } }
@media (hover: none) { .spot { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(11,11,13,.6);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.brand-mark { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.nav-menu a:not(.btn) { color: var(--text-2); transition: color .2s; }
.nav-menu a:not(.btn):hover, .nav-menu a[aria-current="page"]:not(.btn) { color: #fff; }
.nav-menu a[aria-current="page"]:not(.btn) { font-weight: 600; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: rgba(11,11,13,.96); border-bottom: 1px solid var(--line);
    font-size: 17px; display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 20px; align-self: flex-start; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px;
  border-radius: 980px; border: 0; font-weight: 600; font-size: 16px; cursor: pointer; transition: background .2s, transform .2s var(--ease);
}
.btn-primary { background: var(--accent); color: #0B0B0D; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: scale(.98); }
.btn-sm { min-height: 32px; padding: 0 16px; font-size: 13px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-link { color: var(--accent); font-weight: 500; font-size: 17px; display: inline-flex; align-items: center; min-height: 44px; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: #2A2A30; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--accent); margin-bottom: 16px; }
.eyebrow-sm { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--subtle); }
.section-title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; max-width: 820px; }
.section-title.center { margin-left: auto; margin-right: auto; }
.section-lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 640px; }
.section-lead.center { margin-left: auto; margin-right: auto; }
.page-title { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; }
.page-lead { margin-top: 24px; font-size: 20px; color: var(--muted); max-width: 640px; }
.center .page-lead { margin-left: auto; margin-right: auto; }

/* ---------- Sections ---------- */
.section { padding-top: 140px; }
.section-tight { padding-top: 0; }
.section-last { padding-bottom: 160px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* Hero */
.hero { position: relative; padding-top: 120px; text-align: center; }
.hero-inner { position: relative; }
.hero-title {
  margin: 0 auto; max-width: 980px; font-size: clamp(44px, 7vw, 88px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em;
  background: linear-gradient(180deg, #FFFFFF 35%, #B4B4BA 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin: 28px auto 0; max-width: 680px; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--muted); }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-media { margin-top: 72px; }
.hero-pcb { width: 100%; height: auto; }
.hero-img, .hero-video { width: 100%; height: auto; border-radius: var(--radius-lg); }
.pulse { stroke-dasharray: 12 120; stroke-dashoffset: 132; animation: flow 5s linear infinite; filter: drop-shadow(0 0 4px rgba(255,106,0,.8)); }
@keyframes flow { to { stroke-dashoffset: 0; } }

/* Industries strip */
.industries { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.industries-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 56px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.industries-label { color: var(--subtle); }

/* Tiles */
.tile { padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; min-height: 420px; transition: border-color .25s; }
.tile:hover { border-color: var(--line-strong); }
.tile-num { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--subtle); }
.tile-title { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.tile-text { font-size: 18px; color: var(--muted); }

/* Compare */
.compare { border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.compare-us { background: var(--surface); border-color: var(--accent); }
.compare-head { font-size: 15px; font-weight: 600; color: var(--subtle); margin-bottom: 24px; }
.compare-head.accent { color: var(--accent); }
.compare-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; font-size: 17px; }

/* Capabilities */
.cap { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.cap-icon { color: var(--accent); }
.cap-title { font-size: 21px; font-weight: 600; }
.cap-text { font-size: 16px; color: var(--muted); }

/* Process */
.process { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.process li { border-top: 2px solid #3A3A40; padding: 24px 20px 24px 0; }
.process li.is-first { border-top-color: var(--accent); }
.process-num { font-family: var(--mono); font-size: 12px; color: var(--subtle); }
.process li.is-first .process-num { color: var(--accent); }
.process-title { margin: 10px 0 8px; font-size: 20px; font-weight: 600; }
.process-text { font-size: 15px; color: var(--muted); }

/* Audience */
.audience { border-top: 1px solid #2C2C31; padding-top: 28px; }
.audience h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.audience p { font-size: 16px; color: var(--muted); margin-bottom: 8px; line-height: 1.55; }

/* CTA band */
.cta-band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(56px, 8vw, 96px) 32px; text-align: center; }
.cta-band .section-title, .cta-band .section-lead { margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 36px; }

/* ---------- Product cards ---------- */
.product-card { overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.product-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media {
  position: relative; aspect-ratio: 4 / 3; background-color: #0E0E11; overflow: hidden;
  background-image: linear-gradient(#1A1A1D 1px, transparent 1px), linear-gradient(90deg, #1A1A1D 1px, transparent 1px); background-size: 24px 24px;
  display: flex; align-items: center; justify-content: center;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .card-media img { transform: scale(1.03); }
.media-lock { color: #3A3A40; }
.badge {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 980px; background: rgba(11,11,13,.75);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge-accent { border: 1px solid var(--accent); color: var(--accent); }
.badge-neutral { border: 1px solid var(--muted); color: var(--text-2); }
.badge-static { position: static; }
.sample-tag { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #2A2A30; color: var(--text-2); }
.sample-static { position: static; }
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-title { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.card-text { font-size: 15px; color: var(--muted); flex-grow: 1; }
.card-cta { margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.tags li { font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 24px; }

/* Carousel */
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.carousel-controls { display: flex; gap: 12px; }
.carousel { margin-top: 48px; }
.carousel-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 8px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -2px; }
.carousel-item { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; }
.carousel-dots { display: flex; justify-content: center; gap: 0; margin-top: 24px; }
.carousel-dots button { width: 32px; height: 44px; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.carousel-dots button span { display: block; width: 8px; height: 8px; border-radius: 4px; background: #3A3A40; transition: width .3s var(--ease), background .3s; }
.carousel-dots button[aria-current="true"] span { width: 24px; background: var(--text); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 112px 0 64px; }
.legend { margin: 36px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot-accent { background: var(--accent); }

/* ---------- Product detail ---------- */
.breadcrumb { padding-top: 32px; font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--subtle); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text); }
.product-hero { padding-top: 48px; }
.product-hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.gallery { flex: 999 1 560px; min-width: 0; }
.gallery-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: 28px; border: 1px solid var(--line); overflow: hidden; background-color: #0E0E11;
  background-image: linear-gradient(#1A1A1D 1px, transparent 1px), linear-gradient(90deg, #1A1A1D 1px, transparent 1px); background-size: 28px 28px;
}
.gallery-slide { margin: 0; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gallery-slide img, .gallery-slide video { width: 100%; height: 100%; object-fit: contain; }
.gallery-slide figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 13px; color: var(--text-2); background: rgba(11,11,13,.7); padding: 6px 10px; border-radius: 8px; }
.gallery-empty { flex-direction: column; gap: 12px; color: var(--subtle); font-size: 14px; }
.gallery-zoom { all: unset; position: relative; width: 100%; height: 100%; cursor: zoom-in; display: block; }
.gallery-zoom:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.zoom-hint { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(28,28,31,.9); display: flex; align-items: center; justify-content: center; }
.gallery-thumbs { margin-top: 16px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 14px; border: 2px solid var(--line); background: var(--surface-solid); overflow: hidden; cursor: pointer; padding: 0; transition: border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--accent); }
.thumb-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0,0,0,.3); }
.product-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.product-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.product-title { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
.product-summary { font-size: 19px; color: var(--muted); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 8px; }
.specs { margin: 16px 0 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--subtle); }
.specs dd { margin: 0; }
.prose { max-width: 820px; }
.prose p { font-size: 18px; color: var(--text-2); margin-top: 20px; line-height: 1.65; }
.prose h2 { font-size: 24px; font-weight: 600; margin-top: 48px; letter-spacing: -.01em; }
.prose a { color: var(--accent); }
.prose .section-title { margin-bottom: 8px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,6,8,.96); color: var(--text); }
.lightbox::backdrop { background: rgba(0,0,0,.7); }
.lightbox-bar { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; gap: 8px; }
.lightbox-stage { width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; }
.lightbox-stage.is-dragging { cursor: grabbing; }
.lightbox-stage img { max-width: 92vw; max-height: 88vh; transform-origin: center; transition: transform .15s ease-out; user-select: none; -webkit-user-drag: none; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: 112px 0 140px; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 72px; align-items: flex-start; }
.contact-intro { flex: 1 1 380px; min-width: 0; }
.contact-details { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.detail-label { font-size: 13px; color: var(--subtle); margin-bottom: 6px; }
.detail-email { font-size: 18px; font-weight: 500; color: var(--accent); }
.detail-value { font-size: 18px; }
.form-card { flex: 999 1 560px; min-width: 0; padding: clamp(28px, 4vw, 48px); border-radius: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; padding: 0; }
.field legend { margin-bottom: 12px; }
.optional { color: var(--subtle); font-weight: 400; }
.field input, .field textarea {
  width: 100%; border-radius: var(--radius-sm); border: 1px solid #2C2C31; background: #0E0E11; color: var(--text); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field input { height: 52px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,106,0,.25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: 13px; color: var(--danger); }
.form-alert { margin-bottom: 24px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,107,107,.4); background: rgba(255,107,107,.08); font-size: 15px; }
.form-context { font-size: 15px; color: var(--text-2); padding: 12px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 980px; border: 1px solid #2C2C31; color: var(--text-2); font-size: 14px; font-weight: 500; transition: all .2s; }
.pill:hover span { border-color: var(--line-strong); }
.pill input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.fine { font-size: 13px; color: var(--subtle); max-width: 360px; }
.fine a { color: var(--text-2); text-decoration: underline; }
.thanks { padding: 40px 0; }
.thanks-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #0B0B0D; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 13px; color: var(--subtle); }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand { color: var(--text); font-size: 14px; }
.footer-brand .brand-mark { width: 8px; height: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.footer-bottom p { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding-top: 96px; }
  .section-last { padding-bottom: 112px; }
  .hero { padding-top: 80px; }
  .hero-media { margin-top: 48px; }
  .page-hero, .contact { padding-top: 72px; }
  .tile { min-height: 0; }
  .compare { padding: 28px; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .industries-row { gap: 12px 28px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aura, .pulse { animation: none; }
  .spot { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .carousel-track { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
