:root {
  --navy: #07131c;
  --navy-2: #0c1e2b;
  --navy-3: #132a3b;
  --cyan: #1ca8de;
  --cyan-2: #7ad0f0;
  --paper: #f4f1ea;
  --paper-2: #ebe6dc;
  --ink: #13202b;
  --muted: #5b6c78;
  --line: #cfc8b8;
  --line-dark: rgba(255,255,255,0.12);
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
a:hover { color: var(--cyan-2); }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }



.utility {
  background: var(--navy-2);
  border-bottom: 1px solid var(--line-dark);
  color: #c5d0d7;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 600;
}
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 9px 0; }
.utility span { color: var(--cyan-2); }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,19,28,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 8px 20px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a {
  color: #d5dee4; text-decoration: none;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { box-shadow: 0 2px 0 var(--cyan); }

.dropdown { position: relative; }
.dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 240px;
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  padding: 8px 0;
  z-index: 60;
}
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown.open > .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 8px 16px;
  letter-spacing: 0.06em;
}
.dropdown-menu a:hover { background: rgba(28,168,222,0.12); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan); color: var(--navy) !important;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 13px; padding: 12px 18px;
  border: 1px solid var(--cyan); text-decoration: none !important;
  cursor: pointer;
}
.btn:hover { background: #fff; border-color: #fff; }
.btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.45); }
.btn.ghost:hover { border-color: #fff; }
.btn.ink { background: var(--navy); color: #fff !important; border-color: var(--navy); }
.btn.ink:hover { background: #000; }
.btn.ghost.ink { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.btn.ghost.ink:hover { background: var(--navy); color: #fff !important; }

.menu-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line-dark); color: #fff;
  width: 44px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; }

.kicker {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 12px; color: var(--cyan); margin-bottom: 12px;
}
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; margin-bottom: 16px; }
h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin-bottom: 14px; }
h3 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.lead { color: var(--muted); max-width: 46em; margin-bottom: 28px; font-size: 18px; }

.hero {
  position: relative; min-height: 86vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy); color: #e8eef2;
  border-bottom: 1px solid var(--line-dark);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,19,28,0.94) 0%, rgba(7,19,28,0.82) 38%, rgba(7,19,28,0.38) 68%, rgba(7,19,28,0.22) 100%),
    linear-gradient(180deg, rgba(7,19,28,0.35) 0%, rgba(7,19,28,0.08) 40%, rgba(7,19,28,0.82) 100%);
}
.hero-inner, .hero > .wrap { position: relative; z-index: 1; }
.hero > .wrap { padding-top: 72px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #c5d0d7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.photo-credit { font-size: 12px; color: var(--muted); margin-top: 8px; }
.hero .photo-credit { position: relative; z-index: 1; color: #9aa8b3; padding: 0 0 14px; margin: 0; }
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--line-dark);
  position: relative; z-index: 1;
  background: rgba(7,19,28,0.78);
  backdrop-filter: blur(10px);
}
.stat { padding: 22px 20px 26px; border-right: 1px solid var(--line-dark); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat dt {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 11px; color: var(--cyan-2); margin-bottom: 6px; font-weight: 600;
}
.stat dd { color: #fff; font-size: 15px; font-weight: 500; }

.page-hero {
  background: var(--navy); color: #e8eef2;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line-dark);
}
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lead { color: #c5d0d7; margin-bottom: 0; }
.page-hero.with-photo { position: relative; min-height: 420px; display: flex; align-items: flex-end; }
.page-hero.with-photo .hero-media { position: absolute; inset: 0; }
.page-hero.with-photo .wrap { position: relative; z-index: 1; padding-bottom: 8px; }

section.block { padding: 80px 0; }
.paper { background: var(--paper); color: var(--ink); }
.paper-2 { background: var(--paper-2); }

.cap-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); background: #fff;
}
.cap { padding: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.cap:nth-child(3n) { border-right: 0; }
.cap:nth-child(n+4) { border-bottom: 0; }
a.cap:hover { background: #faf8f3; }
.cap-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.cap-photo img { width: 100%; height: 100%; object-fit: cover; }
.cap-body { padding: 20px 22px 24px; }
.cap .idx { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--cyan); margin-bottom: 10px; }
.cap p { color: var(--muted); font-size: 15px; }
.stock-tag, .own-tag {
  display: inline-block;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 10px;
}
.stock-tag { color: #8a7d6b; }
.own-tag { color: var(--cyan); margin: 0 0 4px; }

.gov-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.section-photo { margin: 0 0 36px; }
.section-photo img { width: 100%; height: 420px; object-fit: cover; }
.section-photo figcaption, .gallery figcaption, .comm-photos figcaption, .process-photo figcaption {
  font-size: 12px; color: var(--muted); margin-top: 8px;
}

.panel { background: var(--navy-2); color: #e4edf2; border: 1px solid var(--line-dark); }
.panel header {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 22px; border-bottom: 1px solid var(--line-dark);
  font-family: "IBM Plex Sans Condensed", sans-serif;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; font-weight: 600;
  color: var(--cyan-2);
}
.panel header span { color: #8899a4; letter-spacing: 0.04em; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 10px 18px; border-bottom: 1px solid var(--line-dark); text-align: left; vertical-align: top; }
table.data th {
  width: 40%; color: #93a6b2; font-weight: 500;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px;
}
table.data td { color: #fff; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }
table.data.light { background: #fff; border: 1px solid var(--line); }
table.data.light th, table.data.light td { border-bottom-color: var(--line); }
table.data.light th { color: var(--muted); background: #faf8f3; }
table.data.light td { color: var(--ink); }

.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.naics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.naics { border: 1px solid var(--line); background: #fff; padding: 16px 18px; }
.naics .code { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--cyan); display: block; margin-bottom: 4px; }
.naics p { font-size: 14px; color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.rule-list { list-style: none; }
.rule-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 48px 1fr; gap: 8px;
}
.rule-list .n { font-family: "IBM Plex Mono", monospace; color: var(--cyan); font-size: 13px; padding-top: 2px; }
.comm-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.comm-photos img { width: 100%; height: 280px; object-fit: cover; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 230px; object-fit: cover; }
.gallery figcaption { padding: 12px 14px 16px; margin-top: 0; }
.gallery strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }

.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project { background: #fff; border: 1px solid var(--line); padding: 0; overflow: hidden; }
.project img { width: 100%; height: 200px; object-fit: cover; }
.project .body { padding: 18px 20px 22px; }
.project .meta { font-family: "IBM Plex Sans Condensed", sans-serif; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

.process-photo { margin: 0 0 32px; }
.process-photo img { width: 100%; height: 380px; object-fit: cover; object-position: 50% 28%; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proc { padding: 24px 18px 28px; border-right: 1px solid var(--line); }
.proc:last-child { border-right: 0; }
.proc .n { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--cyan); margin-bottom: 10px; }
.proc p { font-size: 14px; color: var(--muted); }
.comply { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 36px; }
.comply article { border-top: 2px solid var(--navy); padding-top: 16px; }
.comply p { font-size: 15px; color: var(--muted); }

.contact-band { background: var(--navy); color: #e8eef2; padding: 88px 0; }
.contact-band h1, .contact-band h2 { color: #fff; }
.contact-band .lead { color: #b7c5ce; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
form.rfq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.rfq .full { grid-column: 1 / -1; }
label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; color: #9fb0ba; font-family: "IBM Plex Sans Condensed", sans-serif; }
.paper label { color: var(--muted); }
input, select, textarea {
  width: 100%; background: var(--navy-3); color: #fff;
  border: 1px solid var(--line-dark); padding: 12px; font: inherit; font-size: 16px;
}
.paper input, .paper select, .paper textarea { background: #fff; color: var(--ink); border-color: var(--line); }
textarea { min-height: 130px; resize: vertical; }
.vcard { border: 1px solid var(--line-dark); padding: 22px; }
.vcard dt { font-family: "IBM Plex Sans Condensed", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; color: var(--cyan-2); margin-top: 14px; font-weight: 600; }
.vcard dt:first-child { margin-top: 0; }
.vcard dd { color: #fff; font-size: 17px; }
.vcard a { color: #fff; text-decoration: none; }
.vcard a:hover { color: var(--cyan-2); }
.form-note { font-size: 13px; color: #8b9ba5; }
.thankyou { display: none; border: 1px solid var(--cyan); padding: 28px; }
.thankyou.show { display: block; }
form.rfq.hidden { display: none; }

.prose { max-width: 42em; }
.prose p { margin-bottom: 1em; color: var(--ink); }
.prose ul { margin: 0 0 1em 1.2em; color: var(--ink); }
.crumbs { font-size: 13px; color: #9aa8b3; margin-bottom: 14px; }
.crumbs a { color: var(--cyan-2); text-decoration: none; }
.page-hero .crumbs a { color: var(--cyan-2); }
.paper .crumbs, .paper-2 .crumbs { color: var(--muted); }
.paper .crumbs a, .paper-2 .crumbs a { color: var(--cyan-dark, #0e86b5); }

footer.site {
  background: #04090d; color: #8b9ba5; padding: 48px 0 28px; font-size: 13px;
  border-top: 1px solid var(--line-dark);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
footer.site h3 { font-family: "IBM Plex Sans Condensed", sans-serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
footer.site a { color: #c5d0d7; text-decoration: none; display: inline-block; margin-bottom: 4px; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; }
footer.site .logo img { height: 40px; margin-bottom: 12px; }
footer.site p { margin: 0; }
.legal { border-top: 1px solid var(--line-dark); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.notfound { min-height: 60vh; display: flex; align-items: center; padding: 80px 0; background: var(--navy); color: #fff; }
.notfound h1 { color: #fff; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--navy-2); flex-direction: column; align-items: stretch;
    padding: 12px 0 20px; gap: 0; border-bottom: 1px solid var(--line-dark);
  }
  header.site.menu-open .nav-links { display: flex; }
  .nav-links > li { border-bottom: 1px solid var(--line-dark); }
  .nav-links a { display: block; padding: 12px 24px; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); }
  .dropdown-menu { position: static; display: block; border: 0; background: transparent; padding: 0 0 8px; }
  .dropdown-menu a { padding-left: 36px; font-size: 12px; }
  .nav .btn { display: none; }
  .hero-stats, .cap-row, .gov-layout, .naics-grid, .split, .process, .comply, .contact-grid, form.rfq, .gallery, .comm-photos, .projects, .foot-grid {
    grid-template-columns: 1fr;
  }
  .stat, .cap, .proc { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .cap, .proc { border-bottom-color: var(--line); }
  .cap:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .cap:last-child, .proc:last-child { border-bottom: 0; }
  .hero h1, .page-hero h1 { max-width: none; }
  .hero { min-height: 92vh; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(7,19,28,0.30) 0%, rgba(7,19,28,0.50) 38%, rgba(7,19,28,0.94) 100%);
  }
  section.block, .contact-band { padding: 56px 0; }
  .utility .wrap { justify-content: flex-start; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .logo img { height: 40px; }
  table.data td { word-break: break-word; }
  .section-photo img, .process-photo img { height: 240px; }
  .gallery img, .comm-photos img, .project img { height: 220px; }
  .hero-stats .stat:first-child { padding-left: 20px; }
}

/* Production additions */
.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  display: none;
  color: #b42318;
  background: #fff3f1;
  border: 1px solid #f0c2bc;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 15px;
}
.form-error.show { display: block; }
.form-status { font-size: 14px; color: #8b9ba5; margin-top: 8px; }
.work-caption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.credits-list { display: grid; gap: 28px; }
.credits-list article { border-top: 1px solid var(--line); padding-top: 18px; }
.credits-list h3 { font-size: 18px; margin-bottom: 6px; }
.credits-list p, .credits-list li { color: var(--muted); }
.credits-list ul { margin: 8px 0 0 1.15em; }
.credits-list a { color: var(--cyan-dark, #0e86b5); }
.ident-table { width: 100%; border-collapse: collapse; }
.ident-table th, .ident-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.ident-table th { color: #9aa8b3; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; width: 38%; }
.ident-table td { color: #fff; }
.panel .ident-table th { color: #9aa8b3; }
button.btn:disabled { opacity: 0.65; cursor: progress; }

.sheet-wrap { background: var(--paper-2); padding: 48px 0 80px; }
.sheet { background: #fff; color: var(--ink); padding: 48px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(7,19,28,0.08); }
.sheet-head { display: flex; gap: 24px; align-items: center; border-bottom: 2px solid var(--navy); padding-bottom: 20px; margin-bottom: 24px; }
.sheet-head img { height: 64px; width: auto; }
.sheet-head h1 { margin: 0 0 4px; font-size: 32px; }
.sheet-head p { margin: 0; color: var(--muted); }
.sheet-lead { margin-bottom: 28px; }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.sheet-grid h2 { font-size: 18px; margin-bottom: 10px; }
.sheet-grid ul { margin: 0 0 0 1.1em; }
.sheet .ident-table th { color: var(--muted); width: 42%; border-bottom-color: var(--line); }
.sheet .ident-table td { color: var(--ink); border-bottom-color: var(--line); }
.sheet-poc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  .sheet-grid, .sheet-poc { grid-template-columns: 1fr; }
  .sheet { padding: 24px; }
}

.navy-band { background: var(--navy); color: #e8eef2; }
.navy-band h2 { color: #fff; }
.navy-band .lead { color: #c5d0d7; }
.navy-band img { width: 100%; height: 360px; object-fit: cover; }

.muted-mark, .ident-table .muted-mark { color: inherit; opacity: 0.7; font-weight: 500; font-size: 0.85em; }
.sheet .ident-table .muted-mark { color: var(--muted); opacity: 1; }
