/*
 * Simeron page layout and components
 * ==================================
 * Colours, fonts, spacing and other common settings live in theme.css.
 * Edit this file when changing the structure or a specific component.
 */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: white;
  padding: 10px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(7, 20, 33, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-wrap {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  width: var(--logo-width-header);
  overflow: hidden;
}

.brand img {
  width: 100%;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  text-decoration: none;
  color: #c7d5df;
  font-size: .92rem;
}

.main-nav a:hover {
  color: white;
}

.language-switcher {
  position: relative;
}

.language-switcher button {
  border: 1px solid var(--color-line);
  background: #0b1c2b;
  color: white;
  border-radius: var(--button-radius);
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  cursor: pointer;
}

.language-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 44px;
  background: white;
  color: var(--color-ink);
  padding: 8px;
  border-radius: 12px;
  box-shadow: var(--shadow-main);
  min-width: 145px;
}

.language-menu.open {
  display: grid;
}

.language-menu a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}

.language-menu a:hover {
  background: #eaf2f6;
}

.menu-button {
  display: none;
}

.section-dark {
  background: var(--color-ink);
  color: var(--color-text-on-dark);
}

.hero {
  min-height: 790px;
  padding: 170px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto -10% -45% 35%;
  height: 650px;
  background: radial-gradient(circle, rgba(40, 132, 180, .22), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font: 600 .72rem/1.4 "IBM Plex Mono", Consolas, monospace;
  letter-spacing: .18em;
  color: var(--color-accent);
  margin: 0 0 22px;
}

.eyebrow.dark {
  color: #2479a4;
}

.hero h1,
.section h2,
.contact h2 {
  font-size: clamp(2.7rem, 5.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0;
}

/* Show \n from the JSON title as a visible line break. */
.hero h1 {
  white-space: pre-line;
  font-size: 50px;
}

.hero .lead {
  font-size: 1.18rem;
  max-width: 760px;
  color: #afc0cc;
  margin: 30px 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--button-radius);
  padding: 14px 22px;
  transition: .2s transform, .2s background;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--color-accent), #3b96c2);
  color: #052035;
}

.button-ghost {
  border: 1px solid #355066;
  color: white;
}

.button-ghost:hover {
  background: #102a40;
}

.signal-card {
  background: linear-gradient(180deg, rgba(18, 48, 72, .88), rgba(11, 31, 48, .78));
  border: 1px solid rgba(117, 194, 225, .24);
  border-radius: var(--corner-radius);
  padding: 28px;
  box-shadow: var(--shadow-main);
  backdrop-filter: blur(10px);
}

.signal-label {
  font: 600 .68rem/1.2 monospace;
  letter-spacing: .18em;
  color: var(--color-accent);
}

.signal-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 12px 0 24px;
}

.signal-line {
  height: 2px;
  background: #28465d;
  overflow: hidden;
}

.signal-line span {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--color-accent);
  animation: pulse 3.2s ease-in-out infinite;
}

.signal-card dl {
  margin: 24px 0 0;
}

.signal-card dl div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-line);
  padding: 12px 0;
}

.signal-card dt {
  color: #8fa7b7;
}

.signal-card dd {
  margin: 0;
  color: white;
}

.radar-hero {
  position: absolute;
  width: 820px;
  height: 820px;
  right: -105px;
  top: -55px;
  opacity: .48;
}

.sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 45%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(102, 196, 229, .85), transparent);
  animation: sweep 12s linear infinite;
}

.target {
  position: absolute;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  color: #d7f7ff;
}

.air-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  pointer-events: none;
}

.air-routes .route {
  stroke: rgba(105, 205, 237, .38);
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
}

.air-routes .route-1 { stroke: rgba(159, 240, 255, .62); }
.air-routes circle { fill: #bfeeff; opacity: .72; }

.target::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 54px;
  border-top: 1px solid rgba(145, 231, 255, .86);
  transform: rotate(144deg);
  transform-origin: left center;
}

.target i {
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--color-accent);
  box-shadow: 0 0 16px var(--color-accent);
}

.target .leader {
  position: absolute;
  width: 29px;
  height: 1px;
  left: 5px;
  top: 3px;
  background: currentColor;
  transform: rotate(-18deg);
  transform-origin: left center;
}

.tdb {
  position: absolute;
  left: 34px;
  top: -21px;
  width: 116px;
  display: grid;
  gap: 2px;
  padding: 3px 4px;
  background: rgba(4, 19, 31, .78);
  border-left: 1px solid rgba(132, 225, 255, .72);
  box-shadow: 0 0 18px rgba(41, 185, 224, .11);
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: .025em;
}

.tdb small {
  color: #80a9bb;
  font-size: 7px;
  letter-spacing: .07em;
}

.tdb b,
.tdb strong {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.tdb em {
  color: #7fb6c9;
  font-style: normal;
  font-weight: 500;
}

.t1 {
  left: 28%;
  top: 33%;
}

.t2 {
  left: 61%;
  top: 48%;
}

.t2 .leader { transform: rotate(24deg); }
.t2 .tdb { top: 13px; }
.t2::before { width: 49px; transform: rotate(156deg); }

.t3 {
  left: 42%;
  top: 69%;
}

.t3 .leader { transform: rotate(-38deg); }
.t3 .tdb { top: -36px; }
.t3::before { width: 46px; transform: rotate(132deg); }

.expertise-bar {
  background: #0b1b29;
  color: #9eb4c2;
  border-top: 1px solid #183044;
  border-bottom: 1px solid #183044;
}

.expertise-list {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.expertise-list span {
  font: 600 .68rem/1.2 monospace;
  letter-spacing: .13em;
}

.section {
  padding: 120px 0;
}

.section-heading {
  max-width: 850px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  max-width: 900px;
}

.section-heading>p:last-child {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  max-width: 780px;
  margin-top: 25px;
}

.section-dark .section-heading>p:last-child {
  color: #9db1bf;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.capability-card {
  position: relative;
  min-height: 330px;
  background: white;
  border: 1px solid #dce7ed;
  border-radius: var(--corner-radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.capability-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
}

.capability-card .number {
  font: 600 .72rem monospace;
  color: #2b83ad;
}

.capability-card h3 {
  font-size: 1.42rem;
  line-height: 1.2;
  margin: 60px 0 16px;
}

.capability-card p {
  color: var(--color-text-muted);
}

.approach {
  background: linear-gradient(145deg, #071421, #0b2031);
}

.route {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 72px;
  position: relative;
}

.route:before {
  content: "";
  position: absolute;
  top: 25px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), #244559);
}

.route-step {
  position: relative;
  padding: 0 32px 0 0;
}

.route-step .route-dot {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0a2031;
  border: 1px solid #4f9fc2;
  color: var(--color-accent);
  font: 700 .72rem monospace;
}

.route-step h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.route-step p {
  color: #9eb1bf;
  font-size: .95rem;
}

.section-split {
  background: #edf4f7;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.systems-map {
  position: relative;
  min-height: 520px;
  background: #0b1d2c;
  border-radius: var(--corner-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-main);
}

.systems-map:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(102, 196, 229, .12), transparent 54%);
}

.systems-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.systems-map path {
  fill: none;
  stroke: #28536d;
  stroke-width: 2;
  stroke-dasharray: 8 9;
}

.node {
  position: absolute;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #102b40;
  border: 1px solid #3d84a6;
  color: #bdeeff;
  font: 700 .68rem monospace;
  box-shadow: 0 0 28px rgba(80, 175, 215, .16);
}

.n1 {
  left: 9%;
  top: 10%;
}

.n2 {
  right: 11%;
  top: 7%;
}

.n3 {
  left: 45%;
  top: 40%;
}

.n4 {
  left: 14%;
  bottom: 12%;
}

.n5 {
  right: 18%;
  bottom: 8%;
}

.split-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);

  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 0;
}

.split-copy p {
  color: var(--color-text-muted);
  font-size: 1.06rem;
}

.split-copy blockquote {
  margin: 34px 0 0;
  border-left: 3px solid var(--color-accent-dark);
  padding: 8px 0 8px 22px;
  font-size: 1.22rem;
  font-weight: 700;
}

.project-support {
  background: var(--color-support-section);
  color: white;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 90px;
  align-items: end;
}

.project-support .section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
}

.support-copy {
  font-size: 1.09rem;
  color: #d6edf5;
}

.contact {
  padding: 110px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 100px;
  align-items: center;
}

.contact h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
}

.contact-panel {
  border-left: 1px solid #28445a;
  padding-left: 44px;
}

.contact-panel p {
  font-size: 1.12rem;
  color: #a9bdca;
}

.contact-panel small {
  display: block;
  color: #7790a0;
  margin-top: 16px;
}

.footer {
  background: #050e16;
  color: #8499a6;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  width: var(--logo-width-footer);
}

.footer p {
  margin: 0;
  font-size: .82rem;
}

.noscript {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  padding: 12px;
  background: #fff4d8;
  color: #5b4100;
  text-align: center;
  z-index: 99;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: .12s;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }

}

@keyframes pulse {
  50% {
    width: 92%;
    opacity: .55;
  }

}

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

  .sweep,
  .signal-line span {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

}

@media (max-width:980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #071421;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-button {
    display: block;
    margin-left: auto;
    border: 1px solid var(--color-line);
    background: none;
    color: white;
    border-radius: 10px;
    padding: 8px 12px;
  }

  .hero-grid,
  .split-grid,
  .support-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-side {
    max-width: 500px;
  }

  .radar-hero {
    right: -390px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .route {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px;
  }

  .route:before {
    display: none;
  }

  .contact-panel {
    border-left: 0;
    border-top: 1px solid #28445a;
    padding: 30px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

}

@media (max-width:640px) {
  .shell {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .brand {
    width: 145px;
  }

  .language-switcher {
    margin-left: 0;
  }

  .nav-wrap {
    gap: 14px;
  }

  .hero {
    min-height: auto;
    padding: 135px 0 78px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-side {
    display: none;
  }

  .expertise-list {
    padding: 22px 0;
    justify-content: flex-start;
  }

  .section {
    padding: 84px 0;
  }

  .capability-grid,
  .route {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 260px;
  }

  .route-step {
    padding-right: 0;
  }

  .split-visual {
    order: 2;
  }

  .systems-map {
    min-height: 390px;
  }

  .contact {
    padding: 84px 0;
  }

  .footer-grid {
    gap: 18px;
  }

}
.split-visual a {
  display: block;
  cursor: zoom-in;
}

.split-visual img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.split-visual a:hover img,
.split-visual a:focus-visible img {
  transform: scale(1.015);
  filter: brightness(1.08);
}

.split-visual a:focus-visible {
  outline: 2px solid var(--scope-cyan, #5fa8d3);
  outline-offset: 4px;
}
