/* Maximzocktslots-ch — Software Engineering Design System 2026 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #060b16;
  --navy-900: #0a1224;
  --navy-800: #0f1a32;
  --navy-700: #162544;
  --navy-600: #1e3358;
  --gray-100: #f4f6f9;
  --gray-200: #e6ebf2;
  --gray-300: #c5cede;
  --gray-400: #8b97ad;
  --gray-500: #5c6b84;
  --white: #ffffff;
  --blue-500: #2b6fff;
  --blue-400: #4d86ff;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --violet-400: #8b7cf6;
  --glass: rgba(15, 26, 50, 0.72);
  --glass-border: rgba(77, 134, 255, 0.18);
  --text: #d8dee9;
  --text-muted: #8b97ad;
  --heading: #f4f6f9;
  --success: #34d399;
  --radius: 4px;
  --radius-lg: 12px;
  --header-h: 76px;
  --container: 1180px;
  --font: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'Consolas', monospace;
  --shadow: 0 24px 60px rgba(6, 11, 22, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

html.menu-lock,
html.menu-lock body {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  height: 100%;
}

body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan-300);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--cyan-400);
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 18ch;
  margin-bottom: 1.1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 2.5rem;
}

.section--light {
  background: var(--gray-100);
  color: var(--navy-800);
}

.section--light .section-title {
  color: var(--navy-900);
}

.section--light .section-lead,
.section--light .muted {
  color: var(--gray-500);
}

.section--navy {
  background: var(--navy-900);
}

.section--deep {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 11, 22, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(77, 134, 255, 0.12);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

body {
  padding-top: var(--header-h);
}

.site-header.is-scrolled {
  background: rgba(6, 11, 22, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  min-height: var(--header-h);
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  z-index: 1002;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo span {
  display: none;
}

@media (min-width: 480px) {
  .logo span {
    display: inline;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--gray-300);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 1px;
  background: var(--cyan-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: none;
}

@media (min-width: 1100px) {
  .header-cta {
    display: inline-flex;
  }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1002;
  background: rgba(15, 26, 50, 0.6);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  body {
    padding-top: 0;
  }

  .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    min-height: var(--header-h);
    display: block;
    overflow: visible;
  }

  .header-inner {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    margin: 0;
    background: rgba(6, 11, 22, 0.98);
    border-bottom: 1px solid rgba(77, 134, 255, 0.14);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    overflow: visible;
    z-index: 1001;
  }

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

  .nav a {
    font-size: 1.1rem;
    padding: 0.95rem 0.5rem;
    border-bottom: 1px solid rgba(77, 134, 255, 0.1);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a::after {
    display: none;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), #1a56e8);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(43, 111, 255, 0.35);
}

.btn--primary:hover {
  color: var(--white);
  box-shadow: 0 14px 36px rgba(43, 111, 255, 0.45);
}

.btn--ghost {
  border-color: rgba(103, 232, 249, 0.35);
  color: var(--cyan-300);
  background: rgba(34, 211, 238, 0.05);
}

.btn--ghost:hover {
  border-color: var(--cyan-400);
  color: var(--white);
  background: rgba(34, 211, 238, 0.12);
}

.btn--dark {
  background: var(--navy-900);
  color: var(--white);
}

.btn--dark:hover {
  color: var(--white);
  background: var(--navy-700);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.85);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 11, 22, 0.92) 0%, rgba(6, 11, 22, 0.72) 48%, rgba(10, 18, 36, 0.55) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(43, 111, 255, 0.22), transparent 45%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 134, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 134, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
  pointer-events: none;
}

.code-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.35;
}

.code-lines span {
  position: absolute;
  left: -20%;
  height: 1px;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  animation: codeFlow 9s linear infinite;
}

.code-lines span:nth-child(1) { top: 18%; animation-delay: 0s; width: 35%; }
.code-lines span:nth-child(2) { top: 36%; animation-delay: 2.2s; width: 48%; }
.code-lines span:nth-child(3) { top: 58%; animation-delay: 4.1s; width: 30%; }
.code-lines span:nth-child(4) { top: 74%; animation-delay: 1.3s; width: 42%; }

@keyframes codeFlow {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(280%); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__brand {
  font-family: var(--mono);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--cyan-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.hero__text {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gray-400);
}

.hero__meta strong {
  color: var(--cyan-300);
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}

/* ——— Split / Media ——— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .split--reverse .split__media {
    order: -1;
  }
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  background: var(--navy-800);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(103, 232, 249, 0.12);
  pointer-events: none;
}

.media-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--cyan-300);
  background: rgba(6, 11, 22, 0.75);
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

/* ——— Cards / Modules ——— */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.module {
  background: rgba(15, 26, 50, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.module:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(22, 37, 68, 0.9);
}

.module:hover::before {
  opacity: 1;
}

.section--light .module {
  background: var(--white);
  border-color: rgba(15, 26, 50, 0.08);
  box-shadow: 0 10px 30px rgba(15, 26, 50, 0.06);
}

.section--light .module:hover {
  border-color: rgba(43, 111, 255, 0.25);
}

.module__code {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--cyan-400);
  margin-bottom: 0.85rem;
}

.module h3 {
  font-size: 1.15rem;
  color: var(--heading);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.section--light .module h3 {
  color: var(--navy-900);
}

.module p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section--light .module p {
  color: var(--gray-500);
}

/* ——— Architecture / Interactive blocks ——— */
.arch-board {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .arch-board {
    grid-template-columns: repeat(4, 1fr);
  }
}

.arch-node {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.arch-node.is-active,
.arch-node:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.15), 0 16px 40px rgba(6, 11, 22, 0.4);
  transform: translateY(-3px);
}

.arch-node__id {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--violet-400);
  margin-bottom: 0.55rem;
}

.arch-node h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.arch-node p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.flow-track {
  position: relative;
  margin: 2rem 0 0;
  height: 2px;
  background: rgba(77, 134, 255, 0.2);
  overflow: hidden;
  border-radius: 2px;
}

.flow-track::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  animation: dataPulse 2.8s linear infinite;
}

@keyframes dataPulse {
  to { left: 110%; }
}

/* ——— Lifecycle ——— */
.lifecycle {
  display: grid;
  gap: 0;
  counter-reset: step;
}

@media (min-width: 900px) {
  .lifecycle {
    grid-template-columns: repeat(5, 1fr);
  }
}

.lifecycle__step {
  position: relative;
  padding: 1.5rem 1.15rem;
  border: 1px solid var(--glass-border);
  background: rgba(15, 26, 50, 0.55);
  counter-increment: step;
}

@media (min-width: 900px) {
  .lifecycle__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2rem;
    right: -1px;
    width: 12px;
    height: 1px;
    background: var(--cyan-400);
    z-index: 1;
  }
}

.lifecycle__step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--cyan-400);
  display: block;
  margin-bottom: 0.85rem;
}

.lifecycle__step h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.lifecycle__step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ——— Tech stack ——— */
.stack-list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .stack-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stack-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(77, 134, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(15, 26, 50, 0.45);
  transition: border-color 0.25s var(--ease);
}

.stack-item:hover {
  border-color: rgba(34, 211, 238, 0.4);
}

.stack-item__label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--cyan-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stack-item__value {
  color: var(--gray-200);
  font-size: 0.95rem;
}

.section--light .stack-item {
  background: var(--white);
  border-color: rgba(15, 26, 50, 0.08);
}

.section--light .stack-item__value {
  color: var(--navy-700);
}

/* ——— Case studies ——— */
.case {
  display: grid;
  gap: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-800);
}

@media (min-width: 860px) {
  .case {
    grid-template-columns: 1.1fr 1fr;
  }
}

.case__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.case__body {
  padding: 1.75rem;
}

.case__tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--violet-400);
  margin-bottom: 0.75rem;
}

.case__body h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.case__body p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

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

.case__metrics div {
  border-top: 1px solid rgba(77, 134, 255, 0.18);
  padding-top: 0.75rem;
}

.case__metrics strong {
  display: block;
  color: var(--cyan-300);
  font-family: var(--mono);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.case__metrics span {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ——— Industries ——— */
.industry {
  padding: 1.35rem;
  border-left: 2px solid var(--blue-500);
  background: rgba(15, 26, 50, 0.4);
}

.industry h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.industry p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section--light .industry {
  background: var(--white);
}

.section--light .industry h3 {
  color: var(--navy-900);
}

/* ——— Security ——— */
.secure-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .secure-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }
}

.check-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid rgba(77, 134, 255, 0.12);
  color: var(--gray-300);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 10px;
  height: 10px;
  border: 1px solid var(--cyan-400);
  border-radius: 2px;
  box-shadow: inset 0 0 0 2px transparent;
  background:
    linear-gradient(135deg, transparent 45%, var(--cyan-400) 45%, var(--cyan-400) 55%, transparent 55%),
    linear-gradient(45deg, transparent 40%, var(--cyan-400) 40%, var(--cyan-400) 60%, transparent 60%);
  background-size: 6px 6px;
  background-position: center;
  background-repeat: no-repeat;
}

.section--light .check-list li {
  color: var(--navy-700);
  border-bottom-color: rgba(15, 26, 50, 0.08);
}

/* ——— CTA band ——— */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(43, 111, 255, 0.2), transparent 50%),
    radial-gradient(ellipse at 80% 40%, rgba(139, 124, 246, 0.15), transparent 45%),
    var(--navy-800);
  border-block: 1px solid var(--glass-border);
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.cta-band p {
  color: var(--gray-300);
  max-width: 48ch;
  margin-bottom: 1.75rem;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.page-hero--abstract {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(43, 111, 255, 0.18), transparent 45%),
    radial-gradient(ellipse at 20% 80%, rgba(34, 211, 238, 0.1), transparent 40%),
    var(--navy-900);
}

.page-hero--abstract .page-hero__shade {
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.2), rgba(6, 11, 22, 0.55));
}

.section--light .legal h2 {
  color: var(--navy-900);
}

.section--light .legal p,
.section--light .legal li {
  color: var(--gray-500);
}

.section--light .legal strong {
  color: var(--navy-800);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.8);
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 11, 22, 0.94), rgba(6, 11, 22, 0.7) 60%, rgba(10, 18, 36, 0.55));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  color: var(--white);
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--gray-300);
  max-width: 52ch;
  font-size: 1.05rem;
}

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--cyan-400);
}

/* ——— Contact ——— */
.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

.contact-card {
  background: rgba(15, 26, 50, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contact-card h2 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.contact-row {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(77, 134, 255, 0.12);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row span {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--cyan-400);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-row p {
  color: var(--gray-200);
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-300);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(6, 11, 22, 0.55);
  border: 1px solid rgba(77, 134, 255, 0.2);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-error,
.form-success {
  display: none;
  padding: 1rem;
  border-radius: var(--radius);
}

.form-error {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.form-success {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  color: var(--success);
}

.form-error.is-visible,
.form-success.is-visible {
  display: block;
}

/* ——— Legal ——— */
.legal {
  max-width: 760px;
}

.legal h2 {
  color: var(--heading);
  font-size: 1.35rem;
  margin: 2rem 0 0.85rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal ul {
  padding-left: 1.1rem;
  margin-bottom: 1rem;
}

.legal li {
  list-style: disc;
}

.legal strong {
  color: var(--gray-200);
  font-weight: 600;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(77, 134, 255, 0.14);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .logo {
  margin-bottom: 0.25rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-col h3 {
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--gray-400);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--cyan-300);
}

.footer-contact p {
  color: var(--gray-300);
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.footer-contact .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--cyan-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin-top: 0.5rem;
}

.social-list a {
  color: var(--gray-300);
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.social-list a:hover {
  color: var(--cyan-300);
  border-bottom-color: var(--cyan-400);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(77, 134, 255, 0.1);
  color: var(--gray-500);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  color: var(--gray-400);
}

/* ——— Reveal animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ——— Cursor glow ——— */
.cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  mix-blend-mode: screen;
}

.cursor-glow.is-on {
  opacity: 1;
}

@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

/* ——— Utilities ——— */
.muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(77, 134, 255, 0.12);
}

.data-table th {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
  background: rgba(15, 26, 50, 0.7);
}

.data-table td {
  color: var(--gray-300);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.map-note {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(77, 134, 255, 0.25);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gray-400);
}
