/* ============================================================
   azure IM — boutique investment management
   Premium rebuild · 2026
   Palette: deep navy base · azure accent · warm off-white
   Type: Fraunces (display serif) · Hanken Grotesk (sans body)
   ============================================================ */

:root {
  --navy-900: #0c1830;
  --navy-800: #0f1d38;
  --navy-700: #16243f;
  --navy-600: #1d2e4d;
  --azure:    #4aa3d8;
  --azure-lt: #8fd0ee;
  --azure-dp: #2a7fb8;
  --cream:    #f4f1ea;
  --cream-2:  #efe9dd;
  --ink:      #14213b;
  --ink-soft: #51607b;
  --line:     rgba(20, 33, 59, 0.14);
  --line-d:   rgba(255, 255, 255, 0.12);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, sans-serif;

  --maxw: 1240px;
  --pad: clamp(1.4rem, 5vw, 6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* Lenis manages scrolling; fall back to native smooth scroll without JS */
html:not(.js) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; }
img { display: block; max-width: 100%; }
::selection { background: var(--azure); color: #fff; }

/* grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* scroll progress hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  pointer-events: none; background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--azure-dp), var(--azure-lt));
  box-shadow: 0 0 12px rgba(143, 208, 238, 0.6);
}

/* duotone-treated photography */
[data-duotone] {
  filter: url(#azure-duotone) contrast(1.02);
}
@supports not (filter: url(#x)) {
  [data-duotone] { filter: saturate(0.7) brightness(0.9); }
}

/* ───────────────── NAV ───────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1rem, 2vw, 1.6rem) var(--pad);
  transition: padding 0.4s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.nav.scrolled {
  padding-top: 0.85rem; padding-bottom: 0.85rem;
  background: rgba(12, 24, 48, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line-d);
}

.brand {
  font-family: var(--sans);
  font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em;
  color: #fff; display: inline-flex; align-items: baseline; gap: 0.28em;
  transition: opacity 0.3s;
}
.brand:hover { opacity: 0.82; }
.brand-mark--im {
  color: var(--azure); font-weight: 600;
  letter-spacing: 0.04em; font-size: 0.95em;
}

.nav-links { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); }
.nav-links a {
  color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.01em; position: relative; transition: color 0.3s;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--azure-lt); transition: width 0.35s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.72rem 1.25rem; border-radius: 100px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--azure); border-color: var(--azure); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px; position: relative; z-index: 110; }
.nav-toggle span {
  position: absolute; left: 0; height: 2px; width: 100%; background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* ───────────────── HERO ───────────────── */
.hero {
  position: relative; min-height: 100svh;
  background: var(--navy-800); color: #fff; overflow: hidden;
  display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--navy-800); }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(0.82) brightness(0.92) contrast(1.02);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--navy-900) 0%, rgba(12,24,48,0.80) 30%,
      rgba(12,24,48,0.34) 62%, rgba(12,24,48,0.06) 100%),
    linear-gradient(0deg, rgba(12,24,48,0.55) 0%, transparent 30%);
}

.hero-inner {
  position: relative; z-index: 3; max-width: var(--maxw); width: 100%;
  margin: 0 auto; padding: 8rem var(--pad) 7rem;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.72rem;
  font-weight: 600; color: var(--azure-lt); margin-bottom: 1.6rem;
  text-shadow: 0 1px 14px rgba(12, 24, 48, 0.55);
}
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 6rem); line-height: 0.98;
  letter-spacing: -0.025em; margin-bottom: 1.8rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line-in { display: block; will-change: transform; }
.hero-title em {
  color: var(--azure); font-weight: 400;
  /* azure accent, kept crisp over the moving video */
  text-shadow: 0 2px 26px rgba(12, 24, 48, 0.5);
}
/* Masked line reveal — pure CSS so the headline is NEVER dependent on JS.
   Default state (no animation support) = transform:none = fully visible.
   The hidden start only exists inside the keyframes, so it can't get stuck. */
@media (prefers-reduced-motion: no-preference) {
  /* delayed to start as the intro preloader lifts (~1.15s) */
  html.js .hero-title .line-in { animation: lineUp 1.05s var(--ease) both; }
  html.js .hero-title .line:nth-child(1) .line-in { animation-delay: 1.25s; }
  html.js .hero-title .line:nth-child(2) .line-in { animation-delay: 1.37s; }
  html.js .hero-title .line:nth-child(3) .line-in { animation-delay: 1.49s; }
}
@keyframes lineUp { from { transform: translateY(112%); } to { transform: translateY(0); } }

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 38ch;
  color: rgba(255, 255, 255, 0.92); font-weight: 400; line-height: 1.55;
  margin-bottom: 2.4rem; text-shadow: 0 1px 18px rgba(12, 24, 48, 0.4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem;
  padding: 0.95rem 1.8rem; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: background .35s var(--ease),
    color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease),
    transform .25s var(--ease);
}
.btn-primary { background: var(--azure); color: var(--navy-900); }
.btn-primary:hover {
  background: var(--azure-lt); color: var(--navy-900);
  box-shadow: 0 14px 34px -10px rgba(74, 163, 216, 0.6);
}
.btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.66rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.scroll-line { width: 1px; height: 46px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--azure-lt); animation: scrolldown 2.2s var(--ease) infinite;
}
@keyframes scrolldown { 0% { top: -50%; } 100% { top: 100%; } }

/* ───────────────── SECTIONS ───────────────── */
.section { padding: clamp(5.5rem, 12vh, 10rem) var(--pad); max-width: var(--maxw); margin: 0 auto; }

.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.72rem; font-weight: 600; color: #1b5478;
  margin-bottom: 1.4rem; position: relative; padding-left: 2.6rem;
}
.kicker::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 2rem; height: 1px;
  background: var(--azure-dp);
}
.kicker--center { display: block; text-align: center; padding-left: 0; }
.kicker--center::before { left: 50%; transform: translateX(-50%); top: -0.9rem; width: 2.4rem; }

.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.06;
  letter-spacing: -0.02em; max-width: 22ch;
}

/* WHO WE ARE */
.who-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.who-lede-col { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem); }
.lede {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2;
  letter-spacing: -0.015em; color: var(--ink);
}
.lede::first-letter { color: var(--azure-dp); }
.who-photo {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px -36px rgba(12, 24, 48, 0.55);
}
.who-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.who-photo figcaption {
  position: absolute; left: 1rem; bottom: 0.9rem; z-index: 2;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.who-body { display: flex; flex-direction: column; gap: 1.3rem; color: var(--ink-soft);
  padding-top: 0.6rem; }

/* PULL-QUOTE BAND */
.quote-band {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy-900);
  padding: clamp(6rem, 16vh, 11rem) var(--pad);
}
.quote-bg {
  position: absolute; inset: -10%; z-index: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.65); transform: scale(1.05); will-change: transform;
}
.quote-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(12,24,48,0.78), rgba(12,24,48,0.88)),
    radial-gradient(80% 120% at 50% 0%, rgba(42,127,184,0.35), transparent 60%);
}
.quote-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  text-align: center;
}
.quote-text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 5.2vw, 4rem); line-height: 1.1;
  letter-spacing: -0.02em;
}
.quote-text em { color: var(--azure-lt); }
.quote-cite {
  margin-top: 1.8rem; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.62);
}

/* APPROACH */
.approach { max-width: 1400px; }
.approach-grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.approach-visual { aspect-ratio: 4 / 5; }
.approach-frame {
  position: relative; width: 100%; height: 100%; border-radius: 18px; overflow: hidden;
  box-shadow: 0 44px 90px -44px rgba(12, 24, 48, 0.6);
}
.approach-frame img {
  position: absolute; inset: -8%; width: 116%; height: 116%;
  object-fit: cover; will-change: transform;
}
.approach-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(70% 60% at 30% 20%, rgba(74,163,216,0.28), transparent 60%);
  mix-blend-mode: screen;
}
.approach-text { display: flex; flex-direction: column; gap: 1.3rem; }
.approach-text .section-title { margin-bottom: 0.4rem; }
.approach-text p { color: var(--ink-soft); max-width: 52ch; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem;
  font-weight: 600; font-size: 0.95rem; color: var(--azure-dp);
  width: fit-content; transition: gap 0.3s var(--ease), color 0.3s;
}
.text-link svg { transition: transform 0.35s var(--ease); }
.text-link:hover { color: var(--navy-700); gap: 0.8rem; }
.text-link:hover svg { transform: translateX(4px); }

/* CAPABILITIES (what we do) */
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 1.8rem; }
.cap { border-top: 1px solid var(--line); padding-top: 0.95rem; }
.cap h3 { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--ink); margin-bottom: 0.45rem; }
.cap p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }

/* PRIORITY SECTORS */
.sectors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem);
  margin-top: clamp(2.4rem, 5vw, 4rem);
}
.sector { display: flex; flex-direction: column; gap: 1rem; }
.sector-media {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: 0 24px 50px -30px rgba(12, 24, 48, 0.5);
}
.sector-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.sector:hover .sector-media img { transform: scale(1.06); }
.sector-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(12, 24, 48, 0.85) 100%);
}
.sector-media figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 0.95rem; z-index: 2; }
.sector-num { display: block; font-family: var(--serif); font-size: 0.95rem; color: var(--azure-lt); margin-bottom: 0.15rem; }
.sector-media h3 {
  font-family: var(--serif); font-weight: 300; font-size: 1.3rem;
  letter-spacing: -0.01em; color: #fff;
}
.sector > p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

/* CONTACT */
.contact { max-width: 900px; text-align: center; }
.contact-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02;
  letter-spacing: -0.025em; margin-bottom: 1.2rem;
}
.contact-sub { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 2rem; }
.contact-mail {
  display: inline-block; font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--azure-dp); border-bottom: 1px solid var(--azure);
  padding-bottom: 4px; margin-bottom: 3.5rem; transition: color 0.3s, border-color 0.3s;
}
.contact-mail:hover { color: var(--navy-700); border-color: var(--navy-700); }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
  text-align: left; margin-top: 1rem;
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 0.9rem 0 0.7rem; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  resize: vertical; transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azure); }
.field label {
  position: absolute; left: 0; top: 0.9rem; color: var(--ink-soft);
  pointer-events: none; transition: all 0.25s var(--ease); font-size: 1rem;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -0.6rem; font-size: 0.74rem; color: var(--azure-dp); letter-spacing: 0.04em;
}
.contact-form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 0.6rem; }
.form-status { grid-column: 1 / -1; font-size: 0.9rem; min-height: 1.2em; margin-top: 0.2rem; }
.form-status.ok { color: var(--azure-dp); }
.form-status.err { color: #b4452f; }

/* ───────────────── GENERATIVE VISUALS ───────────────── */
.currents-canvas {
  position: absolute; inset: 0; z-index: 0; display: block;
  width: 100%; height: 100%; background: var(--navy-900);
}

/* DIGITAL INFRASTRUCTURE */
.infra {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}
.infra-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.infra-text { display: flex; flex-direction: column; gap: 1.3rem; }
.infra-text .kicker { color: var(--azure-lt); }
.infra-text .kicker::before { background: var(--azure-lt); }
.infra-text .section-title { color: #fff; }
.infra-text p { color: rgba(255, 255, 255, 0.78); max-width: 46ch; }
.infra-globe {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  max-height: 70vh; margin: 0;
}
.infra-globe canvas { width: 100%; height: 100%; display: block; }

/* ───────────────── INTRO PRELOADER ───────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 10000; pointer-events: none;
  background: var(--navy-900); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  animation: preOut 0.7s var(--ease) 1.15s forwards;
}
.preloader-mark {
  font-family: var(--sans); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.02em;
  opacity: 0; animation: preIn 0.7s var(--ease) 0.1s both;
}
.preloader-mark span { color: var(--azure); }
.preloader-bar {
  width: 120px; height: 1px; background: rgba(255, 255, 255, 0.16);
  position: relative; overflow: hidden; opacity: 0; animation: preIn 0.5s var(--ease) 0.2s both;
}
.preloader-bar::after {
  content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--azure-dp), var(--azure-lt));
  animation: preBar 1.0s var(--ease) 0.25s forwards;
}
@keyframes preIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes preBar { to { transform: scaleX(1); } }
@keyframes preOut { to { opacity: 0; visibility: hidden; transform: translateY(-1.5%); } }

/* ───────────────── CUSTOM CURSOR ───────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  pointer-events: none; z-index: 10001; will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--azure-lt); }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(143, 208, 238, 0.6);
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease),
    background .25s var(--ease), border-color .25s var(--ease), opacity .3s;
}
.cursor-ring.hover {
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  background: rgba(74, 163, 216, 0.12); border-color: rgba(143, 208, 238, 0.95);
}
body.cursor-on, body.cursor-on a, body.cursor-on button,
body.cursor-on [data-magnetic], body.cursor-on .text-link { cursor: none; }
body.cursor-on input, body.cursor-on textarea { cursor: text; }

/* ───────────────── FOOTER ───────────────── */
.footer {
  background: var(--navy-900); color: rgba(255,255,255,0.7);
  padding: clamp(3.5rem, 7vw, 5rem) var(--pad) 2.5rem;
}
.footer-top {
  max-width: var(--maxw); margin: 0 auto; display: flex;
  justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-d);
}
.brand--footer { font-size: 1.7rem; }
.footer-address { font-style: normal; line-height: 1.7; font-size: 0.95rem; }
.footer-bottom {
  max-width: var(--maxw); margin: 2rem auto 0; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--azure-lt); }

/* ───────────────── REVEAL ANIMATION ───────────────── */
html.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ───────────────── RESPONSIVE ───────────────── */
@media (max-width: 940px) {
  .who-grid, .approach-grid, .infra-inner { grid-template-columns: 1fr; }
  .approach-visual { aspect-ratio: 16 / 11; order: -1; max-height: 60vh; }
  .infra-globe { order: -1; max-width: 460px; margin: 0 auto; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }

  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--navy-800); flex-direction: column; justify-content: center;
    align-items: flex-start; padding: 0 2.4rem; gap: 1.8rem;
    transform: translateX(100%); transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.5);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; color: #fff; }
  .nav-toggle { display: block; }
}

@media (max-width: 540px) {
  .contact-form { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-inner { padding-bottom: 9rem; }
  .sectors-grid, .capabilities { grid-template-columns: 1fr; }
}

/* ───────────────── REDUCED MOTION ───────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html:not(.js) { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .hero-title .line-in { transform: none; }
  .preloader { display: none; }
  .cursor-dot, .cursor-ring { display: none; }
  .quote-bg, .approach-frame img { transform: none !important; }
  /* hold the drone footage on its poster frame for reduced-motion */
  .hero-video { display: none; }
  .hero-media {
    background:
      linear-gradient(180deg, rgba(12,24,48,0.2), rgba(12,24,48,0.5)),
      var(--navy-700) center/cover no-repeat;
  }
}
