/* EliteTech Solutions LLC: stylesheet v2 (draft, not published). See ../../DESIGN.md.
   Direction: orbital precision. IBM Plex Sans and Mono are self-hosted (SIL Open Font License, see ../fonts/). No third-party requests. */

/* Self-hosted fonts, Latin subset */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexSans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexSans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/IBMPlexSans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/IBMPlexSans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexMono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexMono-500.woff2") format("woff2"); }

:root {
  --ink: #04161e;
  --teal-900: #002c3a;
  --teal-800: #003e51;
  --teal-700: #0a5670;
  --sky-300: #8dc8e8;
  --sky-100: #e6f2f9;
  --paper: #f5f8fa;
  --white: #ffffff;
  --gold-500: #fdbe41;
  --gold-600: #e5a526;
  --text: #0b2530;
  --muted: #44606e;
  --muted-dark: #b9cfda;
  --line: #d4e1e8;
  --line-dark: rgba(141, 200, 232, .22);
  --radius: 2px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --section: clamp(72px, 10vw, 144px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; display: flex; flex-direction: column; min-height: 100vh;
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: .2em; }
a:hover { color: var(--teal-800); }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--teal-800); }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .cta :focus-visible { outline-color: var(--gold-500); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--gold-500); color: var(--ink); padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.label { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }

/* Draft ribbon: remove at launch */
.draft-ribbon { background: var(--gold-500); color: var(--ink); font-size: .8125rem; font-weight: 600; text-align: center; padding: .4rem 1rem; }
mark.approve { background: rgba(253, 190, 65, .38); color: inherit; padding: 0 .2em; box-shadow: inset 0 -2px 0 var(--gold-600); }
.on-dark mark.approve, .hero mark.approve, .page-hero mark.approve, .site-footer mark.approve, .cta mark.approve { background: rgba(253, 190, 65, .22); box-shadow: inset 0 -2px 0 var(--gold-500); }

/* Header */
.site-header { background: var(--ink); border-bottom: 1px solid var(--line-dark); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img.emblem { width: 46px; height: auto; }
.brand img.words { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: .25rem 2rem; flex-wrap: wrap; }
.nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .5rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--sky-300); color: var(--white); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold-500); }
.nav a.btn { border-bottom: 0; padding: .65rem 1.25rem; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .75rem 1.6rem; border-radius: var(--radius); border: 2px solid var(--gold-500); background: var(--gold-500); color: var(--ink); font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--ink); transform: translateY(-1px); }
.btn.outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn.outline:hover { background: rgba(255,255,255,.08); border-color: var(--white); color: var(--white); }
.btn.outline-dark { background: transparent; color: var(--teal-800); border-color: var(--teal-800); }
.btn.outline-dark:hover { background: var(--teal-800); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold-500); }
.link-arrow::after { content: " \2192"; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background:
  radial-gradient(900px 520px at 78% 40%, rgba(10, 86, 112, .55), rgba(10, 86, 112, 0) 70%),
  linear-gradient(180deg, var(--ink) 0%, var(--teal-900) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 72%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 9vw, 120px); }
.hero .label { color: var(--gold-500); margin: 0 0 1.5rem; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.6vw, 4.25rem); line-height: 1.05; letter-spacing: -.02em; max-width: 16ch; margin-bottom: 1.5rem; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--muted-dark); max-width: 54ch; margin-bottom: 2.25rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .tags { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-300); border: 1px solid var(--line-dark); padding: .35rem .7rem; }
.diagram { width: 100%; max-width: 560px; justify-self: end; overflow: visible; }
.diagram .orbit { fill: none; stroke: var(--sky-300); stroke-linecap: round; }
.diagram .orbit.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s cubic-bezier(.22,.7,.2,1) .2s forwards; }
.diagram .lbl { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; fill: var(--muted-dark); text-transform: uppercase; }
.diagram .star { fill: var(--gold-500); }
.diagram .tw { animation: twinkle 5s ease-in-out infinite; }
.diagram .tw.b { animation-delay: 1.6s; } .diagram .tw.c { animation-delay: 3.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.page-hero { background: linear-gradient(180deg, var(--ink) 0%, var(--teal-900) 100%); color: var(--white); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border: 1px solid var(--line-dark); border-radius: 50%; box-shadow: 0 0 0 60px rgba(141,200,232,.04), 0 0 0 120px rgba(141,200,232,.03); pointer-events: none; }
.page-hero .wrap { position: relative; padding-block: clamp(48px, 7vw, 96px); z-index: 1; }
.page-hero .label { color: var(--gold-500); margin-bottom: 1rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; max-width: 20ch; }
.page-hero p { margin: 1.25rem 0 0; max-width: 58ch; color: var(--muted-dark); font-size: 1.2rem; }

/* Sections */
section { padding-block: var(--section); }
section.tight { padding-block: clamp(48px, 6vw, 88px); }
.section-head { display: grid; grid-template-columns: 4fr 8fr; gap: 24px 64px; margin-bottom: clamp(32px, 5vw, 64px); align-items: end; }
.section-head .label { color: var(--teal-700); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; letter-spacing: -.015em; }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; font-size: 1.15rem; }
.on-dark { background: var(--ink); color: var(--white); }
.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .section-head .label { color: var(--gold-500); }
.on-dark p { color: var(--muted-dark); }
.band-tint { background: var(--sky-100); }

/* Index rows (mission areas, capabilities) */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index > li { display: grid; grid-template-columns: 96px 5fr 6fr; gap: 16px 40px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .2s ease; }
.index > li:hover { background: linear-gradient(90deg, rgba(141,200,232,.14), transparent 70%); }
.index .num { font-family: var(--mono); font-size: .95rem; color: var(--teal-700); letter-spacing: .1em; }
.index h2, .index h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; }
.index p { margin: 0; color: var(--muted); }

/* Dark variants of shared components */
.on-dark .index, .panel-dark .index { border-top-color: var(--line-dark); }
.on-dark .index > li { border-bottom-color: var(--line-dark); }
.on-dark .index .num { color: var(--gold-500); }
.on-dark .index p, .panel-dark .index p { color: var(--muted-dark); }
.on-dark .cred li, .panel-dark .cred li { color: var(--sky-300); border-color: var(--line-dark); }

/* Lifecycle */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-dark); }
.steps li { position: relative; padding-top: 44px; counter-increment: step; }
.steps li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; background: var(--ink); border: 2px solid var(--gold-500); transform: rotate(45deg); }
.steps .label { display: block; color: var(--sky-300); margin-bottom: .5rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.steps p { font-size: .98rem; margin: 0; }

/* Traceability illustration panel */
.split { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.panel-dark { background: linear-gradient(160deg, var(--teal-900), var(--ink)); border: 1px solid var(--line-dark); padding: clamp(20px, 3vw, 36px); }
.panel-dark .cap { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--muted-dark); text-transform: uppercase; margin: 14px 0 0; }
.panel-light { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.panel-light h3 { font-size: 1.4rem; margin-bottom: 1rem; }

/* Credentials, CTA, prose, contact */
.cred { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.cred li { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-800); border: 1px solid var(--teal-800); padding: .5rem .9rem; }
/* SBA's official WOSB Certified icon, scaled only (never recolored or cropped); see content/imagery-log.md */
.cred-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.sba-icon { display: block; width: 140px; height: auto; flex: none; }
.cred-note { margin: 1rem 0 0; font-size: .9375rem; color: var(--muted); }
.cred-note a { color: var(--teal-700); text-underline-offset: 3px; }
.cred-note a:focus-visible { outline: 3px solid var(--teal-800); outline-offset: 3px; }
.cta { background: var(--teal-800); color: var(--white); position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: 8fr 4fr; gap: 32px 64px; align-items: center; }
.cta h2 { color: var(--white); max-width: 22ch; }
.cta p { color: var(--muted-dark); margin: 1rem 0 0; font-size: 1.15rem; max-width: 52ch; }
.cta .actions { justify-self: end; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.75rem; margin: 2.5rem 0 .75rem; } .prose h2:first-child { margin-top: 0; }
.big-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.big-contact .label { display: block; color: var(--teal-700); margin-bottom: .25rem; }
.big-contact a, .big-contact span.v { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; color: var(--teal-800); text-decoration: none; letter-spacing: -.01em; }
.big-contact a:hover { text-decoration: underline; text-decoration-color: var(--gold-500); text-decoration-thickness: 3px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; background: var(--gold-500); transform: rotate(45deg) scale(.8); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-block: 56px 36px; border-top: 1px solid var(--line-dark); }
.site-footer .wrap { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 40px; }
.site-footer .brand img.emblem { width: 50px; } .site-footer .brand img.words { width: 160px; }
.site-footer h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 1rem; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { display: inline-block; padding-block: 3px; }
.site-footer a { color: var(--white); text-decoration: none; } .site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold-500); }
.site-footer p { margin: 1rem 0 0; max-width: 38ch; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 24px; font-size: .875rem; margin: 0; max-width: none; }

/* Photography: AI-generated, illustrative (see ../../content/imagery-log.md) */
.has-photo { background-size: cover; background-position: var(--pos, center); background-repeat: no-repeat; }
.page-hero.has-photo { background-image: linear-gradient(90deg, rgba(4,22,30,.96) 0%, rgba(4,22,30,.86) 58%, rgba(4,22,30,.40) 100%), var(--photo); }
.page-hero.has-photo::after { display: none; }
.hero.has-photo { background-image: linear-gradient(90deg, rgba(4,22,30,.90) 0%, rgba(4,22,30,.74) 54%, rgba(4,22,30,.24) 74%, rgba(4,22,30,.04) 100%), var(--photo); }
.hero.has-photo::before { opacity: .22; }
/* 801-1000px: a stronger left-to-right fade keeps the photo visible on the right; contrast of all hero text sampled at 4.75:1 or better on every page */
@media (max-width: 1000px) {
  .page-hero.has-photo, .hero.has-photo { background-image: linear-gradient(90deg, rgba(4,22,30,.97) 0%, rgba(4,22,30,.92) 68%, rgba(4,22,30,.62) 100%), var(--photo); }
  .hero.has-photo { background-image: linear-gradient(90deg, rgba(4,22,30,.94) 0%, rgba(4,22,30,.84) 62%, rgba(4,22,30,.40) 84%, rgba(4,22,30,.16) 100%), var(--photo); }
}
@media (max-width: 800px) {
  .page-hero.has-photo, .hero.has-photo { background-image: linear-gradient(rgba(4,22,30,.84), rgba(4,22,30,.84)), var(--photo-sm, var(--photo)); }
}
/* .photo-tall: a taller hero so more of the photo shows (Who we serve: the whole rocket and launch facility) */
@media (min-width: 801px) {
  .page-hero.photo-tall { min-height: clamp(420px, 50vw, 760px); display: flex; align-items: center; }
  .page-hero.photo-tall .wrap { width: min(1200px, 100% - 48px); }
  .page-hero.photo-tall h1 { max-width: 16ch; }
}
/* .photo-right: the subject of the photo sits on the right, so keep the text in a narrow left column and leave the right side nearly clear (801px and up) */
@media (min-width: 801px) {
  .page-hero.has-photo.photo-right { background-image: linear-gradient(90deg, rgba(4,22,30,.96) 0%, rgba(4,22,30,.90) var(--p1, 46%), rgba(4,22,30,.35) var(--p2, 62%), rgba(4,22,30,.12) 100%), var(--photo); }
}
@media (min-width: 801px) {
  .page-hero.has-photo.photo-right p { max-width: 34ch; }
}
@media (min-width: 801px) and (max-width: 1000px) {
  .page-hero.has-photo.photo-right { --p1: 58%; --p2: 76%; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: .25rem 1.35rem; }
  .nav a { font-size: .94rem; }
  .brand img.words { width: 136px; } .brand img.emblem { width: 42px; }
}
@media (max-width: 960px) {
  .hero .wrap, .split, .cta .wrap, .section-head { grid-template-columns: 1fr; }
  .diagram { justify-self: center; max-width: 440px; margin-top: 8px; }
  .cta .actions { justify-self: start; }
  .index > li { grid-template-columns: 56px 1fr; }
  .index > li p { grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 32px; padding-left: 8px; }
  .steps::before { left: 15px; right: auto; top: 12px; bottom: 12px; width: 1px; height: auto; }
  .steps li { padding: 0 0 0 48px; }
  .steps li::before { top: 6px; left: 8px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-header { position: static; }
  .wrap { width: calc(100% - 32px); }
  .brand img.words { width: 128px; } .brand img.emblem { width: 40px; }
  .nav { gap: .1rem 1.1rem; }
  .diagram .lbl { display: none; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .diagram .orbit.draw { stroke-dashoffset: 0; }
}
@media print { .draft-ribbon, .diagram, .nav { display: none; } .hero, .page-hero, .site-header, .site-footer, .on-dark, .cta { background: #fff !important; color: #000 !important; } }

/* ---------- Motion: content builds into the page ----------
   Hero text rises in on load. Everything below builds in slowly as it scrolls into view (js/reveal.js adds .reveal-on to <html>, .rv to each item and .rv-in when it
   is on screen), with a clear stagger between siblings. Nothing is hidden unless that script runs, and the script does nothing for visitors who prefer reduced motion. */
@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .page-hero .wrap > *, .hero .wrap > div:first-child > * { animation: hero-in 1.3s cubic-bezier(.22, .7, .2, 1) backwards; }
  .page-hero .wrap > :nth-child(2), .hero .wrap > div:first-child > :nth-child(2) { animation-delay: .15s; }
  .page-hero .wrap > :nth-child(3), .hero .wrap > div:first-child > :nth-child(3) { animation-delay: .3s; }
  .hero .wrap > div:first-child > :nth-child(4) { animation-delay: .45s; }
  .hero .wrap > div:first-child > :nth-child(5) { animation-delay: .6s; }
}
.reveal-on .rv { opacity: 0; transform: translateY(56px); transition: opacity 1.4s cubic-bezier(.22, .7, .2, 1) var(--d, 0ms), transform 1.6s cubic-bezier(.22, .7, .2, 1) var(--d, 0ms); }
.reveal-on .rv.rv-in { opacity: 1; transform: none; }
/* the lifecycle line draws itself, then its five nodes pop in one after another */
.reveal-on .steps::before { transform: scaleX(0); transform-origin: left center; transition: transform 2.4s cubic-bezier(.22, .7, .2, 1) .2s; }
.reveal-on .steps.rv-in::before { transform: scaleX(1); }
.reveal-on .steps li::before { opacity: 0; transform: scale(.2); transition: opacity .8s ease calc(var(--d, 0ms) + .5s), transform .9s cubic-bezier(.3, 1.4, .5, 1) calc(var(--d, 0ms) + .5s); }
.reveal-on .steps li.rv-in::before { opacity: 1; transform: none; }
@media print { .reveal-on .rv, .reveal-on .steps::before, .reveal-on .steps li::before { opacity: 1 !important; transform: none !important; transition: none !important; } * { animation: none !important; } }
