/* ============================================================
   Industrial Aerial Solutions — iasdrone.ca
   Premium multi-page build · warm-dark industrial theme
   v2: intensified motion layer + interior service pages
   (particle field, hero depth, gradient headline, scroll cue,
    dropdown nav, service-page component library)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:        #0B0A09;
  --panel:     #131110;
  --panel-2:   #1A1613;
  --line:      #292219;
  --line-soft: #1E1914;
  --accent:    #FF7800;
  --accent-hi: #FF8F2E;
  --accent-lo: #E66C00;
  --text:      #EDE8E0;
  --text-soft: #C9C0B3;
  --muted:     #9A8E80;

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body:    "Exo 2", "Segoe UI", sans-serif;

  --radius: 3px;
  --header-h: 78px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Slimmer fixed header on small screens */
@media (max-width: 700px) {
  :root { --header-h: 64px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* NOTE: scroll-behavior:smooth intentionally removed — it double-handles
     wheel events against the JS smooth-scroll (Lenis) and caused wheel-only
     scroll jank. Anchor-link smoothness is handled in js/main.js instead. */
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Subtle grain over everything, very low opacity */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  /* Isolate this fixed full-screen layer on its own GPU compositor layer so
     it does NOT repaint on every scroll frame (was a per-frame repaint cost). */
  transform: translateZ(0);
  will-change: transform;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { margin: 0; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }

::selection { background: var(--accent); color: #0B0A09; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #0B0A09;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; color: #0B0A09; }

/* Anchor offset below fixed header */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.22s var(--ease-out),
              color 0.22s var(--ease-out),
              border-color 0.22s var(--ease-out),
              transform 0.22s var(--ease-out),
              box-shadow 0.22s var(--ease-out);
}

.btn--primary {
  background: var(--accent);
  color: #0B0A09;
  box-shadow: 0 0 0 rgba(255, 120, 0, 0);
}
.btn--primary:hover {
  background: var(--accent-hi);
  color: #0B0A09;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(255, 120, 0, 0.45);
}
.btn--primary:active { background: var(--accent-lo); transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(255, 120, 0, 0.55);
}
.btn--ghost:hover {
  background: rgba(255, 120, 0, 0.1);
  border-color: var(--accent);
  color: var(--accent-hi);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.65rem 1.3rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* Pulsing status dot (hero badge + contact note) */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 120, 0, 0.55);
  animation: pulse 2.2s infinite;
  vertical-align: middle;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 120, 0, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 120, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 120, 0, 0); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out),
              backdrop-filter 0.35s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(11, 10, 9, 0.9);
  /* blur reduced 14px→8px: backdrop-filter is expensive to recompute on every
     scroll frame; 8px keeps the frosted look for far less per-frame GPU cost. */
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line-soft);
}

.header__inner {
  max-width: var(--container);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Brand lock-up: the crest is a tall portrait badge, so it is
   rendered small but FULLY VISIBLE (object-fit: contain, never
   cropped) with a Bebas wordmark beside it. */
.header__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}
.header__brand img {
  height: 58px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 120, 0, 0.22),
              0 4px 14px -6px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s var(--ease-out);
}
.header__brand:hover img,
.header__brand:focus-visible img {
  box-shadow: 0 0 0 1px rgba(255, 120, 0, 0.55),
              0 0 18px -2px rgba(255, 120, 0, 0.3);
}
.header__brand-name {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 0.9;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  word-spacing: 0.2em;
}
.header__brand-name span {
  color: var(--accent);
  font-size: 0.74em;
  letter-spacing: 0.17em;
}

.header__nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav__link {
  position: relative;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-block: 0.4rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__caret {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.65em;
  color: var(--accent);
  transform: translateY(-1px);
}

/* Services dropdown (desktop hover / keyboard focus) */
.nav__item--services { position: relative; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -1.1rem;
  min-width: 250px;
  padding: 0.5rem 0;
  background: rgba(17, 15, 13, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease-out),
              transform 0.25s var(--ease-out),
              visibility 0s linear 0.25s;
}
.nav__item--services::before {
  /* hover bridge so the menu doesn't close crossing the gap */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%; height: 14px;
}
.nav__item--services:hover .nav__dropdown,
.nav__item--services:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.nav__dropdown a {
  display: block;
  padding: 0.7rem 1.25rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), padding-left 0.2s var(--ease-out);
}
.nav__dropdown a:hover {
  color: var(--accent);
  background: rgba(255, 120, 0, 0.07);
  padding-left: 1.55rem;
}
.nav__dropdown a[aria-current="page"] { color: var(--accent); }

.nav__cta-item { display: none; }
.header__cta { flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav behaviour */
@media (max-width: 860px) {
  .header__cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    margin: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: rgba(11, 10, 9, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out),
                opacity 0.3s var(--ease-out),
                visibility 0s linear 0.3s;
  }
  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1.5rem;
  }
  .nav__link {
    display: block;
    padding: 1rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link::after { display: none; }
  .nav__caret { display: none; }

  /* Dropdown becomes an always-visible indented list on mobile */
  .nav__dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    padding: 0 0 0 1.1rem;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav__dropdown a {
    padding: 0.85rem 0.25rem;
    font-size: 0.92rem;
    color: var(--muted);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__dropdown a:hover { padding-left: 0.25rem; }

  .nav__cta-item { display: block; padding-top: 1.25rem; }
  .nav__cta-item .btn { width: 100%; }
}

/* ============================================================
   HERO
   Layer stack (back → front):
     -3 .hero__media   real drone photo (scroll + mouse parallax)
     -2 .hero__scrim   lightened gradient so the drone reads
     -1 .hero__grid    faint orange survey grid (counter-parallax)
     -1 .hero__canvas  orange particle field (drawn above grid)
      0 .hero__content headline, CTAs, badge
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  perspective: 1100px;   /* sells the mouse-parallax rotation */
}

.hero__media {
  position: absolute;
  inset: -14% -4%;       /* extra headroom for deeper parallax travel */
  z-index: -3;
  will-change: transform;
  transform-style: preserve-3d;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Lightened on desktop so the M350 actually reads through it;
   particles + grid supply the depth the old heavy scrim faked. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to right, rgba(11, 10, 9, 0.7) 0%, rgba(11, 10, 9, 0.32) 46%, rgba(11, 10, 9, 0.04) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(11, 10, 9, 0.08) 26%, rgba(11, 10, 9, 0.3) 100%);
}

/* Faint survey-grid overlay — masked so it dissolves at the edges */
.hero__grid {
  position: absolute;
  inset: -72px;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 120, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 120, 0, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 58% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 75% at 58% 45%, #000 30%, transparent 80%);
  will-change: transform;
}

/* Orange particle field — canvas sized/driven from js/main.js */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__content {
  padding-block: calc(var(--header-h) + 4rem) 6rem;
  max-width: var(--container);
  will-change: transform;
}

.hero__eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 13.5vw, 11.5rem);
  line-height: 0.9;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}

/* Two-tone treatment: line 1 cream, line 2 brand-orange gradient */
.hero__title-line { display: block; }

.hero__title-line--accent,
.hero__accent { color: var(--accent); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title-line--accent,
  .hero__accent {
    background: linear-gradient(97deg, #FFB25E 0%, var(--accent) 42%, var(--accent-lo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.hero__sub {
  max-width: 34em;
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 300;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  margin-top: 1.75rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(19, 17, 16, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Vertical SCROLL cue */
.hero__scroll-hint {
  position: absolute;
  left: var(--gutter);
  bottom: 1.75rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.hero__scroll-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255, 120, 0, 0.75), transparent);
  animation: scroll-flow 2.5s ease-in-out infinite;
}

@keyframes scroll-flow {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero__coords {
  position: absolute;
  right: var(--gutter);
  bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .hero__actions .btn { width: 100%; }
  .hero__coords { display: none; }
  .hero__scroll-hint { display: none; }

  /* Mobile keeps the heavier scrim — copy spans full width here
     and legibility beats photo visibility on a small screen. */
  .hero__scrim {
    background:
      linear-gradient(to right, rgba(11, 10, 9, 0.87) 0%, rgba(11, 10, 9, 0.55) 48%, rgba(11, 10, 9, 0.25) 100%),
      linear-gradient(to top, var(--bg) 0%, rgba(11, 10, 9, 0.25) 30%, rgba(11, 10, 9, 0.45) 100%);
  }
}

/* ---------- Service-page hero variant (lighter treatment) ---------- */
.hero--page {
  min-height: 68svh;
  background:
    radial-gradient(ellipse 70% 60% at 62% 36%, rgba(255, 120, 0, 0.07) 0%, transparent 70%),
    var(--bg);
}
.hero--page .hero__content {
  padding-block: calc(var(--header-h) + 4.5rem) 4.5rem;
}
.hero__title--page { font-size: clamp(3.2rem, 8.5vw, 7.5rem); }
.hero--page .hero__sub { max-width: 40em; }
.hero--page .hero__grid {
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 30%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 30%, #000 25%, transparent 78%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color 0.2s var(--ease-out); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .breadcrumb__sep { color: var(--line); }
.breadcrumb [aria-current="page"] { color: var(--accent); }

/* ============================================================
   TRUST BAND (home) + STATS STRIP (service pages)
   ============================================================ */
.trust {
  border-block: 1px solid var(--line-soft);
  background: var(--panel);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust__item {
  padding: 2.2rem 1.5rem;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}
.trust__item:first-child { border-left: 0; }

.trust__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
  color: var(--text);
}
.trust__value [data-count] { color: var(--accent); }

.trust__label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 480px) {
  .trust__item { padding: 1.6rem 1rem; }
}

/* Service-page stats strip */
.stats {
  border-block: 1px solid var(--line-soft);
  background: var(--panel);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2rem 1.25rem;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}
.stat:first-child { border-left: 0; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding-block: clamp(5rem, 10vw, 8.5rem); }

.section--panel {
  background: var(--panel);
  border-block: 1px solid var(--line-soft);
}

.section__head { max-width: 780px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section__head--tight { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }

.section__eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section__lead {
  margin-top: 1.4rem;
  max-width: 40em;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Long-form copy on service pages */
.prose { max-width: 46em; color: var(--text-soft); }
.prose p { font-size: 1rem; line-height: 1.75; }
.prose p + p { margin-top: 1.15rem; }

/* Two-column split (prose + cards) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES (home grid)
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;                       /* hairline grid via background */
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.service-card {
  position: relative;
  background: var(--panel);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
  overflow: hidden;
  transform-style: preserve-3d;   /* 3D tilt (js/main.js) */
}
[data-tilt] { will-change: transform; }

.service-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.service-card:hover {
  background: var(--panel-2);
  z-index: 2;
  box-shadow: 0 24px 50px -24px rgba(255, 120, 0, 0.28),
              0 8px 24px -12px rgba(0, 0, 0, 0.6);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
  display: inline-flex;
  width: 46px; height: 46px;
  margin-bottom: 1.4rem;
  color: var(--accent);
  transition: transform 0.35s var(--ease-out),
              filter 0.35s var(--ease-out);
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card:hover .service-card__icon {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 0 10px rgba(255, 120, 0, 0.45));
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

/* Whole-card link (cards that have a dedicated service page) */
.service-card__link { color: inherit; }
.service-card__link:hover { color: var(--accent); }
.service-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card__text {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.service-card__more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.service-card:hover .service-card__more { opacity: 1; transform: translateX(0); }

@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services__grid { grid-template-columns: 1fr; } }

/* ============================================================
   INDUSTRIES (home)
   ============================================================ */
.industries { background: var(--panel); border-block: 1px solid var(--line-soft); }

.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 400px;
  padding: 1.75rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.industry-card:hover {
  border-color: rgba(255, 120, 0, 0.5);
  transform: translateY(-4px);
}

.industry-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.2vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.industry-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6rem;
}

.industry-card__service {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.industry-card__text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .industries__grid { grid-template-columns: 1fr; }
  /* Base card is already a horizontal-text vertical stack; on phones just
     drop the tall min-height so the card hugs its content. */
  .industry-card { min-height: 0; justify-content: flex-start; gap: 1rem; }
}

/* ============================================================
   WHY IAS (home)
   ============================================================ */
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.why__meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why__list {
  display: grid;
  gap: 1.25rem;
}

.why-point {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease-out);
}
.why-point:hover { border-color: rgba(255, 120, 0, 0.45); }

.why-point__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  border: 1px solid rgba(255, 120, 0, 0.45);
  border-radius: var(--radius);
}

.why-point__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.why-point__text { color: var(--muted); font-size: 0.97rem; }

@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   EQUIPMENT (home)
   ============================================================ */
.equipment { background: var(--panel); border-block: 1px solid var(--line-soft); }

.equipment__list { border-top: 1px solid var(--line); }

.equip-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}
.equip-row:hover {
  background: var(--panel-2);
  padding-left: 1.25rem;
}

.equip-row__index {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.equip-row__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.equip-row__role { color: var(--muted); font-size: 0.98rem; }

@media (max-width: 760px) {
  .equip-row {
    grid-template-columns: 3rem 1fr;
    grid-template-rows: auto auto;
    row-gap: 0.5rem;
    align-items: baseline;
  }
  .equip-row__role { grid-column: 2; }
}

/* ============================================================
   SERVICE-PAGE COMPONENTS
   ============================================================ */

/* Compact feature cards (2×2 beside prose) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.info-card {
  background: var(--panel);
  padding: 1.6rem 1.5rem;
  transition: background-color 0.3s var(--ease-out);
}
.info-card:hover { background: var(--panel-2); }
.info-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.info-card h3::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 0.65rem;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 120, 0, 0.55);
}
.info-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
@media (max-width: 560px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* Numbered workflow steps */
.steps {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.4rem;
  padding: 1.6rem 0.25rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}
.step:hover { background: var(--panel); padding-left: 1rem; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  border: 1px solid rgba(255, 120, 0, 0.45);
  border-radius: var(--radius);
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.step p { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

/* Use-case cards */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.case-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.case-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-out);
}
.case-card:hover {
  border-color: rgba(255, 120, 0, 0.45);
  box-shadow: 0 20px 44px -24px rgba(255, 120, 0, 0.22);
}
.case-card:hover::before { transform: scaleY(1); }
.case-card__sector {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.case-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 0.55rem;
}
.case-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.62; }
@media (max-width: 760px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* Callout panel (e.g. thermal timing) */
.callout {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
}
.callout h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.7rem;
}
.callout p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.callout strong { color: var(--text); font-weight: 600; }

/* Deliverables grid */
.deliv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.deliv {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  transition: border-color 0.3s var(--ease-out);
}
.deliv:hover { border-color: rgba(255, 120, 0, 0.4); }
.deliv__dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 120, 0, 0.55);
}
.deliv strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.deliv span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 760px) {
  .deliv-grid { grid-template-columns: 1fr; }
}

/* Equipment spec panel */
.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 2.5rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
}
.specs h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  padding-bottom: 0.9rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.spec-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}
.spec-line:last-child { border-bottom: 0; }
.spec-line .k { color: var(--muted); }
.spec-line .v { color: var(--text); font-weight: 600; text-align: right; }
.spec-line .v--hi { color: var(--accent); }
@media (max-width: 760px) {
  .specs { grid-template-columns: 1fr; }
}

/* Comparison table (photogrammetry vs LiDAR) */
.compare-wrap { overflow-x: auto; margin-top: 2.5rem; }
.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare th {
  padding: 0.9rem 1rem;
  text-align: left;
  background: var(--panel-2);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 2px solid rgba(255, 120, 0, 0.5);
}
.compare td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  vertical-align: top;
  line-height: 1.5;
}
.compare tr:nth-child(even) td { background: var(--panel); }
.compare td.method { color: var(--text); font-weight: 600; }
.compare .good { color: var(--accent-hi); font-weight: 500; }
.compare .limit { color: #6E6459; }

/* FAQ accordion */
.faq { margin-top: 2.5rem; max-width: 860px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  transition: border-color 0.3s var(--ease-out);
}
.faq-item.open { border-color: rgba(255, 120, 0, 0.5); }
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}
.faq-trigger:hover { color: var(--accent); }
.faq-arrow {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.75rem;
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-item.open .faq-body { max-height: 560px; }
.faq-body p {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* CTA band */
.cta-band {
  padding-block: clamp(5rem, 9vw, 7.5rem);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 90% at 50% 42%, rgba(255, 120, 0, 0.08) 0%, transparent 70%),
    var(--panel);
  border-top: 1px solid var(--line-soft);
}
.cta-band .section__title { margin-inline: auto; max-width: 16em; }
.cta-band__lead {
  margin: 1.3rem auto 2.4rem;
  max-width: 38em;
  color: var(--muted);
  font-size: 1.02rem;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.cta-band__note {
  margin-top: 1.7rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cta-band__note span { color: var(--accent); }
@media (max-width: 560px) {
  .cta-band__actions .btn { width: 100%; }
}

/* ============================================================
   ABOUT (home)
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

/* Framed portrait with offset orange keyline + warm glow */
.about__media {
  position: relative;
  margin: 0 auto;
  max-width: 240px;
}
.about__media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid rgba(255, 120, 0, 0.4);
  border-radius: var(--radius);
  pointer-events: none;
}
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgba(255, 120, 0, 0.35),
              inset 0 0 0 1px rgba(255, 120, 0, 0.1);
  pointer-events: none;
}
.about__media-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.45rem 0.95rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(11, 10, 9, 0.82);
  border: 1px solid rgba(255, 120, 0, 0.4);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.about__prose { margin-top: 0.5rem; }
.about__prose p { font-size: 1.02rem; }

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.9rem;
}
.about__chips li {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.about__chips li:hover { border-color: rgba(255, 120, 0, 0.45); color: var(--text); }
.about__chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 120, 0, 0.55);
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 240px; }
}

/* ============================================================
   CONTACT (home)
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.contact__cal { margin-top: 2.25rem; }

.contact__note {
  display: flex;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  max-width: 34em;
}
.contact__note .pulse-dot { margin-top: 0.45rem; flex-shrink: 0; }

.contact__form {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
}

.form-field { display: grid; gap: 0.5rem; }

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.form-field__hint {
  color: var(--accent);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: #6E6459; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 120, 0, 0.18);
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--panel);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2.4fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 3.5rem;
}

/* Tall crest shown whole — never cropped */
.footer__brand img {
  width: 84px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 120, 0, 0.2);
}

.footer__blurb {
  margin-top: 1.4rem;
  max-width: 30em;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.footer__col li {
  padding-block: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer__col a { color: var(--muted); transition: color 0.2s var(--ease-out); }
.footer__col a:hover { color: var(--accent); }
.footer__col a[aria-current="page"] { color: var(--accent); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Motion fallbacks
   ============================================================ */
/* Content is fully visible by default — GSAP sets initial states
   at runtime, so users without JS (or with reduced motion) see
   the complete page. The particle canvas + tilt + parallax are
   never initialised under prefers-reduced-motion (see main.js). */
.no-motion [data-reveal],
.no-motion [data-hero-item] {
  opacity: 1 !important;
  transform: none !important;
}
.no-motion .pulse-dot { animation: none; }
.no-motion .hero__scroll-line { animation: none; }
.no-motion .hero__canvas { display: none; }

/* ============================================================
   MOBILE POLISH
   Last in the cascade on purpose — small-screen refinements
   that override the desktop-first rules above.
   ============================================================ */
@media (max-width: 860px) {
  /* Roomier tap targets in the slide-down menu */
  .nav__link { padding: 1.05rem 0.25rem; }
  .nav__dropdown a { padding: 0.95rem 0.25rem; }
}

@media (max-width: 700px) {
  /* Compact brand lock-up inside the 64px header */
  .header__brand { gap: 0.65rem; }
  .header__brand img { height: 46px; }
  .header__brand-name { font-size: 1.1rem; }
}

@media (max-width: 640px) {
  /* --- Rhythm: tighter but still airy --- */
  .section { padding-block: 4rem; }
  .section__head { margin-bottom: 2.25rem; }
  .section__head--tight { margin-bottom: 1.5rem; }
  .section__lead { font-size: 1rem; }
  .prose p { font-size: 0.98rem; }

  /* --- Hero: right-sized headline, drone framed for tall screens --- */
  .hero__content { padding-block: calc(var(--header-h) + 3.25rem) 4.25rem; }
  .hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    margin-bottom: 1.1rem;
  }
  .hero__title { font-size: clamp(3.4rem, 18.5vw, 4.6rem); }
  /* Service-page titles carry long words ("Infrastructure") —
     keep them a step smaller so nothing overflows */
  .hero__title--page { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  .hero__sub { margin-top: 1.4rem; font-size: 1.02rem; }
  .hero__actions { margin-top: 2rem; gap: 0.85rem; }
  .hero__badge { margin-top: 1.4rem; }
  .hero__media img { object-position: 62% 32%; }
  .hero--page { min-height: 56svh; }
  .hero--page .hero__content { padding-block: calc(var(--header-h) + 3.5rem) 3.5rem; }

  /* --- Finger-friendly targets --- */
  .btn { padding: 1rem 1.6rem; }
  .btn--sm { padding: 0.85rem 1.3rem; }
  .footer__col li { padding-block: 0.5rem; }
  .footer__col a { display: inline-block; }
  .breadcrumb { gap: 0.55rem; }
  .breadcrumb a { display: inline-block; padding-block: 0.35rem; }
  .faq-trigger { padding: 1.2rem 1.1rem; }

  /* --- Density fixes for small panels --- */
  .why-point { padding: 1.4rem 1.25rem; gap: 1.1rem; }
  .why-point__num { width: 40px; height: 40px; font-size: 1.3rem; }
  .step { grid-template-columns: 2.9rem 1fr; gap: 1.1rem; }
  .step__num { width: 40px; height: 40px; }
  .step:hover { padding-left: 0.25rem; }
  .equip-row:hover { padding-left: 0.5rem; }
  .contact__form { gap: 1.15rem; }
  .cta-band__lead { font-size: 0.98rem; }

  /* --- About: keep the offset frame inside the viewport --- */
  .about__media { max-width: min(240px, 100%); }
  .about__media::before { inset: 0.85rem -0.85rem -0.85rem 0.85rem; }
  .about__actions .btn { width: 100%; }
  .about__chips { gap: 0.5rem; }

  .footer__legal { padding-block: 1.5rem; }
}

/* Very narrow phones: keep the two-tone headline on one line each */
@media (max-width: 380px) {
  .hero__title { font-size: 3.1rem; }
  .hero__title--page { font-size: 2.55rem; }
  .header__brand-name { font-size: 0.98rem; }
}

/* ============================================================
   PERFORMANCE & RENDERING HINTS (added — perf pass)
   ============================================================ */
/* <picture> must collapse so the hero <img> fills .hero__media */
.hero__media picture { display: contents; }

/* Promote animated hero layers to their own compositor layer so scroll
   parallax composites instead of repainting. The parallax layers already
   carry will-change:transform; these hints reinforce GPU compositing.
   (prefers-reduced-motion is handled globally near the top of this file.) */
.hero__media,
.hero__grid { backface-visibility: hidden; }
.hero__canvas { will-change: transform; transform: translateZ(0); }
