@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4.woff") format("woff"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-italic.woff") format("woff"); font-weight: 200 900; font-style: italic; font-display: swap; }

/* Dragon Drones — site styles */
:root {
  --sound: #0e2633;      /* deep Puget Sound slate: dark sections */
  --ink: #15212a;        /* body text */
  --muted: #55656f;      /* secondary text */
  --overcast: #eef1f2;   /* page tint */
  --paper: #ffffff;
  --mist: #cad4da;       /* rules, borders */
  --cyan: #26b0e9;       /* brand (logo) */
  --cyan-ink: #0b6e97;   /* brand on light backgrounds (AA contrast) */
  --cyan-pale: #9fdcf6;  /* brand on dark backgrounds */

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --prose: "Source Serif 4", Georgia, serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --measure: 66ch;
}

*, *::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(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--cyan-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
.display {
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-size: clamp(2.75rem, 7.6vw, 6.5rem);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-variation-settings: "wdth" 118; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); font-variation-settings: "wdth" 115; }
h3 { font-size: 1.25rem; font-variation-settings: "wdth" 108; line-height: 1.25; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--ink); max-width: 40em; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--display); font-variation-settings: "wdth" 110; font-weight: 700;
  font-size: 1rem; line-height: 1; text-decoration: none;
  padding: 0.95em 1.4em; border-radius: 999px; border: 2px solid transparent;
  background: var(--cyan); color: var(--sound); cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: #4cc1f0; text-decoration: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--dark { background: var(--sound); color: #fff; }
.btn--dark:hover { background: #18394b; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--mist);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .brand-word { height: 18px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.975rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--mist); }
.nav a[aria-current="page"] { border-bottom-color: var(--cyan); }
.nav .btn { padding: 0.75em 1.15em; border: 0; }
.nav-toggle { display: none; }

/* Header over the home hero */
.home .site-header { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 0; backdrop-filter: none; }
.home .site-header .nav > a:not(.btn) { color: #fff; }
.home .site-header .nav > a:not(.btn):hover { border-bottom-color: rgba(255,255,255,.6); }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 1px solid var(--mist); border-radius: 999px;
    font: 600 0.95rem var(--text); color: var(--ink); padding: 8px 14px; cursor: pointer;
  }
  .home .nav-toggle { color: #fff; border-color: rgba(255,255,255,.6); }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--mist); padding: 8px var(--gutter) 20px;
    box-shadow: 0 12px 24px rgba(14,38,51,.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--overcast); font-size: 1.0625rem; }
  .home .site-header .nav > a:not(.btn) { color: var(--ink); }
  .nav .btn { margin-top: 14px; justify-content: center; padding: 1em; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(100svh, 920px); color: #fff;
  display: flex; align-items: flex-end; overflow: hidden; background: var(--sound);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media iframe { width: max(100%, 177.78svh); height: max(100%, 56.25vw); border: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero-media iframe.is-playing { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,38,51,.55) 0%, rgba(14,38,51,0) 30%, rgba(14,38,51,.15) 55%, rgba(14,38,51,.82) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 8vh, 88px); padding-top: 140px; }
.hero h1 { margin-bottom: 0.3em; max-width: 11ch; }
.hero p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 34em; color: rgba(255,255,255,.92); margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-toggle {
  position: absolute; right: var(--gutter); bottom: clamp(40px, 8vh, 88px); z-index: 2;
  background: rgba(14,38,51,.45); color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  font: 500 0.85rem var(--text); padding: 8px 14px; cursor: pointer; display: none;
}
.hero-toggle.show { display: inline-block; }
@media (max-width: 640px) { .hero-toggle { bottom: auto; top: 88px; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--overcast); padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tint { background: var(--overcast); }
.section--dark { background: var(--sound); color: #e6eef2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: var(--cyan-pale); }

.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1.1fr 1fr; }
  .split--flip > :first-child { order: 2; }
}

/* Photo with flight-log caption: the one recurring device */
.shot { margin: 0; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; background: var(--mist); }
.shot figcaption, .log {
  display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px;
  font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.log .alt { color: var(--cyan-ink); font-weight: 600; }
.log .alt::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 6px; vertical-align: 1px;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid currentColor; }
.section--dark .log { color: #a9bcc6; }
.section--dark .log .alt { color: var(--cyan-pale); }

/* Services / industries lists */
.columns { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .columns { grid-template-columns: 1fr 1fr; } }
.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--mist); }
.list li { padding: 14px 0; border-bottom: 1px solid var(--mist); display: flex; justify-content: space-between; gap: 16px; }
.list li span { color: var(--muted); font-size: 0.95rem; text-align: right; }
.section--dark .list, .section--dark .list li { border-color: rgba(255,255,255,.16); }
.section--dark .list li span { color: #a9bcc6; }

/* Photo strip on home */
.strip { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 700px) { .strip { grid-template-columns: repeat(3, 1fr); } }
.strip a { color: inherit; text-decoration: none; }
.strip h3 { font-size: 1.0625rem; margin: 12px 0 0; }
.strip .log { margin-top: 4px; }

/* Long-form text block */
.prose { max-width: var(--measure); }
.prose p, .prose li { font-size: 1.0625rem; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--mist); border: 1px solid var(--mist); margin-top: 36px; }
@media (min-width: 640px) { .clients { grid-template-columns: repeat(5, 1fr); } }
.clients div { background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 22px; min-height: 120px; }
.clients img { max-height: 72px; max-width: 140px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.clients div:hover img { filter: none; opacity: 1; }

/* CTA band */
.cta-band { position: relative; color: #fff; overflow: hidden; background: var(--sound); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta-band .wrap { position: relative; padding-top: clamp(72px, 11vw, 140px); padding-bottom: clamp(72px, 11vw, 140px); }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-variation-settings: "wdth" 122; font-weight: 800; max-width: 14ch; }
.cta-band p { max-width: 32em; font-size: 1.125rem; margin-bottom: 1.6em; }

/* Video grid */
.videos { display: grid; gap: clamp(32px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 860px) { .videos { grid-template-columns: 1fr 1fr; } .videos .video:first-child { grid-column: 1 / -1; } }
.video .frame { position: relative; aspect-ratio: 16 / 9; background: var(--sound); border-radius: 4px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h2 { font-size: 1.25rem; margin: 14px 0 2px; font-variation-settings: "wdth" 110; }
.video p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Gallery */
.gallery { display: grid; gap: clamp(48px, 7vw, 96px); }
.print { display: grid; gap: 20px 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
  .print { grid-template-columns: 1.7fr 1fr; }
  .print:nth-child(even) { grid-template-columns: 1fr 1.7fr; }
  .print:nth-child(even) .shot { order: 2; }
}
.print .shot img { aspect-ratio: auto; }
.print h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.4em; }
.print .log { margin: 0 0 1em; font-size: 0.95rem; }
.print p { color: #2c3a43; }

/* Blog */
.posts { display: grid; gap: 48px 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card a { color: inherit; text-decoration: none; display: block; }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 4px; background: var(--mist); }
.post-card h2 { font-size: 1.25rem; margin: 14px 0 6px; font-variation-settings: "wdth" 108; }
.post-card a:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.post-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.post-card time { display: block; font-size: 0.875rem; color: var(--muted); margin-top: 14px; }
.post-card:first-child { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .post-card:first-child a { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
  .post-card:first-child h2 { font-size: 2rem; font-variation-settings: "wdth" 115; }
  .post-card:first-child time { margin-top: 0; }
}

.article-head { padding: clamp(48px, 7vw, 88px) 0 32px; }
.article-head h1 { max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3.25rem); }
.article-head .meta { color: var(--muted); font-size: 0.95rem; }
.article-hero { margin: 0 auto 48px; max-width: 1100px; padding: 0 var(--gutter); }
.article-hero img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 4px; }
.article { font-family: var(--prose); font-size: 1.1875rem; line-height: 1.7; max-width: 680px; margin: 0 auto; padding: 0 var(--gutter); }
.article h2, .article h3 { font-family: var(--display); margin: 1.8em 0 0.5em; }
.article h2 { font-size: 1.625rem; }
.article h3 { font-size: 1.25rem; }
.article img { margin: 2em 0; border-radius: 4px; }
.article iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 2em 0; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .4em; }
.article-foot { max-width: 680px; margin: 56px auto 72px; padding: 32px var(--gutter) 0; border-top: 1px solid var(--mist); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }

/* Forms */
.form { display: grid; gap: 22px; max-width: 760px; }
.form .row { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.975rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid #9fb0ba; border-radius: 6px; padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 3px rgba(38,176,233,.3); }
.field[aria-invalid="true"] input, .field[aria-invalid="true"] textarea, .field[aria-invalid="true"] select { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: 0.9rem; margin-top: 6px; display: none; }
.field[aria-invalid="true"] .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; gap: 8px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks label { display: flex; gap: 10px; align-items: center; font-weight: 400; margin: 0; padding: 10px 12px; border: 1.5px solid var(--mist); border-radius: 6px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--cyan-ink); }
.checks label:has(input:checked) { border-color: var(--cyan-ink); background: #eaf7fd; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: 6px; display: none; }
.form-status.error { display: block; background: #fdecea; color: #7a1c15; border: 1px solid #f2b8b2; }
.form-status.ok { display: block; background: #e9f7ef; color: #14532d; border: 1px solid #a7dcbc; }
.form button[disabled] { opacity: .6; cursor: progress; }

.aside-card { background: var(--overcast); padding: 28px; border-radius: 6px; }
.aside-card h2 { font-size: 1.25rem; font-variation-settings: "wdth" 108; }
.aside-card ul { padding-left: 1.1em; margin: 0; }
.aside-card li { margin-bottom: 8px; }
.quote-layout { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .quote-layout { grid-template-columns: 1fr 320px; } }

.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid h2 { font-size: 1.125rem; font-variation-settings: "wdth" 108; margin-bottom: 8px; }
.contact-grid p, .contact-grid address { font-style: normal; font-size: 1.125rem; }
.fine { font-size: 0.925rem; color: var(--muted); max-width: var(--measure); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sound); color: #c3d2da; padding: 72px 0 40px; font-size: 0.95rem; }
.site-footer a { color: #e6eef2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid h2 { font-size: 0.95rem; color: #fff; font-variation-settings: "wdth" 110; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-logo { width: 150px; margin-bottom: 18px; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: #93a9b5; }

/* 404 / thanks */
.center-page { min-height: 60vh; display: flex; align-items: center; padding: 80px 0; }
@media (min-width: 860px) { .videos--pair .video:first-child { grid-column: auto; } }
