:root {
  --brand: #007ca2;
  --brand-deep: #0a5167;
  --brand-light: #23a9bd;
  --ink: #13252d;
  --muted: #58717b;
  --paper: #fbfdfd;
  --mist: #eef6f7;
  --line: #d7e5e8;
  --field: #4e8d74;
  --amber: #6f96a8;
  --coral: #108da6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(19, 37, 45, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% calc(18% + var(--scroll-progress, 0%)), rgba(35, 169, 189, 0.12), transparent 24rem),
    radial-gradient(circle at 88% calc(72% - var(--scroll-progress, 0%)), rgba(10, 81, 103, 0.1), transparent 26rem),
    var(--paper);
}

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

a {
  color: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  clip: auto;
  color: var(--white);
  background: var(--brand-deep);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 253, 253, 0.94);
  box-shadow: 0 10px 30px rgba(19, 37, 45, 0.08);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  width: clamp(150px, 18vw, 230px);
  flex: 0 0 auto;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--white);
}

.site-header.is-scrolled .site-menu,
.site-header.is-open .site-menu {
  color: var(--ink);
}

.site-menu a {
  text-decoration: none;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a[aria-current="page"] {
  color: var(--brand-light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-open .nav-toggle {
  border-color: var(--line);
  background: var(--white);
  color: var(--brand-deep);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(740px, 86vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  --beam-x: 42%;
  --grid-shift: 0px;
  --grid-shift-neg: 0px;
  --motion-y: 0px;
  --motion-y-soft: 0px;
  background: var(--ink);
}

.hero::before,
.service-hero::before,
.drone-section::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background: url("../images/hero-software-20260712.jpg") center / cover no-repeat;
  transform: translate3d(0, var(--motion-y, 0px), 0) scale(1.08);
  will-change: transform;
}

.service-hero::before {
  background-image: none;
}

.service-hero-media {
  position: absolute;
  inset: -10%;
  z-index: 0;
  width: 120%;
  height: 120%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: translate3d(0, var(--motion-y, 0px), 0) scale(1.08);
  will-change: transform;
}

.hero::after,
.service-hero::after,
.drone-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--beam-x, 46%) 42%, rgba(140, 228, 239, 0.2), transparent 22rem),
    linear-gradient(104deg, transparent 0%, transparent 42%, rgba(140, 228, 239, 0.2) 49%, transparent 56%, transparent 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 118px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 118px);
  background-position:
    center,
    var(--beam-x, 46%) 0,
    var(--grid-shift, 0px) 0,
    0 var(--grid-shift-neg, 0px);
  background-size:
    auto,
    230% 100%,
    118px 118px,
    118px 118px;
  mix-blend-mode: screen;
  opacity: 0.38;
  transform: translate3d(0, var(--motion-y-soft, 0px), 0);
  will-change: transform, background-position;
}

.hero-overlay,
.drone-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 28, 36, 0.94) 0%, rgba(6, 37, 48, 0.72) 44%, rgba(6, 37, 48, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 28, 36, 0.66), rgba(6, 28, 36, 0.08) 38%);
}

.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-overlay::before {
  background:
    linear-gradient(112deg, transparent 0%, transparent 44%, rgba(140, 228, 239, 0.2) 49%, transparent 56%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(35, 169, 189, 0.14) 50%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.62;
  transform: translate3d(-34%, 0, 0);
}

.hero-overlay::after {
  background:
    linear-gradient(180deg, transparent 0%, rgba(140, 228, 239, 0.08) 50%, transparent 100%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, 0.07) 23px 24px, transparent 25px 76px);
  opacity: 0.46;
  transform: translate3d(0, 0, 0);
}

@keyframes seam-image-drift {
  0% {
    transform: translate3d(-16px, calc(var(--motion-y, 0px) - 6px), 0) scale(1.1);
  }

  100% {
    transform: translate3d(18px, calc(var(--motion-y, 0px) + 8px), 0) scale(1.14);
  }
}

@keyframes seam-software-architecture-drift {
  0% {
    transform: translate3d(-16px, calc(var(--motion-y, 0px) - 6px), 0) scale(1.1);
  }

  100% {
    transform: translate3d(18px, calc(var(--motion-y, 0px) + 8px), 0) scale(1.14);
  }
}

@keyframes seam-ai-cinematic-focus {
  0% {
    transform: translate3d(-1.8%, calc(var(--motion-y, 0px) - 4px), 0) scale(1.08);
    filter: saturate(0.94) brightness(0.92);
  }

  50% {
    filter: saturate(1.08) brightness(1.02);
  }

  100% {
    transform: translate3d(2.4%, calc(var(--motion-y, 0px) + 5px), 0) scale(1.12);
    filter: saturate(1) brightness(0.96);
  }
}

@keyframes seam-drone-survey-flight {
  0% {
    transform: translate3d(-0.8%, calc(var(--motion-y, 0px) - 18px), 0) scale(1.09) rotate(-0.12deg);
  }

  100% {
    transform: translate3d(1.2%, calc(var(--motion-y, 0px) + 20px), 0) scale(1.14) rotate(0.12deg);
  }
}

@keyframes seam-grid-drift {
  0% {
    background-position:
      center,
      calc(var(--beam-x, 46%) - 18%) 0,
      var(--grid-shift, 0px) 0,
      0 var(--grid-shift-neg, 0px);
  }

  100% {
    background-position:
      center,
      calc(var(--beam-x, 46%) + 18%) 0,
      calc(var(--grid-shift, 0px) + 118px) 0,
      0 calc(var(--grid-shift-neg, 0px) - 118px);
  }
}

@keyframes seam-ai-network-pulse {
  0%,
  100% {
    background-position: center, 18% 0, 0 0, 0 0;
    opacity: 0.26;
    transform: translate3d(0, calc(var(--motion-y-soft, 0px) - 4px), 0);
  }

  50% {
    background-position: center, 82% 0, 59px 0, 0 -59px;
    opacity: 0.46;
    transform: translate3d(0, calc(var(--motion-y-soft, 0px) + 5px), 0);
  }
}

@keyframes seam-drone-map-scan {
  0% {
    background-position: center, 46% -40%, 0 0, 0 0;
    opacity: 0.4;
  }

  100% {
    background-position: center, 46% 140%, 96px 0, 0 -96px;
    opacity: 0.56;
  }
}

@keyframes seam-scan-sweep {
  0% {
    transform: translate3d(-48%, 0, 0);
    opacity: 0;
  }

  16%,
  72% {
    opacity: 0.62;
  }

  100% {
    transform: translate3d(42%, 0, 0);
    opacity: 0;
  }
}

@keyframes seam-ai-decision-sweep {
  0%,
  100% {
    transform: translate3d(-18%, 0, 0) scaleX(0.9);
    opacity: 0.16;
  }

  50% {
    transform: translate3d(22%, 0, 0) scaleX(1.08);
    opacity: 0.58;
  }
}

@keyframes seam-drone-vertical-scan {
  0% {
    transform: translate3d(0, -62%, 0);
    opacity: 0;
  }

  22%,
  72% {
    opacity: 0.54;
  }

  100% {
    transform: translate3d(0, 58%, 0);
    opacity: 0;
  }
}

@keyframes seam-line-drift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 0 80px, 76px 0;
  }
}

@keyframes seam-section-grid {
  0% {
    background-position:
      center,
      var(--grid-shift, 0px) 0,
      0 var(--grid-shift-neg, 0px);
  }

  100% {
    background-position:
      center,
      calc(var(--grid-shift, 0px) + 104px) 0,
      0 calc(var(--grid-shift-neg, 0px) - 104px);
  }
}

@keyframes seam-section-sweep {
  0% {
    transform: translate3d(-58%, 0, 0);
    opacity: 0;
  }

  18%,
  68% {
    opacity: 0.34;
  }

  100% {
    transform: translate3d(52%, 0, 0);
    opacity: 0;
  }
}

@keyframes seam-card-glow {
  0% {
    transform: translate3d(-140%, -20%, 0) rotate(12deg);
  }

  100% {
    transform: translate3d(140%, 20%, 0) rotate(12deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before,
  .drone-section::before {
    animation: seam-image-drift 26s ease-in-out infinite alternate;
  }

  .software-page .service-hero-media {
    animation: seam-software-architecture-drift 26s ease-in-out infinite alternate;
  }

  .ai-page .service-hero-media {
    animation: seam-ai-cinematic-focus 18s cubic-bezier(0.42, 0, 0.2, 1) infinite alternate;
  }

  .drone-page .service-hero-media {
    animation: seam-drone-survey-flight 20s ease-in-out infinite alternate;
  }

  .hero::after,
  .drone-section::after {
    animation: seam-grid-drift 18s linear infinite;
  }

  .software-page .service-hero::after {
    animation: seam-grid-drift 18s linear infinite;
  }

  .ai-page .service-hero::after {
    animation: seam-ai-network-pulse 11s ease-in-out infinite;
  }

  .drone-page .service-hero::after {
    animation: seam-drone-map-scan 13s linear infinite;
  }

  .software-page .hero-overlay::before,
  .hero .hero-overlay::before {
    animation: seam-scan-sweep 7.5s cubic-bezier(0.34, 0, 0.2, 1) infinite;
  }

  .ai-page .hero-overlay::before {
    animation: seam-ai-decision-sweep 9s ease-in-out infinite;
  }

  .drone-page .hero-overlay::before {
    animation: seam-drone-vertical-scan 7s linear infinite;
  }

  .hero-overlay::after {
    animation: seam-line-drift 12s linear infinite;
  }

  .section::before,
  .proof-band::before,
  .trust-strip::before,
  .intro-band::before {
    animation: seam-section-grid 22s linear infinite;
  }

  .section::after,
  .proof-band::after,
  .trust-strip::after,
  .intro-band::after {
    animation: seam-section-sweep 10s cubic-bezier(0.34, 0, 0.2, 1) infinite;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 5rem;
  color: var(--white);
}

.hero-logo {
  width: clamp(210px, 28vw, 360px);
  margin-bottom: 2rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--brand-light);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.on-dark .eyebrow,
.hero .eyebrow {
  color: #8ce4ef;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 11vw, 8.8rem);
  font-weight: 900;
}

.corporate-hero h1,
.service-hero h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 6vw, 6.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 850;
}

h3 {
  font-size: clamp(1.15rem, 1.4vw, 1.42rem);
  font-weight: 850;
}

.hero-copy {
  max-width: 680px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(19, 37, 45, 0.16);
}

.button-primary {
  color: var(--white);
  background: var(--brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-deep);
}

.button-quiet {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.contact-actions .button-quiet,
.game-section .button-quiet {
  color: var(--brand-deep);
  border-color: var(--line);
  background: var(--white);
}

.contact-email-button {
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.1;
}

.contact-email-button small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.72;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--brand-light), #d9fbff, var(--brand));
  box-shadow: 0 0 22px rgba(35, 169, 189, 0.48);
  transform: scaleX(var(--scroll-ratio, 0));
  transform-origin: left center;
}

.section,
.intro-band {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --beam-x: 42%;
  --grid-shift: 0px;
  --grid-shift-neg: 0px;
  --motion-y-soft: 0px;
}

.section::before,
.proof-band::before,
.trust-strip::before,
.intro-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--beam-x, 44%) 14%, rgba(35, 169, 189, 0.13), transparent 24rem),
    repeating-linear-gradient(90deg, rgba(0, 124, 162, 0.055) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(0deg, rgba(0, 124, 162, 0.045) 0 1px, transparent 1px 104px);
  background-position:
    center,
    var(--grid-shift, 0px) 0,
    0 var(--grid-shift-neg, 0px);
  background-size:
    auto,
    104px 104px,
    104px 104px;
  opacity: 0.62;
  transform: translate3d(0, var(--motion-y-soft, 0px), 0);
  will-change: transform, background-position;
}

.section::after,
.proof-band::after,
.trust-strip::after,
.intro-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 0%, transparent 44%, rgba(140, 228, 239, 0.18) 50%, transparent 57%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.34;
  transform: translate3d(-44%, 0, 0);
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 700ms ease,
    transform 760ms cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: opacity, transform;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section-heading.wide {
  max-width: 980px;
}

.service-hero {
  position: relative;
  min-height: min(680px, 82vh);
  display: grid;
  align-items: end;
  padding: 8.2rem 0 4.8rem;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  --beam-x: 42%;
  --grid-shift: 0px;
  --grid-shift-neg: 0px;
  --motion-y: 0px;
  --motion-y-soft: 0px;
  background: var(--ink);
}

.software-page .service-hero {
  background: var(--ink) url("../images/hero-software-20260712.jpg") center / cover no-repeat;
}

.ai-page .service-hero {
  background: var(--ink) url("../images/hero-ai-consulting-20260712.jpg") center / cover no-repeat;
}

.software-page .service-hero h1 {
  font-size: clamp(3.1rem, 6.4vw, 6.7rem);
}

.drone-page .service-hero {
  background: var(--ink) url("../images/drone-branch-hero-20260712.jpg") center / cover no-repeat;
}

.drone-page .service-hero::before {
  background-image: url("../images/drone-branch-hero-20260712.jpg");
}

.software-page .service-hero::before {
  background-image: url("../images/hero-software-20260712.jpg");
}

.ai-page .service-hero::before {
  background-image: url("../images/hero-ai-consulting-20260712.jpg");
}

.service-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.drone-page .service-hero::after {
  opacity: 0.48;
  background:
    radial-gradient(circle at var(--beam-x, 46%) 38%, rgba(140, 228, 239, 0.26), transparent 20rem),
    linear-gradient(104deg, transparent 0%, transparent 40%, rgba(140, 228, 239, 0.24) 49%, transparent 58%, transparent 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 96px);
  background-position:
    center,
    var(--beam-x, 46%) 0,
    var(--grid-shift, 0px) 0,
    0 var(--grid-shift-neg, 0px);
  background-size:
    auto,
    230% 100%,
    96px 96px,
    96px 96px;
}

.hero-stat-card {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-stat-card span {
  display: block;
  margin-bottom: 0.8rem;
  color: #8ce4ef;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stat-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.12;
}

.hero-stat-card p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.trust-strip {
  padding: 1.45rem 0;
  color: var(--white);
  background: var(--ink);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.trust-grid div {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.trust-grid strong,
.proof-grid strong {
  display: block;
  font-size: 1.05rem;
}

.trust-grid span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.intro-band {
  padding: 1.35rem 0;
  background: var(--ink);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 4vw, 4rem);
}

.intro-grid p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(255, 255, 255, 0.86);
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 900px;
  margin-bottom: 2.1rem;
}

.section-heading p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.process-section {
  background: var(--paper);
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-rail article {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 1.35rem;
  background: var(--white);
}

.process-rail span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--mist);
  font-weight: 900;
}

.process-rail p,
.service-card p,
.drone-card p,
.contact-section p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.services-section {
  background: linear-gradient(180deg, var(--mist) 0%, #f8fbfb 100%);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.branch-tile {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 37, 45, 0.06);
}

.branch-tile h3 {
  margin-top: 0.45rem;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
}

.branch-tile p:not(.eyebrow) {
  color: var(--muted);
}

.branch-tile-featured {
  grid-column: auto;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 124, 162, 0.96), rgba(10, 81, 103, 0.98)),
    var(--brand-deep);
}

.branch-tile-featured p:not(.eyebrow),
.branch-tile-featured .eyebrow,
.branch-tile-featured .text-link {
  color: rgba(255, 255, 255, 0.88);
}

.branch-media-tile {
  grid-column: auto;
  padding: 0;
  overflow: hidden;
}

.branch-media-tile img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.branch-media-tile div {
  padding: 1.35rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--brand-deep);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brand);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(19, 37, 45, 0.04);
}

.card-marker {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand);
  font-size: 0.85rem;
  font-weight: 900;
}

.service-card:nth-child(2) .card-marker {
  background: var(--field);
}

.service-card:nth-child(3) .card-marker {
  background: var(--amber);
}

.branch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: stretch;
}

.branch-copy {
  align-self: center;
}

.branch-copy h3 {
  font-size: clamp(1.7rem, 3vw, 3.05rem);
}

.branch-copy p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.branch-points {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.branch-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
  font-weight: 650;
}

.branch-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand-light);
}

.branch-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.branch-card-grid h4,
.service-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.15;
}

.branch-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 0.75rem;
}

.branch-media-grid img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(19, 37, 45, 0.12);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 700ms ease;
}

.branch-media-grid img:first-child {
  grid-row: 1 / 3;
}

.ai-section {
  background: var(--paper);
}

.split-section {
  background: var(--paper);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.insight-panel {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border-top: 5px solid var(--brand);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.insight-panel h3 {
  margin-bottom: 1rem;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.ai-panel {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border-top: 5px solid var(--brand);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.outcome-grid article {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(19, 37, 45, 0.04);
}

.outcome-grid p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.sample-section {
  background:
    radial-gradient(circle at top right, rgba(35, 169, 189, 0.14), transparent 36rem),
    linear-gradient(180deg, var(--white) 0%, var(--mist) 100%);
}

.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.sample-layout .button {
  margin-top: 1.4rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.feature-list div {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.assistant-demo {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(0, 124, 162, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 247, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
}

.assistant-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  font-weight: 900;
}

.demo-dot {
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: #8ce4ef;
  box-shadow: 0 0 0 5px rgba(140, 228, 239, 0.16);
}

.assistant-status {
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.scenario-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.85rem 0;
}

.scenario-button {
  min-height: 44px;
  padding: 0.72rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brand-deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.scenario-button:hover,
.scenario-button:focus-visible,
.scenario-button.is-active {
  border-color: var(--brand);
  color: var(--white);
  background: var(--brand);
}

.assistant-screen {
  display: grid;
  gap: 0.85rem;
  min-height: 350px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 253, 253, 0.98)),
    var(--paper);
}

.message {
  align-self: start;
  max-width: 88%;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(19, 37, 45, 0.07);
}

.message span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.message p {
  margin: 0;
  white-space: pre-line;
}

.message-client {
  background: var(--white);
}

.message-assistant {
  justify-self: end;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.message-assistant span {
  color: rgba(255, 255, 255, 0.82);
}

.assistant-notes {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0.9rem 0 0;
  list-style: none;
}

.assistant-notes li {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-size: 0.92rem;
}

.app-mockup {
  display: flex;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.25rem);
}

.phone-shell {
  width: min(100%, 390px);
  height: min(720px, 82vh);
  min-height: 640px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(10, 81, 103, 0.22);
  border-radius: 28px;
  background: #fbf8ff;
  box-shadow: 0 30px 70px rgba(19, 37, 45, 0.2);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1.35rem 0.65rem;
  color: rgba(19, 37, 45, 0.72);
  background: rgba(251, 248, 255, 0.96);
  font-size: 0.82rem;
  font-weight: 850;
}

.app-screen {
  display: none;
  min-height: 0;
  overflow-y: auto;
  padding: 1.15rem;
  scrollbar-width: thin;
}

.app-screen.is-active {
  display: block;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.app-title {
  margin: 0;
  color: #1f1d26;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 760;
  line-height: 1.1;
}

.app-subtitle,
.app-label {
  color: rgba(31, 29, 38, 0.68);
  font-size: 0.86rem;
  font-weight: 760;
}

.app-pill {
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  color: #5a35c8;
  background: #ede4ff;
  font-size: 0.72rem;
  font-weight: 900;
}

.app-card,
.chat-bubble {
  margin-bottom: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(105, 99, 119, 0.12);
  border-radius: 18px;
  background: #e7e0ea;
  color: #24212b;
}

.app-card h3,
.chat-bubble strong {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.app-card p,
.chat-bubble p {
  margin: 0.45rem 0 0;
  color: rgba(36, 33, 43, 0.84);
}

.app-card-feature {
  background: linear-gradient(180deg, #ece4f4 0%, #e3dce7 100%);
}

.spark-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.55rem;
  border-radius: 12px;
  color: #6e45ff;
  background: rgba(110, 69, 255, 0.12);
}

.spark-mark::before {
  content: "AI";
  font-size: 0.78rem;
  font-weight: 950;
}

.app-action,
.draft-actions button,
.template-chips button,
.template-list button,
.slot-list button,
.back-button,
.text-mini-button {
  font: inherit;
  cursor: pointer;
}

.app-action {
  width: 100%;
  min-height: 44px;
  margin-top: 0.95rem;
  border: 2px solid rgba(105, 99, 119, 0.64);
  border-radius: 999px;
  color: #315cff;
  background: transparent;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 1rem;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: #1f1d26;
  font-size: 1.75rem;
  line-height: 1;
}

.metric-grid span {
  margin-top: 0.25rem;
  color: rgba(31, 29, 38, 0.78);
  font-size: 0.9rem;
  font-weight: 850;
}

.app-note,
.review-line {
  color: #315cff !important;
  font-weight: 900;
}

.back-button,
.text-mini-button {
  flex: 0 0 auto;
  border: 0;
  color: #315cff;
  background: transparent;
  font-weight: 900;
}

.back-button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #24212b;
  font-size: 1.4rem;
}

.back-button:hover,
.back-button:focus-visible,
.text-mini-button:hover,
.text-mini-button:focus-visible {
  background: rgba(49, 92, 255, 0.1);
}

.draft-copy {
  font-size: 1.25rem;
  line-height: 1.35;
}

.confidence-line {
  color: rgba(36, 33, 43, 0.72) !important;
  font-size: 0.88rem;
  font-weight: 900;
}

.draft-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.draft-actions button {
  min-height: 42px;
  border: 2px solid rgba(105, 99, 119, 0.64);
  border-radius: 999px;
  color: #315cff;
  background: transparent;
  font-weight: 900;
}

.draft-actions button:nth-child(3),
.draft-actions .link-action {
  grid-column: 1 / -1;
}

.draft-actions .primary-draft-action {
  color: var(--white);
  border-color: #315cff;
  background: #315cff;
}

.draft-actions button.is-active {
  border-color: #8c6dff;
  background: #eadfff;
}

.draft-actions .primary-draft-action.is-active {
  color: var(--white);
  border-color: #315cff;
  background: #315cff;
}

.draft-actions .link-action {
  border-color: transparent;
}

.chat-bubble {
  width: 88%;
  background: #e7e0ea;
}

.chat-bubble span {
  color: rgba(36, 33, 43, 0.64);
  font-size: 0.82rem;
  font-weight: 850;
}

.search-field {
  margin: 0.7rem 0 0.85rem;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(105, 99, 119, 0.72);
  border-radius: var(--radius);
  color: rgba(36, 33, 43, 0.62);
  background: #fbf8ff;
  font-size: 1rem;
}

.template-chips {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.template-chips button {
  flex: 0 0 auto;
  padding: 0.48rem 0.75rem;
  border: 2px solid rgba(105, 99, 119, 0.7);
  border-radius: 13px;
  color: rgba(36, 33, 43, 0.78);
  background: #fbf8ff;
  font-weight: 900;
}

.template-chips button.is-active,
.template-list button.is-active,
.slot-list button.is-active {
  border-color: #8c6dff;
  background: #eadfff;
}

.template-list,
.slot-list {
  display: grid;
  gap: 0.55rem;
}

.template-list button,
.slot-list button {
  width: 100%;
  padding: 0.85rem;
  text-align: left;
  border: 1px solid rgba(105, 99, 119, 0.12);
  border-radius: 16px;
  color: #24212b;
  background: #e7e0ea;
}

.template-list strong,
.template-list span,
.slot-list strong,
.slot-list span {
  display: block;
}

.template-list span,
.slot-list span {
  margin-top: 0.22rem;
  color: rgba(36, 33, 43, 0.72);
  font-size: 0.88rem;
}

.app-feedback {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(105, 99, 119, 0.14);
  color: rgba(36, 33, 43, 0.72);
  background: rgba(251, 248, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 760;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  padding: 0.65rem 0.85rem 0.85rem;
  border-top: 1px solid rgba(105, 99, 119, 0.12);
  background: #f2ecf8;
}

.phone-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: rgba(36, 33, 43, 0.7);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.phone-tabs button.is-active {
  color: #24212b;
  background: #e3d1fb;
}

.proof-band {
  padding: clamp(3.2rem, 6vw, 5rem) 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(19, 37, 45, 0.98), rgba(10, 81, 103, 0.96)),
    var(--ink);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.proof-grid div {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.045);
}

.proof-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: var(--ink);
  background: #8ce4ef;
  font-weight: 900;
}

.proof-grid p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.1rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(255, 255, 255, 0.86);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--brand-light);
}

.drone-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  color: var(--white);
  --beam-x: 42%;
  --grid-shift: 0px;
  --grid-shift-neg: 0px;
  --motion-y: 0px;
  --motion-y-soft: 0px;
  background: var(--ink);
}

.drone-section::before {
  background-image: url("../images/drone-branch-hero-20260712.jpg");
}

.drone-backdrop {
  background:
    linear-gradient(90deg, rgba(6, 28, 36, 0.94), rgba(6, 28, 36, 0.74) 44%, rgba(6, 28, 36, 0.44)),
    linear-gradient(180deg, rgba(9, 26, 30, 0.22), rgba(9, 26, 30, 0.88));
}

.on-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.drone-content {
  position: relative;
  z-index: 3;
}

.drone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}

.drone-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.drone-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.drone-card div {
  padding: 1.25rem;
}

.game-section {
  background: var(--paper);
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.48fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
}

.game-frame-shell {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.game-frame-shell iframe {
  display: block;
  width: 100%;
  height: 580px;
  border: 0;
}

.contact-section {
  background: var(--mist);
}

.contact-layout {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border: 1px solid rgba(0, 124, 162, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.contact-layout h2 {
  max-width: 760px;
}

.contact-layout p {
  max-width: 680px;
  font-size: 1.08rem;
}

.contact-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.contact-actions .button {
  min-width: 170px;
}

.branch-tile::after,
.service-card::after,
.trust-grid div::after,
.process-rail article::after,
.outcome-grid article::after,
.feature-list div::after,
.insight-panel::after,
.ai-panel::after,
.assistant-demo::after,
.proof-grid div::after,
.drone-card::after,
.game-frame-shell::after,
.contact-layout::after {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 34%, rgba(140, 228, 239, 0.2) 48%, transparent 62%);
  opacity: 0;
  transform: translate3d(-140%, -20%, 0) rotate(12deg);
}

.branch-tile,
.service-card,
.trust-grid div,
.process-rail article,
.outcome-grid article,
.feature-list div,
.insight-panel,
.ai-panel,
.assistant-demo,
.proof-grid div,
.drone-card,
.game-frame-shell,
.contact-layout {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.branch-tile:hover,
.service-card:hover,
.trust-grid div:hover,
.process-rail article:hover,
.outcome-grid article:hover,
.feature-list div:hover,
.insight-panel:hover,
.ai-panel:hover,
.assistant-demo:hover,
.proof-grid div:hover,
.drone-card:hover,
.game-frame-shell:hover,
.contact-layout:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 169, 189, 0.35);
  box-shadow: 0 18px 42px rgba(19, 37, 45, 0.14);
}

.branch-tile:hover::after,
.service-card:hover::after,
.trust-grid div:hover::after,
.process-rail article:hover::after,
.outcome-grid article:hover::after,
.feature-list div:hover::after,
.insight-panel:hover::after,
.ai-panel:hover::after,
.assistant-demo:hover::after,
.proof-grid div:hover::after,
.drone-card:hover::after,
.game-frame-shell:hover::after,
.contact-layout:hover::after {
  opacity: 1;
  animation: seam-card-glow 1.2s ease forwards;
}

.branch-media-grid img:hover,
.drone-card:hover img {
  transform: scale(1.035);
}

.site-footer {
  padding: 2.2rem 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius);
  background: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #8ce4ef;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .branch-grid,
  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branch-tile-featured,
  .branch-media-tile {
    grid-column: span 1;
  }

  .trust-grid,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .drone-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-layout,
  .branch-layout,
  .service-hero-grid,
  .split-layout,
  .sample-layout,
  .game-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 0.85rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 6.5rem;
  }

  .intro-grid,
  .branch-grid,
  .drone-grid,
  .outcome-grid,
  .process-rail,
  .trust-grid,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    min-height: 680px;
    padding-top: 6.5rem;
  }

  .branch-card-grid,
  .branch-media-grid {
    grid-template-columns: 1fr;
  }

  .branch-media-grid {
    grid-template-rows: none;
  }

  .branch-media-grid img:first-child {
    grid-row: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .game-frame-shell {
    min-height: 420px;
  }

  .game-frame-shell iframe {
    height: 460px;
  }

  .message {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .section-inner,
  .hero-content {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.05rem);
  }

  .corporate-hero h1,
  .service-hero h1 {
    font-size: clamp(2.45rem, 12.5vw, 3rem);
    line-height: 1.08;
  }

  .ai-page .service-hero h1 {
    font-size: clamp(2.35rem, 10.8vw, 2.65rem);
  }

  .hero-logo {
    width: min(260px, 82vw);
  }

  .hero .eyebrow {
    max-width: 25rem;
    font-size: 0.68rem;
    letter-spacing: 0.055em;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .assistant-demo {
    padding: 0.75rem;
  }

  .assistant-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .scenario-controls {
    grid-template-columns: 1fr;
  }

  .assistant-screen {
    min-height: 390px;
    padding: 0.75rem;
  }

  .app-mockup {
    padding: 0.5rem;
  }

  .phone-shell {
    min-height: 610px;
    height: 720px;
    border-radius: 22px;
  }

  .app-screen {
    padding: 0.9rem;
  }

  .app-card,
  .chat-bubble {
    border-radius: 14px;
    padding: 0.85rem;
  }

  .draft-actions {
    grid-template-columns: 1fr;
  }

  .draft-actions button:nth-child(3),
  .draft-actions .link-action {
    grid-column: auto;
  }

  .phone-tabs {
    padding-inline: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .scroll-progress {
    display: none;
  }

  .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero::before,
  .service-hero::before,
  .drone-section::before,
  .service-hero-media,
  .hero::after,
  .service-hero::after,
  .drone-section::after {
    transform: none !important;
  }
}

.footer-link-button {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: #8ce4ef;
}

.analytics-consent {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem;
  border: 1px solid rgba(140, 228, 239, 0.28);
  border-radius: 18px;
  color: var(--white);
  background: rgba(10, 29, 47, 0.98);
  box-shadow: 0 24px 70px rgba(2, 15, 26, 0.38);
  gap: 1rem 1.5rem;
}

.analytics-consent h2 {
  margin: 0 0 0.35rem;
  color: var(--white);
  font-size: 1.12rem;
}

.analytics-consent p {
  max-width: 52rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.55;
}

.analytics-consent a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #8ce4ef;
  font-size: 0.9rem;
  font-weight: 750;
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.analytics-consent-actions button {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.analytics-consent-primary {
  border-color: #8ce4ef !important;
  color: #06253a;
  background: #8ce4ef;
}

.analytics-consent-secondary {
  color: var(--white);
  background: transparent;
}

.analytics-consent-actions button:hover,
.analytics-consent-actions button:focus-visible {
  transform: translateY(-1px);
}

.privacy-main {
  padding: 8.75rem 0 5rem;
  background:
    radial-gradient(circle at 85% 5%, rgba(20, 170, 190, 0.14), transparent 35%),
    linear-gradient(180deg, #eef8fa 0, #ffffff 22rem);
}

.privacy-layout {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
}

.privacy-heading {
  margin-bottom: 2.2rem;
}

.privacy-heading h1 {
  max-width: 13ch;
  margin: 0.35rem 0 0.8rem;
  color: var(--ink);
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 0.98;
}

.privacy-heading > p:last-child {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.privacy-card {
  margin: 0 0 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(0, 124, 162, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(9, 50, 72, 0.08);
}

.privacy-card h2 {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.privacy-card h3 {
  margin: 1.35rem 0 0.4rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.privacy-card p,
.privacy-card li {
  color: var(--muted);
  line-height: 1.72;
}

.privacy-card ul {
  padding-left: 1.2rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.94rem;
}

.cookie-table th,
.cookie-table td {
  padding: 0.8rem;
  border-bottom: 1px solid rgba(0, 124, 162, 0.14);
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  color: var(--ink);
}

.privacy-settings-button {
  margin-top: 0.8rem;
}

@media (max-width: 760px) {
  .analytics-consent {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .analytics-consent-actions {
    justify-content: flex-start;
  }

  .privacy-main {
    padding-top: 7.4rem;
  }

  .cookie-table,
  .cookie-table tbody,
  .cookie-table tr,
  .cookie-table th,
  .cookie-table td {
    display: block;
  }

  .cookie-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .cookie-table tr {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 124, 162, 0.14);
  }

  .cookie-table td {
    padding: 0.28rem 0;
    border: 0;
  }

  .cookie-table td::before {
    display: block;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .cookie-table td:nth-child(1)::before { content: "Cookie"; }
  .cookie-table td:nth-child(2)::before { content: "Purpose"; }
  .cookie-table td:nth-child(3)::before { content: "Duration"; }
}

@media (max-width: 520px) {
  .analytics-consent {
    right: 0.625rem;
    bottom: 0.625rem;
    left: 0.625rem;
    width: calc(100% - 1.25rem);
    padding: 1rem;
  }

  .analytics-consent-actions button {
    flex: 1 1 9rem;
  }
}
