/* Elite Drone Solutions — design system
   Phase 2 tokens, verified AA. Mobile-first. No framework. */

/* ---------- Fonts ----------
   Montserrat 300/600/700 and Barlow 400/500 load from the Google Fonts CDN
   via a <link> in each page head, so the brand faces render today.
   To self-host before launch: drop the five .woff2 files into
   /assets/fonts/, restore the @font-face rules below, and remove the
   three font <link> tags from every page head. Nothing else changes —
   the family names and weights are identical either way.

   @font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
   @font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
   @font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
   @font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
   @font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; } */

:root {
  /* Brand — exact from logo artwork */
  --deep-teal: #105776;
  --cyan: #20BFF1;
  --graphite: #58585A;
  --off-white: #ECEDEE;
  --sky-tint: #CAE9FB;
  --silver: #BABABB;
  --white: #FFFFFF;

  /* Promoted for AA */
  --cyan-ink: #076B8B;   /* 5.9:1 on white — links, small emphasis */
  --grey-400: #8C8C8E;   /* 3.4:1 — control borders */

  /* State ramp */
  --teal-800: #0C4560;
  --teal-900: #08303F;
  --cyan-600: #0FA9DA;
  --cyan-700: #0E93BE;
  --grey-200: #D7D8D9;
  --error: #B4453A;
  --success: #1E7A4F;

  /* Semantic */
  --border-hairline: #D7D8D9;
  --border-input: var(--grey-400);
  --scrim: rgba(8, 48, 63, 0.86);

  /* Type */
  --font-display: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Space */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  --pad-page: 20px;
  --rhythm: 48px;
  --max-w: 1200px;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

@media (min-width: 768px) { :root { --pad-page: 32px; --rhythm: 64px; } }
@media (min-width: 1200px) { :root { --rhythm: 80px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
  text-wrap: pretty;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
figure { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--deep-teal);
  text-wrap: balance;
}
h1 { font-size: 36px; line-height: 1.1; }
h2 { font-size: 28px; line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; }
h4 { font-size: 20px; line-height: 1.3; }
p { margin: 0; }

@media (min-width: 768px) {
  h1 { font-size: 45px; }
  h2 { font-size: 36px; }
}

a { color: var(--cyan-ink); text-decoration: underline; text-underline-offset: 2px; transition: color 120ms var(--ease); }
a:hover { color: var(--deep-teal); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--deep-teal); color: var(--white);
  padding: var(--s-3) var(--s-5);
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--white); }

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

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-page); }
.section { padding: var(--rhythm) 0; }
.section--tint { background: var(--off-white); }
.section--dark { background: var(--deep-teal); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p, .section--dark li { color: rgba(255,255,255,0.82); }

.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 7fr 5fr; gap: var(--s-7); }
  /* Gives the aside more room where it carries a wide figure rather than a note. */
  .split--wide-aside { grid-template-columns: 5fr 7fr; }
  .split-even { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
}

.measure { max-width: 68ch; }
.measure-lede { max-width: 60ch; }

/* ---------- Brand motifs ---------- */
.colour-rule { display: flex; width: 100%; height: 6px; }
.colour-rule--hero { height: 10px; }
.colour-rule span { flex: 1; }
.colour-rule span:nth-child(1) { background: var(--cyan); }
.colour-rule span:nth-child(2) { background: var(--white); }
.colour-rule span:nth-child(3) { background: var(--sky-tint); }
.colour-rule span:nth-child(4) { background: var(--silver); }
.colour-rule span:nth-child(5) { background: var(--graphite); }
.colour-rule span:nth-child(6) { background: var(--teal-900); }

.eyebrow {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--graphite);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--cyan); }

.lede { font-size: 21px; line-height: 1.6; }

/* Hero kicker: the eyebrow carrying the two strongest credentials. Larger and
   split into two lines so the experience figure reads first, on a cyan rule. */
.hero__kicker {
  display: flex; flex-direction: column; gap: 4px;
  border-left: 3px solid var(--cyan);
  padding-left: var(--s-4);
}
.hero__kicker b {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan);
}
.hero__kicker span {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.82);
}
@media (min-width: 768px) {
  .hero__kicker b { font-size: 21px; }
  .hero__kicker span { font-size: 14px; }
}

.rule-under { width: 96px; height: 6px; display: flex; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border-hairline); }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); min-height: 72px; padding: var(--s-3) 0;
}
.site-header__logo img { width: 190px; }
@media (min-width: 1000px) {
  .site-header__bar { min-height: 96px; }
  .site-header__logo img { width: 250px; }
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-3);
  background: none; border: 1px solid var(--border-input); border-radius: 2px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep-teal);
  cursor: pointer;
}
.nav-toggle__bars { display: flex; flex-direction: column; gap: 3px; width: 18px; }
.nav-toggle__bars span { height: 2px; background: var(--deep-teal); }
@media (min-width: 1000px) { .nav-toggle { display: none; } }

.nav { display: none; }
.nav[data-open="true"] { display: block; padding-bottom: var(--s-5); }
.nav__list { display: flex; flex-direction: column; gap: var(--s-1); }
.nav__link {
  display: block; padding: var(--s-3) 0;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--graphite); text-decoration: none;
  border-bottom: 1px solid var(--border-hairline);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--deep-teal); }
.nav__sub { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3) 0 var(--s-4) var(--s-4); }
.nav__sub a { font-size: 17px; color: var(--graphite); text-decoration: none; }
.nav__sub a:hover { color: var(--cyan-ink); text-decoration: underline; }
.nav__phone { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--deep-teal); text-decoration: none; padding: var(--s-3) 0; display: block; }

@media (min-width: 1000px) {
  .nav { display: block !important; }
  .nav__list { flex-direction: row; align-items: center; gap: var(--s-5); }
  .nav__link { border-bottom: 3px solid transparent; padding: var(--s-2) 0; font-size: 12px; }
  .nav__link[aria-current="page"], .nav__item:hover > .nav__link { border-bottom-color: var(--cyan); color: var(--deep-teal); }
  .nav__item { position: relative; }
  .nav__sub {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 280px; background: var(--white);
    border-top: 3px solid var(--cyan);
    box-shadow: 0 12px 28px rgba(12,20,24,0.14);
    padding: var(--s-5); z-index: 20;
    display: none;
  }
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { display: flex; }
  .nav__phone { padding: 0; font-size: 15px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s-5);
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease), transform 120ms var(--ease);
}
.btn--primary { background: var(--deep-teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-800); color: var(--white); }
.btn--primary:active { background: var(--teal-900); transform: translateY(1px); }

.btn--secondary { border-color: var(--deep-teal); color: var(--deep-teal); background: transparent; }
.btn--secondary:hover { background: var(--sky-tint); color: var(--deep-teal); }
.btn--secondary:active { background: var(--sky-tint); border-color: var(--teal-900); color: var(--teal-900); transform: translateY(1px); }

.btn--accent { background: var(--cyan); color: var(--teal-900); }
.btn--accent:hover { background: var(--cyan-600); color: var(--teal-900); }
.btn--accent:active { background: var(--cyan-700); transform: translateY(1px); }

.btn--inverse { border-color: rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.btn--inverse:hover { background: var(--white); color: var(--deep-teal); border-color: var(--white); }

.btn:disabled, .btn[aria-disabled="true"] { background: var(--grey-200); color: var(--grey-400); border-color: transparent; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--teal-900); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,48,63,0.55) 0%, rgba(8,48,63,0.92) 100%);
}
.hero__inner { position: relative; padding: var(--s-8) 0 var(--s-7); }
.hero h1 { color: var(--white); }
.hero p { color: rgba(255,255,255,0.86); }
.hero__content { display: flex; flex-direction: column; gap: var(--s-5); max-width: 42rem; }

@media (min-width: 1000px) {
  .hero__scrim { background: linear-gradient(90deg, rgba(8,48,63,0.93) 0%, rgba(8,48,63,0.62) 50%, rgba(8,48,63,0.05) 88%); }
  .hero__inner { padding: var(--s-10) 0 calc(var(--s-10) + 40px); min-height: 620px; display: flex; align-items: center; }
  .hero h1 { font-size: 64px; line-height: 1.03; }
  .hero p { font-size: 20px; }
}

/* Banner hero: photograph behind the page title, shorter than the home hero. */
.hero--banner .hero__inner { padding: var(--s-7) 0; }
@media (min-width: 1000px) {
  .hero--banner .hero__inner { min-height: 420px; padding: var(--s-8) 0; }
  .hero--banner h1 { font-size: 52px; }
}

/* Banner-shaped placeholder for a page banner that has not been shot yet.
   Sits directly under the hero so the gap is visible and specified. */
.banner-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-2); text-align: center; padding: var(--s-6) var(--s-5);
  min-height: 150px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-hairline);
}
@media (min-width: 1000px) { .banner-slot { min-height: 220px; } }
.banner-slot__tag { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--cyan-ink); }
.banner-slot__note { font-size: 17px; line-height: 1.55; color: var(--graphite); max-width: 62ch; }
.banner-slot__note--spec { font-size: 15px; }

/* Hero with no photograph yet: solid brand ground, no scrim needed. */
.hero--flat { background: var(--deep-teal); }
.hero--flat .hero__inner { padding-top: var(--s-7); padding-bottom: var(--s-7); }
@media (min-width: 1000px) { .hero--flat .hero__inner { min-height: 0; padding-top: var(--s-9); padding-bottom: var(--s-9); } }

/* Credential bar pinned under hero copy */
.credbar { background: var(--deep-teal); }
.credbar__inner { display: grid; gap: var(--s-5); padding: var(--s-6) 0; }
@media (min-width: 700px) { .credbar__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .credbar__inner { grid-template-columns: repeat(4, 1fr); } }
.stat__figure { display: block; font-family: var(--font-display); font-weight: 700; font-size: 33px; line-height: 1; color: var(--white); }
.stat__figure em { font-style: normal; color: var(--cyan); }
.stat__caption { display: block; margin-top: var(--s-2); font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.stat--todo .stat__figure { color: var(--cyan); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(12,20,24,0.06);
  display: flex; flex-direction: column;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 120ms var(--ease);
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(12,20,24,0.1); border-color: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .card, a.card:hover { transition: none; transform: none; } }

.card__media { border-bottom: 1px solid var(--border-hairline); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.card__more { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-ink); margin-top: auto; }

/* Placeholder for imagery the client must source */
.photo-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-2); text-align: center;
  aspect-ratio: 3 / 2; padding: var(--s-5);
  background: var(--off-white); border: 1px dashed var(--grey-400);
}
.photo-slot__tag { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--graphite); }
.photo-slot__note { font-size: 16px; line-height: 1.5; color: var(--graphite); max-width: 34ch; }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 17px; }
.spec caption { text-align: left; padding-bottom: var(--s-3); font-size: 16px; color: var(--graphite); }
.spec th, .spec td { text-align: left; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--border-hairline); vertical-align: top; }
.spec thead th { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); border-bottom: 2px solid var(--deep-teal); }
.spec tbody tr:nth-child(even) { background: var(--sky-tint); }
.spec td:last-child { font-family: var(--font-display); font-weight: 700; color: var(--deep-teal); }
.spec--wide td:last-child { font-family: var(--font-body); font-weight: 400; color: var(--graphite); }
.table-scroll { overflow-x: auto; }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { counter-increment: step; border-top: 2px solid var(--deep-teal); padding-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; color: var(--cyan-ink);
}
.step h3 { font-size: 20px; }
.step p { font-size: 17px; line-height: 1.6; }

/* ---------- Checklist ---------- */
.ticks { display: flex; flex-direction: column; gap: var(--s-3); }
.ticks li { position: relative; padding-left: 34px; font-size: 18px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--cyan-ink); font-weight: 700; line-height: 1.65;
}
.section--dark .ticks li::before { color: var(--cyan); }

/* ---------- Badges, notices ---------- */
.badge {
  display: inline-block; border-radius: 2px; padding: 7px 11px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.badge--solid { background: var(--deep-teal); color: var(--white); }
.badge--tint { background: var(--sky-tint); color: var(--deep-teal); }
.badge--outline { border: 1px solid var(--grey-400); color: var(--deep-teal); }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.notice {
  background: var(--off-white); border-left: 3px solid var(--cyan);
  padding: var(--s-4) var(--s-5); font-size: 17px; line-height: 1.6;
}
.notice--todo { border-left-color: var(--error); }
.legal-line { font-size: 16px; line-height: 1.6; color: var(--graphite); }
.section--dark .legal-line { color: rgba(255,255,255,0.78); }

/* ---------- Quote / testimonial ---------- */
.quote { background: var(--white); border: 1px solid var(--border-hairline); border-radius: 4px; padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.quote blockquote { margin: 0; font-size: 21px; line-height: 1.6; color: var(--deep-teal); }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--border-hairline); }
.quote__who { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--deep-teal); }
.quote__what { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey-400); }

/* ---------- Client names ---------- */
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-7); }
.clients span { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--graphite); }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: var(--s-4) 0; border-bottom: 1px solid var(--border-hairline); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: 16px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: var(--s-2); color: var(--grey-400); }
.crumbs a { color: var(--cyan-ink); }
.crumbs [aria-current="page"] { color: var(--graphite); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--border-hairline); }
.faq summary {
  cursor: pointer; padding: var(--s-4) 0; list-style: none;
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--deep-teal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 600; color: var(--cyan-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: var(--s-4); max-width: 70ch; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-3); }
.field > label {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep-teal);
}
.field__hint { font-size: 16px; color: var(--graphite); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 15px;
  font-family: var(--font-body); font-size: 18px; color: var(--deep-teal);
  background: var(--white); border: 1px solid var(--border-input); border-radius: 2px;
  transition: border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(32,191,241,0.45);
}
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: var(--error); }
.field__error { font-size: 16px; color: var(--error); }
.field--half { flex: 1 1 220px; }
.field-row { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { padding: var(--s-4) var(--s-5); font-size: 18px; border-left: 3px solid var(--cyan); background: var(--off-white); }
.form__status[data-state="error"] { border-left-color: var(--error); }
.form__status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer__main { background: var(--white); border-top: 1px solid var(--border-hairline); padding: var(--s-7) 0; }
.site-footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 5fr 3fr 3fr 4fr; } }
.site-footer h2 { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--graphite); }
.site-footer ul { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-4); }
.site-footer a { color: var(--graphite); text-decoration: none; font-size: 17px; }
.site-footer a:hover { color: var(--cyan-ink); text-decoration: underline; }
.site-footer__blurb { color: var(--graphite); font-size: 17px; }
.site-footer__logo { width: 200px; }
.locality { font-family: var(--font-display); font-weight: 300; font-size: 13px; letter-spacing: 0.26em; color: var(--cyan-ink); }
.site-footer__phone { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--deep-teal) !important; text-decoration: none; }
.site-footer__legal { background: var(--off-white); border-top: 1px solid var(--border-hairline); padding: var(--s-4) 0; }
.site-footer__legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); }
.site-footer__legal, .site-footer__legal a { color: var(--graphite); font-size: 16px; }
.site-footer__legal a:hover { color: var(--cyan-ink); }

/* Social row */
.social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 2px;
  border: 1px solid var(--border-input); color: var(--deep-teal);
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease);
}
.social a:hover { background: var(--deep-teal); border-color: var(--deep-teal); color: var(--white); }
.social svg { width: 22px; height: 22px; display: block; }

/* ---------- Mobile action bar ---------- */
.actionbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: flex; border-top: 1px solid var(--border-hairline); }
.actionbar a { flex: 1; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.actionbar a:first-child { background: var(--off-white); color: var(--deep-teal); }
.actionbar a:last-child { background: var(--deep-teal); color: var(--white); }
body { padding-bottom: 56px; }
@media (min-width: 1000px) { .actionbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Print ---------- */
@media print {
  .site-header, .actionbar, .site-footer, .hero__media { display: none; }
  body { color: #000; }
}


/* ================= Credential badge ================= */
.cred {
  display: inline-flex; align-items: stretch; gap: 0;
  border: 2px solid var(--deep-teal); border-radius: 3px;
  background: var(--white); overflow: hidden;
}
.cred__mark {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 12px; background: var(--deep-teal);
}
.cred__mark svg { width: 26px; height: 26px; display: block; }
.cred__text { display: flex; flex-direction: column; justify-content: center; padding: 9px 14px; }
.cred__top {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--graphite);
}
.cred__main {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em; color: var(--deep-teal);
}
.cred--inverse { border-color: rgba(255,255,255,0.6); background: transparent; }
.cred--inverse .cred__mark { background: var(--white); }
.cred--inverse .cred__top { color: rgba(255,255,255,0.78); }
.cred--inverse .cred__main { color: var(--white); }
.credbar__badge { display: flex; padding-bottom: var(--s-6); }

/* ================= Client logo marquee ================= */
.marquee {
  background: var(--white);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: var(--s-6) 0;
  overflow: hidden;
}
.marquee__head {
  text-align: center; margin: 0 0 var(--s-5);
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--deep-teal);
}
@media (min-width: 768px) { .marquee__head { font-size: 22px; letter-spacing: 0.2em; } }
.marquee__viewport { position: relative; overflow: hidden; }
.marquee__viewport::before,
.marquee__viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee__viewport::before { left: 0; background: linear-gradient(90deg, #FFFFFF, rgba(255,255,255,0)); }
.marquee__viewport::after { right: 0; background: linear-gradient(270deg, #FFFFFF, rgba(255,255,255,0)); }
.marquee__track {
  display: flex; align-items: center; width: max-content;
  animation: marquee-scroll 80s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.marquee__group { display: flex; align-items: center; flex: 0 0 auto; }
.marquee__item {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  height: 84px; padding: 0 var(--s-6);
}
@media (min-width: 768px) { .marquee__item { padding: 0 var(--s-7); } }
.marquee__item img {
  max-height: 56px; max-width: 190px; width: auto; object-fit: contain;
}
.marquee__item span {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em; color: var(--graphite); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__group:nth-child(2) { display: none; }
  .marquee__viewport::before,
  .marquee__viewport::after { display: none; }
}


/* ================= Map band ================= */
.mapband { border-top: 1px solid var(--border-hairline); background: var(--off-white); }
.mapband__head { padding: var(--s-6) var(--pad-page) var(--s-4); max-width: var(--max-w); margin: 0 auto; }
.mapband__canvas {
  height: 300px; width: 100%;
  background: var(--off-white);
  /* Near-white land, grey water — the reference look. */
  filter: grayscale(1) brightness(1.12) contrast(0.95);
}
@media (min-width: 768px) { .mapband__canvas { height: 300px; } }
@media (min-width: 1200px) { .mapband__canvas { height: 340px; } }
.mapband__canvas iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapband__note {
  padding: var(--s-4) var(--pad-page) var(--s-6);
  max-width: var(--max-w); margin: 0 auto;
  font-size: 16px; color: var(--graphite);
}
.mapband__pin { display: block; width: 30px; height: 42px; }
.mapband__pin svg { width: 30px; height: 42px; display: block; }
/* The pin sits above the greyscale filter so it stays red. */
.mapband__canvas .leaflet-marker-icon { filter: none; }


/* ================= Team ================= */
.team { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(3, 1fr); } }
.person { background: var(--white); border: 1px solid var(--border-hairline); border-radius: 4px; box-shadow: 0 1px 2px rgba(12,20,24,.06); display: flex; flex-direction: column; }
.person__media { border-bottom: 1px solid var(--border-hairline); }
.person__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.person__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.person__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--deep-teal); }
.person__role { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--graphite); }
.person p { font-size: 17px; line-height: 1.6; }


/* Keep multi-word nav labels on one line — "Contact us" was wrapping. */
.nav__link { white-space: nowrap; }


/* ================= Sticky header ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow 200ms var(--ease);
}
.site-header[data-stuck="true"] { box-shadow: 0 2px 12px rgba(12,20,24,.12); }
/* The mobile sheet can exceed the viewport, so allow it to scroll rather than
   trapping links under the fold. */
@media (max-width: 999px) {
  .nav[data-open="true"] { max-height: calc(100vh - 96px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* ================= Inline call-to-action strip ================= */
.ctastrip { background: var(--sky-tint); border-top: 1px solid #A9D4EC; border-bottom: 1px solid #A9D4EC; }
.ctastrip__inner {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-6) 0;
}
@media (min-width: 900px) {
  .ctastrip__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s-6); }
}
.ctastrip__copy { display: flex; flex-direction: column; gap: 4px; }
.ctastrip__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--deep-teal); }
.ctastrip__sub { font-size: 17px; line-height: 1.55; color: var(--graphite); max-width: 62ch; }
.ctastrip__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); flex: 0 0 auto; }
@media (max-width: 520px) { .ctastrip__actions .btn { width: 100%; } }


/* ================= In-page jump nav ================= */
.jumpnav {
  position: sticky; top: var(--header-h, 100px); z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--border-hairline);
  box-shadow: 0 1px 6px rgba(12,20,24,.06);
}

.jumpnav__inner {
  display: flex; gap: var(--s-5); align-items: center;
  overflow-x: auto; scrollbar-width: none;
  padding: 0 var(--pad-page);
  max-width: var(--max-w); margin: 0 auto;
}
.jumpnav__inner::-webkit-scrollbar { display: none; }
.jumpnav__label {
  flex: 0 0 auto;
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey-400);
}
@media (max-width: 700px) { .jumpnav__label { display: none; } }
.jumpnav a {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; min-height: 52px;
  padding: 0 2px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--graphite); text-decoration: none;
  border-bottom: 3px solid transparent; white-space: nowrap;
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.jumpnav a:hover { color: var(--deep-teal); border-bottom-color: var(--cyan); }

/* Anchored sections must clear both sticky bars when jumped to. Both heights
   are measured at runtime, so this stays correct across breakpoints. */
.section[id], .ctastrip[id] {
  scroll-margin-top: calc(var(--header-h, 100px) + var(--jumpnav-h, 53px) + 12px);
}


/* Logos supplied on a dark ground (or as white artwork) sit on a dark chip. */
.marquee__item--dark {
  background: var(--teal-900); border-radius: 3px;
  padding: 0 var(--s-5); margin: 0 var(--s-4);
}



/* National Geographic ships on its own black plate — that plate is part of the
   mark, so it runs full size with no chip around it. */
.marquee__item--natgeo img { max-height: 72px; max-width: 240px; }


/* Square-ish marks read smaller than wordmarks at the same height, so they get
   more room to sit at the same visual weight. */
.marquee__item--lg img { max-height: 76px; max-width: 240px; }


/* ================= Transparent header over the home hero ================= */
.site-header[data-transparent="true"] {
  background: linear-gradient(180deg, rgba(8,48,63,0.66) 0%, rgba(8,48,63,0.34) 62%, rgba(8,48,63,0) 100%);
  border-bottom-color: transparent;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.site-header[data-transparent="true"][data-stuck="true"] {
  background: var(--white);
  border-bottom-color: var(--border-hairline);
}
/* The open mobile sheet must be solid, so the gradient is dropped there. */
@media (max-width: 999px) {
  .site-header[data-transparent="true"]:has(.nav[data-open="true"]) { background: var(--white); }
}
/* Pull the hero up so it sits behind the bar. */
.hero--overlap { margin-top: calc(-1 * var(--header-h, 100px)); }
.hero--overlap .hero__inner { padding-top: calc(var(--s-8) + var(--header-h, 100px)); }
@media (min-width: 1000px) {
  .hero--overlap .hero__inner { padding-top: calc(var(--s-10) + var(--header-h, 100px)); }
}

/* Two logo files, one shown at a time. */
.site-header__logo { position: relative; display: block; }
.site-header__logo img { display: block; }
.site-header__logo .logo--light { display: none; }
.site-header[data-transparent="true"]:not([data-stuck="true"]) .logo--dark { display: none; }
.site-header[data-transparent="true"]:not([data-stuck="true"]) .logo--light { display: block; }

/* Nav and phone go white while the bar is transparent. */
.site-header[data-transparent="true"]:not([data-stuck="true"]) .nav__link,
.site-header[data-transparent="true"]:not([data-stuck="true"]) .nav__phone {
  color: var(--white);
}
.site-header[data-transparent="true"]:not([data-stuck="true"]) .nav__link:hover,
.site-header[data-transparent="true"]:not([data-stuck="true"]) .nav__link[aria-current="page"] {
  color: var(--white); border-bottom-color: var(--cyan);
}
.site-header[data-transparent="true"]:not([data-stuck="true"]) .nav-toggle {
  color: var(--white); border-color: rgba(255,255,255,0.6);
}
.site-header[data-transparent="true"]:not([data-stuck="true"]) .nav-toggle__bars span { background: var(--white); }
/* The open mobile sheet needs a solid ground regardless. */
@media (max-width: 999px) {
  .site-header[data-transparent="true"] .nav[data-open="true"] { background: var(--white); }
  .site-header[data-transparent="true"]:not([data-stuck="true"]) .nav[data-open="true"] .nav__link,
  .site-header[data-transparent="true"]:not([data-stuck="true"]) .nav[data-open="true"] .nav__phone { color: var(--graphite); }
}


/* ---------- Before / after wipe ---------- */
/* Two acquisitions of the same ground, same altitude and heading. The divider
   is draggable; where it sits inside a card link it sweeps on its own and
   ignores the pointer so the card stays clickable. */
.compare {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 2; background: var(--off-white);
  cursor: ew-resize; touch-action: none; user-select: none;
}
.compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  -webkit-user-drag: none; user-select: none;
}
.compare__after { position: absolute; inset: 0; clip-path: inset(0 var(--rest) 0 0); }
.compare__line {
  position: absolute; top: 0; bottom: 0; left: var(--pct);
  width: 3px; margin-left: -1.5px; background: var(--cyan);
}
.compare__grip {
  position: absolute; top: 50%; left: var(--pct);
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 999px;
  background: var(--cyan); box-shadow: 0 2px 10px rgba(8,48,63,0.35);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.compare__grip::before,
.compare__grip::after {
  content: ""; width: 0; height: 0;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.compare__grip::before { border-right: 6px solid #08303F; }
.compare__grip::after { border-left: 6px solid #08303F; }
.compare__cap {
  position: absolute; top: 0; left: 0; right: 0; height: 88px;
  background: linear-gradient(to bottom, rgba(8,48,63,0.72), transparent);
  pointer-events: none;
}
.compare__tag {
  position: absolute; top: 18px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase;
  color: #FFFFFF; pointer-events: none;
}
.compare__tag--l { left: 20px; }
.compare__tag--r { right: 20px; }
.compare--auto { cursor: default; pointer-events: none; }
/* Auto-sweeping copies are read, not operated, so the handle can be a marker
   rather than a control: smaller disc, thinner line, no arrows. */
.compare--auto .compare__line { width: 2px; margin-left: -1px; }
.compare--auto .compare__grip {
  width: 26px; height: 26px; margin: -13px 0 0 -13px; gap: 4px;
  box-shadow: 0 1px 5px rgba(8,48,63,0.3);
}
.compare--auto .compare__grip::before,
.compare--auto .compare__grip::after { display: none; }
.compare__hint {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-3);
  font-size: 14px; color: var(--graphite);
}
@media (max-width: 600px) {
  .compare__tag { font-size: 10px; letter-spacing: 0.18em; }
  .compare__grip { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
}
