: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.admin-open {
  overflow: 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;
}

.cipher-cursor-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: normal;
}

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(10, 10, 10, 0.78), rgba(8, 8, 8, 0.72));
  backdrop-filter: blur(5px) saturate(108%);
  -webkit-backdrop-filter: blur(5px) saturate(108%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.24);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.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.09;
  z-index: -1;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.82), rgba(7, 7, 7, 0.76));
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  border-color: var(--line-strong);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.26);
}

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

.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.79rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: var(--font-title);
  text-transform: uppercase;
  color: #f2efe8;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(16, 16, 16, 0.96);
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  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: rgba(196, 173, 135, 0.48);
  background: rgba(255, 255, 255, 0.06);
  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: 600;
  font-family: var(--font-title);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  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);
}

/* Subtle transparency for content buttons only (not header/footer controls). */
.site-shell main .button.primary {
  color: #0f0f0f;
  background: rgba(240, 228, 206, 0.5) !important;
  border-color: rgba(240, 228, 206, 0.7) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.site-shell main .button.ghost {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.site-shell main .button.primary:hover {
  background: rgba(240, 228, 206, 0.84) !important;
}

.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: rgba(11, 11, 11, 0.5);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  isolation: isolate;
  background-clip: padding-box;
}

.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%;
}

.scene-panel-fluid {
  min-height: 0;
  aspect-ratio: 5 / 3;
}

.scene-panel-fluid .vector-scene {
  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.5);
  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.5);
}

.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;
}

main[data-page="home"] .grid.cols-3 .card {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background-clip: padding-box;
}

main[data-page="home"] .grid.cols-3 .card::after {
  display: none;
}

.home-article-feed {
  max-height: none;
  overflow: visible;
}

.home-article-feed-head {
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.home-article-feed-head .kicker {
  margin-bottom: 4px;
}

.home-article-feed-head .section-sub {
  margin-bottom: 0;
}

.home-article-feed-link {
  align-self: flex-start;
  white-space: nowrap;
}

.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 {
  display: none;
}

.card:hover::after {
  display: none;
}

.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.5);
  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);
}

.onarp-panel {
  display: flex;
  justify-content: center;
  padding: 8px 0 2px;
}

.onarp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(340px, 68vw);
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 1;
  box-shadow: none;
  filter: none;
}

.onarp-link:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.onarp-link img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  filter: none;
}


.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.5);
  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.5);
  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.5);
}

.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.5);
  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.5);
  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;
}

.article-secret-trigger {
  cursor: pointer;
  user-select: none;
}

.article-hero {
  grid-template-columns: 1fr;
  padding-bottom: 18px;
}

.article-feed,
.article-view,
.article-comments,
.newsletter-panel,
.admin-modal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 11, 11, 0.5);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.article-feed,
.article-view,
.article-comments,
.newsletter-panel {
  padding: 15px;
}

.article-news-scene {
  min-height: 320px;
  padding: 0;
  overflow: hidden;
}

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

.article-news-scene .news-shell {
  stroke: rgba(245, 245, 245, 0.2);
  fill: rgba(7, 7, 7, 0.5);
}

.article-news-scene .news-board {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.22);
}

.article-news-scene .news-line {
  fill: rgba(255, 255, 255, 0.16);
  transform-box: fill-box;
  transform-origin: left center;
  animation: newsPulse 2.6s ease-in-out infinite;
}

.article-news-scene .news-line-2 {
  animation-delay: 0.18s;
}

.article-news-scene .news-line-3 {
  animation-delay: 0.38s;
}

.article-news-scene .news-line-4 {
  animation-delay: 0.58s;
}

.article-news-scene .news-line-5 {
  animation-delay: 0.78s;
}

.article-news-scene .news-radar-ring {
  stroke: rgba(196, 173, 135, 0.48);
  fill: transparent;
}

.article-news-scene .news-radar-ring.inner {
  stroke: rgba(255, 255, 255, 0.32);
}

.article-news-scene .news-radar-dot {
  fill: rgba(196, 173, 135, 0.94);
}

.article-news-scene .news-needle {
  stroke: rgba(196, 173, 135, 0.92);
  stroke-width: 2.6;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  animation: newsNeedle 2.6s ease-in-out infinite;
}

.article-news-scene .news-shield-wrap {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.22);
}

.article-news-scene .news-shield {
  fill: rgba(207, 183, 146, 0.14);
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.article-news-scene .news-shield-check {
  fill: none;
  stroke: rgba(196, 173, 135, 0.96);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-news-scene .news-ticker-track {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.2);
}

.article-news-scene .news-ticker-text {
  fill: #e8dac3;
  font-family: var(--font-code);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: newsTicker 13s linear infinite;
}

.article-feed {
  max-height: 680px;
  overflow: auto;
}

.article-feed-main {
  max-height: none;
}

.article-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.article-create-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent-soft);
  border-radius: 9px;
  background: rgba(196, 173, 135, 0.11);
  color: var(--accent-ink);
  font-size: 1.18rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.article-create-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 218, 195, 0.9);
  background: rgba(196, 173, 135, 0.19);
}

.article-feed-sub {
  margin-bottom: 12px;
}

.article-feed-item {
  display: grid;
  gap: 8px;
}

.article-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.article-feed-link {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 11px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.article-feed-link:hover {
  border-color: var(--accent-soft);
  background: rgba(196, 173, 135, 0.08);
}

.article-feed-link.no-thumb {
  grid-template-columns: 1fr;
}

.article-feed-admin {
  display: inline-flex;
  justify-self: end;
  gap: 6px;
}

.article-feed-thumb {
  width: 100%;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.article-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-feed-copy {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.article-feed-copy strong {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.35;
}

.article-feed-copy span {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.4;
}

.article-feed-views {
  margin: 0;
  color: var(--accent-ink);
  font-size: 0.73rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.article-feed-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.article-feed-empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  padding: 12px;
  font-size: 0.88rem;
}

.article-view {
  min-height: 460px;
}

.article-detail-view {
  min-height: 560px;
}

.article-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.article-admin-inline {
  display: inline-flex;
  gap: 6px;
}

.article-icon-btn {
  width: 33px;
  height: 33px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.article-icon-btn:hover {
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}

.article-icon-btn svg {
  pointer-events: none;
}

.article-icon-btn.danger {
  border-color: rgba(183, 132, 135, 0.5);
  color: #f4d6d8;
  background: rgba(183, 132, 135, 0.12);
}

.article-icon-btn.danger:hover {
  border-color: rgba(183, 132, 135, 0.82);
}

.article-back-link {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article-back-link:hover {
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}

.article-empty {
  margin: 0;
  color: var(--muted);
}

.article-meta {
  margin-bottom: 6px;
}

.article-cover {
  margin: 12px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
}

.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-body {
  color: var(--text);
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
  margin: 0 0 12px;
  color: var(--text);
}

.article-body ul,
.article-body ol {
  padding-left: 19px;
}

.article-body li {
  color: var(--text);
}

.article-body strong,
.article-body b {
  font-weight: 700;
}

.article-body em,
.article-body i {
  font-style: italic;
}

.article-body u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body h1 {
  margin: 18px 0 10px;
  color: var(--accent-ink);
  font-family: var(--font-title);
  font-size: clamp(1.38rem, 2.55vw, 1.9rem);
  line-height: 1.18;
}

.article-body h2,
.article-body h3 {
  margin: 14px 0 8px;
  color: var(--text);
  font-family: var(--font-title);
  line-height: 1.24;
}

.article-body h2 {
  color: var(--accent-ink);
  font-size: clamp(1.14rem, 1.92vw, 1.5rem);
}

.article-body h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.34rem);
}

.article-body blockquote {
  border-left: 2px solid var(--accent-soft);
  padding-left: 12px;
  color: #e7dfd3;
}

.article-body a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 1.8px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(232, 218, 195, 0.72);
}

.article-body a:visited {
  color: #d8c19a;
}

.article-body figure.article-media,
.article-body figure.article-embed {
  margin: 18px auto;
  width: min(100%, 760px);
}

.article-body figure.article-media img,
.article-body figure.article-media video,
.article-body figure.article-embed iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.52);
  overflow: hidden;
}

.article-body figure.article-embed iframe {
  min-height: 420px;
}

.article-body figure.article-embed-video iframe {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.article-body figure.article-embed-post iframe {
  height: min(92vh, 1050px);
  min-height: 720px;
}

.article-body figure.article-embed figcaption {
  margin-top: 7px;
  text-align: center;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.4;
}

.article-body figure.article-embed figcaption a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.6px;
}

.article-sources {
  margin: 16px 0 0;
  color: #9f9f9f;
  font-size: 0.81rem;
  font-style: italic;
  line-height: 1.45;
  white-space: pre-wrap;
}

.rich-editor figure.article-media,
.rich-editor figure.article-embed {
  margin: 12px auto;
  width: min(100%, 760px);
}

.rich-editor figure.article-media img,
.rich-editor figure.article-media video,
.rich-editor figure.article-embed iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.52);
}

.rich-editor figure.article-embed-video iframe {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.rich-editor figure.article-embed-post iframe {
  height: 620px;
  min-height: 620px;
}

.comment-list,
.admin-article-list,
.passkey-list,
.admin-comment-list,
.admin-dispatch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.comment-item,
.admin-article-list .admin-dispatch-item,
.passkey-list .admin-dispatch-item,
.admin-comment-item,
.admin-dispatch-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 11px;
}

.comment-item p,
.admin-comment-item p,
.admin-dispatch-item p {
  margin: 0;
}

.comment-head,
.admin-comment-head {
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.comment-head strong,
.admin-comment-head strong {
  font-family: var(--font-title);
  font-size: 0.89rem;
}

.comment-meta,
.admin-comment-meta {
  font-size: 0.74rem;
  color: var(--muted);
}

.comment-text,
.admin-comment-text {
  color: var(--muted);
  white-space: pre-wrap;
}

.comment-form,
.newsletter-form,
.admin-login-form,
.admin-account-form,
.article-editor-form {
  display: grid;
  gap: 9px;
}

.newsletter-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.comment-form label,
.admin-login-form label,
.admin-account-form label,
.article-editor-form label {
  color: var(--accent-ink);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comment-form input,
.comment-form textarea,
.newsletter-form input,
.admin-modal input,
.admin-modal textarea,
.article-editor-form input,
.article-editor-form textarea,
.rich-editor {
  width: 100%;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(33, 33, 33, 0.5);
  color: var(--text);
  padding: 10px 11px;
  font: inherit;
  background-clip: padding-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.admin-modal textarea {
  min-height: 90px;
  resize: vertical;
}

.article-editor-form textarea {
  min-height: 130px;
  resize: vertical;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  padding: 18px;
  display: grid;
  place-items: center;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.admin-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 94vw);
  max-height: min(92vh, 980px);
  overflow: auto;
  padding: 20px;
}

.admin-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.admin-auth-state {
  margin-bottom: 10px;
  min-height: 20px;
  color: var(--accent-ink);
  font-size: 0.84rem;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-newsletter-count {
  margin: -2px 0 8px;
  color: var(--accent-ink);
}

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

.admin-card {
  margin-top: 12px;
  padding: 14px;
}

.admin-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.article-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.editor-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.article-editor-grid {
  margin-bottom: 11px;
}

.article-editor-grid > div {
  display: grid;
  gap: 7px;
}

.article-editor-span {
  grid-column: 1 / -1;
}

.article-cover-preview {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.article-cover-preview img {
  max-width: 100%;
  max-height: 140px;
  border-radius: 10px;
  object-fit: cover;
}

.editor-column {
  display: grid;
  gap: 8px;
}

.editor-tabs {
  display: inline-flex;
  gap: 8px;
  margin: 4px 0 10px;
}

.editor-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 7px 13px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.editor-tabs button.is-active {
  border-color: var(--accent-soft);
  color: var(--accent-ink);
  background: rgba(196, 173, 135, 0.11);
}

.editor-toolbar {
  display: flex;
  gap: 6px;
}

.editor-toolbar button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  min-width: 34px;
  height: 30px;
  cursor: pointer;
}

.editor-toolbar button:hover {
  border-color: var(--accent-soft);
}

.rich-editor {
  min-height: 350px;
  line-height: 1.6;
}

.rich-editor h1 {
  font-size: clamp(1.34rem, 2.2vw, 1.82rem);
  line-height: 1.18;
  margin: 0 0 10px;
  font-family: var(--font-title);
  color: var(--accent-ink);
}

.rich-editor h2 {
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  line-height: 1.24;
  margin: 0 0 8px;
  font-family: var(--font-title);
  color: var(--accent-ink);
}

.rich-editor a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.8px;
}

.rich-editor:focus {
  outline: none;
  border-color: var(--accent-soft);
}

.article-editor-inline .section-title {
  margin-top: 0;
}

body:not(.is-admin) .article-create-btn,
body:not(.is-admin) .article-feed-admin,
body:not(.is-admin) .article-admin-inline,
body:not(.is-admin) [data-article-editor-wrap] {
  display: none !important;
}

.admin-comment-head button {
  border: 1px solid rgba(183, 132, 135, 0.48);
  border-radius: 8px;
  background: rgba(183, 132, 135, 0.1);
  color: #f4d6d8;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 0.76rem;
}

.admin-dispatch-item strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-title);
}

.passkey-list button {
  margin-top: 6px;
  border: 1px solid rgba(183, 132, 135, 0.48);
  border-radius: 8px;
  background: rgba(183, 132, 135, 0.1);
  color: #f4d6d8;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 0.76rem;
}

.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: none;
  }

  .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,
  .articles-layout,
  .admin-grid,
  .article-editor-grid,
  .editor-panels {
    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-fluid,
  .scene-panel-fluid .vector-scene {
    min-height: 0;
  }

  .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;
  }

  .onarp-link {
    width: min(300px, 80vw);
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .article-feed {
    max-height: none;
  }

  .article-feed-link {
    grid-template-columns: 1fr;
  }

  .article-feed-thumb {
    height: 170px;
  }

  .article-body figure.article-embed-post iframe {
    min-height: 560px;
    height: min(85vh, 760px);
  }

  .admin-modal-panel {
    padding: 15px;
  }

  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;
  }

  .onarp-link {
    width: min(260px, 82vw);
  }

  .admin-modal {
    padding: 10px;
  }

  .admin-modal-panel {
    width: 96vw;
    padding: 13px;
  }

  .home-article-feed-head {
    margin-bottom: 14px;
  }

  .article-body figure.article-embed-post iframe {
    min-height: 500px;
    height: min(82vh, 680px);
  }
}

@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 newsPulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scaleX(0.95);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes newsNeedle {
  0%,
  100% {
    transform: rotate(-26deg);
  }
  50% {
    transform: rotate(24deg);
  }
}

@keyframes newsTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-244px);
  }
}

@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);
  }
}
