@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:wght@600;700;800&display=swap");

:root {
  --bg: #0b0d0e;
  --bg2: #15191c;
  --steel: #2a3138;
  --gold: #c59a3a;
  --lightgold: #e1c27a;
  --white: #f7f7f7;
  --grey: #d0d0d0;
  --muted: #8f969c;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--grey);
  font-family: Inter, Montserrat, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 14, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-logo {
  width: 48px;
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font:
    600 12px Montserrat,
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  transition: 0.25s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--lightgold);
}
.nav-cta {
  border: 1px solid var(--gold);
  padding: 12px 18px;
  color: var(--white) !important;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
}
.hero {
  min-height: calc(100vh - 82px);
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-3d {
  background-image: none;
  overflow: hidden;
}
#plant-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.inner-hero {
  min-height: 62vh;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(11, 13, 14, 0.9),
    rgba(11, 13, 14, 0.55),
    rgba(11, 13, 14, 0.25)
  );
}
.hero-3d .hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(8, 10, 11, 0.88) 0%,
    rgba(8, 10, 11, 0.55) 45%,
    rgba(8, 10, 11, 0.08) 100%
  );
}
/* Hero text must always be visible; never rely on scroll observer for above-fold content */
.hero .hero-content {
  opacity: 1 !important;
  transform: none !important;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 110px 0;
  transform: translateZ(0); /* force own compositing layer so it renders above WebGL canvas */
}
.eyebrow,
.section-kicker {
  color: var(--lightgold);
  font:
    700 12px Montserrat,
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 14px;
}
h1,
h2,
h3,
h4 {
  color: var(--white);
  line-height: 1.12;
  margin: 0 0 18px;
}
h1 {
  font:
    700 clamp(36px, 6vw, 84px) Montserrat,
    Arial,
    sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h2 {
  font:
    700 clamp(26px, 4vw, 52px) Montserrat,
    Arial,
    sans-serif;
}
h3 {
  font:
    700 23px Montserrat,
    Arial,
    sans-serif;
}
h4 {
  font:
    700 15px Montserrat,
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lightgold);
}
.hero p:not(.eyebrow) {
  font-size: clamp(17px, 2vw, 22px);
  max-width: 730px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-trust-strip div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-trust-strip strong {
  font: 800 26px "Montserrat", Arial, sans-serif;
  color: var(--white);
}
.hero-trust-strip span {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font:
    700 12px Montserrat,
    Arial,
    sans-serif;
  transition: 0.25s;
}
.btn-primary {
  background: var(--gold);
  color: #121212;
}
.btn-primary:hover {
  background: var(--lightgold);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--lightgold);
  color: var(--lightgold);
}
.section {
  padding: 100px 0;
}
.dark-section {
  background: var(--bg2);
}
.split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.section-header {
  max-width: 780px;
  margin-bottom: 46px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card,
.project-card {
  background: linear-gradient(180deg, var(--steel), rgba(21, 25, 28, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-card img,
.project-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}
.feature-card div,
.project-card div {
  padding: 26px;
}
.feature-card span,
.project-card span {
  display: inline-block;
  color: var(--lightgold);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
.feature-card a {
  color: var(--lightgold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.feature-card {
  cursor: pointer;
}
.feature-card:focus-within {
  border-color: rgba(197, 154, 58, 0.6);
  box-shadow: 0 0 0 3px rgba(197, 154, 58, 0.22), var(--shadow);
}
.stats-section {
  padding: 54px 0;
  background: linear-gradient(90deg, var(--gold), var(--lightgold));
  color: #111;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stats-grid div {
  border-left: 1px solid rgba(0, 0, 0, 0.28);
  padding-left: 22px;
}
.stats-grid strong {
  display: block;
  font:
    800 34px Montserrat,
    Arial,
    sans-serif;
}
.stats-grid span {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.project-card small {
  display: block;
  color: var(--lightgold);
  font-weight: 700;
  margin-top: 16px;
}
.cta-section {
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(197, 154, 58, 0.15), rgba(42, 49, 56, 0.85)),
    var(--bg2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta-inner div {
  max-width: 760px;
}
.site-footer {
  background: #070808;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
}
.site-footer h3,
.site-footer h4 {
  margin-bottom: 14px;
}
.site-footer a,
.site-footer p {
  display: block;
  color: var(--muted);
  margin: 8px 0;
}
.footer-bottom {
  text-align: center;
  color: var(--lightgold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  margin-top: 50px;
}
.service-list {
  display: grid;
  gap: 40px;
}
.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 28px;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}
.service-row:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
}
.service-row:nth-child(even) img {
  order: 2;
}
.service-row img {
  height: 430px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.regions-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.regions-grid span,
.benefit-grid div {
  padding: 22px;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--white);
  font-weight: 700;
  text-align: center;
}
.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.25s;
}
.gallery-grid img:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-height: 84vh;
  max-width: 84vw;
  border-radius: 10px;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  border-radius: 999px;
  width: 52px;
  height: 52px;
  font-size: 36px;
  cursor: pointer;
}
.lightbox-close {
  top: 24px;
  right: 24px;
}
.lightbox-prev {
  left: 24px;
}
.lightbox-next {
  right: 24px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
}
.contact-form,
.contact-panel {
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-form label {
  display: block;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  background: #0f1214;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--white);
  font: inherit;
}
.form-message {
  color: var(--lightgold);
  font-weight: 700;
}
.contact-detail {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}
.contact-detail strong {
  display: block;
  color: var(--lightgold);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: rgba(11, 13, 14, 0.98);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav.open {
    display: flex;
  }
  .card-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid,
  .footer-grid,
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-layout,
  .service-row,
  .service-row:nth-child(even),
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .service-row:nth-child(even) img {
    order: 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }
  .header-inner {
    min-height: 72px;
  }
  .main-nav {
    top: 72px;
  }
  .logo-link span {
    font-size: 12px;
  }
  .hero,
  .inner-hero {
    min-height: 72vh;
  }
  .hero-content {
    padding: 80px 0;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 19px;
  }
  .hero-trust-strip {
    gap: 20px 28px;
    margin-top: 30px;
    padding-top: 20px;
  }
  .section {
    padding: 70px 0;
  }
  .card-grid,
  .project-grid,
  .stats-grid,
  .footer-grid,
  .regions-grid,
  .benefit-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .feature-card img,
  .project-card img,
  .service-row img,
  .gallery-grid img {
    height: 230px;
  }
  .lightbox img {
    max-width: 92vw;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}

.service-options {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}
.service-options legend {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-form .service-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--grey);
  font-weight: 600;
  margin: 8px 0;
}
.contact-form .service-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
  flex: 0 0 auto;
}
.service-option-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.service-option-heading {
  display: block;
  color: var(--lightgold);
  font:
    700 12px Montserrat,
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}
@media (max-width: 640px) {
  .service-option-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  padding: 24px;
}
.success-modal.open {
  display: flex;
}
.success-modal-panel {
  position: relative;
  width: min(500px, 100%);
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px;
}
.success-modal-panel h3 {
  margin: 0 42px 14px 0;
}
.success-modal-panel p:not(.section-kicker) {
  color: var(--grey);
  margin: 0 0 24px;
}
.success-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.success-modal-ok {
  min-width: 120px;
}

/* ─── Visual enhancements ──────────────────────────────────────────────────── */

/* Quote the loaded font names so they match exactly */
body {
  font-family: "Inter", Montserrat, Arial, sans-serif;
}
.eyebrow,
.section-kicker {
  font: 700 12px "Montserrat", Arial, sans-serif;
}
.main-nav a {
  font: 600 12px "Montserrat", Arial, sans-serif;
}
.btn {
  font: 700 12px "Montserrat", Arial, sans-serif;
}

/* Hero: ambient gold glow behind the text */
.hero-overlay {
  background:
    radial-gradient(ellipse 55% 65% at 28% 55%, rgba(197, 154, 58, 0.14) 0%, transparent 58%),
    linear-gradient(90deg, rgba(11, 13, 14, 0.92), rgba(11, 13, 14, 0.55), rgba(11, 13, 14, 0.18));
}

/* Hero: subtle scroll-down indicator */
@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-50%) translateY(9px);
    opacity: 0.2;
  }
}
.hero::after {
  content: "↓";
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  animation: scroll-bounce 2.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.inner-hero::after {
  display: none;
}

/* Section kicker: no decorative dash before the text */

/* Nav: sliding gold underline on hover / active */
.main-nav a {
  position: relative;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lightgold);
  transition: width 0.25s ease;
}
.main-nav a:not(.nav-cta):hover::after,
.main-nav a.active:not(.nav-cta)::after {
  width: 100%;
}

/* Cards: smooth hover, gold glow + lift */
.feature-card,
.project-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.feature-card:hover,
.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(197, 154, 58, 0.35);
  box-shadow:
    0 0 0 1px rgba(197, 154, 58, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(197, 154, 58, 0.07);
}
.feature-card img,
.project-card img {
  transition: filter 0.3s ease;
}
.feature-card:hover img,
.project-card:hover img {
  filter: brightness(1.08);
}

/* Button: shine sweep on hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}
.btn-primary:hover::after {
  transform: translateX(100%);
}

/* Gallery: richer hover */
.gallery-grid img {
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    border-color 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1.15) saturate(1.08);
  border-color: rgba(197, 154, 58, 0.4);
}

/* Dark section: subtle gold top-edge divider */
.dark-section {
  position: relative;
}
.dark-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 154, 58, 0.28), transparent);
}

/* CTA section: stronger gold presence */
.cta-section {
  background:
    linear-gradient(135deg, rgba(197, 154, 58, 0.22) 0%, rgba(42, 49, 56, 0.92) 100%),
    var(--bg2);
  border-top: 1px solid rgba(197, 154, 58, 0.18);
  border-bottom: 1px solid rgba(197, 154, 58, 0.18);
}

/* Service rows: hover gold border accent */
.service-row {
  transition: border-color 0.3s ease;
}
.service-row:hover {
  border-color: rgba(197, 154, 58, 0.22);
}

/* ─── Cinematic "drone" hero: crossfading slides with slow drift ─────────── */
.hero-cinematic {
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: -7%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
  animation: 27s ease-in-out infinite;
}
.hero-slide:nth-child(1) {
  animation-name: hero-drone-a;
}
.hero-slide:nth-child(2) {
  animation-name: hero-drone-b;
  animation-delay: 9s;
}
.hero-slide:nth-child(3) {
  animation-name: hero-drone-c;
  animation-delay: 18s;
}
/* Each slide: fade in, drift while visible (~9s), fade out into the next */
@keyframes hero-drone-a {
  0% { opacity: 0; transform: scale(1.14) translateX(2.5%); }
  6% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; transform: scale(1.04) translateX(-1.5%); }
  100% { opacity: 0; transform: scale(1.04) translateX(-1.5%); }
}
@keyframes hero-drone-b {
  0% { opacity: 0; transform: scale(1.04) translateX(-2.5%) translateY(1%); }
  6% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; transform: scale(1.14) translateX(1.5%) translateY(-1%); }
  100% { opacity: 0; transform: scale(1.14) translateX(1.5%) translateY(-1%); }
}
@keyframes hero-drone-c {
  0% { opacity: 0; transform: scale(1.1) translateY(-2%); }
  6% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; transform: scale(1.02) translateY(1.5%); }
  100% { opacity: 0; transform: scale(1.02) translateY(1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
  }
}

/* Form: gold focus ring */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(197, 154, 58, 0.55);
  box-shadow: 0 0 0 3px rgba(197, 154, 58, 0.1);
}

/* ══════════════════════════════════════════════════════════════════════════
   AUTEC · Motion & bolder-modern layer  (appended — intentionally overrides above)
   ══════════════════════════════════════════════════════════════════════════ */

/* — Scroll progress bar — */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--lightgold));
  box-shadow: 0 0 18px rgba(197, 154, 58, 0.55);
  z-index: 120; pointer-events: none;
}

/* — Header: compacts + deepens glass once scrolled — */
.site-header { transition: background .35s ease, box-shadow .35s ease, border-color .35s ease; }
.header-inner, .site-logo { transition: min-height .35s ease, width .35s ease, height .35s ease; }
.site-header.scrolled {
  background: rgba(9, 11, 12, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(197, 154, 58, 0.2);
}
@media (min-width: 1001px) {
  .site-header.scrolled .header-inner { min-height: 64px; }
  .site-header.scrolled .site-logo { width: 40px; height: 40px; }
}

/* — Bolder display typography — */
h1 { letter-spacing: -0.01em; text-shadow: 0 2px 34px rgba(0, 0, 0, 0.5); }
h2 { letter-spacing: -0.01em; }
.section-kicker, .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.section-kicker::before {
  content: ""; width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* — Hero: deeper cinematic depth, gold key-light, vignette — */
.hero-cinematic .hero-overlay {
  background:
    radial-gradient(120% 90% at 14% 32%, rgba(197, 154, 58, 0.17) 0%, transparent 46%),
    radial-gradient(90% 120% at 88% 104%, rgba(0, 0, 0, 0.55) 0%, transparent 55%),
    linear-gradient(90deg, rgba(8, 10, 11, 0.94) 0%, rgba(8, 10, 11, 0.55) 46%, rgba(8, 10, 11, 0.14) 100%);
}
.hero-cinematic::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow:
    inset 0 -150px 120px -60px rgba(6, 7, 8, 0.92),
    inset 0 100px 90px -60px rgba(6, 7, 8, 0.6);
}
.hero-slides { will-change: transform; }

/* — Glass trust-strip panel with gradient stat numbers — */
.hero-trust-strip {
  gap: 0; margin-top: 42px; padding: 22px 8px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(197, 154, 58, 0.18); border-radius: 16px;
  background: rgba(12, 14, 15, 0.4); backdrop-filter: blur(12px);
}
.hero-trust-strip div { padding: 2px 26px; position: relative; }
.hero-trust-strip div + div::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px; background: rgba(255, 255, 255, 0.13);
}
.hero-trust-strip strong {
  font-size: clamp(24px, 3vw, 34px);
  background: linear-gradient(180deg, #ffffff, var(--lightgold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* — Cards → layered glass, gold top-accent, cursor spotlight — */
.feature-card, .project-card {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(42, 49, 56, 0.78), rgba(14, 17, 19, 0.94));
  backdrop-filter: blur(6px);
}
.feature-card::before, .project-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 4;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .35s ease;
}
.feature-card:hover::before, .project-card:hover::before { opacity: 1; }
.feature-card::after, .project-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(197, 154, 58, 0.16), transparent 60%);
}
.feature-card:hover::after, .project-card:hover::after { opacity: 1; }
.feature-card > div, .project-card > div { position: relative; z-index: 3; }
.feature-card span {
  font-size: 26px; letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--lightgold), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* — Reveal: smoother easing + stagger via --i — */
.reveal {
  transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.16, .7, .2, 1), transform .8s cubic-bezier(.16, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.reveal.visible { transform: none; }

/* — Buttons: a little more presence — */
.btn { letter-spacing: 0.14em; }
.btn-primary { box-shadow: 0 14px 32px -14px rgba(197, 154, 58, 0.75); }

@media (max-width: 640px) {
  .hero-trust-strip { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .hero-trust-strip div + div::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition-delay: 0ms; }
  .scroll-progress { display: none; }
}

/* ── Whole service block clickable (matches the product cards) ── */
.service-row {
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-row:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 154, 58, 0.35);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.service-row[id] {
  scroll-margin-top: 110px;
}
/* keep the CTA text clearly the focusable target, but the whole row is clickable */
.service-row a.btn { position: relative; z-index: 1; }

/* ── Gallery: filename-driven captions (hover on desktop, shown in lightbox everywhere) ── */
.gallery-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.gallery-figure .gallery-item { border: 0; border-radius: 0; display: block; }
.gallery-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 16px 14px;
  font: 700 13px/1.4 "Montserrat", Arial, sans-serif;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(0deg, rgba(6,7,8,0.92) 0%, rgba(6,7,8,0.55) 55%, transparent 100%);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.16,.7,.2,1), opacity 0.35s ease;
  pointer-events: none;
}
.gallery-figure:hover figcaption { transform: translateY(0); opacity: 1; }
@media (hover: none) {
  .gallery-figure figcaption { transform: translateY(0); opacity: 1; }
}
.lightbox-caption {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  max-width: 84vw; margin: 0;
  padding: 10px 22px;
  text-align: center;
  font: 700 14px/1.4 "Montserrat", Arial, sans-serif;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(6, 7, 8, 0.7);
  border: 1px solid rgba(197, 154, 58, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ── Hero drone effect: gentler zoom so the image is magnified less (reduces pixelation) ── */
.hero-slide { inset: -4%; }
@keyframes hero-drone-a {
  0%   { opacity: 0; transform: scale(1.08) translateX(1.6%); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; transform: scale(1.0) translateX(-1%); }
  100% { opacity: 0; transform: scale(1.0) translateX(-1%); }
}
@keyframes hero-drone-b {
  0%   { opacity: 0; transform: scale(1.0) translateX(-1.6%) translateY(0.6%); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; transform: scale(1.08) translateX(1%) translateY(-0.6%); }
  100% { opacity: 0; transform: scale(1.08) translateX(1%) translateY(-0.6%); }
}
@keyframes hero-drone-c {
  0%   { opacity: 0; transform: scale(1.06) translateY(-1.2%); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; transform: scale(1.0) translateY(1%); }
  100% { opacity: 0; transform: scale(1.0) translateY(1%); }
}

/* ── Trust strip: keep "End-to-End" on one line so all four cells align ── */
.hero-trust-strip div { padding: 2px 18px; }
.hero-trust-strip strong { white-space: nowrap; font-size: clamp(20px, 2.5vw, 30px); letter-spacing: 0; }
