:root {
  color-scheme: dark;
  --bg: #071019;
  --bg-2: #0d1822;
  --panel: #101d28;
  --panel-2: #142331;
  --line: rgba(255, 255, 255, .14);
  --text: #f4f0e8;
  --muted: #b9c2c6;
  --soft: #d8d0c2;
  --blue: #38c8ff;
  --gold: #c99b55;
  --copper: #b36c43;
  --focus: #f5c76a;
  --max: 1180px;
  --header-h: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(56, 200, 255, .13), transparent 28rem),
    linear-gradient(180deg, #071019 0%, #0b141d 42%, #11100e 100%);
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open { overflow: hidden; }

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button, input, textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--focus);
  color: #17110a;
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(7, 16, 25, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-shell {
  display: grid;
  place-items: center;
  flex: 0 0 92px;
  width: 92px;
  height: 42px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .94);
  border-radius: 4px;
}

.brand-logo-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: #111;
  background: var(--focus);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

main {
  min-height: calc(100vh - 360px);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 56px);
}

.section.tight { padding-block: clamp(42px, 7vw, 78px); }

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--focus);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  font-size: clamp(18px, 2vw, 22px);
  color: #e6e0d5;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px;
  color: #fff;
  font-weight: 850;
  background: rgba(255, 255, 255, .08);
}

.btn.primary {
  border-color: transparent;
  color: #111;
  background: var(--focus);
}

.btn:hover { transform: translateY(-1px); }

.hero-shell {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) clamp(18px, 5vw, 56px) 42px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg::after,
.image-panel::after,
.project-card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 25, .15), rgba(7, 16, 25, .82));
}

.hero-bg img { filter: saturate(.9) contrast(1.05); }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 16, 25, .92), rgba(7, 16, 25, .56) 48%, rgba(7, 16, 25, .2));
}

.lifecycle-hero {
  display: grid;
  align-content: end;
  min-height: min(760px, 100svh);
}

.lifecycle-hero .intro {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-bottom: clamp(190px, 23vh, 260px);
}

.sector-cards {
  width: min(100%, var(--max));
  margin: clamp(-230px, -22vh, -150px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 4;
}

.sector-card {
  --accent: var(--focus);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 58%);
  background: linear-gradient(180deg, rgba(16, 29, 40, .94), rgba(9, 15, 20, .98));
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .36);
  transition: transform .25s ease, border-color .25s ease;
}

.sector-card:hover,
.sector-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.sector-card .media {
  position: relative;
  height: 142px;
  overflow: hidden;
}

.sector-card .content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.sector-logo {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin-bottom: 16px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .92);
  border-radius: 4px;
}

.sector-logo img {
  width: auto;
  max-width: min(220px, 100%);
  height: 34px;
  object-fit: contain;
}

.sector-card .kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.cap-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
}

.cap-list li {
  color: #d8d0c2;
  font-size: 14px;
}

.sector-card .btn { margin-top: auto; }

.triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 100svh;
  padding: var(--header-h) 0 0;
}

.image-panel {
  --accent: var(--focus);
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
  transition: flex .35s ease, filter .35s ease;
}

.image-panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform .45s ease;
}

.image-panel:hover img,
.image-panel:focus-within img { transform: scale(1.05); }

.image-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .78));
}

.image-panel .panel-content {
  width: 100%;
  padding: clamp(22px, 4vw, 44px);
}

.image-panel .number {
  color: var(--accent);
  font-weight: 950;
}

.gateway {
  min-height: 100svh;
  padding: var(--header-h) 0 0;
  display: grid;
  grid-template-columns: minmax(320px, 38%) 1fr;
}

.gateway-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 70px);
  background: #071019;
  border-right: 1px solid var(--line);
}

.gateway-bands {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.band {
  --accent: var(--focus);
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 0;
  padding: 26px clamp(22px, 4vw, 44px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.band img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 16, 25, .94), rgba(7, 16, 25, .62));
}

.band .num {
  color: var(--accent);
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 950;
}

.band p { max-width: 560px; }

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.info-card,
.project-card,
.doc-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .045);
  border-radius: 8px;
}

.info-card {
  padding: 24px;
}

.project-card {
  overflow: hidden;
}

.project-card .media {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.project-card .body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--focus);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 14px;
}

.image-stack figure {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.image-stack figure:nth-child(2) {
  min-height: 290px;
  align-self: end;
}

.sector-hero {
  --accent: var(--focus);
  min-height: 86svh;
  padding-top: calc(var(--header-h) + 44px);
}

.sector-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.sector-nav a {
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 55%);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.sector-hero .eyebrow,
.accent-text { color: var(--accent); }

.sector-hero-logo {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 48%);
  background: rgba(255, 255, 255, .94);
  border-radius: 4px;
}

.sector-hero-logo img {
  width: auto;
  max-width: min(320px, 80vw);
  height: 54px;
  object-fit: contain;
}

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

.capability {
  min-height: 126px;
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, .055);
}

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

.comparison table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
}

.comparison th,
.comparison td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison th {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.variant-card {
  display: block;
  padding: 20px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.variant-card:hover,
.variant-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(245, 199, 106, .58);
  background: rgba(255, 255, 255, .075);
}

.triptych-logo .sector-logo {
  margin-bottom: 18px;
}

.focus-triptych {
  min-height: 100svh;
  padding: var(--header-h) clamp(18px, 4vw, 42px) 30px;
  display: grid;
  grid-template-columns: .78fr 1.1fr .72fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.focus-copy {
  grid-row: 1 / 3;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  background: rgba(7, 16, 25, .82);
}

.focus-panel,
.diagonal-panel,
.editorial-panel {
  --accent: var(--focus);
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 55%);
  background: #0b141d;
  border-radius: 8px;
  isolation: isolate;
}

.focus-panel img,
.diagonal-panel img,
.editorial-panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform .35s ease;
}

.focus-panel::before,
.diagonal-panel::before,
.editorial-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 9, 13, .12), rgba(4, 9, 13, .88));
}

.focus-panel:hover img,
.diagonal-panel:hover img,
.editorial-panel:hover img {
  transform: scale(1.04);
}

.focus-panel > div,
.diagonal-panel > div,
.editorial-panel > div {
  width: 100%;
  padding: clamp(20px, 3vw, 34px);
}

.focus-panel.is-large {
  grid-row: 1 / 3;
  min-height: calc(100svh - var(--header-h) - 30px);
}

.diagonal-triptych {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: #071019;
}

.diagonal-intro {
  position: absolute;
  top: calc(var(--header-h) + 26px);
  left: clamp(18px, 5vw, 64px);
  z-index: 3;
  width: min(580px, calc(100% - 36px));
  pointer-events: none;
}

.diagonal-panel {
  min-height: calc(100svh - var(--header-h));
  border-radius: 0;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  margin-inline: -4vw;
}

.diagonal-panel:first-of-type { margin-left: 0; }
.diagonal-panel:last-of-type { margin-right: 0; }

.editorial-triptych {
  min-height: 100svh;
  padding: calc(var(--header-h) + 24px) clamp(18px, 4vw, 42px) 30px;
  display: grid;
  grid-template-columns: .86fr 1.35fr .88fr;
  grid-template-rows: .8fr 1fr;
  gap: 14px;
}

.editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .045);
  border-radius: 8px;
}

.editorial-panel.panel-1 {
  grid-row: 1 / 3;
}

.editorial-panel.panel-2 {
  grid-column: 2 / 4;
}

.editorial-panel.panel-3 {
  grid-column: 2 / 4;
}

.contact-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .055);
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #fff;
  background: rgba(0, 0, 0, .28);
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.notice {
  padding: 14px 16px;
  color: #17110a;
  background: #f5c76a;
  border-radius: 6px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(130px, .6fr));
  gap: 28px;
  padding: 46px clamp(18px, 5vw, 56px);
  border-top: 1px solid var(--line);
  background: #060d13;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.site-footer a:hover { color: #fff; }

.footer-brand { margin-bottom: 16px; }

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

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 16px;
    background: rgba(7, 16, 25, .98);
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .site-nav { display: grid; }
  .site-nav a { padding: 14px; }
  .site-nav .nav-cta { margin-left: 0; }
  .sector-cards,
  .variant-grid,
  .grid-3,
  .grid-4,
  .capability-grid,
  .switcher,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .gateway,
  .focus-triptych,
  .editorial-triptych,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .gateway-copy {
    min-height: auto;
    padding-top: 44px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .band { grid-template-columns: 68px 1fr; }
  .band .btn { grid-column: 2; width: fit-content; }
  .focus-copy,
  .focus-panel.is-large,
  .editorial-panel.panel-1,
  .editorial-panel.panel-2,
  .editorial-panel.panel-3 {
    grid-column: auto;
    grid-row: auto;
  }
  .focus-panel,
  .editorial-panel {
    min-height: 360px;
  }
  .diagonal-triptych {
    grid-template-columns: 1fr;
  }
  .diagonal-intro {
    position: relative;
    top: auto;
    left: auto;
    padding: 30px 18px 0;
  }
  .diagonal-panel {
    clip-path: none;
    min-height: 340px;
    margin: 0;
  }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .brand small { display: none; }
  .brand-logo-shell { width: 76px; flex-basis: 76px; height: 38px; }
  h1 { font-size: clamp(38px, 12vw, 56px); }
  .hero-shell { min-height: auto; }
  .lifecycle-hero .intro { padding-bottom: 170px; }
  .sector-cards {
    grid-template-columns: 1fr;
    margin-top: -142px;
  }
  .sector-card { min-height: 0; }
  .triptych {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .image-panel { min-height: 52svh; }
  .gateway { min-height: auto; }
  .gateway-bands { grid-template-rows: none; }
  .band {
    min-height: 280px;
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .band .btn { grid-column: auto; }
  .grid-2,
  .grid-3,
  .grid-4,
  .variant-grid,
  .capability-grid,
  .switcher,
  .site-footer,
  .image-stack {
    grid-template-columns: 1fr;
  }
  .image-stack figure,
  .image-stack figure:nth-child(2) {
    min-height: 280px;
  }
  .project-card .media { height: 210px; }
}
