/* Sunrise Drones — site styles
   Brand: ../../Brand Assets/Sunrise_Drones_Brand_Guide.pdf
   Balance 60% black · 25% white · 15% orange — orange is the spark, not the base. */

/* ---------- Tokens ---------- */
:root {
  /* Brand colours (exact values from the brand guide) */
  --orange: #FE9500;
  --flame: #FA7000;
  --ember: #853C00;
  --glow: #FDA324;
  --black: #000000;
  --white: #FFFFFF;

  /* Surfaces: base → elevated → floating */
  --night-0: #000000;
  --night-1: #0d0a07;
  --night-2: #16110c;
  --night-3: #211912;
  --paper-0: #F7F4EF;
  --paper-1: #FFFFFF;
  --paper-2: #EEE9E1;

  --text-on-dark: #FFFFFF;
  --muted-on-dark: rgba(255, 255, 255, 0.68);
  --faint-on-dark: rgba(255, 255, 255, 0.44);
  --line-on-dark: rgba(255, 255, 255, 0.1);
  --text-on-light: #14100c;
  --muted-on-light: #5c534a;
  --line-on-light: rgba(20, 16, 12, 0.1);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing scale (8pt) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --section-y: clamp(72px, 10vw, 128px);
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1240px;
  --header-h: 76px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Tinted, layered shadows */
  --shadow-elevated: 0 1px 2px rgba(40, 18, 0, 0.06), 0 8px 24px -10px rgba(133, 60, 0, 0.22);
  --shadow-floating: 0 2px 6px rgba(40, 18, 0, 0.08), 0 24px 56px -18px rgba(133, 60, 0, 0.34), 0 48px 96px -40px rgba(0, 0, 0, 0.4);
  --shadow-dark: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -24px rgba(0, 0, 0, 0.8), 0 12px 40px -20px rgba(250, 112, 0, 0.18);

  --ease-spring: cubic-bezier(0.22, 1.25, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  background: var(--night-0);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--sp-4); top: -100px; z-index: 200; padding: var(--sp-2) var(--sp-4); background: var(--orange); color: var(--black); font-weight: 700; border-radius: var(--r-sm); }
.skip-link:focus { top: var(--sp-4); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section-y) 0; }
.section--tight { padding: var(--sp-8) 0; }
.section--light { background: var(--paper-0); color: var(--text-on-light); }
.section--white { background: var(--paper-1); color: var(--text-on-light); }
.section--elevated { background: var(--night-1); }
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: 0.05; mix-blend-mode: overlay;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--plain::before { display: none; }
.section--light .eyebrow, .section--white .eyebrow { color: var(--flame); }
.h-display { font-size: clamp(44px, 7vw, 92px); line-height: 1.02; letter-spacing: -0.03em; }
.h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; }
.h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.02em; }
.h4 { font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.accent { color: var(--orange); font-style: italic; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; color: var(--muted-on-dark); }
.section--light .lead, .section--white .lead { color: var(--muted-on-light); }
.muted { color: var(--muted-on-dark); }
.section--light .muted, .section--white .muted { color: var(--muted-on-light); }
.small { font-size: 14px; line-height: 1.6; }
.prose p + p { margin-top: var(--sp-4); }
.section-head { max-width: 760px; display: grid; gap: var(--sp-4); margin-bottom: var(--sp-8); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head .lead { margin-top: var(--sp-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange); --btn-fg: var(--black); --btn-bg-hover: var(--glow);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 50px; padding: 0 var(--sp-5);
  font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent; border-radius: var(--r-pill); cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -12px rgba(250, 112, 0, 0.7);
  transition: transform 0.4s var(--ease-spring), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease;
}
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 16px 32px -14px rgba(250, 112, 0, 0.85); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }
.btn:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.4s var(--ease-spring); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bg-hover: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); box-shadow: none; }
.btn--ghost:hover { border-color: var(--white); box-shadow: none; }
.btn--dark { --btn-bg: var(--black); --btn-fg: var(--white); --btn-bg-hover: var(--night-3); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6); }
.btn--dark:hover { box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.7); }
.btn--outline-dark { --btn-bg: transparent; --btn-fg: var(--text-on-light); --btn-bg-hover: rgba(20, 16, 12, 0.06); border-color: rgba(20, 16, 12, 0.3); box-shadow: none; }
.btn--outline-dark:hover { border-color: var(--text-on-light); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0 var(--sp-4); font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 700; font-size: 15px; color: var(--orange); text-decoration: none;
  border-radius: var(--r-sm);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease-spring); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--glow); }
.link-arrow:active svg { transform: translateX(1px); }
.section--light .link-arrow, .section--white .link-arrow { color: var(--flame); }
.section--light .link-arrow:hover, .section--white .link-arrow:hover { color: var(--ember); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: var(--black);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line-on-dark); box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.9); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--sp-6); max-width: 1400px; }
.brand { flex: none; display: block; border-radius: var(--r-sm); }
.brand img { width: 128px; height: auto; }
.nav { display: none; margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: var(--sp-1); }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: var(--sp-2) var(--sp-3); border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--muted-on-dark); text-decoration: none; border-radius: var(--r-sm);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: var(--sp-3); right: var(--sp-3); bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out);
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-item.is-current > .nav-link { color: var(--white); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item.is-current > .nav-link::after { transform: scaleX(1); }
.nav-link:active { color: var(--glow); }
.nav-link svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease-out); }
.nav-item { position: relative; }
.nav-item.is-open .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -12px; min-width: 260px;
  padding: var(--sp-2); background: var(--night-2); border: 1px solid var(--line-on-dark); border-radius: var(--r-md);
  box-shadow: var(--shadow-dark);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), visibility 0s linear 0.25s;
}
.dropdown::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-item.is-open .dropdown { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; transition-delay: 0s; }
.dropdown a {
  display: grid; gap: 2px; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); text-decoration: none;
  transition: background-color 0.2s ease;
}
.dropdown a strong { font-size: 15px; font-weight: 700; color: var(--white); }
.dropdown a span { font-size: 13px; line-height: 1.4; color: var(--faint-on-dark); }
.dropdown a:hover { background: rgba(255, 255, 255, 0.06); }
.dropdown a:hover strong { color: var(--orange); }
.dropdown a:active { background: rgba(255, 255, 255, 0.1); }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }
.header-phone { display: none; align-items: center; gap: var(--sp-2); font-size: 14px; font-weight: 700; text-decoration: none; color: var(--white); padding: var(--sp-2); border-radius: var(--r-sm); transition: color 0.2s ease; }
.header-phone svg { width: 16px; height: 16px; color: var(--orange); }
.header-phone:hover { color: var(--orange); }
.header-phone:active { color: var(--glow); }
.quote-btn { position: relative; }
.quote-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--black); color: var(--orange); border-radius: var(--r-pill); font-size: 12px; font-weight: 700;
}
.quote-count[hidden] { display: none; }
.quote-count.bump { animation: bump 0.5s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-on-dark); border-radius: var(--r-pill);
  background: transparent; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.menu-toggle:active { transform: scale(0.94); }
.menu-toggle .bars { position: relative; display: block; width: 18px; height: 14px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.35s var(--ease-out), opacity 0.2s ease; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-open .menu-toggle .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.header-actions .quote-btn .label-long { display: none; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99; overflow-y: auto;
  padding: var(--sp-5) var(--gutter) var(--sp-8);
  background: var(--black);
  opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out), visibility 0s linear 0.3s;
}
.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.mobile-menu h2 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin: var(--sp-6) 0 var(--sp-2); }
.mobile-menu a.m-link {
  display: flex; justify-content: space-between; align-items: center; padding: var(--sp-3) 0;
  font-family: var(--font-display); font-size: 26px; text-decoration: none; border-bottom: 1px solid var(--line-on-dark);
  transition: color 0.2s ease;
}
.mobile-menu a.m-link:hover, .mobile-menu a.m-link:active { color: var(--orange); }
.mobile-menu a.m-link svg { width: 20px; height: 20px; color: var(--faint-on-dark); }
.mobile-menu .btn-row { margin-top: var(--sp-7); }

@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
  .header-actions { margin-left: var(--sp-4); }
  .header-phone { display: inline-flex; }
  .brand img { width: 140px; }
  .header-actions .quote-btn .label-long { display: inline; }
  .header-actions .quote-btn .label-short { display: none; }
}

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

/* ---------- Media treatment (photos) ---------- */
.media { position: relative; overflow: hidden; background: var(--night-2); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--ember); mix-blend-mode: multiply; opacity: 0.18; pointer-events: none; }
.media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 55%); pointer-events: none; }
.media--clean::before, .media--clean::after { display: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-9) 0 var(--sp-6);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
/* Raise the video so about half the sky sits above the hero, bringing the spraying drone up clear of the text */
.hero--video .hero__bg img, .hero__video { inset: auto 0 0 0; height: 134%; object-position: 50% 100%; }
/* Desktop: lighter shading on the right so the spraying drone shows through */
@media (min-width: 1024px) {
  .hero--video .hero__bg::after {
    background:
      radial-gradient(70% 60% at 0% 100%, rgba(0, 0, 0, 0.85), transparent 70%),
      linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 35%, rgba(0, 0, 0, 0) 55%),
      linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 22%),
      linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 35%);
  }
}
/* Phone/tablet: lighter shading so the video isn't lost (text still gets a soft backing) */
@media (max-width: 1023px) {
  .hero--video .hero__bg::before { opacity: 0.08; }
  .hero--video .hero__bg::after {
    background:
      radial-gradient(60% 50% at 52% 36%, rgba(250, 112, 0, 0.14), transparent 70%),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 15%),
      linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.22) 40%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.18) 100%);
  }
  .hero--video .hero__copy h1, .hero--video .hero__copy .lead { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65); }
}
.hero__video.is-playing { opacity: 1; }
.hero__bg::before { content: ''; position: absolute; inset: 0; background: var(--ember); mix-blend-mode: multiply; opacity: 0.22; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 52% 36%, rgba(250, 112, 0, 0.28), transparent 70%),
    radial-gradient(90% 70% at 0% 100%, rgba(0, 0, 0, 0.92), transparent 70%),
    linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 60%),
    linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0.55) 100%);
}
.hero__inner { display: grid; gap: var(--sp-7); }
.hero__copy { max-width: 820px; display: grid; gap: var(--sp-5); }
.hero__copy .lead { max-width: 620px; color: rgba(255, 255, 255, 0.82); }
.hero__paths { display: grid; gap: var(--sp-3); }
.path-card {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; align-content: center; gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-5); text-decoration: none;
  background: rgba(13, 10, 7, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-lg);
  box-shadow: var(--shadow-dark);
  transition: transform 0.5s var(--ease-spring), border-color 0.3s ease, background-color 0.3s ease;
}
.path-card:hover { transform: translateY(-4px); border-color: rgba(254, 149, 0, 0.6); background: rgba(22, 17, 12, 0.85); }
.path-card:active { transform: translateY(-1px) scale(0.99); }
.path-card__tag { grid-column: 1; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.path-card__title { font-family: var(--font-display); font-size: clamp(22px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }
.path-card__meta { grid-column: 1 / 2; font-size: 15px; color: var(--muted-on-dark); }
.path-card__icon {
  grid-row: 1 / span 3; grid-column: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange); color: var(--black); transition: transform 0.5s var(--ease-spring), background-color 0.2s ease;
}
.path-card__icon svg { width: 22px; height: 22px; }
.path-card:hover .path-card__icon { transform: translateX(4px) rotate(-45deg); background: var(--glow); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: 14px; color: var(--muted-on-dark); padding-top: var(--sp-5); border-top: 1px solid var(--line-on-dark); }
.hero__trust span, .hero__trust a { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__trust a { color: var(--white); font-weight: 600; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
.hero__trust a:hover { color: var(--orange); }
.hero__trust a:focus-visible { color: var(--orange); outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }
.hero__trust a:active { opacity: 0.7; }
.hero__trust span::before, .hero__trust a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
@media (min-width: 860px) {
  .hero { padding-bottom: var(--sp-7); }
  .hero__paths { grid-template-columns: 1fr 1fr; max-width: 980px; }
  .hero__trust { justify-content: space-between; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 14vw, 180px) 0 clamp(56px, 8vw, 96px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::before { content: ''; position: absolute; inset: 0; background: var(--ember); mix-blend-mode: multiply; opacity: 0.25; }
.page-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 80% at 0% 100%, rgba(0, 0, 0, 0.9), transparent 70%),
    linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0)),
    linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.5));
}
.page-hero--plain { background: radial-gradient(60% 90% at 85% 0%, rgba(250, 112, 0, 0.22), transparent 60%), radial-gradient(50% 60% at 10% 110%, rgba(133, 60, 0, 0.35), transparent 70%), var(--black); }
.page-hero__inner { display: grid; gap: var(--sp-5); max-width: 800px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.8); max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--sp-2); font-size: 13px; color: var(--faint-on-dark); }
.crumbs a { text-decoration: none; border-radius: 4px; transition: color 0.2s ease; }
.crumbs a:hover { color: var(--orange); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.hero-stats { display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-7); margin-top: var(--sp-4); }
.hero-stats div { display: grid; }
.hero-stats strong { font-family: var(--font-display); font-size: 34px; line-height: 1.1; font-weight: 400; color: var(--white); letter-spacing: -0.02em; }
.hero-stats span { font-size: 13px; color: var(--muted-on-dark); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; overflow: hidden;
  border-radius: var(--r-lg); text-decoration: none; isolation: isolate;
  background: var(--night-2); box-shadow: var(--shadow-dark);
  transition: transform 0.6s var(--ease-spring);
}
.service-card .media { position: absolute; inset: 0; z-index: -1; }
.service-card .media::after { background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 8%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.05) 75%); }
.service-card__body { position: relative; z-index: 2; display: grid; gap: var(--sp-3); padding: var(--sp-6); }
.service-card__stat { justify-self: start; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(254, 149, 0, 0.16); border: 1px solid rgba(254, 149, 0, 0.45); color: var(--glow); font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.service-card p { color: rgba(255, 255, 255, 0.78); font-size: 16px; }
.service-card .link-arrow { margin-top: var(--sp-2); }
.service-card:hover { transform: translateY(-6px); }
.service-card:hover .media img { transform: scale(1.06); }
.service-card:active { transform: translateY(-2px); }

.feature {
  display: grid; gap: var(--sp-3); padding: var(--sp-6); border-radius: var(--r-lg);
  background: var(--night-1); border: 1px solid var(--line-on-dark); box-shadow: var(--shadow-dark);
}
.section--light .feature, .section--white .feature { background: var(--paper-1); border-color: var(--line-on-light); box-shadow: var(--shadow-elevated); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(140deg, rgba(254, 149, 0, 0.22), rgba(133, 60, 0, 0.18)); color: var(--orange); border: 1px solid rgba(254, 149, 0, 0.3); }
.feature__icon svg { width: 24px; height: 24px; }
.feature p { color: var(--muted-on-dark); font-size: 16px; }
.section--light .feature p, .section--white .feature p { color: var(--muted-on-light); }

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden;
  border-radius: var(--r-lg); background: var(--line-on-dark); border: 1px solid var(--line-on-dark);
}
.stat { display: grid; gap: var(--sp-1); align-content: start; padding: var(--sp-6) var(--sp-5); background: var(--night-1); }
.stat__num { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; color: var(--white); }
.stat__num small { font-family: var(--font-body); font-size: 0.34em; font-weight: 700; letter-spacing: 0; color: var(--orange); margin-left: 4px; }
.stat__label { font-size: 14px; color: var(--muted-on-dark); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: var(--sp-7) var(--sp-6); } }

/* ---------- Split rows ---------- */
.split { display: grid; gap: var(--sp-7); align-items: center; }
.split__media { border-radius: var(--r-lg); aspect-ratio: 4 / 3; box-shadow: var(--shadow-dark); }
.section--light .split__media, .section--white .split__media { box-shadow: var(--shadow-floating); }
.split__copy { display: grid; gap: var(--sp-4); align-content: center; }
.split__copy .btn-row, .split__copy .link-arrow { margin-top: var(--sp-3); }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: var(--sp-9); }
  .split--flip .split__media { order: 2; }
  .split--flip { grid-template-columns: 1fr 1.1fr; }
}
.sector + .sector { margin-top: var(--sp-9); }
.sector__label { display: inline-flex; align-items: center; gap: var(--sp-3); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.sector__label b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(254, 149, 0, 0.5); font-size: 13px; letter-spacing: 0; }
.ticks { display: grid; gap: var(--sp-2); }
.ticks li { position: relative; padding-left: 28px; color: var(--muted-on-dark); font-size: 16px; }
.section--light .ticks li, .section--white .ticks li { color: var(--muted-on-light); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 14px; height: 8px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

/* ---------- Drone sales cards (home) ---------- */
.drone-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg);
  background: var(--paper-1); border: 1px solid var(--line-on-light); box-shadow: var(--shadow-elevated);
  transition: transform 0.6s var(--ease-spring), box-shadow 0.4s ease;
}
.drone-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-floating); }
.drone-card__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: var(--sp-7) var(--sp-5) var(--sp-5); background: #fff; border-bottom: 1px solid var(--line-on-light); }
.drone-card__img img { max-height: 100%; width: auto; object-fit: contain; transition: transform 1s var(--ease-out); }
.drone-card:hover .drone-card__img img { transform: scale(1.05); }
.drone-card__tag { position: absolute; z-index: 2; top: var(--sp-4); left: var(--sp-4); padding: 4px 10px; border-radius: var(--r-pill); background: var(--black); color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.drone-card__body { display: grid; gap: var(--sp-3); padding: var(--sp-6); flex: 1; align-content: start; }
.drone-card__tagline { font-family: var(--font-display); font-style: italic; color: var(--flame); font-size: 18px; }
.spec-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.spec-pills li { padding: 4px 10px; border-radius: var(--r-pill); background: var(--paper-0); border: 1px solid var(--line-on-light); font-size: 13px; font-weight: 600; color: var(--muted-on-light); }
.drone-card__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; padding: 0 var(--sp-6) var(--sp-6); }

/* ---------- Quote / about ---------- */
.pull-quote { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -0.015em; padding-left: var(--sp-5); border-left: 3px solid var(--orange); }
.about-media { position: relative; }
.about-media .media { border-radius: var(--r-lg); aspect-ratio: 4 / 5; box-shadow: var(--shadow-dark); }
.about-badge {
  position: absolute; right: -8px; bottom: var(--sp-6); display: grid; gap: 2px; padding: var(--sp-4) var(--sp-5);
  background: var(--orange); color: var(--black); border-radius: var(--r-md); box-shadow: var(--shadow-floating);
}
.about-badge strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.1; }
.about-badge span { font-size: 13px; font-weight: 600; }
@media (min-width: 960px) { .about-badge { right: -32px; } }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(250, 112, 0, 0.38), transparent 60%),
    radial-gradient(50% 90% at 0% 100%, rgba(133, 60, 0, 0.5), transparent 70%),
    var(--night-1);
  border: 1px solid rgba(254, 149, 0, 0.18);
  box-shadow: var(--shadow-dark);
  display: grid; gap: var(--sp-6); align-items: center;
}
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.06; mix-blend-mode: overlay; }
.cta__sun { position: absolute; right: -80px; bottom: -220px; z-index: -1; width: 520px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(to bottom, var(--flame), var(--ember) 45%, transparent 75%); opacity: 0.35; filter: blur(2px); }
.cta__copy { display: grid; gap: var(--sp-4); max-width: 640px; }
@media (min-width: 960px) { .cta { grid-template-columns: 1fr auto; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
.step { position: relative; display: grid; gap: var(--sp-3); padding: var(--sp-6); border-radius: var(--r-lg); background: var(--paper-1); border: 1px solid var(--line-on-light); box-shadow: var(--shadow-elevated); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--flame); }
.step p { color: var(--muted-on-light); font-size: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Tiles (spreading materials, lifting uses) ---------- */
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-2);
  min-height: 220px; padding: var(--sp-6); overflow: hidden; border-radius: var(--r-lg);
  background: radial-gradient(90% 90% at 100% 0%, rgba(250, 112, 0, 0.16), transparent 60%), var(--night-1);
  border: 1px solid var(--line-on-dark); box-shadow: var(--shadow-dark);
  transition: transform 0.6s var(--ease-spring), border-color 0.3s ease;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(254, 149, 0, 0.4); }
.tile__num { position: absolute; top: var(--sp-5); right: var(--sp-5); font-family: var(--font-display); font-size: 15px; color: var(--faint-on-dark); }
.tile svg { width: 34px; height: 34px; color: var(--orange); margin-bottom: auto; }
.tile p { color: var(--muted-on-dark); font-size: 15px; line-height: 1.6; }

/* ---------- Spec list ---------- */
.spec-card { padding: var(--sp-6); border-radius: var(--r-lg); background: var(--night-1); border: 1px solid var(--line-on-dark); box-shadow: var(--shadow-dark); }
.spec-card h3 { margin-bottom: var(--sp-4); }
.spec-list { display: grid; }
.spec-list div { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--line-on-dark); font-size: 15px; }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted-on-dark); }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; }
.spec-card .small { margin-top: var(--sp-4); color: var(--faint-on-dark); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: var(--night-2); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-sm);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(254, 149, 0, 0.18); background: var(--night-3); }
.field .hint { font-size: 12px; color: var(--faint-on-dark); text-align: right; }
.form-note { font-size: 13px; color: var(--faint-on-dark); }
.form-status { font-size: 14px; font-weight: 600; color: var(--glow); min-height: 1.4em; }

.contact-panel { display: grid; gap: var(--sp-6); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: var(--night-1); border: 1px solid var(--line-on-dark); box-shadow: var(--shadow-dark); }
.contact-list { display: grid; gap: var(--sp-4); }
.contact-list a, .contact-list div { display: flex; gap: var(--sp-4); align-items: center; text-decoration: none; border-radius: var(--r-sm); }
.contact-list .ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(254, 149, 0, 0.12); border: 1px solid rgba(254, 149, 0, 0.35); color: var(--orange); transition: transform 0.4s var(--ease-spring), background-color 0.2s ease; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint-on-dark); }
.contact-list strong { font-size: 17px; font-weight: 600; }
.contact-list a:hover .ic { transform: scale(1.08); background: var(--orange); color: var(--black); }
.contact-list a:hover strong { color: var(--orange); }
.contact-list a:active .ic { transform: scale(0.96); }

.socials { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-on-dark); color: var(--muted-on-dark);
  transition: transform 0.4s var(--ease-spring), color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { transform: translateY(-3px); color: var(--black); background: var(--orange); border-color: var(--orange); }
.socials a:active { transform: translateY(0) scale(0.94); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--black); border-top: 1px solid var(--line-on-dark); padding: var(--sp-9) 0 var(--sp-6); }
.footer-grid { display: grid; gap: var(--sp-7); text-align: center; }
.footer-brand { display: grid; gap: var(--sp-4); justify-items: center; max-width: 420px; margin: 0 auto; }
.footer-brand img { width: 170px; }
.footer-brand p { font-size: 15px; color: var(--muted-on-dark); }
.footer-brand .socials { justify-content: center; }
.footer-col h2 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: var(--sp-4); }
.footer-col ul { display: grid; gap: var(--sp-2); justify-items: center; }
.footer-col a { font-size: 15px; color: var(--muted-on-dark); text-decoration: none; border-radius: 4px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-col a:active { color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--line-on-dark); font-size: 13px; color: var(--faint-on-dark); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); column-gap: var(--sp-7); }
  .footer-brand { grid-column: 1 / -1; margin-bottom: var(--sp-2); }
}

/* ---------- Products page ---------- */
.shop-bar {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(247, 244, 239, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-on-light); color: var(--text-on-light);
}
.shop-bar .container { display: grid; gap: var(--sp-3); padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
.tabs { display: flex; gap: var(--sp-1); overflow-x: auto; scrollbar-width: none; padding: 4px; background: var(--paper-2); border-radius: var(--r-pill); justify-self: start; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none; padding: 10px 20px; border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--muted-on-light);
  transition: color 0.2s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
@media (max-width: 480px) { .tab { padding: 9px 14px; font-size: 14px; } }
.tab:hover { color: var(--text-on-light); background: rgba(255, 255, 255, 0.6); }
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: var(--black); color: var(--white); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.6); }
.subtabs { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.subtabs[hidden] { display: none; }
.subtab {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--r-pill); cursor: pointer; text-decoration: none;
  background: transparent; border: 1px solid var(--line-on-light); font-size: 14px; font-weight: 600; color: var(--muted-on-light);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.subtab svg { width: 14px; height: 14px; }
.subtab:hover { border-color: var(--text-on-light); color: var(--text-on-light); }
.subtab:active { transform: scale(0.97); }
.subtab[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--black); }

.drone-banner {
  display: grid; gap: var(--sp-5); align-items: center; margin-bottom: var(--sp-8); padding: var(--sp-6);
  border-radius: var(--r-lg); background: var(--black); color: var(--white); overflow: hidden; position: relative; isolation: isolate;
  box-shadow: var(--shadow-floating);
}
.drone-banner[hidden] { display: none; }
.drone-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 85% 50%, rgba(250, 112, 0, 0.35), transparent 65%); }
.drone-banner img { width: 100%; max-width: 360px; justify-self: center; }
.drone-banner__copy { display: grid; gap: var(--sp-3); }
.drone-banner__copy .lead { font-size: 17px; color: var(--muted-on-dark); }
@media (min-width: 860px) { .drone-banner { grid-template-columns: 1.3fr 1fr; padding: var(--sp-7) var(--sp-8); } .drone-banner img { order: 2; } }

.product-sections { display: grid; gap: var(--sp-9); }
.product-section { scroll-margin-top: calc(var(--header-h) - 24px); } /* clear the sticky tab bar when jumped to from the footer */
.product-section[hidden] { display: none; }
.product-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-6); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line-on-light); }
.product-section__head .count { font-size: 14px; color: var(--muted-on-light); }
.product-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product-grid--wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.product-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg);
  background: var(--paper-1); border: 1px solid var(--line-on-light); box-shadow: var(--shadow-elevated);
  transition: transform 0.6s var(--ease-spring), box-shadow 0.4s ease, opacity 0.3s ease;
}
.product-card[hidden] { display: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-floating); }
.product-card__img { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: var(--sp-5); background: #fff; border-bottom: 1px solid var(--line-on-light); }
.product-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.9s var(--ease-out); }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__img--photo { padding: 0; }
.product-card__img--photo img { object-fit: cover; }
.product-card__img--empty { color: var(--muted-on-light); text-align: center; gap: var(--sp-2); align-content: center; font-size: 13px; font-weight: 600; }
.product-card__img--empty svg { width: 44px; height: 44px; color: var(--flame); margin: 0 auto; }
.product-card__badge { position: absolute; top: var(--sp-3); left: var(--sp-3); padding: 4px 10px; border-radius: var(--r-pill); background: var(--black); color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.product-card__body { display: grid; gap: var(--sp-3); padding: var(--sp-5); flex: 1; align-content: start; }
.product-card__name { font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.fits { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--muted-on-light); }
.fits b { padding: 2px 8px; border-radius: var(--r-pill); background: var(--paper-0); border: 1px solid var(--line-on-light); font-weight: 700; color: var(--text-on-light); }
.product-card__note { font-size: 13px; line-height: 1.5; color: var(--muted-on-light); }
.options { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; }
.options legend { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-light); margin-bottom: 6px; }
.option { display: flex; gap: var(--sp-2); align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line-on-light); border-radius: var(--r-sm); cursor: pointer; font-size: 14px; line-height: 1.4; transition: border-color 0.2s ease, background-color 0.2s ease; }
.option:hover { border-color: rgba(20, 16, 12, 0.35); }
.option:has(input:checked) { border-color: var(--flame); background: rgba(254, 149, 0, 0.07); }
.option input { accent-color: var(--flame); margin-top: 2px; }
.option:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.included summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--flame); list-style: none; display: inline-flex; align-items: center; gap: 6px; border-radius: 4px; }
.included summary::-webkit-details-marker { display: none; }
.included summary svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.included[open] summary svg { transform: rotate(180deg); }
.included summary:hover { color: var(--ember); }
.included ul { margin-top: var(--sp-2); display: grid; gap: 4px; font-size: 14px; color: var(--muted-on-light); }
.included li { padding-left: 14px; position: relative; }
.included li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.product-card__foot { display: grid; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--line-on-light); background: var(--paper-0); }
.product-card__foot .btn { width: 100%; }
.price-note { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted-on-light); }
.add-btn.is-added { --btn-bg: var(--black); --btn-fg: var(--orange); --btn-bg-hover: var(--night-3); }

.empty-state { padding: var(--sp-8) var(--sp-5); text-align: center; color: var(--muted-on-light); border: 1px dashed var(--line-on-light); border-radius: var(--r-lg); }

/* Quote drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 140; background: rgba(0, 0, 0, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(480px, 100%);
  display: flex; flex-direction: column; background: var(--night-1); border-left: 1px solid var(--line-on-dark);
  box-shadow: -32px 0 64px -24px rgba(0, 0, 0, 0.8);
  transform: translateX(104%); transition: transform 0.5s var(--ease-out); visibility: hidden;
}
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-open { overflow: hidden; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-5) var(--sp-5); border-bottom: 1px solid var(--line-on-dark); }
.drawer__close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-on-dark); background: transparent; cursor: pointer; transition: background-color 0.2s ease, transform 0.3s var(--ease-spring); }
.drawer__close:hover { background: rgba(255, 255, 255, 0.08); transform: rotate(90deg); }
.drawer__close:active { transform: rotate(90deg) scale(0.92); }
.drawer__close svg { width: 18px; height: 18px; }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--sp-5); display: grid; gap: var(--sp-6); align-content: start; }
.quote-items { display: grid; gap: var(--sp-3); }
.quote-item { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--sp-3); align-items: center; padding: var(--sp-3); border-radius: var(--r-md); background: var(--night-2); border: 1px solid var(--line-on-dark); }
.quote-item img, .quote-item .ph { width: 64px; height: 64px; border-radius: var(--r-sm); background: #fff; object-fit: contain; padding: 4px; }
.quote-item .ph { display: grid; place-items: center; color: var(--flame); }
.quote-item strong { display: block; font-size: 14px; line-height: 1.35; }
.quote-item span { display: block; font-size: 12px; color: var(--faint-on-dark); }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; border: 1px solid var(--line-on-dark); border-radius: var(--r-pill); }
.qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; border-radius: 50%; font-weight: 700; transition: background-color 0.2s ease; }
.qty button:hover { background: rgba(255, 255, 255, 0.1); }
.qty button:active { background: rgba(255, 255, 255, 0.18); }
.qty output { min-width: 22px; text-align: center; font-size: 14px; font-weight: 700; }
.remove-btn { align-self: start; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: var(--faint-on-dark); cursor: pointer; border-radius: 50%; transition: color 0.2s ease, background-color 0.2s ease; }
.remove-btn:hover { color: var(--orange); background: rgba(255, 255, 255, 0.06); }
.remove-btn:active { background: rgba(255, 255, 255, 0.12); }
.remove-btn svg { width: 16px; height: 16px; }
.quote-empty { padding: var(--sp-7) var(--sp-4); text-align: center; color: var(--muted-on-dark); border: 1px dashed var(--line-on-dark); border-radius: var(--r-md); }
.quote-empty .link-arrow { margin-top: var(--sp-3); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: var(--sp-5); z-index: 160; display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-5); background: var(--night-2); border: 1px solid rgba(254, 149, 0, 0.4); border-radius: var(--r-pill);
  box-shadow: var(--shadow-dark); font-size: 14px; font-weight: 600;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity 0.3s ease, transform 0.5s var(--ease-spring);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* ---------- Drone info (DJI-style) pages ---------- */
.info-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 var(--sp-8); text-align: center; background: var(--black); }
.info-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 45% at 50% 58%, rgba(250, 112, 0, 0.32), transparent 70%), radial-gradient(80% 50% at 50% 100%, rgba(133, 60, 0, 0.5), transparent 70%); }
.info-hero__inner { display: grid; justify-items: center; gap: var(--sp-4); }
.info-hero__tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.6vw, 32px); color: var(--orange); }
.info-hero__img { width: min(860px, 100%); aspect-ratio: 16 / 9; object-fit: cover; margin: var(--sp-2) auto 0; animation: float 7s ease-in-out infinite; }
/* Photo heroes sit on pure black (#000, same as the photo), so the glow stays low, behind the text, never behind the photo */
.info-hero--photo::before { background: radial-gradient(80% 45% at 50% 100%, rgba(133, 60, 0, 0.5), transparent 70%); }
.info-hero__img--photo { animation: none; -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.info-hero .lead { max-width: 760px; }
.info-hero .btn-row { justify-content: center; margin-top: var(--sp-3); }

.info-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(13, 10, 7, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-on-dark); }
.info-nav .container { display: flex; align-items: center; gap: var(--sp-4); height: 60px; max-width: 1400px; }
.info-nav__title { flex: none; font-family: var(--font-display); font-size: 20px; }
.info-nav ul { display: flex; gap: var(--sp-1); overflow-x: auto; scrollbar-width: none; flex: 1; }
.info-nav ul::-webkit-scrollbar { display: none; }
.info-nav a.jump { flex: none; display: block; padding: 6px 12px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--muted-on-dark); text-decoration: none; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; }
.info-nav a.jump:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.info-nav a.jump:active { background: rgba(255, 255, 255, 0.12); }
.info-nav a.jump.is-active { color: var(--black); background: var(--orange); }
.info-nav .btn { flex: none; }
@media (max-width: 720px) { .info-nav__title { display: none; } .info-nav .btn { display: none; } }

.highlights { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
.hl {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; overflow: hidden; isolation: isolate;
  padding: var(--sp-5); border-radius: var(--r-lg); text-decoration: none; background: var(--night-2); box-shadow: var(--shadow-dark);
  transition: transform 0.6s var(--ease-spring);
}
.hl .media { position: absolute; inset: 0; z-index: -1; }
.hl .media::after { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.35)); }
.hl strong { font-size: 16px; font-weight: 700; line-height: 1.35; max-width: 240px; }
.hl .hl__go { align-self: flex-end; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--black); transition: transform 0.4s var(--ease-spring), background-color 0.2s ease; }
.hl .hl__go svg { width: 14px; height: 14px; }
.hl:hover { transform: translateY(-4px); }
.hl:hover .media img { transform: scale(1.06); }
.hl:hover .hl__go { background: var(--orange); transform: translateY(2px); }
.hl:active { transform: translateY(-1px); }
@media (min-width: 900px) {
  .highlights { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .hl { min-height: 0; }
  .hl:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .hl:nth-child(2) { grid-column: 2; grid-row: 1; }
  .hl:nth-child(3) { grid-column: 3; grid-row: 1 / span 2; }
  .hl:nth-child(4) { grid-column: 1; grid-row: 3; }
  .hl:nth-child(5) { grid-column: 2; grid-row: 2 / span 2; }
  .hl:nth-child(6) { grid-column: 3; grid-row: 3; }
}

.info-section { padding: var(--section-y) 0; border-top: 1px solid var(--line-on-dark); }
.info-section:first-of-type { border-top: 0; }
.info-banner { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; box-shadow: var(--shadow-dark); }
.info-banner .media { position: absolute; inset: 0; }
.info-banner__stats { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); padding: var(--sp-5); }
.info-banner__stats div { display: grid; text-align: center; }
.info-banner__stats strong { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; font-weight: 400; letter-spacing: -0.02em; }
.info-banner__stats span { font-size: 13px; color: rgba(255, 255, 255, 0.78); }
@media (min-width: 760px) { .info-banner__stats { grid-template-columns: repeat(var(--cols, 4), 1fr); padding: var(--sp-7); } }
@media (max-width: 759px) { .info-banner { aspect-ratio: auto; } .info-banner .media { position: relative; aspect-ratio: 16 / 10; } .info-banner__stats { position: static; background: var(--night-1); } }

.seg { display: inline-flex; gap: 4px; padding: 4px; margin: 0 auto var(--sp-5); border-radius: var(--r-pill); background: var(--night-2); border: 1px solid var(--line-on-dark); }
.seg button { padding: 8px 18px; border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted-on-dark); transition: color 0.2s ease, background-color 0.25s ease; }
.seg button:hover { color: var(--white); }
.seg button:active { transform: scale(0.97); }
.seg button[aria-selected="true"] { background: var(--white); color: var(--black); }
.seg-wrap { display: grid; justify-items: center; }
.seg-panel { width: 100%; }
.seg-panel[hidden] { display: none; }
.seg-panel.is-entering { animation: panelIn 0.6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.fcards { display: grid; gap: var(--sp-4); margin-top: var(--sp-7); }
@media (min-width: 720px) { .fcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fcards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .fcards:has(> .fcard:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 370px)); justify-content: center; } }
.fcard { overflow: hidden; border-radius: var(--r-lg); background: var(--night-1); border: 1px solid var(--line-on-dark); box-shadow: var(--shadow-dark); transition: transform 0.6s var(--ease-spring), border-color 0.3s ease; }
.fcard:hover { transform: translateY(-4px); border-color: rgba(254, 149, 0, 0.35); }
.fcard:hover .media img { transform: scale(1.05); }
.fcard .media { aspect-ratio: 16 / 10; }
.fcard--tall .media { aspect-ratio: 4 / 5; } /* portrait photos: show the whole drone and its load */
.fcard .media::after { display: none; }
.fcard__body { display: grid; gap: var(--sp-2); padding: var(--sp-5); }
.fcard__body p { font-size: 15px; color: var(--muted-on-dark); line-height: 1.6; }
.fcard__opt { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }

.ministats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); margin: var(--sp-7) 0; }
.ministats div { display: grid; gap: 2px; padding-left: var(--sp-4); border-left: 2px solid var(--orange); }
.ministats strong { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
.ministats span { font-size: 14px; color: var(--muted-on-dark); }
@media (min-width: 900px) { .ministats { grid-template-columns: repeat(var(--cols, 4), 1fr); } }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line-on-dark); background: var(--night-1); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.table th, .table td { padding: var(--sp-4) var(--sp-5); text-align: left; border-bottom: 1px solid var(--line-on-dark); vertical-align: top; }
.table thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); background: var(--night-2); }
.table tbody th { font-weight: 600; color: var(--muted-on-dark); width: 36%; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table .tag-opt { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; color: var(--black); background: var(--glow); vertical-align: 1px; }

/* Comparison table: this page's drone column is lifted and outlined in orange */
.table--compare { min-width: 640px; }
.table--compare thead td { background: var(--night-2); border-bottom: 1px solid var(--line-on-dark); }
.table--compare tbody th { width: 22%; }
.table--compare thead th { font-size: 14px; letter-spacing: 0.08em; }
.table--compare thead th a { color: var(--muted-on-dark); text-decoration: underline; text-decoration-color: var(--line-on-dark); text-underline-offset: 4px; border-radius: 4px; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.table--compare thead th a:hover { color: var(--orange); text-decoration-color: currentColor; }
.table--compare thead th a:active { color: var(--flame); }
.table--compare thead th a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.table--compare .is-current { background: rgba(254, 149, 0, 0.07); color: var(--text-on-dark); font-weight: 600; box-shadow: inset 1px 0 0 rgba(254, 149, 0, 0.35), inset -1px 0 0 rgba(254, 149, 0, 0.35); }
.table--compare thead th.is-current { background: rgba(254, 149, 0, 0.16); color: var(--orange); }
@media (max-width: 600px) {
  .table--compare { min-width: 0; font-size: 13px; line-height: 1.45; }
  .table--compare th, .table--compare td { padding: var(--sp-3) var(--sp-2); }
  .table--compare tbody th { width: 27%; padding-left: var(--sp-3); }
  .table--compare thead th { font-size: 12px; letter-spacing: 0.04em; }
}

/* Questions (FAQ) on Product information pages */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: var(--sp-3); }
.faq__item { border: 1px solid var(--line-on-dark); border-radius: var(--r-md); background: var(--night-1); box-shadow: var(--shadow-dark); transition: border-color 0.2s ease; }
.faq__item[open] { border-color: rgba(254, 149, 0, 0.35); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5); border-radius: var(--r-md); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { color: var(--orange); }
.faq__item summary:active .faq__q { color: var(--flame); }
.faq__item summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.faq__item summary svg { width: 20px; height: 20px; flex: none; color: var(--orange); transition: transform 0.4s var(--ease-spring); }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__q { font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--text-on-dark); transition: color 0.2s ease; }
.faq__item p { padding: 0 var(--sp-5) var(--sp-5); color: var(--muted-on-dark); line-height: 1.7; max-width: 72ch; }

.footnotes { display: grid; gap: var(--sp-2); counter-reset: fn; font-size: 13px; line-height: 1.6; color: var(--faint-on-dark); max-width: 900px; }
.footnotes li { counter-increment: fn; display: grid; grid-template-columns: 24px 1fr; }
.footnotes li::before { content: counter(fn) '.'; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-load], .js .page-hero [data-load], .js .info-hero [data-load] { opacity: 0; transform: translateY(24px); animation: loadIn 1.1s var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 110ms); }
@keyframes loadIn { to { opacity: 1; transform: none; } }
.js .hero__bg img, .js .hero__video, .js .page-hero__bg img { animation: settle 2.6s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.no-motion [data-reveal], .no-motion [data-load] { opacity: 1 !important; transform: none !important; animation: none !important; }

@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; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-load] { opacity: 1; transform: none; }
}
