:root {
  --bg: #000000;
  --glass: rgba(255, 255, 255, 0.022);
  --glass-strong: rgba(255, 255, 255, 0.048);
  --surface: rgba(10, 10, 10, 0.94);
  --surface-soft: rgba(14, 14, 14, 0.92);
  --text: #f6f6f4;
  --muted: #cbc6be;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #c4ad87;
  --accent-soft: rgba(196, 173, 135, 0.22);
  --accent-ink: #e8dac3;
  --signal-green: #88b39e;
  --signal-cyan: #aebbc2;
  --signal-red: #b78486;
  --signal-amber: #c4ad87;
  --font-title: "Sora", "Manrope", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-code: "Sora", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  --radius: 18px;
  --content: min(1160px, 92vw);
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.46);
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 88% -10%, rgba(196, 173, 135, 0.12), transparent 36%),
    radial-gradient(circle at 12% 92%, rgba(196, 173, 135, 0.05), transparent 30%),
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.04), transparent 24%),
    var(--bg);
  line-height: 1.62;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.01), transparent 22%);
  z-index: 0;
}

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

button,
.button,
.header-cta,
.main-nav a {
  touch-action: manipulation;
}

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

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.78), rgba(7, 7, 7, 0.66));
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 62%);
  opacity: 0.12;
  z-index: -1;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.86), rgba(7, 7, 7, 0.72));
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
  border-color: var(--line-strong);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.header-inner {
  width: var(--content);
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

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

.main-nav {
  margin-left: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex: 1 1 auto;
}

.main-nav a {
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-family: var(--font-title);
  text-transform: uppercase;
  color: #e6e6e3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.012);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  border-color: var(--accent-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-ink);
}

.mobile-contact-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-switch,
.menu-toggle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-switch {
  font-size: 0.92rem;
  opacity: 0.88;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.lang-switch:hover {
  border-color: var(--accent-soft);
  opacity: 1;
}

.header-cta {
  border: 1px solid var(--accent-soft);
  color: var(--accent-ink);
  background: rgba(196, 173, 135, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.73rem;
  font-weight: 500;
  font-family: var(--font-title);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-cta:hover {
  background: rgba(196, 173, 135, 0.14);
}

.menu-toggle {
  color: var(--text);
  display: none;
  cursor: pointer;
}

.container {
  width: var(--content);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 72px 0 30px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4.1vw, 3.05rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 66ch;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.25s ease, background 0.25s ease;
  backface-visibility: hidden;
}

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

.button.primary {
  color: #0f0f0f;
  background: #d5c3a3;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.26);
}

.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.016);
}

.button.ghost:hover {
  border-color: var(--accent-soft);
  background: rgba(255, 255, 255, 0.035);
}

.scene-panel,
.image-panel,
.card,
.info-item,
.footer-box,
.contact-form-wrap,
.map-cinematic,
.vault-console,
.vault-step,
.mission-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.94), rgba(9, 9, 9, 0.94));
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  isolation: isolate;
}

.scene-panel,
.image-panel {
  min-height: 360px;
  overflow: hidden;
}

.scene-panel::before,
.image-panel::before,
.info-item::before,
.footer-box::before,
.contact-form-wrap::before,
.vault-console::after,
.vault-step::after,
.mission-step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.05), transparent 52%);
  opacity: 0.08;
  z-index: -1;
}

.scene-panel-home {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 0;
  aspect-ratio: 5 / 3;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  contain: layout paint;
  transform: translateZ(0);
}

.scene-panel-home::before {
  display: none;
}

.scene-panel-home .vector-scene,
.scene-panel-home .vector-scene svg,
.scene-panel-home .home-counter-scene {
  contain: layout paint style;
  min-height: 0;
  height: 100%;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vault-home-preview {
  padding: 12px;
}

.vault-home-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.42);
  border-radius: 12px;
}

.vector-scene {
  min-height: 360px;
  width: 100%;
}

.vector-scene svg {
  width: 100%;
  height: 100%;
}

.vector-scene .flow {
  stroke-dasharray: 10 14;
  animation: dashMove 12s linear infinite;
  will-change: stroke-dashoffset;
}

.vector-scene .pulse {
  animation: pulse 2.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

.vector-scene .rot-slow {
  transform-box: fill-box;
  transform-origin: center;
  animation: rotSlow 18s linear infinite;
  will-change: transform;
}

.vector-scene .rot-fast {
  transform-box: fill-box;
  transform-origin: center;
  animation: rotFast 9s linear infinite;
  will-change: transform;
}

.home-counter-scene {
  min-height: 360px;
  background:
    radial-gradient(circle at 22% 18%, rgba(196, 173, 135, 0.08), transparent 34%),
    radial-gradient(circle at 80% 76%, rgba(255, 255, 255, 0.03), transparent 38%),
    rgba(3, 3, 3, 0.92);
}

.home-counter-scene svg {
  width: 100%;
  height: 100%;
}

.home-counter-scene .home-label {
  fill: rgba(243, 244, 246, 0.9);
  font-family: var(--font-title);
  font-size: 8.8px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.home-counter-scene .home-label-left {
  text-anchor: start;
}

.home-counter-scene .home-label-center {
  text-anchor: middle;
  fill: rgba(243, 227, 200, 0.95);
}

.home-counter-scene .home-label-right {
  text-anchor: end;
}

.home-counter-scene .home-link {
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
}

.home-counter-scene .home-link-in {
  stroke: rgba(182, 136, 138, 0.64);
}

.home-counter-scene .home-link-out {
  stroke: rgba(148, 174, 160, 0.66);
}

.home-counter-scene .home-node {
  animation: pulse 2.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.home-counter-scene .home-node circle {
  stroke-width: 1.4;
}

.home-counter-scene .home-node path {
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-counter-scene .home-node-threat circle {
  fill: rgba(182, 136, 138, 0.12);
  stroke: rgba(182, 136, 138, 0.82);
}

.home-counter-scene .home-node-threat path {
  stroke: rgba(196, 173, 135, 0.84);
}

.home-counter-scene .home-node-safe circle {
  fill: rgba(87, 226, 177, 0.12);
  stroke: rgba(87, 226, 177, 0.92);
}

.home-counter-scene .home-node-safe path {
  stroke: rgba(87, 226, 177, 0.96);
}

.home-counter-scene .home-shield-scan circle {
  stroke: rgba(255, 255, 255, 0.2);
}

.home-counter-scene .home-shield-scan circle:last-child {
  stroke: rgba(207, 183, 146, 0.42);
}

.home-counter-scene .home-shield {
  fill: rgba(207, 183, 146, 0.11);
  stroke: rgba(255, 255, 255, 0.84);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.home-counter-scene .home-lock {
  fill: none;
  stroke: rgba(207, 183, 146, 0.96);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-counter-scene .home-neutralize {
  stroke: rgba(182, 136, 138, 0.72);
  stroke-width: 2.2;
  stroke-linecap: round;
  animation: homeThreatBlink 1.9s ease-in-out infinite;
}

.home-counter-scene .home-neutralize-glow {
  fill: rgba(182, 136, 138, 0.22);
}

.aes-scene .domain-map text {
  fill: rgba(243, 244, 246, 0.86);
  font-family: var(--font-title);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.aes-scene .cipher-col {
  font-family: var(--font-code);
  font-size: 10px;
  letter-spacing: 0.18em;
  fill: rgba(243, 244, 246, 0.42);
  animation: cipherDrift 8s linear infinite;
  will-change: transform;
}

.aes-scene .cipher-col.c2 {
  animation-delay: -0.8s;
}

.aes-scene .cipher-col.c3 {
  animation-delay: -1.6s;
}

.aes-scene .cipher-col.c4 {
  animation-delay: -2.4s;
}

.aes-scene .cipher-col.c5 {
  animation-delay: -3.2s;
}

.aes-scene .cipher-col.c6 {
  animation-delay: -4s;
}

.aes-scene .cipher-col.inner {
  fill: rgba(243, 227, 200, 0.68);
  letter-spacing: 0.14em;
  animation-duration: 6.4s;
}

.aes-scene .cipher-col.inner.i2 {
  animation-delay: -0.8s;
}

.aes-scene .cipher-col.inner.i3 {
  animation-delay: -1.6s;
}

.aes-scene .cipher-col.inner.i4 {
  animation-delay: -2.4s;
}

.aes-scene .shield-build {
  fill: none;
  stroke: rgba(124, 232, 255, 0.82);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: shieldTrace 2.6s ease 0.3s forwards;
  animation-fill-mode: both;
}

.aes-scene .shield-outline {
  fill: rgba(207, 183, 146, 0.12);
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.aes-scene .aes-tag {
  fill: #f3e3c8;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-anchor: middle;
}

.aes-scene .glyph-pulse {
  fill: rgba(124, 232, 255, 0.85);
  animation: glyphPulse 2.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

.section {
  padding: 30px 0;
}

main[data-page="home"] .hero {
  padding: 58px 0 20px;
  gap: 22px;
}

main[data-page="home"] .section {
  padding: 18px 0;
}

main[data-page="home"] .card {
  padding: 14px;
}

main[data-page="home"] .section-title {
  margin-bottom: 6px;
}

main[data-page="home"] .section-sub {
  margin-bottom: 12px;
}

main[data-page="home"] .logos-grid .logo-item {
  min-height: 74px;
  padding: 10px;
}

.container.section,
.footer {
  content-visibility: auto;
}

.container.section {
  contain-intrinsic-size: 1px 960px;
}

.footer {
  contain-intrinsic-size: 1px 260px;
}

.section-title {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-sub {
  margin: 0 0 18px;
  color: var(--muted);
}

.kicker {
  margin: 0 0 8px;
  color: var(--accent-ink);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 14px;
}

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

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

.card {
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: -120% 45% auto -6%;
  height: 170%;
  background: linear-gradient(180deg, rgba(207, 183, 146, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.expertise-icon,
.cell-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--accent-soft);
  color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.025);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.expertise-icon {
  color: var(--accent-ink);
  border-color: var(--accent-soft);
}

.card:nth-child(3n + 1) .expertise-icon,
.card:nth-child(3n + 1) .cell-icon {
  color: var(--accent-ink);
  border-color: var(--accent-soft);
}

.card:nth-child(3n) .expertise-icon,
.card:nth-child(3n) .cell-icon {
  color: var(--accent-ink);
  border-color: var(--accent-soft);
}

.cell-icon {
  width: 38px;
  height: 38px;
}

.pill-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list li {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: #f0f2f5;
  padding: 7px 10px;
  font-size: 0.79rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.logo-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.logo-item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 52px;
  opacity: 0.95;
}

.logo-item:hover img {
  opacity: 1;
}

.logo-item:nth-child(3n + 1) {
  border-color: var(--line);
}

.logo-item:nth-child(3n + 2) {
  border-color: var(--line);
}

.logo-item:nth-child(3n) {
  border-color: var(--line);
}


.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.timeline li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(16, 16, 16, 0.92);
  color: var(--muted);
}

.timeline span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent-ink);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.mission-timeline {
  position: relative;
  margin-top: 8px;
  padding-left: 28px;
  display: grid;
  gap: 14px;
}

.mission-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, rgba(196, 173, 135, 0.9), rgba(255, 255, 255, 0.22));
  transform-origin: top;
  animation: drawDown 1.8s ease-out forwards;
}

.mission-step {
  position: relative;
  padding: 14px;
}

.mission-dot {
  position: absolute;
  left: -24px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 173, 135, 0.14);
  animation: blinkDot 2.1s ease-in-out infinite;
}

.mission-step:nth-child(2) .mission-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 173, 135, 0.14);
}

.mission-step:nth-child(3) .mission-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 173, 135, 0.14);
}

.mission-step h3 {
  margin: 0 0 7px;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 600;
}

.mission-step p {
  margin: 0;
  color: var(--muted);
}

.vault-console {
  padding: 14px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.vault-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(196, 173, 135, 0.08));
  animation: sweep 4.6s linear infinite;
}

.vault-lines {
  display: grid;
  gap: 6px;
  font-family: var(--font-code);
  font-size: 0.74rem;
  color: #e3d5bf;
}

.vault-lines span {
  opacity: 0;
  transform: translateY(5px);
  animation: lineIn 6.2s linear infinite;
}

.vault-lines span:nth-child(2) {
  animation-delay: 0.8s;
}

.vault-lines span:nth-child(3) {
  animation-delay: 1.6s;
}

.vault-lines span:nth-child(4) {
  animation-delay: 2.4s;
}

.vault-lines span:nth-child(5) {
  animation-delay: 3.2s;
}

.vault-timeline {
  position: relative;
  margin-top: 10px;
  padding-left: 28px;
  display: grid;
  gap: 18px;
}

.vault-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, rgba(196, 173, 135, 0.88), rgba(255, 255, 255, 0.22));
  transform-origin: top;
  animation: drawDown 1.8s ease-out forwards;
}

.vault-step {
  position: relative;
  padding: 14px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 12px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 360px;
}

.vault-step::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 173, 135, 0.14);
}

.vault-step:nth-child(3n + 2)::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 173, 135, 0.14);
}

.vault-step:nth-child(3n)::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 173, 135, 0.14);
}

.vault-step img {
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  padding: 6px;
}

.vault-step h3 {
  margin: 0 0 7px;
  font-family: var(--font-title);
  font-size: 1.06rem;
  font-weight: 600;
}

.vault-step p {
  margin: 0;
  color: var(--muted);
}

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

.info-item {
  padding: 13px;
}

.info-item h4 {
  margin: 0 0 6px;
  font-family: var(--font-title);
  color: var(--accent-ink);
  font-size: 0.96rem;
  font-weight: 600;
}

.info-item p {
  margin: 0;
  color: var(--muted);
}

.contact-form-wrap {
  padding: 16px;
  background: rgba(8, 8, 8, 0.95);
}

.contact-form-wrap::before {
  background: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.08), transparent 52%);
  opacity: 0.08;
}

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

.contact-form label {
  color: var(--accent-ink);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(33, 33, 33, 0.86);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text);
  padding: 10px 11px;
  font: inherit;
  background-clip: padding-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.map-cinematic {
  --map-anchor-x: 68.14%;
  --map-anchor-y: 51.9%;
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% -8%, rgba(196, 173, 135, 0.18), transparent 54%),
    radial-gradient(circle at 0% 100%, rgba(196, 173, 135, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.02);
}

.map-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
}

.map-cinematic::after {
  content: "";
  position: absolute;
  inset: -40% 0 auto 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(196, 173, 135, 0.14), transparent);
  filter: none;
  opacity: 0;
  animation: mapScan 6.5s linear 1;
  pointer-events: none;
  z-index: 1;
}

.map-cinematic svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 390px;
}

.map-camera {
  transform-origin: 430px 217px;
  animation: mapCameraZoom 4.9s cubic-bezier(0.2, 0.75, 0.18, 1) forwards;
  animation-fill-mode: both;
  will-change: transform;
}

.map-halo {
  fill: url(#map-halo);
  opacity: 0;
  animation: mapHaloIn 0.9s ease 0.8s forwards;
  animation-fill-mode: both;
}

.france-fill {
  fill: rgba(255, 255, 255, 0.08);
  opacity: 0;
  animation: mapFillIn 0.62s ease 1.68s forwards;
  animation-fill-mode: both;
}

.france-outline {
  stroke: rgba(255, 255, 255, 0.76);
  stroke-width: 2.3;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: drawFrance 2.35s ease forwards;
  animation-fill-mode: both;
}

.region-ara {
  fill: rgba(207, 183, 146, 0.1);
  stroke: rgba(207, 183, 146, 0.9);
  stroke-width: 2.2;
  stroke-linejoin: round;
  opacity: 0;
  animation: regionLock 0.76s ease 4.28s forwards;
  animation-fill-mode: both;
}

.lyon-pulse {
  fill: none;
  stroke: rgba(183, 132, 135, 0.74);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: lyonPulse 1.5s ease-out 5.25s infinite;
  will-change: transform, opacity;
}

.lyon-pulse.pulse-2 {
  animation-delay: 5.55s;
}

.lyon-dot {
  fill: rgba(183, 132, 135, 0.9);
  opacity: 0;
  stroke: #fff1f2;
  stroke-width: 1.15;
  animation: lyonDotFix 0.32s ease 5.05s forwards;
  animation-fill-mode: both;
}

.map-circuit-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.46);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: drawCircuit 0.85s ease 5.55s forwards;
  animation-fill-mode: both;
}

.map-circuit-signal {
  fill: none;
  stroke: url(#map-circuit-grad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22 24;
  stroke-dashoffset: 92;
  opacity: 0;
  animation: signalRun 1s linear 6.15s infinite;
  will-change: stroke-dashoffset, opacity;
}

.map-link-anchor {
  fill: transparent;
  stroke: none;
}

.circuit-node {
  fill: #ffffff;
  opacity: 0;
  animation: nodeShow 0.3s ease forwards;
}

.circuit-node.node-1 {
  animation-delay: 5.8s;
}

.circuit-node.node-2 {
  animation-delay: 5.95s;
}

.circuit-node.node-3 {
  animation-delay: 6.1s;
}

.circuit-node.node-4 {
  animation-delay: 6.25s;
}

.circuit-node.node-5 {
  animation-delay: 6.4s;
}

.circuit-node.final {
  fill: rgba(150, 178, 163, 0.9);
}

.map-note {
  position: absolute;
  left: var(--map-anchor-x-px, calc(var(--map-anchor-x) + 5.5px));
  right: 14px;
  width: auto;
  top: var(--map-anchor-y-px, var(--map-anchor-y));
  max-width: none;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(0, 0, 0, 0.66);
  color: #ffffff;
  font-size: 0.84rem;
  line-height: 1.5;
  padding: 13px 14px;
  opacity: 0;
  transform: translate(0, calc(-50% + 10px));
  animation: noteShow 0.56s ease 6.35s forwards;
  animation-fill-mode: both;
  will-change: transform, opacity;
}

.map-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(150, 178, 163, 0.9);
  box-shadow: 0 0 5px rgba(150, 178, 163, 0.36);
  transform: translate(-50%, -50%);
}

.cta-panel {
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(196, 173, 135, 0.12), transparent 56%),
    rgba(255, 255, 255, 0.02);
  backdrop-filter: none;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-panel h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.5vw, 1.82rem);
  font-weight: 600;
}

.footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 8%, rgba(196, 173, 135, 0.08), rgba(255, 255, 255, 0.01) 58%),
    rgba(3, 3, 3, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.footer-inner {
  width: var(--content);
  margin: 0 auto;
  padding: 10px 0 10px;
  display: grid;
  gap: 7px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.footer-box {
  padding: 8px 9px;
}

.footer-box h4 {
  margin: 0 0 5px;
  color: var(--accent-ink);
  font-family: var(--font-title);
  font-size: 0.84rem;
  font-weight: 550;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.footer-copy {
  margin: 0;
  text-align: center;
  color: #ffffff;
  font-size: 0.76rem;
  border-top: 1px solid var(--line);
  padding-top: 5px;
}

body.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}

body.reveal-enabled .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: auto;
}

.page-transition .panel {
  width: min(560px, 90vw);
  border-radius: 14px;
  border: 1px solid rgba(196, 173, 135, 0.44);
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.42);
  padding: 16px;
}

.page-transition .title {
  margin: 0 0 9px;
  color: #e8dac3;
  font-family: var(--font-code);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-transition pre {
  margin: 0;
  min-height: 80px;
  max-height: 80px;
  overflow: hidden;
  white-space: pre-wrap;
  color: #f2f2f2;
  font-size: 0.7rem;
  line-height: 1.35;
  font-family: var(--font-code);
}

.page-transition .bar {
  margin-top: 11px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.page-transition .bar > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #c4ad87, #ece7de);
}

.page-transition.active .bar > span {
  animation: loadBar 0.78s ease forwards;
}

@media (max-width: 1180px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 4vw;
    right: 4vw;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
      linear-gradient(150deg, rgba(10, 10, 10, 0.95), rgba(5, 5, 5, 0.93) 38%, rgba(0, 0, 0, 0.9));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
      0 14px 28px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 70;
  }

  .main-nav a {
    text-align: center;
    color: #f8f4eb;
    background: rgba(8, 8, 8, 0.9);
    border-color: rgba(255, 255, 255, 0.16);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  }

  .main-nav .mobile-contact-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    border: 1px solid var(--accent-soft);
    background: #d5c3a3;
    color: #080808;
    font-weight: 600;
  }

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

  body.menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
}

@media (max-width: 960px) {
  .hero,
  .cols-2,
  .cols-3,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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


  .vault-step {
    grid-template-columns: 1fr;
  }

  .scene-panel,
  .image-panel,
  .vector-scene {
    min-height: 290px;
  }

  .scene-panel-home,
  .scene-panel-home .vector-scene {
    min-height: 0;
  }

  .map-cinematic {
    min-height: 340px;
  }

  .map-cinematic svg {
    height: 340px;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand {
    width: 66px;
    height: 66px;
  }

  .header-cta {
    padding: 9px 10px;
    font-size: 0.66rem;
  }

  .scene-panel,
  .image-panel,
  .card,
  .info-item,
  .footer-box,
  .contact-form-wrap,
  .map-cinematic,
  .vault-console,
  .vault-step,
  .mission-step,
  .logo-item,
  .timeline li,
  .cta-panel {
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  .footer-inner {
    padding: 8px 0 8px;
    gap: 6px;
  }

  .footer-box {
    padding: 7px 8px;
  }

  .footer-box h4 {
    margin-bottom: 4px;
    font-size: 0.78rem;
  }

  .footer-box p {
    font-size: 0.76rem;
  }

  .footer-copy {
    font-size: 0.74rem;
    padding-top: 4px;
  }

  main[data-page="home"] .hero {
    padding-top: 44px;
  }

  main[data-page="home"] .section {
    padding: 14px 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 48px;
  }

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


  .header-actions {
    gap: 6px;
  }

  .header-cta {
    display: none;
  }

  .map-note {
    left: var(--map-anchor-x-px, calc(var(--map-anchor-x) + 5.5px));
    right: 8px;
    width: auto;
    max-width: none;
    top: var(--map-anchor-y-px, var(--map-anchor-y));
    bottom: auto;
    padding: 10px 11px;
    font-size: 0.72rem;
    line-height: 1.34;
    transform: translate(0, -50%) scale(0.88);
    transform-origin: left center;
    animation: noteShow 0.5s ease 6.35s forwards;
  }

  .map-note::before {
    display: block;
    width: 9px;
    height: 9px;
  }

  .map-cinematic {
    min-height: 306px;
  }

  .map-cinematic svg {
    height: 306px;
  }

  .footer-inner {
    padding: 7px 0 7px;
    gap: 5px;
  }

  .footer-box {
    padding: 6px 7px;
  }

  .footer-copy {
    font-size: 0.7rem;
    padding-top: 4px;
  }
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -180;
  }
}

@keyframes homeStreamScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -336px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

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

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

@keyframes sweep {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes lineIn {
  0%,
  100% {
    opacity: 0;
    transform: translateY(5px);
  }
  12%,
  42% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawDown {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes drawFrance {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes mapCameraZoom {
  0% {
    transform: scale(1) translate(0, 0);
  }
  40% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.44) translate(-92px, 34px);
  }
}

@keyframes mapHaloIn {
  to {
    opacity: 1;
  }
}

@keyframes mapFillIn {
  to {
    opacity: 1;
  }
}

@keyframes regionLock {
  to {
    opacity: 1;
    fill: rgba(207, 183, 146, 0.46);
  }
}

@keyframes lyonDotFix {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lyonPulse {
  0% {
    opacity: 0;
    transform: scale(0.74);
  }
  40% {
    opacity: 0.75;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.46);
  }
}

@keyframes drawCircuit {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes signalRun {
  0% {
    opacity: 0;
    stroke-dashoffset: 92;
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes noteShow {
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes noteShowMobile {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cipherDrift {
  0% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(18px);
  }
}

@keyframes shieldTrace {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes glyphPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.22);
  }
}

@keyframes homeThreatBlink {
  0%,
  100% {
    opacity: 0.4;
  }
  45% {
    opacity: 1;
  }
}

@keyframes mapScan {
  0% {
    opacity: 0;
    transform: translateY(-30%);
  }
  12% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translateY(240%);
  }
}

@keyframes nodeShow {
  to {
    opacity: 1;
  }
}

@keyframes loadBar {
  to {
    width: 100%;
  }
}

@keyframes blinkDot {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
