:root {
  color-scheme: dark;
  --ink: #0a1825;
  --ink-soft: #102838;
  --paper: #f6f7f3;
  --paper-deep: #e8ebe5;
  --white: #ffffff;
  --orange: #ffad20;
  --orange-deep: #e99400;
  --blue: #53b5d8;
  --blue-deep: #287ea6;
  --muted: #aab9c3;
  --dark-muted: #4b6170;
  --border: rgba(255, 255, 255, 0.14);
  --page: min(1180px, calc(100vw - 48px));
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #d9ddd8;
  background: rgba(246, 247, 243, .97);
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
}
.site-header.scrolled {
  padding-top: 7px;
  padding-bottom: 7px;
  background: rgba(246, 247, 243, .94);
  border-color: #cfd4cf;
  backdrop-filter: blur(14px);
}

.brand {
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand img { width: 154px; height: auto; }

.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a {
  color: #263d4c;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .02em;
  text-decoration: none;
}
.primary-nav a:not(.nav-cta):hover { color: var(--orange-deep); }
.primary-nav .nav-cta { padding: 10px 16px; border: 1px solid var(--orange-deep); color: #9b6300; }
.primary-nav .nav-cta:hover { background: var(--orange); color: var(--ink); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 820px;
  width: var(--page);
  margin: 0 auto;
  padding: 140px 0 92px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  top: -280px;
  right: -320px;
  background: radial-gradient(circle, rgba(83, 181, 216, .16), transparent 68%);
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { margin-bottom: 26px; max-width: 720px; font-size: clamp(3.6rem, 6.5vw, 6.8rem); font-weight: 600; letter-spacing: -.065em; }
h1 span { color: var(--orange); }
.hero-intro { max-width: 620px; margin: 0; color: #bdcbd3; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 0;
  border-radius: 2px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--ink); }
.button-primary:hover { background: #ffc14d; }
.text-link { color: #d6e1e6; font-weight: 700; text-underline-offset: 6px; text-decoration-color: var(--blue); }
.text-link:hover { color: var(--blue); }

.vision-stage {
  position: relative;
  aspect-ratio: .94;
  overflow: hidden;
  border: 1px solid rgba(83, 181, 216, .24);
  background: #0d2230;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  isolation: isolate;
}
.stage-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(83, 181, 216, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(83, 181, 216, .07) 1px, transparent 1px);
  background-size: 36px 36px;
}
.stage-shape { position: absolute; inset: 4% 0 0; width: 100%; height: 90%; opacity: .95; }
.scan-line { position: absolute; z-index: 3; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); box-shadow: 0 0 22px var(--orange); animation: scan 5.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 15%; opacity: .2; } 50% { top: 78%; opacity: 1; } }
.vision-target-box, .vision-target-crosshair { fill: none; stroke: var(--orange); stroke-width: 1; }
.vision-target-label { fill: var(--orange); }
.vision-target text { fill: var(--ink); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.stage-status { position: absolute; z-index: 5; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(10, 24, 37, .82); color: #b7c7d0; font-family: ui-monospace, monospace; font-size: .7rem; text-transform: uppercase; backdrop-filter: blur(8px); }
.stage-status strong { margin-left: auto; color: var(--orange); }
.status-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }

.signal-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 24px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.signal-bar p { margin: 0; color: #cad6dc; font-size: .9rem; }
.signal-bar span { margin-right: 12px; color: var(--orange); font-family: ui-monospace, monospace; }

.section { padding: 120px max(24px, calc((100vw - 1180px) / 2)); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.section-heading h2, .capabilities h2, .contact h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 560; letter-spacing: -.05em; }
.approach { background: var(--paper); color: var(--ink); }
.approach .section-heading h2 { max-width: 780px; }
.approach-content { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin: 84px 0 76px calc(33.333% + 20px); color: var(--dark-muted); }
.approach-content p { margin: 0; }
.approach-content .lead { color: var(--ink); font-size: 1.32rem; line-height: 1.5; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid #cfd6d3; list-style: none; }
.process-list li { padding: 34px 36px 10px 0; }
.process-list li + li { padding-left: 36px; border-left: 1px solid #cfd6d3; }
.process-list span { color: var(--blue-deep); font-family: ui-monospace, monospace; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.process-list h3 { margin: 18px 0 12px; font-size: 1.4rem; }
.process-list p { margin: 0; color: var(--dark-muted); font-size: .94rem; }

.capabilities { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.capabilities-intro { position: sticky; top: 140px; align-self: start; }
.capabilities-intro p:last-child { max-width: 470px; margin-top: 28px; color: var(--muted); font-size: 1.05rem; }
.capability-list { border-top: 1px solid var(--border); }
.capability-list article { display: grid; grid-template-columns: 78px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--border); }
.capability-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(83, 181, 216, .42); color: var(--blue); font-family: ui-monospace, monospace; font-size: .9rem; font-weight: 800; }
.capability-list h3 { margin: 2px 0 9px; font-size: 1.35rem; }
.capability-list p { margin: 0; color: var(--muted); }

.technologies { border-top: 1px solid var(--border); background: #0d2230; }
.technology-intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 100px; }
.technology-intro h2 { max-width: 700px; margin: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 560; letter-spacing: -.05em; }
.technology-intro > p { max-width: 520px; margin: 0 0 8px; color: var(--muted); font-size: 1.05rem; }
.technology-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 72px 0 0; padding: 0; border-top: 1px solid rgba(83, 181, 216, .3); border-left: 1px solid rgba(83, 181, 216, .3); list-style: none; }
.technology-grid li { display: flex; flex-direction: column; min-height: 190px; padding: 24px; border-right: 1px solid rgba(83, 181, 216, .3); border-bottom: 1px solid rgba(83, 181, 216, .3); }
.technology-grid span { color: var(--blue); font-family: ui-monospace, monospace; font-size: .68rem; letter-spacing: .1em; }
.technology-grid strong { margin-top: auto; color: var(--white); font-size: 1.45rem; font-weight: 650; }
.technology-grid small { margin-top: 5px; color: var(--muted); font-size: .78rem; }

.applications { background: #eef0ec; color: var(--ink); }
.applications .section-note { max-width: 640px; margin: 42px 0 62px calc(33.333% + 20px); color: var(--dark-muted); }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.application-card { position: relative; overflow: hidden; min-height: 420px; background: var(--ink-soft); color: var(--white); }
.application-visual { position: absolute; inset: 0; opacity: .82; transition: transform .45s ease, opacity .45s ease; }
.application-card:hover .application-visual { transform: scale(1.04); opacity: 1; }
.application-card::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgba(6, 16, 24, .96)); }
.application-copy { position: absolute; z-index: 2; inset: auto 28px 28px; }
.application-copy p { margin: 0 0 6px; color: var(--blue); font-family: ui-monospace, monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.application-copy h3 { margin: 0 0 11px; font-size: 2rem; font-weight: 580; }
.application-copy span { color: #b9c8d0; font-size: .83rem; }
.semiconductor .application-visual { display: grid; grid-template-columns: repeat(3, 58px); grid-auto-rows: 58px; place-content: center; gap: 11px; transform: rotate(-12deg) scale(1.45); background: radial-gradient(circle at 50% 35%, #28516b, #091a27 65%); }
.semiconductor .application-visual span { border: 1px solid rgba(83, 181, 216, .55); background: rgba(83, 181, 216, .07); box-shadow: inset 0 0 12px rgba(83, 181, 216, .1); }
.semiconductor .application-visual span:nth-child(5) { border-color: var(--orange); box-shadow: 0 0 20px rgba(255, 173, 32, .35); }
.defense .application-visual { background: radial-gradient(circle at 58% 42%, rgba(83, 181, 216, .4) 0 1px, transparent 2px), linear-gradient(135deg, #102c3f, #07151f); background-size: 18px 18px, auto; }
.defense .application-visual i { position: absolute; left: 50%; top: 40%; width: 190px; height: 190px; border: 1px solid rgba(83, 181, 216, .45); border-radius: 50%; transform: translate(-50%, -50%); }
.defense .application-visual i:nth-child(2) { width: 100px; height: 100px; }
.defense .application-visual b { position: absolute; left: 50%; top: 40%; width: 10px; height: 10px; border: 2px solid var(--orange); transform: translate(-50%, -50%) rotate(45deg); }
.medical .application-visual { background: radial-gradient(circle at 45% 40%, rgba(83, 181, 216, .35), transparent 35%), #0b1f2d; }
.medical .application-visual span { position: absolute; left: 25%; right: 25%; top: 35%; height: 1px; background: var(--blue); box-shadow: 0 0 16px var(--blue); }
.medical .application-visual i { position: absolute; left: 45%; top: 20%; width: 44%; height: 44%; border: 1px solid rgba(255, 255, 255, .22); border-radius: 48% 52% 45% 55%; transform: rotate(21deg); }
.medical .application-visual b { position: absolute; left: 48%; top: 35%; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 20px var(--orange); }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; padding: 120px max(24px, calc((100vw - 1180px) / 2)); background: var(--blue-deep); }
.contact-copy p:last-child { max-width: 500px; color: #d5e8f1; }
.contact-form { padding: 36px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .16); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; margin-bottom: 20px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.contact-form label span { color: #71818b; font-weight: 500; text-transform: none; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid #b9c5c8; border-radius: 0; background: #fff; color: var(--ink); outline: 0; padding: 12px 13px; text-transform: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(40, 126, 166, .15); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.form-footer { display: flex; align-items: center; gap: 18px; }
.form-status { margin: 0; color: var(--dark-muted); font-size: .85rem; }
.form-status.error { color: #9f2f23; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 48px;
  width: 100%;
  min-height: 126px;
  margin: 0;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid #d9ddd8;
  background: rgba(246, 247, 243, .97);
}
.site-footer p { margin: 0; color: #263d4c; font-size: .85rem; }
.brand-footer { width: fit-content; }
.brand-footer img { width: 154px; }
.copyright { text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --page: min(100% - 40px, 700px); }
  .site-header { padding-left: 20px; padding-right: 20px; }
  .nav-toggle { position: relative; z-index: 2; display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(10, 24, 37, .22); background: transparent; }
  .nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 1px; background: var(--ink); transition: transform .2s ease, background .2s ease; }
  .nav-toggle[aria-expanded="true"] span:not(.sr-only) { background: var(--white); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; display: none; flex-direction: column; justify-content: center; gap: 30px; background: rgba(10, 24, 37, .98); }
  .primary-nav.open { display: flex; }
  .primary-nav a { color: #d7e0e5; font-size: 1.35rem; }
  .primary-nav .nav-cta { padding: 12px 20px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 60px; padding-top: 160px; }
  .hero-copy { max-width: 700px; }
  .vision-stage { max-width: 620px; width: 100%; justify-self: center; }
  .signal-bar { grid-template-columns: 1fr; gap: 14px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .approach-content { margin: 55px 0; }
  .capabilities, .contact { grid-template-columns: 1fr; gap: 62px; }
  .capabilities-intro { position: static; }
  .technology-intro { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .technology-grid { grid-template-columns: repeat(2, 1fr); }
  .applications .section-note { margin: 32px 0 48px; }
  .application-grid { grid-template-columns: 1fr; }
  .application-card { min-height: 360px; }
}

@media (max-width: 620px) {
  :root { --page: calc(100% - 32px); }
  .brand img { width: 132px; }
  .hero { padding-top: 140px; padding-bottom: 68px; }
  h1 { font-size: clamp(3.15rem, 17vw, 4.6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .vision-stage { aspect-ratio: .84; }
  .section { padding: 74px 16px; }
  .section-heading h2, .capabilities h2, .contact h2 { font-size: 2.55rem; }
  .approach-content { grid-template-columns: 1fr; gap: 24px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid #cfd6d3; }
  .capabilities { gap: 44px; }
  .technology-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .technology-grid li { min-height: 150px; }
  .capability-list article { grid-template-columns: 56px 1fr; gap: 17px; }
  .capability-icon { width: 48px; height: 48px; }
  .contact { padding: 74px 16px; gap: 46px; }
  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; padding: 42px 16px; }
  .copyright { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
