
:root {
  --bg: #061225;
  --bg-deep: #030b18;
  --surface: #0b1d35;
  --surface-light: #102847;
  --blue: #168cff;
  --blue-bright: #38a5ff;
  --text: #f5f9ff;
  --muted: #a8bad0;
  --border: rgba(92, 158, 231, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(calc(-100% - 12px));
  border: 2px solid var(--blue);
  border-radius: 5px;
  background: var(--text);
  color: var(--bg-deep);
  font-weight: 700;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 11, 24, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.navbar {
  max-width: 1250px;
  min-height: 86px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 72px;
  flex: 0 0 auto;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: #0862ca;
  font-size: 15px;
  white-space: nowrap;
}

.brand-name {
  font-size: 23px;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue-bright);
}

.hero {
  position: relative;
  max-width: 1250px;
  min-height: 620px;
  margin: auto;
  padding: 100px 30px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 78% 45%,
    rgba(0, 109, 255, 0.16),
    transparent 55%
  );
  pointer-events: none;
}

.hero-content,
.hero-visual {
  position: relative;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin: 0 0 25px;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.12;
  letter-spacing: -2px;
}

h1 span {
  color: var(--blue-bright);
}

.hero-description {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 35px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  background: var(--blue);
}

.button.secondary {
  background: transparent;
}

.button.secondary:hover {
  background: rgba(22, 140, 255, 0.14);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-emblem {
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  aspect-ratio: 1;
  border: 3px solid var(--blue);
  border-radius: 30%;
  background: radial-gradient(circle, #0871df, #061225 72%);
  box-shadow: 0 0 90px rgba(0, 110, 255, 0.23);
  font-size: clamp(50px, 7vw, 100px);
  font-weight: 800;
  font-style: italic;
  white-space: nowrap;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px 55px;
  padding: 28px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.feature-grid {
  max-width: 1250px;
  margin: auto;
  padding: 90px 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  min-height: 240px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--surface-light), var(--surface));
}

.feature-card h2 {
  margin: 0 0 14px;
  font-size: 27px;
}

.feature-card p:last-child {
  color: var(--muted);
}

.closing-message {
  padding: 80px 25px;
  background: var(--bg-deep);
  text-align: center;
}

.closing-message h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
}

.closing-message p {
  color: var(--muted);
}

.site-footer {
  padding: 25px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 800px) {
  .navbar {
    flex-direction: column;
  }

  .nav-links {
    justify-content: center;
    gap: 12px 20px;
  }

  .hero {
    min-height: auto;
    padding: 65px 24px;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-emblem {
    max-width: 220px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding: 55px 20px;
  }

  .feature-card {
    padding: 26px;
  }
}

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

  .button {
    transition: none;
  }
}

/* Approved homepage visual treatment */
.site-header {
  background: rgba(2, 10, 23, 0.9);
  border-bottom-color: rgba(38, 127, 218, 0.28);
}

.navbar {
  max-width: none;
  min-height: 60px;
  padding: 8px clamp(32px, 8vw, 100px);
  gap: 28px;
}

.brand {
  gap: 10px;
  min-width: max-content;
}

.brand-logo {
  width: 44px;
  height: 44px;
  max-height: none;
  object-fit: cover;
  border-radius: 7px;
}

.brand-name {
  color: #f4f7ff;
  font-size: 18px;
  letter-spacing: 0;
}

.nav-links {
  gap: 38px;
  align-items: center;
  margin-left: auto;
  color: #f4f7ff;
  font-size: 11px;
}

.nav-links a {
  position: relative;
  padding: 15px 0 12px;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue-bright);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(56, 165, 255, 0.7);
}

.hero {
  max-width: none;
  min-height: 278px;
  padding: 42px clamp(32px, 8vw, 100px);
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  gap: 38px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 10, 22, 0.98) 0%, rgba(1, 10, 22, 0.8) 39%, rgba(1, 10, 22, 0.12) 75%),
    url("assets/images/earth-hero.webp") center / cover no-repeat;
}

.hero::before {
  background: linear-gradient(90deg, rgba(0, 10, 23, 0.5), transparent 65%);
}

.hero-content,
.hero-visual {
  z-index: 1;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--blue-bright);
  font-size: 9px;
  letter-spacing: 3px;
}

h1 {
  max-width: 440px;
  margin-bottom: 11px;
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 1.04;
  letter-spacing: -1px;
}

.hero-description {
  max-width: 470px;
  margin: 0;
  color: #c5d0dd;
  font-size: 12px;
  line-height: 1.45;
}

.hero-actions {
  gap: 12px;
  margin-top: 13px;
}

.button {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 11px;
}

.hero-visual {
  min-width: 0;
  justify-content: flex-end;
  padding-right: clamp(22px, 4vw, 54px);
  border-right: 1px solid rgba(56, 165, 255, 0.65);
  box-shadow: 8px 0 20px -18px rgba(56, 165, 255, 0.95);
}

.hero-logo {
  display: block;
  width: clamp(180px, 21vw, 280px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 0 42px rgba(0, 112, 255, 0.44);
}

.hero-emblem {
  display: none;
}

.capabilities {
  max-width: none;
  padding: 18px 5vw;
  justify-content: space-between;
  gap: 18px;
  background: rgba(2, 19, 37, 0.98);
  border-color: rgba(53, 143, 226, 0.18);
}

.capability {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 0;
  gap: 12px;
  padding-right: 18px;
  border-right: 1px solid rgba(91, 159, 226, 0.18);
}

.capability:last-child {
  padding-right: 0;
  border-right: 0;
}

.capability-icon {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
}

.capability-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--blue-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.capability h3 {
  margin: 0 0 2px;
  color: #f3f7ff;
  font-size: 10px;
  line-height: 1.2;
}

.capability p {
  margin: 0;
  color: #b3c0d0;
  font-size: 8px;
  line-height: 1.45;
}

.feature-grid {
  width: 92%;
  max-width: none;
  margin: auto;
  padding: 15px 0 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.feature-card {
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(60, 144, 219, 0.18);
  border-radius: 6px;
  background: #061b2d;
}

.card-image {
  display: block;
  width: 100%;
  height: 74px;
  object-fit: cover;
}

.card-body {
  padding: 9px 12px 11px;
}

.feature-card .eyebrow {
  margin-bottom: 2px;
  font-size: 7px;
  letter-spacing: 2px;
}

.feature-card h2 {
  margin: 0 0 3px;
  font-size: 12px;
  line-height: 1.2;
}

.feature-card p:last-of-type {
  min-height: 36px;
  margin: 0;
  color: #bfcbda;
  font-size: 9px;
  line-height: 1.35;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  color: var(--blue-bright);
  font-size: 9px;
  font-weight: 700;
}

.card-link span {
  font-size: 14px;
  line-height: 0;
}

.closing-message {
  padding: 12px 20px 28px;
  background: var(--bg);
}

.closing-message h2 {
  display: inline-block;
  margin: 0 0 9px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--blue-bright);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}

.closing-message p {
  margin: 0;
  font-size: 12px;
}

.site-footer {
  display: none;
}

@media (max-width: 800px) {
  .navbar {
    min-height: 0;
    padding: 10px 20px;
  }

  .nav-links {
    gap: 12px 20px;
    margin-left: 0;
  }

  .hero {
    min-height: 600px;
    padding: 48px 24px;
    grid-template-columns: 1fr;
    background-position: 64% center;
  }

  .hero-visual {
    order: -1;
    justify-content: center;
  }

  .hero-logo {
    width: min(48vw, 220px);
  }

  .capabilities {
    padding: 22px 24px;
  }

  .capability {
    flex-basis: calc(50% - 10px);
    border-right: 0;
  }

  .feature-grid {
    width: calc(100% - 48px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 16px;
  }

  .capability,
  .feature-grid {
    grid-template-columns: 1fr;
    flex-basis: 100%;
  }

  .feature-grid {
    width: calc(100% - 40px);
    display: grid;
    padding: 20px 0;
  }
}
/* Responsive layout refinements; desktop treatment above remains unchanged. */
@media (min-width: 801px) and (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .feature-card {
    min-height: 220px;
  }

  .card-image {
    height: 110px;
  }

  .card-body {
    padding: 12px 14px 14px;
  }

  .feature-card .eyebrow { font-size: 8px; }
  .feature-card h2 { font-size: 16px; }
  .feature-card p:last-of-type {
    min-height: 0;
    font-size: 11px;
  }
  .card-link { font-size: 11px; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 120px; }

  .navbar {
    gap: 4px;
    padding: 8px 20px 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2px clamp(16px, 4vw, 28px);
  }

  .brand { align-self: flex-start; }

  .nav-links a { padding: 8px 0; }
  .nav-links a.active::after { bottom: 2px; }

  .hero {
    min-height: 0;
    padding: 42px 24px 48px;
    gap: 24px;
    background-position: 64% center;
  }

  .hero-content { max-width: 620px; margin: 0 auto; }
  h1 { font-size: clamp(38px, 7vw, 54px); }
  .hero-description { font-size: 15px; }

  .hero-visual {
    order: 0;
    justify-content: center;
    width: min(100%, 260px);
    margin: 0 auto;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(56, 165, 255, 0.65);
    box-shadow: 0 8px 20px -18px rgba(56, 165, 255, 0.95);
  }

  .hero-logo { width: min(34vw, 190px); }

  .capabilities {
    justify-content: center;
    gap: 16px 20px;
    padding: 20px 24px;
  }

  .capability {
    flex: 1 1 calc(50% - 20px);
    max-width: 320px;
    padding: 0;
    border: 0;
  }

  .feature-grid {
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 28px 24px;
  }

  .feature-card { min-height: 0; }
  .card-image { height: clamp(90px, 18vw, 140px); }
  .card-body { padding: 13px 14px 15px; }
  .feature-card .eyebrow { font-size: 8px; }
  .feature-card h2 { font-size: 17px; }
  .feature-card p:last-of-type {
    min-height: 0;
    font-size: 11px;
  }
  .card-link { font-size: 11px; }

  .closing-message { padding: 28px 20px 36px; }
}

@media (max-width: 520px) {
  html { scroll-padding-top: 135px; }

  .navbar { padding: 8px 16px 10px; }
  .nav-links { column-gap: 16px; font-size: 12px; }
  .nav-links a { padding: 7px 0; }

  .hero { padding: 34px 20px 38px; gap: 18px; }
  .hero-visual { justify-content: center; }
  .hero-logo { width: min(42vw, 150px); }
  .eyebrow { font-size: 8px; letter-spacing: 2px; }
  h1 { margin-bottom: 12px; font-size: clamp(36px, 10vw, 44px); }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 10px; margin-top: 18px; }
  .button { padding: 10px 13px; font-size: 11px; }

  .capabilities { gap: 16px 12px; padding: 18px 16px; }
  .capability { flex-basis: calc(50% - 12px); gap: 8px; }
  .capability-icon { flex-basis: 30px; width: 30px; height: 30px; }
  .capability-icon svg { width: 28px; height: 28px; }
  .capability h3 { font-size: 9px; }
  .capability p { font-size: 8px; }

  .feature-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px 16px;
  }

  .card-image { height: clamp(120px, 38vw, 165px); }
  .card-body { padding: 13px 15px 16px; }
  .feature-card h2 { font-size: 18px; }
  .feature-card p:last-of-type { font-size: 12px; }
  .card-link { font-size: 12px; }

  .closing-message { padding: 24px 18px 30px; }
  .closing-message h2 { font-size: 23px; }
  .closing-message p { font-size: 12px; }
}


/* Shared content-page layout */
.interior-page .page-hero {
  position: relative;
  isolation: isolate;
  min-height: 300px;
  padding: 58px clamp(32px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(1, 10, 22, 0.98), rgba(1, 10, 22, 0.8) 55%, rgba(1, 10, 22, 0.42)), var(--page-image) center 45% / cover no-repeat;
}

.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 10, 23, 0.25), transparent 75%);
  content: "";
}

.page-hero h1 {
  max-width: 780px;
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 60px);
}

.page-hero h1 span { color: var(--blue-bright); }

.page-hero > p:last-child {
  max-width: 680px;
  margin: 0;
  color: #c5d0dd;
  font-size: 16px;
}

.page-content {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
  padding: 48px 0 54px;
}

.page-content > .eyebrow { margin-bottom: 5px; }
.page-content > h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); }
.page-content > p:not(.eyebrow) { max-width: 760px; color: var(--muted); }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.topic-card,
.contact-note {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--surface-light), var(--surface));
}

.topic-card h3,
.contact-note h3 { margin: 0 0 8px; font-size: 16px; }
.topic-card p,
.contact-note p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-note { max-width: 760px; margin-top: 24px; }
.contact-note a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }

.page-callout {
  padding: 34px 24px 42px;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  text-align: center;
}

.page-callout h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); }
.page-callout p { margin: 0 0 18px; color: var(--muted); }
.page-callout .button { margin: 0 5px; }

@media (max-width: 800px) {
  .interior-page .page-hero { min-height: 270px; padding: 42px 24px; }
  .page-content { width: min(100% - 40px, 680px); padding: 34px 0 40px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .topic-card, .contact-note { padding: 16px; }
}

@media (max-width: 520px) {
  .interior-page .page-hero { min-height: 245px; padding: 32px 20px; }
  .page-hero h1 { font-size: clamp(34px, 9vw, 42px); }
  .page-hero > p:last-child { font-size: 14px; }
  .page-content { width: calc(100% - 32px); padding: 28px 0 32px; }
  .topic-grid { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .page-callout { padding: 26px 16px 32px; }
  .page-callout p { font-size: 13px; }
  .page-callout .button { margin: 5px; }
}

/* BL-WEB-007A: approved white homepage lower section */
.feature-grid {
  width: 100%;
  margin: 0;
  padding: 24px max(16px, calc((100vw - 1260px) / 2)) 18px;
  background: #fff;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 0;
  padding: 0;
  border: 1px solid #e4eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(10, 34, 58, 0.1);
}

.card-image {
  height: 112px;
  border-radius: 7px 7px 0 0;
}

.card-body { padding: 12px 14px 15px; }
.feature-card .eyebrow { color: #0877d8; }
.feature-card h2 { color: #10243a; font-size: 17px; }
.feature-card p:last-of-type {
  min-height: 48px;
  color: #46596e;
  font-size: 11px;
  line-height: 1.45;
}
.card-link { color: #0877d8; font-size: 11px; }
.card-link:hover,
.card-link:focus-visible { color: #0059a8; text-decoration: underline; }

.closing-message {
  padding: 8px 20px 34px;
  background: #fff;
  color: #10243a;
}

.closing-message h2 {
  color: #10243a;
  border-bottom: 2px solid #168cff;
}

.closing-message p { color: #536579; }

@media (min-width: 801px) and (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
  }

  .card-image { height: 150px; }
  .card-body { padding: 14px 16px 16px; }
  .feature-card p:last-of-type { min-height: 0; font-size: 13px; }
  .feature-card h2 { font-size: 19px; }
  .card-link { font-size: 12px; }
}

@media (max-width: 800px) {
  .feature-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 22px 24px 16px;
    gap: 14px;
  }

  .card-image { height: clamp(110px, 20vw, 150px); }
  .card-body { padding: 12px 14px 15px; }
  .feature-card p:last-of-type { min-height: 0; font-size: 12px; }
  .feature-card h2 { font-size: 18px; }
  .card-link { font-size: 12px; }

  .closing-message { padding: 10px 20px 30px; }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 16px 14px;
    gap: 14px;
  }

  .card-image { height: clamp(130px, 42vw, 180px); }
  .card-body { padding: 13px 15px 16px; }
  .feature-card h2 { font-size: 19px; }
  .feature-card p:last-of-type { font-size: 13px; }
  .card-link { font-size: 13px; }

  .closing-message { padding: 12px 18px 28px; }
}

/* BL-WEB-007A: consistent white content theme across the site */
.interior-page main {
  background: #fff;
  color: #10243a;
}

.interior-page .page-hero {
  color: #f5f9ff;
}

.interior-page .page-hero h1 { color: #f5f9ff; }
.interior-page .page-hero h1 span { color: var(--blue-bright); }
.interior-page .page-hero > p:last-child { color: #d1dce9; }
.interior-page .page-content > h2 { color: #10243a; }
.interior-page .page-content > p:not(.eyebrow) { color: #46596e; }

.interior-page .topic-card,
.interior-page .contact-note {
  border-color: #e4eaf1;
  background: #fff;
  box-shadow: 0 4px 14px rgba(10, 34, 58, 0.1);
}

.interior-page .topic-card h3,
.interior-page .contact-note h3 { color: #10243a; }
.interior-page .topic-card p,
.interior-page .contact-note p { color: #46596e; }
.interior-page .contact-note a { color: #0877d8; }

.interior-page .page-callout {
  border-top-color: #e4eaf1;
  background: #fff;
  color: #10243a;
}

.interior-page .page-callout h2 { color: #10243a; }
.interior-page .page-callout p { color: #536579; }

/* BL-WEB-007B: long-form content cards */
.interior-page .detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.interior-page .detail-grid .topic-card {
  height: 100%;
  padding: 22px;
}

.interior-page .detail-grid .topic-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.interior-page .detail-grid .topic-card p {
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 800px) {
  .interior-page .detail-grid { gap: 12px; margin-top: 20px; }
  .interior-page .detail-grid .topic-card { padding: 18px; }
}

@media (max-width: 520px) {
  .interior-page .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .interior-page .detail-grid .topic-card { padding: 17px; }
}

/* BL-WEB-008A: contact form UI */
.contact-form-section {
  max-width: none;
  margin: 32px 0 8px;
  padding: 24px;
  border: 1px solid #e1e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(10, 34, 58, 0.1);
}

.contact-form-section h2 {
  margin: 0 0 6px;
  color: #10243a;
  font-size: 21px;
}

.contact-form-section > p {
  margin: 0 0 20px;
  color: #46596e;
  font-size: 14px;
}

.form-availability {
  padding: 11px 13px;
  border-left: 3px solid #168cff;
  background: #f1f7fd;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field { min-width: 0; }
.form-field-full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: #10243a;
  font-size: 14px;
  font-weight: 700;
}

.form-field label span { color: #a72a2a; }

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #aebdcb;
  border-radius: 6px;
  background: #fff;
  color: #10243a;
  font: inherit;
}

.form-field textarea { min-height: 150px; resize: vertical; }

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.contact-form button:focus-visible {
  outline: 3px solid rgba(22, 140, 255, 0.45);
  outline-offset: 2px;
  border-color: #0877d8;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.contact-form button { cursor: pointer; }
.contact-form button:hover { background: #0877d8; }
.form-status { min-height: 1.6em; margin: 0; color: #8a2424; font-size: 14px; font-weight: 600; }

@media (max-width: 520px) {
  .contact-form-section { margin-top: 24px; padding: 18px 16px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .form-field-full, .form-actions { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .contact-form button { width: 100%; }
}

/* BL-WEB-008B: centered contact panel refinement */
.contact-form-section {
  width: min(100% - 48px, 1080px);
  max-width: none;
  margin: 34px auto 10px;
  padding: 30px;
  border-color: #e3eaf2;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(10, 34, 58, 0.1);
}

.contact-form-section h2 {
  margin-bottom: 5px;
  font-size: 26px;
  letter-spacing: -0.35px;
}

.contact-form-section > .form-introduction {
  margin: 0 0 18px;
  color: #536579;
  font-size: 15px;
}

.form-availability {
  display: inline-block;
  margin: 0 0 24px !important;
  padding: 5px 10px;
  border: 1px solid #dceaf8;
  border-left: 2px solid #168cff;
  border-radius: 4px;
  background: #f7fbff;
  color: #536579 !important;
  font-size: 12px !important;
}

.contact-form { column-gap: 20px; row-gap: 18px; }
.form-field-full { grid-column: 1 / -1; }
.form-field input,
.form-field select,
.form-field textarea {
  border-color: #d4dee8;
  border-radius: 7px;
}
.form-field textarea { min-height: 128px; }

.contact-form .form-actions { margin-top: 2px; }
.contact-form button {
  min-width: 160px;
  border: 0;
  border-radius: 7px;
  background: #168cff;
  color: #fff;
  font-size: 14px;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}
.contact-form button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}
.contact-form button:disabled:hover { background: #168cff; }
.contact-form button:focus-visible { box-shadow: 0 0 0 3px rgba(22, 140, 255, 0.2); }

@media (max-width: 520px) {
  .contact-form-section { margin: 26px auto 8px; padding: 22px 18px; }
  .contact-form-section h2 { font-size: 24px; }
  .form-availability { margin-bottom: 20px !important; }
  .contact-form { row-gap: 15px; }
  .contact-form button { width: 100%; }
}

/* BL-WEB-008C: spacing after Contact information */
.interior-page main > .page-content[aria-labelledby="contact-inquiries"] {
  padding-bottom: 16px;
}

.interior-page main > .contact-form-section {
  width: min(100% - 48px, 1080px);
  max-width: none;
  margin-top: 26px;
  margin-bottom: 28px;
}

@media (max-width: 800px) {
  .interior-page main > .contact-form-section {
    width: min(100% - 40px, 680px);
  }
}

@media (max-width: 520px) {
  .interior-page main > .page-content[aria-labelledby="contact-inquiries"] {
    padding-bottom: 14px;
  }
  .interior-page main > .contact-form-section {
    width: calc(100% - 32px);
    margin-top: 22px;
    margin-bottom: 24px;
  }
}

/* BL-WEB-008D: colored Contact inquiry cards */
.contact-inquiry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-inquiry-grid .inquiry-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 152px;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(16, 36, 58, 0.08);
}

.contact-inquiry-grid .inquiry-card h3 {
  margin: 2px 0 7px;
  color: #10243a;
  font-size: 17px;
}

.contact-inquiry-grid .inquiry-card p {
  color: #24384d;
  font-size: 14px;
  line-height: 1.55;
}

.inquiry-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
}

.inquiry-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inquiry-research { background: #eef6ff !important; border-color: #d8e9fb !important; }
.inquiry-research .inquiry-icon { background: #dcecff; color: #246bb3; }
.inquiry-engineering { background: #eff8f1 !important; border-color: #d9eddd !important; }
.inquiry-engineering .inquiry-icon { background: #dff1e3; color: #36764a; }
.inquiry-project { background: #fff7e9 !important; border-color: #f3e5c9 !important; }
.inquiry-project .inquiry-icon { background: #ffedc9; color: #9a6510; }
.inquiry-business { background: #f5f0ff !important; border-color: #e6dcf8 !important; }
.inquiry-business .inquiry-icon { background: #e9ddff; color: #6946a2; }

@media (max-width: 520px) {
  .contact-inquiry-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-inquiry-grid .inquiry-card { min-height: 0; padding: 18px; }
}

/* BL-WEB-008E: category styling for Research, Technology, and About cards */
.interior-page .detail-grid .info-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-width: 0;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(16, 36, 58, 0.08);
}

.info-card-copy { min-width: 0; }
.info-card-copy h3 { margin-top: 2px !important; color: #10243a; }
.info-card-copy p { color: #24384d !important; }

.info-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
}

.info-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.research-page .info-card { background: #eef6ff !important; border-color: #d8e9fb !important; }
.research-page .info-icon { background: #dcecff; color: #246bb3; }
.technology-page .info-card { background: #eff8f1 !important; border-color: #d9eddd !important; }
.technology-page .info-icon { background: #dff1e3; color: #36764a; }
.about-page .info-card { background: #fff7e9 !important; border-color: #f3e5c9 !important; }
.about-page .info-icon { background: #ffedc9; color: #9a6510; }

/* Keep homepage photos and card copy intact; add a restrained category rule. */
.feature-card#research .card-body { border-top: 3px solid #79baf1; }
.feature-card#technology .card-body { border-top: 3px solid #82bd90; }
.feature-card#about .card-body { border-top: 3px solid #e9b958; }
.feature-card#contact .card-body { border-top: 3px solid #ad8be0; }

.card-link .card-arrow { display: inline-flex; align-items: center; }
.card-arrow svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 520px) {
  .interior-page .detail-grid .info-card { gap: 12px; }
  .info-icon { flex-basis: 42px; width: 42px; height: 42px; }
}

/* BL-WEB-009: homepage concept match */
.hero {
  min-height: 392px;
  padding: 48px clamp(32px, 6.5vw, 110px);
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 50px;
  background:
    linear-gradient(90deg, rgba(1, 10, 22, 0.98) 0%, rgba(1, 10, 22, 0.78) 34%, rgba(1, 10, 22, 0.18) 68%, rgba(1, 10, 22, 0.08) 100%),
    url("assets/images/earth-hero.webp") center / cover no-repeat;
}

.hero-visual {
  justify-content: center;
  padding: 0 38px 0 0;
  border-right: 2px solid #168cff;
  box-shadow: 10px 0 22px -18px #38a5ff;
}

.hero-logo {
  width: min(100%, 260px);
  border: 3px solid #168cff;
  border-radius: 24px;
  box-shadow: 0 0 12px #168cff, 0 0 34px rgba(0, 112, 255, 0.72);
}

.hero-content { min-width: 0; }
.hero-content .eyebrow { font-size: 11px; letter-spacing: 3px; }
.hero-content h1 {
  max-width: 500px;
  margin-bottom: 12px;
  font-size: clamp(48px, 4.1vw, 64px);
  line-height: 0.99;
  letter-spacing: -1.8px;
}
.hero-content .hero-description {
  max-width: 540px;
  font-size: 14px;
  line-height: 1.45;
}
.hero-content .hero-actions { gap: 16px; margin-top: 16px; }
.hero-content .button { padding: 11px 20px; font-size: 13px; }

.feature-grid {
  padding: 22px max(16px, calc((100vw - 1500px) / 2)) 18px;
  gap: 18px;
  align-items: stretch;
}

.feature-card {
  --card-photo-height: 102px;
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(10, 34, 58, 0.09);
}

.card-image {
  height: var(--card-photo-height);
  flex: 0 0 var(--card-photo-height);
  border-radius: 9px 9px 0 0;
}

.card-icon {
  position: absolute;
  z-index: 1;
  top: calc(var(--card-photo-height) - 25px);
  left: 18px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(16, 36, 58, 0.22), 0 0 12px currentColor;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-body {
  flex: 1;
  padding: 44px 20px 17px;
  border-top: 0 !important;
}

.feature-card .eyebrow {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.feature-card h2 { margin-bottom: 5px; font-size: 21px; }
.feature-card p:last-of-type { min-height: 54px; font-size: 14px; line-height: 1.4; }
.feature-card .card-link { margin-top: 8px; font-size: 14px; }

.feature-card#research .card-body { background: #eef6ff; }
.feature-card#research .eyebrow,
.feature-card#research .card-link { color: #0871ce; }
.card-icon-research { background: #dcecff; color: #168cff; }

.feature-card#technology .card-body { background: #eff8f1; }
.feature-card#technology .eyebrow,
.feature-card#technology .card-link { color: #087c8a; }
.card-icon-technology { background: #d8f1f2; color: #0a9eae; }

.feature-card#about .card-body { background: #fff7e9; }
.feature-card#about .eyebrow,
.feature-card#about .card-link { color: #a06500; }
.card-icon-about { background: #ffedc9; color: #d18a0a; }

.feature-card#contact .card-body { background: #f5f0ff; }
.feature-card#contact .eyebrow,
.feature-card#contact .card-link { color: #6946a2; }
.card-icon-contact { background: #e9ddff; color: #8055d4; }

.closing-message { padding: 4px 20px 10px; }
.closing-message h2 { font-size: clamp(24px, 2.2vw, 30px); }
.closing-message p { font-size: 13px; }

@media (min-width: 801px) and (max-width: 1100px) {
  .hero {
    min-height: 365px;
    padding-inline: clamp(32px, 6vw, 66px);
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
  }
  .hero-visual { padding-right: 28px; }
  .hero-logo { width: min(100%, 224px); }
  .hero-content h1 { font-size: clamp(46px, 5.2vw, 58px); }
  .feature-card { --card-photo-height: 150px; }
}

@media (max-width: 800px) {
  .hero {
    min-height: 0;
    padding: 42px 24px 46px;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .hero-visual {
    order: 0;
    width: min(100%, 320px);
    margin: 0 auto;
    padding: 0 0 26px;
    border-right: 0;
    border-bottom: 2px solid #168cff;
    box-shadow: 0 10px 22px -18px #38a5ff;
  }
  .hero-logo { width: min(32vw, 220px); }
  .hero-content { width: min(100%, 650px); }
  .hero-content h1 { font-size: clamp(42px, 7vw, 56px); }
  .hero-content .hero-description { font-size: 15px; }
  .feature-card { --card-photo-height: clamp(110px, 20vw, 150px); }
  .card-body { padding: 44px 17px 16px; }
  .feature-card h2 { font-size: 19px; }
  .feature-card p:last-of-type { min-height: 0; font-size: 13px; }
}

@media (max-width: 520px) {
  .hero { padding: 34px 20px 38px; gap: 22px; }
  .hero-logo { width: min(42vw, 160px); }
  .hero-content .eyebrow { font-size: 9px; letter-spacing: 2px; }
  .hero-content h1 { font-size: clamp(36px, 10vw, 44px); }
  .hero-content .hero-description { font-size: 14px; }
  .hero-content .hero-actions { gap: 10px; }
  .hero-content .button { padding: 10px 13px; font-size: 12px; }
  .feature-card { --card-photo-height: clamp(130px, 42vw, 180px); }
  .card-body { padding: 44px 18px 16px; }
}

@media (min-width: 1024px) {
  .hero#home .hero-actions { display: none; }
}
