:root {
    color-scheme: dark;
    --ink: #e2f1ef;
    --muted: #a1bcc5;
    --paper: #071521;
    --panel: #0c2331;
    --teal: #64edaa;
    --blue: #67c8ff;
    --accent: var(--teal);
    --border: #2b5360;
    --font-body: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    --font-ui: var(--font-body);
    --label-bg: transparent;
    --label-text: var(--ink);
    --text-dark: var(--ink);
    --bg-page: var(--paper);
    --input-focus: var(--teal);
    --input-error: #ff9da8;
    --btn-bg: var(--teal);
    --btn-text: #061c1b;
    --btn-hover: #9cfac7;
    --notice-success-bg: #123728;
    --notice-success-border: #3d946c;
    --notice-success-text: #baf7d4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper) url("/images/circuit-board.svg"); font-family: var(--font-body); font-size: .95rem; line-height: 1.85; }
body, h1, h2, h3, p, figure { margin-top: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
button, input, textarea { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-body); font-weight: 650; line-height: 1.18; letter-spacing: -.055em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 4.2vw, 3.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.65rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
em { color: var(--teal); font-weight: inherit; font-style: normal; }
p { margin-bottom: 1.25rem; }
section[id] { scroll-margin-top: 2rem; }
.shell { width: min(1180px, calc(100% - 6rem)); margin-inline: auto; }
.section { padding-block: 6rem; }
.eyebrow { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.4rem; color: var(--teal); }
.small { font-size: .86rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; line-height: 1.85; }
.prose { max-width: 710px; }
.prose p { color: var(--muted); }
.prose .lead { color: var(--ink); }
.skip-link { position: absolute; z-index: 500; top: -100px; left: 1rem; background: var(--teal); color: var(--btn-text); padding: .75rem 1rem; }
.skip-link:focus { top: .5rem; }
.site-header { border-top: 3px solid var(--teal); border-bottom: 1px solid var(--border); background: #091c29; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 100px; }
.wordmark { display: flex; align-items: center; gap: .9rem; text-decoration: none; font-weight: 650; font-size: .9rem; white-space: nowrap; }
.monogram { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--teal); border-radius: 3px; background: #103b36; color: var(--teal); font: bold 1.2rem var(--font-body); letter-spacing: -.08em; box-shadow: 0 0 0 4px #102c36; }
.site-nav { display: flex; align-items: center; gap: 1.9rem; font-size: .82rem; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current] { color: var(--teal); text-decoration: underline; text-underline-offset: .45em; }
.nav-contact { color: var(--teal); border-bottom: 1px solid var(--teal); padding-block: .25rem; }
.nav-contact span { margin-left: .5rem; }
.menu-toggle { border: 1px solid var(--border); color: var(--teal); background: var(--panel); padding: .4rem .8rem; border-radius: 3px; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4.5rem; padding-block: 5rem; }
.hero-copy { padding-block: 1rem; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--teal); margin-right: .5rem; vertical-align: 1px; box-shadow: 0 0 9px #64edaa55; }
.hero-intro { color: var(--muted); font-size: 1.04rem; max-width: 30rem; margin-bottom: 2rem; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.8rem; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.4rem; background: var(--teal); color: var(--btn-text); padding: .88rem 1.45rem; text-decoration: none; font-size: .82rem; font-weight: 700; border: 1px solid var(--teal); border-radius: 3px; }
.button:hover { color: var(--btn-text); background: var(--btn-hover); border-color: var(--btn-hover); }
.text-link { color: var(--blue); font-size: .82rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid #427588; padding-bottom: .25rem; }
.text-link span { margin-left: .5rem; }
.hero-portrait { position: relative; margin: 0; background: var(--panel); padding: 1rem 1rem 0; border: 1px solid #40778a; box-shadow: 8px 8px 0 #0d303b; }
.hero-portrait::before, .hero-portrait::after { content: ""; position: absolute; width: 7px; height: 7px; border: 1px solid var(--teal); background: var(--paper); top: 4px; }
.hero-portrait::before { left: 4px; }
.hero-portrait::after { right: 4px; }
.hero-portrait img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 38%; filter: saturate(.8); }
.hero-portrait figcaption { padding: .9rem .1rem; display: flex; justify-content: space-between; gap: .75rem; font-size: .65rem; letter-spacing: .02em; color: var(--blue); }
.intro-strip { border-block: 1px solid var(--border); background: #0b2931; padding: 1.25rem 0; }
.intro-strip .shell { display: flex; justify-content: space-between; gap: 1rem; font: .82rem var(--font-body); color: #a7d9cd; letter-spacing: .035em; }
.about-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 5rem; }
.interests-section { background: #0a202c; border-block: 1px solid var(--border); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin: 0; flex-shrink: 0; }
.interest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.interest-card { background: linear-gradient(135deg, #10303a, #0b1d2b); border: 1px solid var(--border); border-top: 2px solid #4cbf97; border-radius: 3px; overflow: hidden; }
.interest-card:nth-child(even) { border-top-color: var(--blue); }
.card-body { padding: 1.9rem; }
.card-number { color: var(--blue); text-transform: uppercase; letter-spacing: .07em; font-size: .66rem; font-weight: 700; margin-bottom: 1.5rem; }
.interest-card h3 { font-size: 1.55rem; }
.interest-card h3 a { text-decoration: none; }
.interest-card p:not(.card-number) { font-size: .88rem; color: var(--muted); }
.interest-card .card-note { font-size: .76rem; margin: 1.8rem 0 0; color: #a7d9cd; }
.mustang-card { grid-row: span 2; }
.card-image { display: block; overflow: hidden; }
.card-image img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.career-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 6rem; align-items: start; }
.timeline { list-style: none; padding: 0 0 0 1.75rem; margin: .5rem 0 0 .3rem; border-left: 1px solid #3b8b7b; }
.timeline li { position: relative; padding: 0 0 2.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--teal); background: #164c40; left: -2.05rem; top: .5rem; box-shadow: 0 0 0 5px var(--paper); }
.timeline-date { color: var(--teal); font-size: .73rem; letter-spacing: .07em; margin-bottom: .65rem; }
.timeline h3 { font-size: 1.6rem; margin-bottom: .65rem; }
.timeline li > p:not(.timeline-date) { color: var(--muted); font-size: .93rem; }
.vexilar-feature { background: #0c302e url("/images/circuit-board.svg"); color: var(--ink); border: 1px solid #357565; border-top: 3px solid var(--teal); padding: 2.6rem; border-radius: 3px; position: sticky; top: 2rem; }
.vexilar-feature .eyebrow { color: var(--teal); }
.feature-years { font: 1.15rem var(--font-body); color: var(--blue); margin-block: 2.6rem 1.5rem; }
.feature-years span { margin-inline: .5rem; }
.vexilar-feature h3 { font-size: 2.5rem; }
.vexilar-feature > p:not(.eyebrow, .feature-years, .feature-footnote) { font-size: .9rem; color: #b8d5cd; }
.button-light { background: transparent; color: var(--teal); margin-top: 1rem; }
.button-light:hover { background: var(--teal); color: var(--btn-text); }
.feature-footnote { font-size: .72rem; color: #b8d5cd; margin: 1.3rem 0 0; }
.contact-section { background: #0b2630; border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; }
.contact-grid > div > p { max-width: 27rem; }
.contact-panel { background: var(--paper); border: 1px solid #3b6672; border-top: 2px solid var(--blue); padding: 2rem; border-radius: 3px; }
.form-hint { font-size: .75rem; color: var(--muted); line-height: 1.65; }
.contact-panel .form-row { grid-template-columns: 1fr; gap: .15rem; margin-bottom: .9rem; }
.contact-panel .form-row label { text-align: left; padding: 0; font-size: .75rem; }
.contact-panel .form-row .required { color: var(--input-error); }
.contact-panel .form-row input, .contact-panel .form-row textarea { padding: .65rem .75rem; border-color: #51727e; background: #0d2330; font-size: .95rem; }
.contact-panel .form-row input:focus, .contact-panel .form-row textarea:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
.contact-panel .btn-submit { width: 100%; padding: .8rem; border-radius: 3px; font-size: .84rem; letter-spacing: .03em; }
.contact-panel .form-notice.error { background: #361d2a; color: #ffcccf; border-color: #b3687d; }
.site-footer { background: #05101a; color: var(--ink); border-top: 1px solid var(--border); padding-block: 3rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.footer-name { font: 600 1.2rem var(--font-body); text-decoration: none; }
.footer-inner p { font-size: .75rem; color: var(--muted); margin: .6rem 0 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: end; font-size: .75rem; }
.footer-inner nav a { text-decoration: none; }
.footer-inner a:hover { color: var(--teal); }
.footer-inner .copyright { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid var(--border); margin: 0; font-size: .68rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .75rem; color: var(--muted); font-size: .75rem; padding-top: 2rem; }
.breadcrumbs a { text-decoration: none; }
.page-hero { padding-block: 4rem 4.5rem; max-width: 900px; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.page-deck { font-size: 1.15rem; line-height: 1.75; color: var(--muted); max-width: 660px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; font-size: .72rem; color: var(--muted); margin-top: 2rem; }
.section-bordered { border-top: 1px solid var(--border); }
.story-layout { display: grid; grid-template-columns: 240px 1fr; gap: 5rem; }
.story-index { align-self: start; position: sticky; top: 2rem; }
.story-index nav { display: flex; flex-direction: column; gap: .6rem; font-size: .83rem; margin-bottom: 2rem; }
.story-index nav a { text-decoration: none; }
.story-copy h2 { font-size: 1.9rem; }
.story-copy section { margin-top: 3.5rem; }
.story-copy .eyebrow { margin-bottom: 1rem; }
.story-note { background: var(--panel); padding: 2rem; border: 1px solid var(--border); border-left: 3px solid var(--teal); margin-bottom: 2.5rem; }
.mustang-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; padding-block: 3rem 4rem; }
.mustang-hero .page-hero { padding: 1rem 0; }
.mustang-hero h1 { font-size: clamp(2.1rem, 3.5vw, 3rem); }
.mustang-hero figure { margin: 0; }
.mustang-hero figure img { border-radius: 3px; width: 100%; }
.mustang-hero figcaption { font-size: .72rem; color: var(--muted); margin-top: .75rem; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.spec-grid h3 { font-size: 1.5rem; }
.spec-grid ul { font-size: .9rem; padding-left: 1.1rem; color: var(--muted); }
.spec-grid li { margin-bottom: .5rem; }
.project-update { display: grid; grid-template-columns: .8fr 1.4fr; gap: 4rem; padding: 2.5rem; border: 1px solid var(--border); border-left: 3px solid var(--blue); background: var(--panel); margin-bottom: 3rem; }
.project-update h3 { margin: 0; font-size: 2rem; }
.project-update p:last-child { margin-bottom: 0; }
.gallery-section { padding-top: 0; }
.hero > *, .about-grid > *, .career-grid > *, .contact-grid > *, .story-layout > *, .mustang-hero > *, .project-update > * { min-width: 0; }
@media (min-width: 901px) { .menu-toggle { display: none; } }
@media (max-width: 1000px) {
    .shell { width: calc(100% - 3rem); }
    .site-nav { gap: 1rem; }
    .hero { gap: 2.5rem; }
    .career-grid { gap: 3rem; }
    .about-grid, .contact-grid { gap: 3rem; }
    .story-layout { gap: 3rem; grid-template-columns: 200px 1fr; }
}
@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; gap: 0; min-height: 82px; padding-block: 1.1rem; }
    .site-nav { width: 100%; flex-wrap: wrap; padding-top: 1rem; gap: 1rem 1.5rem; }
    .has-js .site-nav { display: none; }
    .has-js .site-nav.is-open { display: flex; }
    .hero { grid-template-columns: 1.15fr 1fr; gap: 2rem; padding-block: 3.5rem; }
    .hero h1 { font-size: clamp(2rem, 4.3vw, 3rem); }
    .hero-portrait figcaption { flex-direction: column; gap: 0; }
    .hero-intro br { display: none; }
    .interest-grid { grid-template-columns: repeat(2, 1fr); }
    .mustang-card { grid-row: span 2; }
    .section { padding-block: 4rem; }
    .career-grid { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; }
    .vexilar-feature { padding: 2rem; }
    .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 2rem; }
    .contact-panel { padding: 1.5rem; }
    .story-layout { grid-template-columns: 1fr; gap: 3rem; }
    .story-index { position: static; border-bottom: 1px solid var(--border); }
    .story-index nav { flex-direction: row; flex-wrap: wrap; column-gap: 1.5rem; }
    .story-copy { max-width: none; }
    .mustang-hero { grid-template-columns: 1fr; gap: 0; }
    .mustang-hero .page-hero { max-width: 650px; }
}
@media (max-width: 600px) {
    .shell { width: calc(100% - 2.5rem); }
    .wordmark { font-size: .86rem; gap: .6rem; }
    .monogram { width: 37px; height: 37px; font-size: 1.1rem; }
    .hero { grid-template-columns: 1fr; padding-block: 2.75rem 3.5rem; gap: 2rem; }
    .hero h1 { font-size: clamp(2rem, 8.2vw, 2.85rem); }
    .hero-copy { padding: 0; }
    .hero-portrait { max-width: 360px; width: calc(100% - .5rem); margin: .5rem auto 0; }
    .hero-portrait img { aspect-ratio: 1.15; object-position: center 35%; }
    .hero-portrait figcaption { flex-direction: row; }
    .intro-strip .shell { justify-content: center; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .78rem; }
    .about-grid, .career-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding-block: 3.5rem; }
    .section-heading { display: block; margin-bottom: 2rem; }
    .section-heading > p { margin-top: 1rem; }
    .interest-grid { grid-template-columns: 1fr; gap: 1rem; }
    .mustang-card { grid-row: auto; }
    .card-body { padding: 1.65rem; }
    .card-number { margin-bottom: 1rem; }
    .vexilar-feature { position: static; }
    .feature-years { margin-top: 2rem; }
    .contact-panel { padding: 1.25rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-inner nav { justify-content: start; }
    .page-hero { padding-block: 2.75rem 3rem; }
    .page-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-meta { gap: .5rem 1rem; }
    .story-note { padding: 1.5rem; }
    .mustang-hero { padding-block: 2rem 3rem; }
    .spec-grid { grid-template-columns: 1fr; gap: 1rem; }
    .project-update { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; }
    .gallery-section { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
