:root {
  color-scheme: dark;
  --ink-950: #020711;
  --ink-900: #050b18;
  --ink-850: #071020;
  --ink-800: #0a1528;
  --panel: rgba(9, 20, 39, 0.82);
  --panel-solid: #091427;
  --panel-soft: rgba(13, 29, 53, 0.62);
  --line: rgba(111, 157, 220, 0.19);
  --line-strong: rgba(23, 178, 255, 0.42);
  --text: #f4f8ff;
  --text-soft: #c9d5e8;
  --muted: #91a3bd;
  --cyan: #15c8ff;
  --blue: #1268ff;
  --violet: #7539ff;
  --success: #62e8bc;
  --warning: #ffd479;
  --danger: #ff91aa;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --glow: 0 0 42px rgba(21, 200, 255, 0.2);
  --radius-sm: 0.65rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --page: min(76rem, calc(100% - 2rem));
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--ink-950);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 7%, rgba(18, 104, 255, 0.13), transparent 24rem),
    radial-gradient(circle at 8% 55%, rgba(117, 57, 255, 0.08), transparent 28rem),
    var(--ink-950);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(101, 143, 204, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 143, 204, 0.025) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--cyan);
}

:focus-visible {
  outline: 0.2rem solid var(--cyan);
  outline-offset: 0.22rem;
}

::selection {
  color: var(--text);
  background: rgba(18, 104, 255, 0.62);
}

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

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 8vw, 5.9rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.65rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.018em;
}

.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;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ink-950);
  background: var(--cyan);
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: var(--ink-950);
  transform: translateY(0);
}

.section-shell,
.hero-shell,
.page-hero-shell,
.project-hero-shell,
.header-shell,
.footer-shell,
.footer-legal {
  width: var(--page);
  margin-inline: auto;
}

.section-shell {
  padding-block: clamp(4.75rem, 9vw, 8rem);
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  max-width: 46rem;
}

.section-heading h2 {
  margin-bottom: 1.1rem;
}

.section-heading > p:last-child {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading-row .section-heading h2,
.section-heading-row .section-heading p {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(117, 158, 217, 0.14);
  background: rgba(2, 7, 17, 0.84);
  backdrop-filter: blur(1.25rem) saturate(135%);
}

.header-shell {
  position: relative;
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: cover;
  border: 1px solid rgba(99, 164, 255, 0.28);
  border-radius: 0.65rem;
  box-shadow: 0 0 1.5rem rgba(18, 104, 255, 0.14);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.7vw, 1.45rem);
}

.site-nav > a {
  position: relative;
  padding: 0.75rem 0.15rem;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 0.38rem;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: var(--text);
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  margin-left: 0.3rem;
  padding: 0.65rem 1rem;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(18, 104, 255, 0.1);
}

.site-nav .nav-cta:hover {
  color: var(--text);
  border-color: var(--cyan);
  background: rgba(21, 200, 255, 0.12);
}

.noscript-navigation {
  display: none;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 0.27rem;
  background: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(0.34rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(4) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.circuit-field {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.circuit-field::before,
.circuit-field::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.circuit-field::before {
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(90deg, transparent 0 8%, rgba(21, 200, 255, 0.2) 8% 8.12%, transparent 8.12% 100%),
    linear-gradient(0deg, transparent 0 75%, rgba(117, 57, 255, 0.22) 75% 75.14%, transparent 75.14% 100%);
  background-size: 17rem 11rem;
  mask-image: linear-gradient(105deg, black, transparent 63%);
}

.circuit-field::after {
  width: 28rem;
  height: 28rem;
  top: 8%;
  right: -9rem;
  border: 1px solid rgba(21, 200, 255, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 5rem rgba(18, 104, 255, 0.08), 0 0 5rem rgba(18, 104, 255, 0.08);
}

.hero {
  min-height: calc(100svh - 5rem);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 45%, rgba(18, 104, 255, 0.18), transparent 25rem),
    linear-gradient(115deg, rgba(5, 11, 24, 0.5), rgba(2, 7, 17, 0.86));
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.hero-copy h1 {
  max-width: 54rem;
  margin-bottom: 1.5rem;
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--cyan), #5e8fff 54%, #a369ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 44rem;
  margin-bottom: 2.1rem;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

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

.button-primary {
  color: #00101a;
  background: linear-gradient(100deg, var(--cyan), #46a8ff);
  box-shadow: 0 0.8rem 2rem rgba(21, 200, 255, 0.18);
}

.button-primary:hover {
  color: #00101a;
  box-shadow: 0 1rem 2.6rem rgba(21, 200, 255, 0.3);
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(10, 27, 51, 0.7);
}

.button-secondary:hover {
  color: var(--text);
  border-color: var(--cyan);
  background: rgba(15, 42, 73, 0.9);
}

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(0.25rem);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  padding: 0;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 650;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-list li::before {
  width: 0.34rem;
  height: 0.34rem;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0.8rem var(--cyan);
}

.hero-brand {
  position: relative;
  max-width: 34rem;
  justify-self: center;
  text-align: center;
}

.orbital-mark {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(70, 145, 255, 0.2);
  border-radius: 42% 58% 46% 54%;
  background: rgba(4, 11, 24, 0.56);
  box-shadow: inset 0 0 5rem rgba(18, 104, 255, 0.08), var(--glow);
  transform: rotate(-2deg);
}

.orbital-mark::before,
.orbital-mark::after {
  position: absolute;
  inset: 7%;
  content: "";
  border: 1px solid rgba(21, 200, 255, 0.2);
  border-radius: 50%;
  transform: rotate(22deg);
}

.orbital-mark::after {
  inset: -7%;
  border-color: rgba(117, 57, 255, 0.14);
  transform: rotate(-14deg);
}

.orbital-mark picture,
.orbital-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.orbital-mark img {
  object-fit: contain;
  mix-blend-mode: screen;
  transform: rotate(2deg);
}

.orbital-mark > span {
  position: absolute;
  z-index: 2;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: var(--ink-950);
  box-shadow: 0 0 1rem var(--cyan);
}

.orbital-mark > span:nth-of-type(1) {
  top: 11%;
  right: 22%;
}

.orbital-mark > span:nth-of-type(2) {
  right: 3%;
  bottom: 27%;
}

.orbital-mark > span:nth-of-type(3) {
  bottom: 12%;
  left: 16%;
}

.hero-brand > p {
  margin: 1.25rem 0 0;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.38em;
}

.hero-brand > p strong {
  color: var(--cyan);
}

.pillars-section .section-heading,
.differentiators .section-heading,
.service-principles .section-heading {
  margin-bottom: 2.7rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pillar-card {
  min-height: 19rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(13, 29, 53, 0.34), rgba(5, 11, 24, 0.22));
  transition: background 180ms ease, transform 180ms ease;
}

.pillar-card:hover {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(15, 47, 82, 0.58), rgba(7, 16, 32, 0.5));
  transform: translateY(-0.3rem);
}

.pillar-card > span {
  display: block;
  margin-bottom: 5.5rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
}

.pillar-card h3 {
  margin-bottom: 0.85rem;
}

.pillar-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.featured-section {
  padding-top: 2rem;
}

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

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(13, 29, 53, 0.78), rgba(5, 11, 24, 0.92));
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.14);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-0.35rem);
}

.project-card[hidden] {
  display: none;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 11rem;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(21, 200, 255, 0.13), transparent 42%),
    linear-gradient(135deg, rgba(18, 104, 255, 0.13), rgba(117, 57, 255, 0.08)),
    var(--ink-900);
}

.project-visual::before,
.project-visual::after {
  position: absolute;
  width: 8rem;
  height: 8rem;
  content: "";
  border: 1px solid rgba(21, 200, 255, 0.2);
  transform: rotate(45deg);
}

.project-visual::after {
  width: 5.3rem;
  height: 5.3rem;
  border-color: rgba(117, 57, 255, 0.35);
  transform: rotate(18deg);
}

.project-visual > span {
  position: relative;
  z-index: 2;
  color: transparent;
  background: linear-gradient(135deg, #f9fcff 12%, var(--cyan) 55%, #8b6cff);
  background-clip: text;
  -webkit-background-clip: text;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.project-visual > i {
  position: absolute;
  z-index: 1;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 1rem var(--cyan);
}

.project-visual > i:nth-of-type(1) {
  top: 22%;
  left: 21%;
}

.project-visual > i:nth-of-type(2) {
  top: 18%;
  right: 18%;
  background: var(--blue);
  box-shadow: 0 0 1rem var(--blue);
}

.project-visual > i:nth-of-type(3) {
  right: 25%;
  bottom: 16%;
  background: var(--violet);
  box-shadow: 0 0 1rem var(--violet);
}

.project-visual[data-project-theme="ia-dados"] {
  background: radial-gradient(circle, rgba(117, 57, 255, 0.2), transparent 47%), linear-gradient(135deg, rgba(45, 28, 97, 0.32), rgba(2, 7, 17, 0.9));
}

.project-visual[data-project-theme="engenharia-automacao"] {
  background: radial-gradient(circle, rgba(21, 200, 255, 0.18), transparent 47%), linear-gradient(135deg, rgba(8, 70, 91, 0.28), rgba(2, 7, 17, 0.9));
}

.project-visual[data-project-theme="seguranca-observabilidade"] {
  background: radial-gradient(circle, rgba(43, 129, 255, 0.2), transparent 47%), linear-gradient(135deg, rgba(22, 49, 102, 0.3), rgba(2, 7, 17, 0.9));
}

.project-visual[data-project-theme="jogos-experiencias"] {
  background: radial-gradient(circle, rgba(142, 65, 255, 0.24), transparent 47%), linear-gradient(135deg, rgba(55, 23, 92, 0.32), rgba(2, 7, 17, 0.9));
}

.project-card-body {
  padding: 1.35rem;
}

.project-category {
  margin-bottom: 0.55rem;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 0.8rem;
}

.project-card h3 a {
  text-decoration: none;
}

.project-card h3 a::after {
  position: absolute;
  content: "";
}

.project-card-body > p:not(.project-category) {
  display: -webkit-box;
  min-height: 7.9rem;
  margin-bottom: 1rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin-bottom: 1.15rem;
  list-style: none;
}

.tag-list li {
  padding: 0.28rem 0.58rem;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 29, 53, 0.52);
  font-size: 0.67rem;
  line-height: 1.3;
}

.process-band,
.values-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(7, 20, 40, 0.82), rgba(4, 9, 20, 0.92));
}

.process-band .section-heading,
.method-section .section-heading {
  margin-bottom: 3rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  counter-reset: none;
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 15rem;
  padding: 1.6rem;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.process-grid li:last-child {
  border-right: 0;
}

.process-grid li::before {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 1rem var(--cyan);
}

.process-grid li:last-child::before {
  right: 0;
}

.process-grid span {
  display: block;
  margin-bottom: 3.8rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
}

.process-grid h3 {
  margin-bottom: 0.7rem;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.differentiator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.differentiator-grid article {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.differentiator-grid h3 {
  margin-bottom: 0.65rem;
}

.differentiator-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-dot {
  display: block;
  width: 0.48rem;
  height: 0.48rem;
  margin-bottom: 2.2rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 1rem var(--cyan);
}

.cta-section {
  padding-top: 1rem;
}

.cta-panel {
  display: flex;
  min-height: 22rem;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(117, 57, 255, 0.25), transparent 20rem),
    linear-gradient(125deg, rgba(9, 31, 61, 0.96), rgba(5, 10, 23, 0.96));
  box-shadow: var(--shadow);
}

.cta-panel > div {
  max-width: 46rem;
}

.cta-panel h2 {
  margin-bottom: 1rem;
}

.cta-panel p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

.cta-panel > .button {
  flex: 0 0 auto;
}

.page-hero,
.project-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 30%, rgba(18, 104, 255, 0.16), transparent 25rem),
    linear-gradient(135deg, rgba(5, 13, 29, 0.78), rgba(2, 7, 17, 0.96));
}

.page-hero-shell {
  max-width: 76rem;
  padding-block: clamp(5rem, 11vw, 8rem);
}

.page-hero h1 {
  max-width: 65rem;
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.page-hero-shell > p:last-child {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.services-list {
  display: grid;
  gap: 1rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) minmax(16rem, 0.78fr);
  align-items: start;
  gap: clamp(1.3rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(13, 29, 53, 0.64), rgba(5, 11, 24, 0.76));
}

.service-marker {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: rgba(18, 104, 255, 0.09);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-detail h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.service-detail p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-detail ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.2rem;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.service-detail li::before {
  position: absolute;
  top: 1.05rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
}

.service-principles {
  padding-top: 0;
}

.project-catalog {
  padding-bottom: 3rem;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.catalog-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.catalog-count {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  white-space: nowrap;
}

.project-filters {
  display: none;
  margin-bottom: 2.3rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 19, 37, 0.72);
}

.js .project-filters {
  display: grid;
  grid-template-columns: minmax(14rem, 0.52fr) minmax(0, 1.48fr);
  align-items: end;
  gap: 1rem;
}

.project-filters > label,
.project-filters legend {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.project-filters > label {
  grid-column: 1;
  grid-row: 1;
}

.search-field {
  position: relative;
  grid-column: 1;
  grid-row: 2;
}

.search-field > span {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 0.82rem;
  height: 0.82rem;
  border: 1px solid var(--muted);
  border-radius: 50%;
  transform: translateY(-60%);
}

.search-field > span::after {
  position: absolute;
  width: 0.42rem;
  height: 1px;
  right: -0.3rem;
  bottom: -0.16rem;
  content: "";
  background: var(--muted);
  transform: rotate(45deg);
}

.search-field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem 0.65rem 2.7rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--ink-950);
}

.project-filters fieldset {
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-buttons button {
  min-height: 2.8rem;
  padding: 0.58rem 0.85rem;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 750;
}

.filter-buttons button:hover,
.filter-buttons button[aria-pressed="true"] {
  color: var(--text);
  border-color: var(--cyan);
  background: rgba(21, 200, 255, 0.1);
}

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

.empty-state {
  padding: 4rem 1rem;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.empty-state[hidden] {
  display: none;
}

.empty-state h3 {
  margin-bottom: 0.6rem;
}

.empty-state p {
  color: var(--muted);
}

.project-hero-shell {
  padding-block: 2rem clamp(5rem, 10vw, 8rem);
}

.breadcrumbs {
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.35rem;
  content: "/";
  color: #51627b;
}

.breadcrumbs a {
  text-decoration: none;
}

.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.project-hero h1 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.65rem, 7vw, 5.4rem);
}

.project-lead {
  max-width: 48rem;
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  font-size: clamp(1.03rem, 2vw, 1.18rem);
}

.project-visual-large {
  min-height: 22rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.project-visual-large > span {
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.project-visual-large::before {
  width: 13rem;
  height: 13rem;
}

.project-visual-large::after {
  width: 9rem;
  height: 9rem;
}

.project-detail {
  display: grid;
  grid-template-columns: 0.75fr 1.1fr 0.85fr;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.project-detail h2 {
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.highlight-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.highlight-list li {
  display: flex;
  min-height: 4rem;
  align-items: center;
  gap: 0.9rem;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
}

.highlight-list span {
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 1rem var(--cyan);
}

.scope-note {
  padding: 1.5rem;
  color: var(--text-soft);
  border: 1px solid rgba(255, 212, 121, 0.22);
  border-radius: var(--radius);
  background: rgba(67, 50, 20, 0.12);
}

.scope-note h2 {
  margin-bottom: 0.8rem;
  color: var(--warning);
  font-size: 1.05rem;
}

.scope-note p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.related-projects {
  padding-top: 0;
}

.related-projects .section-heading {
  margin-bottom: 2rem;
}

.about-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.about-copy {
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.about-copy strong {
  color: var(--text);
}

.values-band .section-heading {
  margin-bottom: 2.8rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.values-grid article {
  min-height: 16rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values-grid span {
  display: block;
  margin-bottom: 3.4rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
}

.values-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.55fr);
  align-items: start;
  gap: 1.2rem;
}

.contact-form-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 29, 53, 0.66), rgba(5, 11, 24, 0.84));
}

.contact-form-panel {
  padding: clamp(1.4rem, 4vw, 2.8rem);
}

.contact-form-panel > div:first-child {
  max-width: 44rem;
  margin-bottom: 2.2rem;
}

.contact-form-panel h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.contact-form-panel > div:first-child > p:last-child,
.form-actions p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

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

.contact-form label:not(.consent-field) {
  display: grid;
  gap: 0.42rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 750;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.72rem;
  background: rgba(2, 7, 17, 0.82);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:not([type="checkbox"]),
.contact-form select {
  min-height: 3.2rem;
  padding: 0.65rem 0.85rem;
}

.contact-form textarea {
  min-height: 10rem;
  padding: 0.8rem 0.85rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 0.18rem rgba(21, 200, 255, 0.12);
}

.contact-form select option {
  background: var(--ink-900);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-container {
  min-height: 4.1rem;
}

.turnstile-container[hidden] {
  display: none;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.consent-field input {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  margin-top: 0.12rem;
  accent-color: var(--cyan);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-actions p {
  margin: 0;
  font-size: 0.72rem;
}

.form-status {
  min-height: 1.5rem;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.contact-fallback {
  padding: 1.2rem;
  border: 1px solid rgba(255, 212, 121, 0.3);
  border-radius: var(--radius);
  background: rgba(77, 54, 18, 0.16);
}

.contact-fallback[hidden] {
  display: none;
}

.contact-fallback h3 {
  margin-bottom: 0.5rem;
  color: var(--warning);
  font-size: 1rem;
}

.contact-fallback p {
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.contact-card {
  position: sticky;
  top: 6.25rem;
  padding: 1.8rem;
}

.contact-card h2 {
  margin-bottom: 1.7rem;
  font-size: 1.7rem;
}

.contact-card dl {
  margin-bottom: 1.7rem;
}

.contact-card dl > div {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.contact-card dt {
  margin-bottom: 0.28rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 0;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  align-items: start;
  gap: 1.2rem;
}

.portal-access-panel,
.portal-security-card,
.portal-overview {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 29, 53, 0.66), rgba(5, 11, 24, 0.84));
}

.portal-access-panel h2,
.portal-security-card h2,
.portal-overview h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.portal-access-panel > div > p:last-child,
.portal-note,
.portal-overview p {
  color: var(--muted);
}

.portal-login-form {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.portal-login-form[hidden],
.portal-overview[hidden] {
  display: none;
}

.portal-login-form label {
  display: grid;
  flex: 1 1 auto;
  gap: 0.42rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 750;
}

.portal-login-form input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.72rem;
  background: rgba(2, 7, 17, 0.82);
}

.portal-login-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 0.18rem rgba(21, 200, 255, 0.12);
}

.portal-note {
  margin: 1.1rem 0 0;
  font-size: 0.75rem;
}

.portal-security-card ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  list-style: none;
}

.portal-security-card li {
  position: relative;
  padding-left: 1.15rem;
}

.portal-security-card li::before {
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0.8rem var(--cyan);
}

.portal-overview {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-color: rgba(98, 232, 188, 0.28);
}

.portal-overview p {
  margin-bottom: 0;
}

[data-portal-status][data-state="success"] {
  color: var(--success);
}

[data-portal-status][data-state="error"] {
  color: var(--danger);
}

.legal-content {
  max-width: 53rem;
}

.legal-content section {
  padding-block: 1.7rem;
  border-bottom: 1px solid var(--line);
}

.legal-content section:first-child {
  padding-top: 0;
}

.legal-content h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.legal-content p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.not-found {
  display: grid;
  min-height: 70svh;
  place-items: center;
  padding: 6rem 1rem;
  text-align: center;
}

.not-found > div {
  max-width: 48rem;
}

.error-code {
  margin-bottom: -1rem;
  color: transparent;
  background: linear-gradient(120deg, rgba(21, 200, 255, 0.3), rgba(117, 57, 255, 0.22));
  background-clip: text;
  -webkit-background-clip: text;
  font-family: var(--font-display);
  font-size: clamp(7rem, 25vw, 16rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
  user-select: none;
}

.not-found h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.not-found > div > p:not(.error-code, .eyebrow) {
  color: var(--text-soft);
}

.not-found .button-row {
  justify-content: center;
  margin-top: 2rem;
}

.site-footer {
  padding-top: 5rem;
  border-top: 1px solid var(--line);
  background: rgba(1, 5, 13, 0.88);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: clamp(2rem, 7vw, 6rem);
  padding-bottom: 4rem;
}

.footer-brand p {
  max-width: 27rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.footer-shell h2 {
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.footer-links a {
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  color: #72839c;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

.footer-legal p {
  margin: 0;
}

@media (max-width: 68rem) {
  .js .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(3, 9, 21, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav > a {
    padding: 0.85rem;
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin: 0.4rem 0 0;
    text-align: center;
  }

  .noscript-navigation {
    display: grid;
    width: var(--page);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 0.65rem;
    margin-inline: auto;
    border: 1px solid var(--line);
    border-top: 0;
    background: rgba(3, 9, 21, 0.98);
  }

  .noscript-navigation > a {
    padding: 0.55rem;
    text-align: center;
    text-decoration: none;
  }

  .hero-shell {
    grid-template-columns: 1fr 0.72fr;
    gap: 2.5rem;
  }

  .hero-brand > p {
    letter-spacing: 0.24em;
  }

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

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

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

  .process-grid li:nth-child(2) {
    border-right: 0;
  }

  .process-grid li:nth-child(n + 3) {
    border-top: 0;
  }

  .service-detail {
    grid-template-columns: 5rem 1fr;
  }

  .service-detail ul {
    grid-column: 2;
  }

  .js .project-filters {
    grid-template-columns: 1fr;
  }

  .project-filters > label,
  .search-field,
  .project-filters fieldset {
    grid-column: 1;
    grid-row: auto;
  }

  .project-detail {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .scope-note {
    grid-column: 1 / -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }

  .portal-layout {
    grid-template-columns: 1fr;
  }

  .portal-overview {
    grid-column: 1;
  }
}

@media (max-width: 47.99rem) {
  :root {
    --page: min(100% - 1.25rem, 42rem);
  }

  .section-shell {
    padding-block: 4.5rem;
  }

  .brand-copy small {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-shell,
  .project-hero-grid,
  .about-intro {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 4rem;
    padding-block: 4.5rem;
  }

  .hero-copy h1 br {
    display: none;
  }

  .hero-brand {
    width: min(24rem, 88%);
  }

  .pillar-grid,
  .values-grid,
  .process-grid,
  .differentiator-grid,
  .project-grid,
  .catalog-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    min-height: 14rem;
  }

  .pillar-card > span {
    margin-bottom: 3rem;
  }

  .section-heading-row,
  .catalog-heading,
  .cta-panel,
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading-row {
    display: flex;
  }

  .project-card-body > p:not(.project-category) {
    min-height: auto;
  }

  .process-grid li,
  .process-grid li:nth-child(n + 3) {
    min-height: auto;
    padding: 1.5rem 0.5rem 1.8rem;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .process-grid span {
    margin-bottom: 1.8rem;
  }

  .process-grid li::before {
    right: 0;
  }

  .cta-panel {
    display: flex;
    min-height: 24rem;
    justify-content: center;
  }

  .cta-panel > .button {
    align-self: stretch;
  }

  .page-hero-shell {
    padding-block: 4.5rem;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail ul {
    grid-column: 1;
  }

  .filter-buttons {
    flex-wrap: nowrap;
    padding: 0.15rem 0.1rem 0.65rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .filter-buttons button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .project-hero-shell {
    padding-top: 1.4rem;
  }

  .project-visual-large {
    min-height: 17rem;
    grid-row: 1;
  }

  .project-detail {
    grid-template-columns: 1fr;
  }

  .scope-note {
    grid-column: 1;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-login-form,
  .portal-overview {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-login-form .button,
  .portal-overview .button {
    width: 100%;
  }

  .form-actions .button {
    width: 100%;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    display: flex;
  }
}

@media (max-width: 24.4rem) {
  .brand-copy strong {
    font-size: 0.88rem;
  }

  .button-row .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
  }
}

@media (min-width: 100rem) {
  :root {
    --page: min(88rem, calc(100% - 5rem));
  }

  body {
    font-size: 1.05rem;
  }

  .hero-shell {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

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

@media (forced-colors: active) {
  .status-dot,
  .trust-list li::before,
  .highlight-list span,
  .process-grid li::before {
    border: 1px solid ButtonText;
  }

  .project-visual > span,
  .hero-copy h1 span,
  .error-code {
    color: CanvasText;
  }
}
