/* Vortex Aerospace — public site. One stylesheet, no framework. */
:root {
  --ground: #0b1017; --ground-2: #0e141c; --panel: #10171f; --panel-2: #151d27;
  --line: #1f2c3a; --line-2: #2d3f52;
  --text: #dfe6ee; --muted: #93a3b5; --dim: #5f7085;
  --amber: #f2a63a; --cyan: #6cc7ff; --blue: #1e5fb3;
  --display: "Saira Extra Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --wide: "Saira", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 1180px; --gutter: clamp(18px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: .01em; line-height: 1; text-transform: uppercase; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---- header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; display: flex; align-items: center; padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(11,16,23,.92), rgba(11,16,23,.78)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(45,63,82,.5); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 13px; color: var(--text); text-decoration: none !important; }
.brand img { height: 28px; width: auto; }
.brand span { font-family: var(--wide); font-weight: 500; font-size: 14px; letter-spacing: .44em; text-transform: uppercase; color: #eef3f8; transform: translateY(-1px); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none !important; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--amber); }
.nav a.portal { color: var(--amber); border: 1px solid rgba(242,166,58,.55); padding: 7px 12px; }
.nav a.portal:hover { background: var(--amber); color: #0b1017; border-color: var(--amber); }
.menu { display: none; appearance: none; background: none; border: 1px solid var(--line-2); color: var(--text); width: 40px; height: 36px; cursor: pointer; padding: 0; }
.menu i { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; }
@media (max-width: 760px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(11,16,23,.97); border-bottom: 1px solid var(--line-2); padding: 8px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav a.portal { margin-top: 14px; text-align: center; border: 1px solid rgba(242,166,58,.55); }
}

/* ---- hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: #070a0e; }
.hero .media { position: absolute; inset: 0; }
.hero video, .hero .media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,23,.25) 0%, rgba(11,16,23,0) 35%, rgba(11,16,23,.55) 75%, rgba(11,16,23,.96) 100%); }
.hero .wrap { position: relative; padding: 140px 0 clamp(48px, 8vh, 96px); }
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--amber); }
.hero h1 { font-size: clamp(88px, 16vw, 200px); line-height: .86; letter-spacing: .005em; color: #fff; margin-left: -.03em; }
.hero .lead { max-width: 640px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: #c9d4df; margin: 28px 0 32px; }
.hero .lead b { color: #fff; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 13px 20px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none !important; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn.primary { background: var(--amber); border-color: var(--amber); color: #0b1017; }
.btn.primary:hover { background: #ffbb55; border-color: #ffbb55; }
.btn svg { width: 14px; height: 14px; }
.hero .status { position: absolute; right: var(--gutter); bottom: 22px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); display: flex; gap: 10px; align-items: center; }
.hero .status i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
@media (max-width: 760px) { .hero .status { display: none; } .hero .wrap { padding-top: 110px; } }

/* ---- sections */
section.block { padding: clamp(64px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
section.block.flush { padding-top: 0; border-top: 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { font-size: clamp(42px, 5.6vw, 72px); color: #fff; }
.head .intro { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }
.head .intro b, .prose b { color: #fff; font-weight: 500; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 20px; } }
.prose { font-size: 17px; color: #c3cfdb; max-width: 62ch; }
.prose p + p { margin-top: .2em; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.statement { font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; text-transform: uppercase; color: #fff; }
.statement em { font-style: normal; color: var(--amber); }

/* figures */
figure { margin: 0; }
figure.full { position: relative; background: #070a0e; border: 1px solid var(--line); }
figure.full img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 12px 0 0; display: flex; justify-content: space-between; gap: 16px; }
figcaption span { color: var(--muted); }
figure.full figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; background: linear-gradient(0deg, rgba(7,10,14,.85), rgba(7,10,14,0)); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gallery figure { border: 1px solid var(--line); background: #070a0e; }
.gallery figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption { padding: 12px 14px 13px; border-top: 1px solid var(--line); }
.gallery figure.wide { grid-column: 1 / -1; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }

/* feature list */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.features > div { background: var(--ground); padding: 26px 24px 28px; }
.features .n { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--amber); margin-bottom: 18px; }
.features h3 { font-family: var(--wide); font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; color: #fff; margin-bottom: 10px; }
.features p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* configurations strip */
.configs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.configs figure { border: 1px solid var(--line); background: #070a0e; }
.configs img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.configs figcaption { padding: 12px 14px; border-top: 1px solid var(--line); flex-direction: column; gap: 4px; }
.configs figcaption b { font-family: var(--wide); font-size: 13px; letter-spacing: .08em; color: #fff; font-weight: 500; }
.configs figcaption span { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .configs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .configs { grid-template-columns: 1fr; } }

/* programme timeline */
.phases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); margin-top: 8px; }
.phases > div { padding: 22px 18px 0 0; position: relative; }
.phases > div::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--ground); border: 1px solid var(--line-2); }
.phases > div.done::before { background: var(--muted); border-color: var(--muted); }
.phases > div.now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 10px var(--amber); }
.phases .n { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--dim); margin-bottom: 8px; }
.phases .now .n { color: var(--amber); }
.phases h3 { font-family: var(--wide); font-size: 14px; letter-spacing: .06em; font-weight: 500; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.phases p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); margin-left: 4px; } .phases > div { padding: 0 0 26px 22px; } .phases > div::before { left: -5px; top: 4px; } }

/* CTA panel */
.cta { border: 1px solid var(--line-2); background: linear-gradient(135deg, var(--panel-2), var(--ground-2)); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(79,179,255,.18), rgba(30,95,179,.06) 55%, transparent 70%); pointer-events: none; }
.cta h2 { font-size: clamp(36px, 4.6vw, 58px); color: #fff; margin-bottom: 14px; }
.cta p { color: var(--muted); margin: 0; }
.cta .actions { justify-content: flex-start; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* confidential panel */
.conf { border: 1px solid var(--line-2); padding: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; background: var(--panel); }
.conf h3 { font-size: clamp(30px, 3.6vw, 44px); color: #fff; margin-bottom: 12px; }
.conf .stamp { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(242,166,58,.6); padding: 5px 10px; margin-bottom: 18px; }
.conf ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.conf li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; }
.conf li span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.conf p { color: var(--muted); }
@media (max-width: 860px) { .conf { grid-template-columns: 1fr; } }

/* thermal watch */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 64px; align-items: center; }
.monitor { border: 1px solid var(--line-2); background: #000; position: relative; }
.monitor video, .monitor img { width: 100%; height: auto; aspect-ratio: 640 / 370; object-fit: cover; }
.monitor .tag { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; background: rgba(242,166,58,.92); color: #0b1017; padding: 3px 8px; }
.monitor .rec { position: absolute; right: 12px; top: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: #fff; display: flex; align-items: center; gap: 8px; }
.monitor .rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 8px #ff5a4f; }
@media (max-width: 860px) { .watch { grid-template-columns: 1fr; } }

/* work steps (company) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps > div { border-top: 2px solid var(--line-2); padding-top: 20px; }
.steps > div:first-child { border-top-color: var(--amber); }
.steps .n { font-family: var(--display); font-size: 54px; color: var(--line-2); line-height: 1; margin-bottom: 8px; }
.steps > div:first-child .n { color: var(--amber); }
.steps h3 { font-family: var(--wide); font-size: 15px; letter-spacing: .06em; font-weight: 500; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.steps p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact > div { border: 1px solid var(--line-2); background: var(--panel); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.contact h3 { font-size: 34px; color: #fff; }
.contact p { color: var(--muted); margin: 0; flex: 1; }
.contact .addr { font-family: var(--mono); font-size: clamp(15px, 2.2vw, 20px); color: #fff; word-break: break-all; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* page hero (subpages) */
.page-hero { position: relative; padding-top: 64px; background: #070a0e; overflow: hidden; }
.page-hero .media img { width: 100%; height: clamp(380px, 68vh, 760px); object-fit: cover; object-position: center 42%; }
.page-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,23,.35) 0%, rgba(11,16,23,0) 40%, rgba(11,16,23,.95) 100%); }
.page-hero .text { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(28px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(64px, 11vw, 140px); line-height: .9; color: #fff; margin-left: -.03em; }
.page-hero .sub { font-size: clamp(16px, 1.5vw, 19px); color: #c9d4df; max-width: 620px; margin-top: 18px; }
.page-hero.plain { padding-top: 64px; }
.page-hero.plain .wrap { padding: clamp(56px, 9vw, 120px) 0 clamp(28px, 5vw, 56px); }

/* footer */
footer { border-top: 1px solid var(--line-2); padding: 48px 0 calc(28px + env(safe-area-inset-bottom, 0px)); background: #080c11; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
footer .brandline { display: flex; align-items: center; gap: 12px; }
footer .brandline img.mark { width: 30px; height: 30px; }
footer .brandline img.word { height: 18px; width: auto; }
footer .brandline span { font-family: var(--wide); font-size: 10.5px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
footer .tag { color: var(--dim); font-size: 14px; margin-top: 14px; max-width: 34ch; }
footer h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--dim); font-weight: 400; margin-bottom: 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
footer li a { color: var(--muted); font-size: 14px; }
footer li a:hover { color: #fff; }
footer .legal { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--dim); }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer .cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
