:root {
  --navy: #092a72;
  --navy-deep: #061d50;
  --cyan: #00a6d9;
  --gold: #e4a400;
  --white: #ffffff;
  --ink: #092a72;
  --muted: #52617d;
  --line: rgba(9, 42, 114, 0.16);
  --content: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  background: var(--navy-deep);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background: var(--navy-deep);
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.shell {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark { display: inline-block; text-decoration: none; }
.header-logo { display: block; width: clamp(14rem, 25vw, 18rem); height: auto; }

.hero {
  position: relative;
  min-height: calc(100vh - 89px);
  min-height: calc(100svh - 89px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 72% 18%, #17478f 0, var(--navy) 38%, var(--navy-deep) 78%);
  background-size: 56px 56px, 56px 56px, auto;
}

.hero::after {
  position: absolute;
  top: 12%;
  right: -16rem;
  width: 34rem;
  height: 34rem;
  content: "";
  border: 1px solid rgba(0, 166, 217, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255, 255, 255, 0.018),
    0 0 0 8rem rgba(228, 164, 0, 0.025);
  pointer-events: none;
}

.hero-inner {
  min-height: inherit;
  display: grid;
  align-content: center;
  justify-items: start;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.corporate-hero-logo {
  width: min(100%, 38rem);
  height: auto;
  margin: 0 0 clamp(2.8rem, 7vw, 5.4rem);
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  max-width: 900px;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-action {
  min-height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(4, 23, 61, 0.36);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-action:hover,
.hero-action:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.systems-action { box-shadow: inset 0 -3px 0 var(--cyan); }
.defense-action { box-shadow: inset 0 -3px 0 var(--gold); }

.division-section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  color: var(--ink);
  background: #f5f7fa;
}

.division-introduction {
  max-width: 780px;
  margin-bottom: clamp(2.4rem, 5vw, 4.25rem);
}

.section-label {
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.division-introduction h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.division-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border: 1px solid var(--line);
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1.2rem 3.4rem rgba(9, 42, 114, 0.08);
  text-decoration: none;
  isolation: isolate;
}

.division-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
}

.systems::before { background: var(--cyan); }
.defense::before { background: var(--gold); }

.division-card::after {
  position: absolute;
  inset: auto -20% -48% 36%;
  height: 82%;
  content: "";
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.42;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: -1;
}

.division-card:hover::after,
.division-card:focus-visible::after { opacity: 0.72; transform: translate3d(-2%, -4%, 0); }
.systems::after { background: rgba(0, 166, 217, 0.1); box-shadow: 0 0 120px var(--cyan); }
.defense::after { background: rgba(228, 164, 0, 0.1); box-shadow: 0 0 120px var(--gold); }

.division-card-logo {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  margin: 0 0 auto;
}

.division-card p {
  max-width: 31rem;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.enter {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.enter::after { content: "\2192"; font-size: 1.15rem; transition: transform 180ms ease; }
.division-card:hover .enter::after { transform: translateX(0.35rem); }
.systems .enter { color: var(--cyan); }
.defense .enter { color: #a97800; }

.site-footer {
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; }

.division-page {
  --accent: var(--cyan);
  --accent-soft: rgba(0, 166, 217, 0.11);
  color: var(--ink);
  background: #f5f7fa;
}

.division-page.is-defense { --accent: var(--gold); --accent-soft: rgba(228, 164, 0, 0.12); }
.division-page .site-header { border-bottom-color: color-mix(in srgb, var(--accent) 38%, transparent); }
.division-page .site-footer { border-top-color: var(--line); color: var(--muted); }

.back-link {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover { color: var(--ink); }

.division-main {
  min-height: calc(100vh - 150px);
  display: grid;
  align-content: center;
  padding-block: clamp(4rem, 12vw, 9rem);
}

.division-main::before {
  width: 64px;
  height: 4px;
  margin-bottom: 2rem;
  content: "";
  background: var(--accent);
}

.division-page-logo { display: block; width: min(100%, 58rem); height: auto; margin-bottom: 2.5rem; }
.division-main .intro {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.status-note {
  width: fit-content;
  margin-top: 2.4rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, transparent);
  color: var(--ink);
  background: var(--accent-soft);
  font-size: 0.86rem;
}

.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;
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 2rem), var(--content)); }
  .header-inner { min-height: 72px; }
  .header-logo { width: 13.75rem; }
  .hero { min-height: calc(100vh - 73px); min-height: calc(100svh - 73px); }
  .hero::after { top: 8%; right: -24rem; }
  .hero-actions { width: 100%; }
  .hero-action { width: 100%; }
  .division-grid { grid-template-columns: 1fr; }
  .division-card { min-height: 310px; }
  .division-card-logo { width: min(100%, 29rem); }
  .footer-inner { flex-direction: column; gap: 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Corporate landing page v0.3: a single divisional choice and company navigation. */
.home-header { position: relative; z-index: 5; background: #fff; }
.home-header-inner { min-height: 112px; gap: 2.5rem; }
.home-wordmark { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; min-width: 19rem; }
.home-wordmark .header-logo { width: clamp(14rem, 22vw, 18rem); }
.header-tagline { margin-top: -0.28rem; color: #a97800; font-size: 0.59rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }
.header-tagline span { padding-inline: 0.22rem; }
.corporate-nav { display: flex; align-items: stretch; gap: clamp(0.7rem, 2.4vw, 2.2rem); color: var(--ink); font-size: 0.9rem; }
.corporate-nav .nav-direct, .corporate-nav summary { display: inline-flex; align-items: center; min-height: 3rem; padding: 0.35rem 0; color: var(--ink); text-decoration: none; cursor: pointer; font-weight: 650; white-space: nowrap; }
.corporate-nav .nav-direct:hover, .corporate-nav summary:hover { color: #007a9f; }
.corporate-nav summary { list-style: none; gap: 0.4rem; }
.corporate-nav summary::-webkit-details-marker { display: none; }
.corporate-nav summary::after { content: ''; width: 0.4rem; height: 0.4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); }
.corporate-nav details[open] summary::after { transform: translateY(0.12rem) rotate(225deg); }
.nav-menu { position: relative; }
.nav-panel { position: absolute; top: 100%; left: -1rem; min-width: 15rem; padding: 0.55rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 1.2rem 2.5rem rgba(4, 23, 61, 0.17); }
.nav-panel a { display: block; padding: 0.75rem 0.85rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-panel a:hover, .nav-panel a:focus-visible { background: #eff6fa; }
.home-main .hero { min-height: 0; background: linear-gradient(112deg, rgba(6, 29, 80, 0.91), rgba(9, 42, 114, 0.64)), url('technology-field.svg') right center / cover no-repeat, var(--navy-deep); }
.home-main .hero::after { display: none; }
.home-main .hero-inner { min-height: 0; display: block; padding-block: clamp(4.2rem, 8vw, 7.3rem) clamp(5rem, 8vw, 7.5rem); }
.hero-eyebrow { margin-bottom: 1.25rem; color: #79cdeb; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.hero-eyebrow span { color: var(--gold); padding-inline: 0.65rem; }
.home-main .hero h1 { margin-bottom: 1rem; font-size: clamp(2.8rem, 6vw, 5.8rem); }
.hero-cue { margin-bottom: clamp(2.1rem, 4vw, 3.2rem); color: rgba(255, 255, 255, 0.79); font-size: 1.1rem; }
.home-main .division-grid { max-width: 1050px; }
.home-main .division-card { min-height: 265px; padding: clamp(1.35rem, 3vw, 2.3rem); background: rgba(255,255,255,0.97); }
.home-main .division-card-logo { width: min(100%, 26rem); max-height: 4.8rem; object-fit: contain; object-position: left center; margin: 1.6rem 0 1.2rem; }
.division-card-label { color: var(--muted); font-size: 0.69rem; font-weight: 780; letter-spacing: 0.12em; text-transform: uppercase; }
.division-card-description { max-width: 25rem; margin-bottom: 1.5rem; color: var(--muted); font-size: 0.93rem; }
.home-main .enter { margin-top: auto; }
.what-section { color: var(--ink); background: #f5f7fa; padding-block: clamp(3rem, 6vw, 5rem); }
.what-inner { display: grid; grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.6fr); align-items: start; gap: 2rem; }
.what-inner h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.15; letter-spacing: -0.045em; }
.what-inner p { max-width: 760px; margin: 0; font-size: clamp(1.05rem, 1.65vw, 1.32rem); line-height: 1.55; }
@media (max-width: 760px) {
  .home-header-inner { align-items: flex-start; flex-direction: column; gap: 0.35rem; padding-block: 0.8rem; }
  .home-wordmark { min-width: 0; }
  .home-wordmark .header-logo { width: 13.75rem; }
  .header-tagline { font-size: 0.53rem; }
  .corporate-nav { width: 100%; gap: 1.3rem; font-size: 0.8rem; }
  .corporate-nav .nav-direct, .corporate-nav summary { min-height: 2.6rem; }
  .nav-panel { left: 0; }
  .home-main .hero { min-height: 0; background-position: 62% center; }
  .home-main .hero-inner { padding-block: 3.8rem 4.2rem; }
  .home-main .division-grid { grid-template-columns: 1fr; }
  .home-main .division-card { min-height: 250px; }
  .what-inner { grid-template-columns: 1fr; gap: 1.1rem; }
}
@media (max-width: 390px) {
  .corporate-nav { gap: 0.7rem; font-size: 0.72rem; }
  .nav-panel { min-width: 12rem; }
}
