/* airworthylabs.com: Direction A, "Letter and Checklist" (Jony, picked by
   Scott 2026-11-10). One stylesheet for every AL page. Literata is
   self-hosted from /fonts/ (SIL OFL 1.1, /fonts/Literata-OFL.txt). No
   third-party URL anywhere in this file: the pages' CSP is font-src 'self'
   and style-src 'self'. */

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/literata-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/literata-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #FCFCFA;
  --ink: #1E2A32;
  --muted: #58656D;
  --rule: #D3D9DC;
  --chromate: #6B7A1F;      /* zinc-chromate primer green: links, leaders, ticks */
  --chromate-wash: #EEF1DD;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --measure: 36rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161C20; --ink: #E7EAE6; --muted: #A2ACB0; --rule: #323C42;
    --chromate: #B5C45C; --chromate-wash: #232A1A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #161C20; --ink: #E7EAE6; --muted: #A2ACB0; --rule: #323C42;
  --chromate: #B5C45C; --chromate-wash: #232A1A;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.1875rem/1.65 var(--serif);
  font-optical-sizing: auto;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration-color: var(--chromate); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--chromate); }
:focus-visible { outline: 2px solid var(--chromate); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: .5rem 1rem; z-index: 10; }

/* Page frame: a margin column for section heads, a text column for body. */
.frame {
  max-width: 72rem; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 15rem minmax(0, var(--measure)) 1fr; column-gap: 3.5rem;
}
.frame > * { grid-column: 2; }
.frame > h2 { grid-column: 1; }

/* Header */
header.site {
  max-width: 72rem; margin: 0 auto; padding: 1.75rem 2.5rem;
  display: flex; align-items: baseline; gap: 2rem; flex-wrap: wrap;
}
.wordmark { font-weight: 650; font-size: 1.25rem; letter-spacing: -.01em; text-decoration: none; margin-right: auto; }
.wordmark span { font-weight: 350; font-style: italic; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; font-size: 1rem; align-items: baseline; }
nav.main a { text-decoration: none; }
nav.main a:hover { text-decoration: underline; }
nav.main a[aria-current="page"] { text-decoration: underline; }
nav.main .contact-link { font-weight: 600; text-decoration: underline; }

/* Hero */
.frame.hero { padding-top: 6.5rem; padding-bottom: 5rem; }
.frame.hero.page { padding-bottom: 3.5rem; }
h1 {
  grid-column: 2 / 4;
  font-size: clamp(2.75rem, 6.2vw, 5.4rem); line-height: 1.02; font-weight: 420; letter-spacing: -.025em;
  margin: 0 0 2rem; font-variation-settings: "opsz" 72; max-width: 13ch;
}
.frame > h1 { grid-column: 2 / 4; }
.lede { font-size: 1.4rem; line-height: 1.5; margin: 0 0 2.5rem; max-width: 30rem; }
.page .lede { margin-bottom: 0; }
.actions { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none;
  font-weight: 600; font-size: 1.05rem; padding: .85rem 1.6rem; min-height: 44px;
}
.btn:hover { background: var(--chromate); color: var(--paper); }

/* Sections */
section.frame { border-top: 1px solid var(--rule); padding-top: 4.5rem; padding-bottom: 4.5rem; }
h2 { font-size: 1.5rem; font-weight: 600; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
.body > :first-child { margin-top: 0; }
.body > :last-child { margin-bottom: 0; }
.num { display: block; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--chromate); font-weight: 600; margin-bottom: .35rem; }

/* Run-in heads, like a well-made letter */
.svc { margin: 0 0 1.6rem; }
.svc b, .point b { font-weight: 650; }
.svc .num { display: inline; margin: 0 .45rem 0 0; }
.more { font-size: 1rem; margin-top: 2rem; display: inline-block; }
.point { margin: 0 0 1.4rem; }

/* The signature element: a checklist with dotted leaders and a tick box */
.checklist {
  background: var(--chromate-wash); border-left: 3px solid var(--chromate);
  padding: 1.75rem 2.25rem 1.25rem; margin: 2.25rem 0 2rem;
}
.checklist ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.checklist li {
  counter-increment: step; margin: 0 0 1rem;
  display: flex; align-items: baseline; gap: .5rem; font-size: 1.15rem;
}
.checklist li::before {
  content: counter(step) "."; font-variant-numeric: tabular-nums; color: var(--chromate);
  font-weight: 600; width: 1.4rem; flex: none;
}
.checklist .ch { font-weight: 650; white-space: nowrap; }
.checklist .lead { flex: 1; border-bottom: 2px dotted var(--chromate); transform: translateY(-.3em); min-width: 1.5rem; opacity: .7; }
.checklist .tick {
  flex: none; width: 1.05rem; height: 1.05rem; border: 1.5px solid var(--chromate);
  align-self: center; position: relative;
}
.checklist .tick::after {
  content: ""; position: absolute; left: .3rem; top: .05rem; width: .32rem; height: .62rem;
  border: solid var(--chromate); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Ownership and data lines */
.promises { list-style: none; margin: 0; padding: 0; }
.promises li { position: relative; padding-left: 1.6rem; margin: 0 0 .75rem; font-style: italic; font-size: 1.1rem; line-height: 1.55; }
.promises li::before { content: "\2014"; position: absolute; left: 0; color: var(--chromate); font-style: normal; }

/* Project card */
.project { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.75rem; align-items: start; }
.project h3 { margin: 0 0 .2rem; font-size: 1.3rem; font-weight: 650; }
.project p { margin: 0 0 .75rem; }
.status { font-size: .95rem; font-style: italic; color: var(--muted); }
.glyph { width: 7.5rem; height: 7.5rem; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--ink); }
.glyph svg { width: 70%; height: 70%; }

/* Services detail */
.details { margin: 1.25rem 0 0; }
.details dt { font-size: .95rem; font-style: italic; color: var(--muted); margin-top: .9rem; }
.details dd { margin: .1rem 0 0; }
.plain { margin: 0; padding-left: 1.25rem; }
.plain li { margin: 0 0 .6rem; }
.plain li::marker { color: var(--chromate); }
.kinds { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.kinds li { border-top: 1px solid var(--rule); padding: 1rem 0; }
.kinds li:last-child { border-bottom: 1px solid var(--rule); }

/* About */
.credentials { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-weight: 600; letter-spacing: .01em; }
address.details-block { font-style: normal; }
address.details-block p { margin: 0 0 .3rem; }

/* Closing */
.frame > h2.big {
  grid-column: 2 / 4; font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 420; line-height: 1.08;
  letter-spacing: -.02em; margin: 0 0 1.25rem; max-width: 16ch; font-variation-settings: "opsz" 72;
}
.close .body p { margin: 0 0 1.75rem; }
.close .body p.aside { margin: 1.5rem 0 0; font-size: 1rem; color: var(--muted); }

/* 404 */
.notfound .links { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; gap: 1.6rem; flex-wrap: wrap; }

/* Footer */
footer.site { border-top: 1px solid var(--rule); padding: 2.5rem 0 3rem; font-size: .95rem; color: var(--muted); margin-top: 0; }
footer.site .frame > div { grid-column: 2 / 4; }
footer.site p { margin: 0 0 .4rem; }

@media (max-width: 900px) {
  .frame { grid-template-columns: minmax(0, 1fr); padding: 0 1.25rem; }
  .frame > *, .frame > h2, .frame > h1, .frame > h2.big, footer.site .frame > div { grid-column: 1; }
  header.site { padding: 1rem 1.25rem; gap: .35rem 1rem; align-items: baseline; }
  nav.main ul { gap: 1.25rem; }
  .frame.hero { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .frame.hero.page { padding-bottom: 2.5rem; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  h2 { margin-bottom: 1.4rem; }
  section.frame { padding-top: 3rem; padding-bottom: 3rem; }
  body { font-size: 1.0625rem; }
  .lede { font-size: 1.2rem; }
  .checklist { padding: 1.4rem 1.1rem 1rem; }
  .checklist li { font-size: 1rem; }
  .checklist .lead { min-width: .75rem; }
  .project { grid-template-columns: 4.5rem 1fr; gap: 1rem; }
  .glyph { width: 4.5rem; height: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Footer "Cookie choices" control (Phase 2): a button that reads as a link. */
footer.site .linklike {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--chromate); text-decoration-thickness: 1.5px; text-underline-offset: .2em;
}
footer.site .linklike:hover { color: var(--chromate); }
