/* ═══════════════════════════════════════════════
   THE GEOMETRY OF DREAD — styles.css
   Cinematic Edition · Elevated · Classified
   © 2024 Mónica Galarza Lara
═══════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   RESET & VARIABLES
───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black:        #010001;
  --deep:         #06000a;
  --red:          #cc1100;
  --red-bright:   #ff2200;
  --red-dark:     #6b0000;
  --red-glow:     rgba(204,17,0,0.65);
  --amber:        #c8a228;
  --amber-bright: #e8c04a;
  --amber-dim:    #8a6c12;
  --text:         #ddd5c5;
  --text-dim:     #7a6a5a;
  --text-ghost:   rgba(221,213,197,0.35);
  --mono:         'Share Tech Mono', monospace;
  --serif:        'Crimson Text', Georgia, serif;
  --display:      'Cinzel', serif;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
  overflow-x: hidden;
  cursor: crosshair;
}

a, button { cursor: pointer; }

::-webkit-scrollbar       { width: 2px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--red-dark); }
::selection               { background: rgba(204,17,0,0.28); color: #fff; }

/* Global film grain */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.025;
}

/* ─────────────────────────────────────────────
   PRELOADER — CLASSIFIED TERMINAL
───────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: #000;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity 1.2s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }

.pl-scanline {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,255,70,0.012) 2px, rgba(0,255,70,0.012) 4px
  );
  animation: scanmove 12s linear infinite;
}
@keyframes scanmove {
  0%   { background-position: 0 0; }
  100% { background-position: 0 200px; }
}

/* Moving beam */
#preloader::before {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,70,0.12), transparent);
  z-index: 3;
  animation: beamSweep 4.5s ease-in-out infinite;
}
@keyframes beamSweep {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 0.4; }
  100% { top: 100%; opacity: 0; }
}

.pl-terminal {
  position: relative; z-index: 2;
  width: min(620px, 92vw);
  padding: 40px 50px;
  border: 1px solid rgba(0,255,70,0.15);
  background: rgba(0,3,1,0.99);
  box-shadow: 0 0 100px rgba(0,255,70,0.03), inset 0 0 80px rgba(0,0,0,0.98);
  font-family: var(--mono);
  display: flex; flex-direction: column; gap: 14px;
}

/* Corner brackets */
.pl-terminal::before, .pl-terminal::after {
  content: ''; position: absolute;
  width: 16px; height: 16px;
  border-color: rgba(0,255,70,0.35);
  border-style: solid;
}
.pl-terminal::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.pl-terminal::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.pl-countdown {
  font-size: clamp(52px, 10vw, 88px);
  color: rgba(0,255,70,0.1);
  text-align: center; line-height: 1;
  animation: countGlow 1s ease-in-out infinite alternate;
  transition: color 0.08s ease, text-shadow 0.08s ease;
}
@keyframes countGlow {
  from { text-shadow: 0 0 20px rgba(0,255,70,0.12); }
  to   { text-shadow: 0 0 80px rgba(0,255,70,0.5), 0 0 140px rgba(0,255,70,0.12); }
}

.pl-count-flash {
  animation: countFlash 0.2s ease forwards !important;
}
@keyframes countFlash {
  0%   { color: rgba(0,255,70,1); text-shadow: 0 0 80px rgba(0,255,70,1), 0 0 160px rgba(0,255,70,0.4); }
  60%  { color: rgba(0,255,70,0.5); }
  100% { color: rgba(0,255,70,0.1); }
}

.pl-header-label   { font-size: 9px; letter-spacing: 6px; color: rgba(0,255,70,0.4); text-align: center; }
.pl-subtitle-cyber { font-family: var(--mono); font-size: 10px; letter-spacing: 7px; color: rgba(0,255,70,0.3); text-align: center; }
.pl-separator-cyber{ font-size: 9px; color: rgba(0,255,70,0.09); text-align: center; }

.pl-title-cyber {
  font-family: var(--mono);
  font-size: clamp(18px, 4vw, 28px);
  letter-spacing: 0.22em; color: #00ff46;
  text-align: center;
  text-shadow: 0 0 30px rgba(0,255,70,0.45);
  animation: glitchCyber 8s infinite;
}
@keyframes glitchCyber {
  0%,91%,100% { transform: none; }
  92%  { transform: translateX(3px) skewX(1deg); text-shadow: -3px 0 rgba(255,0,0,0.6), 3px 0 rgba(0,255,255,0.6); }
  93%  { transform: translateX(-2px); }
  94%  { transform: none; }
  97%  { transform: translateX(1px); text-shadow: 2px 0 rgba(255,0,0,0.3); }
  98%  { transform: none; }
}

.pl-log         { min-height: 54px; display: flex; flex-direction: column; gap: 6px; }
.pl-log-line    { font-size: 10px; letter-spacing: 2px; color: rgba(0,255,70,0.62); display: flex; align-items: center; gap: 8px; }
.pl-cursor      { color: #00ff46; animation: blCur .8s steps(1) infinite; }
@keyframes blCur { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.pl-bar-wrap        { display: flex; flex-direction: column; gap: 7px; }
.pl-bar-label-cyber { font-size: 9px; letter-spacing: 6px; color: rgba(0,255,70,0.6); }
.pl-blink           { animation: blCur .6s steps(1) infinite; }
.pl-track-cyber     { width: 100%; height: 3px; background: rgba(0,255,70,0.05); border: 1px solid rgba(0,255,70,0.09); position: relative; }
.pl-fill-cyber      { position: absolute; top: 0; left: 0; bottom: 0; width: 0%; background: linear-gradient(90deg, rgba(0,40,12,0.8), #00ff46); box-shadow: 0 0 14px rgba(0,255,70,0.45); transition: width .08s linear; }
.pl-bar-head        { position: absolute; top: -5px; left: 0%; width: 2px; height: 13px; background: #00ff46; box-shadow: 0 0 12px #00ff46; transition: left .08s linear; }
.pl-bar-footer      { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 3px; color: rgba(0,255,70,0.32); }
.pl-formula-bot     { font-size: 8px; letter-spacing: 4px; color: rgba(0,255,70,0.16); text-align: center; border-top: 1px solid rgba(0,255,70,0.05); padding-top: 12px; }
.pl-access          { font-size: 13px; letter-spacing: 7px; color: #00ff46; text-align: center; min-height: 22px; text-shadow: 0 0 30px rgba(0,255,70,0.9); animation: accessPulse .4s ease infinite alternate; }
@keyframes accessPulse { from { opacity: .6; } to { opacity: 1; } }

/* ─────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────── */
#navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.6s var(--ease), border-color 0.6s, backdrop-filter 0.6s;
}
#navbar.scrolled {
  background: rgba(1,0,1,0.92);
  border-bottom-color: rgba(204,17,0,0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 40px rgba(0,0,0,0.96);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo {
  font-family: var(--mono); font-size: 10px;
  color: var(--red); letter-spacing: 5px; text-decoration: none;
  animation: codeBlink 3s step-end infinite; position: relative;
}
.nav-logo::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--red);
  transition: width 0.35s var(--ease);
}
.nav-logo:hover::after { width: 100%; }
@keyframes codeBlink {
  0%,88% { opacity: 0.85; } 92% { opacity: 0.06; } 96% { opacity: 0.85; } 98% { opacity: 0.2; } 100% { opacity: 0.85; }
}

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: var(--mono); font-size: 9px; letter-spacing: 4px;
  color: var(--text-dim); text-decoration: none; text-transform: uppercase;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--red);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: rgba(221,213,197,0.88); }
.nav-links a:hover::after { width: 100%; }

.nav-lang {
  font-family: var(--mono); font-size: 9px; letter-spacing: 3px;
  display: flex; gap: 8px; align-items: center;
}
.lang-active { color: var(--red); }
.lang-sep    { color: var(--text-dim); opacity: 0.22; }
.lang-link   { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.lang-link:hover { color: var(--red); }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 100%; height: 1px;
  background: var(--red); transition: transform 0.35s var(--ease), opacity 0.35s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none; background: rgba(1,0,1,0.97);
  border-top: 1px solid rgba(204,17,0,0.07);
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.nav-mobile.open { max-height: 400px; }
.nav-mobile ul { list-style: none; padding: 16px 28px 28px; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  font-family: var(--mono); font-size: 10px; letter-spacing: 5px;
  color: var(--text-dim); text-decoration: none; text-transform: uppercase;
  display: block; padding: 12px 0;
  border-bottom: 1px solid rgba(204,17,0,0.05);
  transition: color 0.25s, padding-left 0.25s;
}
.nav-mobile a:hover { color: var(--red); padding-left: 8px; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #000;
}

#city-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: block;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(80,0,0,0.65) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.82) 100%);
}

.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.hero-scanlines {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.055) 3px, rgba(0,0,0,0.055) 4px
  );
}

/* Edge vignette */
#hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  box-shadow: inset 0 0 200px rgba(0,0,0,0.72);
}

.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  min-height: 100vh; padding: 100px 24px 0;
}

.hero-eyebrow {
  font-family: var(--mono); font-size: 9px; letter-spacing: 7px;
  color: var(--amber-dim); opacity: 0; text-transform: uppercase;
  margin-bottom: 28px; display: block;
  animation: fadeInDown 1s 0.8s var(--ease) forwards;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 0.72; transform: none; }
}

#glitch-text {
  font-family: var(--display);
  font-size: clamp(38px, 7vw, 92px);
  font-weight: 900; line-height: 1.04; letter-spacing: 0.14em;
  color: var(--red-bright); margin-bottom: 22px;
  opacity: 0;
  animation: heroTitleIn 1.2s 1.2s var(--ease) forwards, glitchPulse 10s 3s infinite;
  text-shadow:
    0 0 30px rgba(255,34,0,0.8),
    0 0 60px rgba(204,17,0,0.45),
    0 0 120px rgba(180,0,0,0.22);
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(22px) skewX(-1deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes glitchPulse {
  0%,87%,100% { transform: none; }
  88%  { transform: translateX(-4px) skewX(1.5deg); text-shadow: -4px 0 rgba(255,0,0,0.8), 4px 0 rgba(0,200,255,0.5), 0 0 30px rgba(255,34,0,0.7); }
  89%  { transform: translateX(3px); }
  90%  { transform: translateX(-2px) skewX(-0.5deg); }
  91%  { transform: none; }
  95%  { transform: translateX(2px); }
  96%  { transform: none; }
}

.hero-subtitle-main {
  font-family: var(--mono);
  font-size: clamp(9px, 1.3vw, 13px);
  letter-spacing: 9px; color: var(--amber-dim);
  text-transform: uppercase; opacity: 0;
  margin-top: -14px; margin-bottom: 32px;
  animation: fadeUp 1s 1.8s var(--ease) forwards;
}

.hero-logline {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 26px);
  font-style: italic; color: var(--amber);
  text-shadow: 0 0 28px rgba(200,162,40,0.4);
  margin-bottom: 14px; line-height: 1.75; font-weight: 600;
  opacity: 0; animation: fadeUp 1s 2.2s var(--ease) forwards;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(14px, 1.8vw, 20px);
  font-style: italic; color: rgba(221,213,197,0.58);
  margin-bottom: 52px; letter-spacing: 0.04em;
  opacity: 0; animation: fadeUp 1s 2.5s var(--ease) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.hero-cta {
  display: inline-block; position: relative;
  margin-top: 10px; padding: 16px 44px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 6px;
  border: 1px solid rgba(204,17,0,0.45);
  color: var(--red); text-decoration: none;
  z-index: 10; overflow: hidden;
  opacity: 0;
  animation: fadeUp 1s 3s var(--ease) forwards, ctaVibrate 3.5s 5s ease-in-out infinite;
  transition: color 0.3s, border-color 0.3s;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--red); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s var(--ease); z-index: -1;
}
.hero-cta:hover { color: #000; border-color: var(--red-bright); }
.hero-cta:hover::before { transform: scaleX(1); }
@keyframes ctaVibrate {
  0%,80%,100% { transform: none; }
  82%  { transform: translateX(-2px); box-shadow: 0 0 20px rgba(204,17,0,0.35); }
  84%  { transform: translateX(2px); }
  86%  { transform: translateX(-1px); }
  88%  { transform: none; }
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 1s 3.5s var(--ease) forwards;
}
.hero-scroll span { font-family: var(--mono); font-size: 7px; letter-spacing: 5px; color: rgba(255,255,255,0.16); }
.scroll-line { width: 1px; height: 52px; background: linear-gradient(to bottom, rgba(204,17,0,0.7), transparent); animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.22; } 50% { opacity: 0.9; } }

/* Blink lights */
.blink-light { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; margin: 0 12px; position: relative; top: -2px; }
.blink-red   { background: var(--red-bright); box-shadow: 0 0 10px rgba(255,34,0,1), 0 0 26px rgba(255,17,0,0.45); animation: blinkR 1.5s ease-in-out infinite; }
.blink-amber { background: #ffcc00; box-shadow: 0 0 10px rgba(255,204,0,1), 0 0 26px rgba(255,204,0,0.45); animation: blinkA 2s ease-in-out infinite 0.7s; }
@keyframes blinkR { 0%,44%,56%,100% { opacity: 1; } 49%,51% { opacity: 0.02; box-shadow: none; } }
@keyframes blinkA { 0%,44%,56%,100% { opacity: 1; } 49%,51% { opacity: 0.02; box-shadow: none; } }

/* ─────────────────────────────────────────────
   SECTIONS — BASE
───────────────────────────────────────────── */
.section {
  padding: 130px 0; position: relative;
  opacity: 0; transform: translateY(48px);
  transition: opacity 1s ease, transform 1s var(--ease);
  overflow: hidden;
}
.section.visible { opacity: 1; transform: none; }

.section.visible::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, transparent 5%,
    rgba(204,17,0,0.85) 35%,
    rgba(255,55,0,1) 50%,
    rgba(204,17,0,0.85) 65%,
    transparent 95%, transparent 100%
  );
  box-shadow: 0 0 16px rgba(204,17,0,0.65);
  pointer-events: none; z-index: 5;
  animation: scanRed 6s ease-in-out infinite; top: 0;
}
@keyframes scanRed {
  0%   { top: -1px; opacity: 0; }
  3%   { opacity: 1; }
  96%  { opacity: 0.4; }
  100% { top: 100%; opacity: 0; }
}

.section.dark   { background: #070007; }
.section.darker { background: #050005; }

.container { max-width: 960px; margin: 0 auto; padding: 0 48px; }
.section-label { font-family: var(--mono); font-size: 10px; letter-spacing: 7px; color: var(--red); opacity: 0.78; text-transform: uppercase; margin-bottom: 20px; }
.section-title { font-family: var(--display); font-size: clamp(28px, 4.5vw, 54px); font-weight: 700; letter-spacing: 0.1em; color: #fff; margin-bottom: 24px; line-height: 1.1; }
.section-body  { font-size: 20px; color: rgba(221,213,197,0.85); max-width: 680px; line-height: 2.05; }
.historia-sub  { font-family: var(--mono); font-size: 10px; letter-spacing: 5px; color: rgba(204,17,0,0.48); margin-bottom: 28px; margin-top: -4px; }
.divider { width: 48px; height: 1px; background: rgba(204,17,0,0.28); margin: 64px auto; }

/* ─────────────────────────────────────────────
   TIMELINE
───────────────────────────────────────────── */
.timeline { position: relative; padding-left: 36px; margin-top: 52px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(to bottom, var(--red), rgba(204,17,0,0.08));
}
.timeline-item { position: relative; margin-bottom: 44px; padding-left: 28px; }
.timeline-item::before {
  content: ''; position: absolute; left: -6px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--red);
  box-shadow: 0 0 14px rgba(204,17,0,0.65);
  transition: background 0.3s;
}
.timeline-item:hover::before { background: var(--red); }
.year { font-family: var(--mono); font-size: 10px; letter-spacing: 4px; color: var(--red); opacity: 0.88; display: block; margin-bottom: 8px; }
.timeline-item p { color: rgba(221,213,197,0.78); font-size: 18px; line-height: 1.85; }

/* ─────────────────────────────────────────────
   STORY — HISTORIA
───────────────────────────────────────────── */
.historia-opening {
  font-size: clamp(18px, 2.2vw, 22px); line-height: 2.05;
  color: rgba(221,213,197,0.86); max-width: 760px; margin-bottom: 64px;
}

.historia-dossier {
  border: 1px solid rgba(204,17,0,0.09);
  position: relative; margin-bottom: 64px;
  background: rgba(204,17,0,0.012);
  box-shadow: 0 0 60px rgba(0,0,0,0.6), inset 0 0 40px rgba(0,0,0,0.4);
}
.historia-dossier::before, .historia-dossier::after {
  content: ''; position: absolute;
  width: 18px; height: 18px;
  border-color: rgba(204,17,0,0.28);
  border-style: solid; z-index: 2;
}
.historia-dossier::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.historia-dossier::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.historia-dossier-inner {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0;
}
.historia-dossier-col { padding: 48px 44px; font-size: 18px; line-height: 1.95; color: rgba(221,213,197,0.8); }
.historia-dossier-divider { background: rgba(204,17,0,0.1); margin: 32px 0; }

.historia-status { margin-bottom: 28px; }
.historia-status-label { font-family: var(--mono); font-size: 9px; letter-spacing: 5px; color: rgba(204,17,0,0.5); display: block; margin-bottom: 18px; }
.historia-status-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(204,17,0,0.06); gap: 16px; }
.st-key { font-family: var(--mono); font-size: 9px; letter-spacing: 3px; color: rgba(204,17,0,0.52); text-transform: uppercase; flex-shrink: 0; }
.st-val { font-family: var(--serif); font-size: 16px; color: rgba(221,213,197,0.72); text-align: right; }

.historia-closing {
  font-family: var(--serif); font-size: clamp(18px, 2.2vw, 23px);
  font-style: italic; color: var(--amber); text-align: center;
  line-height: 1.85; padding: 48px 0 8px;
  border-top: 1px solid rgba(200,162,40,0.09);
  text-shadow: 0 0 24px rgba(200,162,40,0.28);
}

/* ─────────────────────────────────────────────
   FEAR SYSTEM
───────────────────────────────────────────── */
.sys-head { text-align: center; margin-bottom: 80px; }
.sys-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: 7px; color: rgba(204,17,0,0.55); margin-bottom: 20px; }
.sys-meta {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 9px; letter-spacing: 3px;
  color: rgba(204,17,0,0.38); margin-bottom: 24px;
}
.sys-meta span { padding: 4px 10px; border: 1px solid rgba(204,17,0,0.1); }
.sys-title { font-family: var(--display); font-size: clamp(28px, 4.5vw, 56px); font-weight: 700; letter-spacing: 0.16em; color: #fff; margin-bottom: 24px; }
.sys-lead { font-size: 20px; color: rgba(221,213,197,0.72); max-width: 560px; margin: 0 auto; line-height: 2.05; }

.sys-formula {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 16px 12px; margin: 64px auto; padding: 40px;
  border: 1px solid rgba(204,17,0,0.1); max-width: 780px;
  position: relative; background: rgba(204,17,0,0.012);
}
.sys-formula::before, .sys-formula::after {
  content: ''; position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(204,17,0,0.28); border-style: solid;
}
.sys-formula::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.sys-formula::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.fx     { font-family: var(--mono); font-size: clamp(11px, 1.5vw, 14px); letter-spacing: 5px; color: rgba(221,213,197,0.72); }
.op     { font-family: var(--mono); font-size: 16px; color: rgba(204,17,0,0.38); }
.eq     { font-family: var(--mono); font-size: 18px; color: rgba(204,17,0,0.55); }
.result { font-family: var(--display); font-size: clamp(16px, 2.2vw, 24px); font-weight: 700; letter-spacing: 0.18em; color: var(--red-bright); text-shadow: 0 0 24px rgba(204,17,0,0.65); }

.sys-nucleo { text-align: center; margin-top: 60px; }
.sys-nucleo-img {
  max-width: 320px; width: 100%;
  filter: drop-shadow(0 0 40px rgba(204,17,0,0.35)) contrast(1.05);
  animation: floatImage 5s ease-in-out infinite;
}
@keyframes floatImage { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ─────────────────────────────────────────────
   THE ALLIES
───────────────────────────────────────────── */
.security-stamp { font-family: var(--mono); font-size: 9px; letter-spacing: 7px; color: rgba(204,17,0,0.5); margin-bottom: 20px; }
#aliados h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 52px); font-weight: 700; letter-spacing: 0.14em; color: #fff; margin-bottom: 32px; }
.stamp {
  display: inline-block; font-family: var(--mono); font-size: 9px; letter-spacing: 7px;
  color: rgba(204,17,0,0.45); border: 1px solid rgba(204,17,0,0.17);
  padding: 6px 16px; margin-bottom: 40px; transform: rotate(-1deg);
}

.old-document {
  border: 1px solid rgba(221,213,197,0.07);
  border-left: 2px solid rgba(204,17,0,0.28);
  padding: 40px 48px; background: rgba(221,213,197,0.018);
  margin: 40px 0; position: relative; font-style: italic;
}
.old-document::before {
  content: '"'; position: absolute; top: -18px; left: 38px;
  font-family: var(--serif); font-size: 72px;
  color: rgba(204,17,0,0.12); line-height: 1;
}
.old-document p { color: rgba(221,213,197,0.76); font-size: 19px; line-height: 2.05; margin-bottom: 16px; }
.old-document p:last-child { margin-bottom: 0; }
.document-note { font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: rgba(204,17,0,0.4); margin-top: 24px; font-style: normal; }

.symbol-container { margin-top: 64px; text-align: center; }
.archive-label { font-family: var(--mono); font-size: 9px; letter-spacing: 5px; color: rgba(204,17,0,0.4); margin-bottom: 28px; }
.aliados-mapa-wrap { position: relative; display: inline-block; max-width: 480px; width: 100%; }
.aliados-mapa-img {
  width: 100%; filter: grayscale(0.5) contrast(1.1) brightness(0.82);
  border: 1px solid rgba(204,17,0,0.13);
  box-shadow: 0 0 60px rgba(0,0,0,0.92), 0 0 28px rgba(204,17,0,0.09);
}
.mapa-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px rgba(255,34,0,0.9), 0 0 30px rgba(255,34,0,0.35);
  animation: dotPulse var(--dur, 2s) ease-in-out infinite var(--delay, 0s);
  transform: translate(-50%, -50%);
}
@keyframes dotPulse {
  0%,100% { opacity: 0.9; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 0.28; transform: translate(-50%,-50%) scale(1.7); }
}
.visual-caption { font-family: var(--mono); font-size: 9px; letter-spacing: 4px; color: rgba(204,17,0,0.32); margin-top: 20px; }

/* ─────────────────────────────────────────────
   GEOMETRY
───────────────────────────────────────────── */
.geo-head { text-align: center; margin-bottom: 56px; }
.geo-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: 7px; color: rgba(204,17,0,0.5); margin-bottom: 20px; }
.geo-title { font-family: var(--display); font-size: clamp(28px, 4.5vw, 56px); font-weight: 700; letter-spacing: 0.14em; color: #fff; margin-bottom: 24px; }
.geo-lead { font-size: 20px; color: rgba(221,213,197,0.78); max-width: 580px; margin: 0 auto; line-height: 2.05; }
.geo-symbol { text-align: center; margin: 48px 0; }
.geo-forma-img {
  max-width: 240px; width: 100%; opacity: 0.86;
  filter: drop-shadow(0 0 28px rgba(120,0,0,0.65));
  animation: rotateGeo 24s linear infinite;
}
@keyframes rotateGeo { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.geo-phrase { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 7px; color: rgba(204,17,0,0.5); margin-top: 36px; }

/* ─────────────────────────────────────────────
   CHARACTERS
───────────────────────────────────────────── */
.personajes-head { margin-bottom: 64px; }
.personajes-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 5px; color: var(--red); opacity: 0.62; margin-bottom: 14px; }
.personajes-title { font-family: var(--display); font-size: clamp(28px, 4vw, 52px); font-weight: 700; letter-spacing: 0.14em; color: #fff; }

.ana-file, .killer-file {
  border: 1px solid rgba(204,17,0,0.09);
  padding: 52px; margin-bottom: 52px;
  background: rgba(204,17,0,0.01);
  position: relative;
  transition: border-color 0.4s, background 0.4s;
}
.ana-file:hover, .killer-file:hover {
  border-color: rgba(204,17,0,0.2);
  background: rgba(204,17,0,0.02);
}
.ana-file::before, .killer-file::before,
.ana-file::after,  .killer-file::after {
  content: ''; position: absolute;
  width: 16px; height: 16px;
  border-color: rgba(204,17,0,0.22);
  border-style: solid; transition: border-color 0.4s;
}
.ana-file::before,   .killer-file::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.ana-file::after,    .killer-file::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.ana-file:hover::before, .killer-file:hover::before,
.ana-file:hover::after,  .killer-file:hover::after { border-color: rgba(204,17,0,0.45); }

.ana-head, .killer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.ana-kicker, .killer-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: 5px; color: var(--red); opacity: 0.58; }
.ana-stamp, .killer-stamp { font-family: var(--mono); font-size: 8px; letter-spacing: 5px; color: rgba(204,17,0,0.38); border: 1px solid rgba(204,17,0,0.16); padding: 5px 14px; }
.ana-profile, .killer-profile { display: grid; grid-template-columns: 1fr 1.7fr; gap: 52px; align-items: start; }
.ana-image, .killer-image { aspect-ratio: 3/4; overflow: hidden; border: 1px solid rgba(204,17,0,0.16); position: relative; }
.ana-image::after, .killer-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.65));
  pointer-events: none;
}
.ana-image img, .killer-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.22) contrast(1.06);
  transition: filter 0.55s, transform 0.65s var(--ease);
}
.ana-file:hover .ana-image img,
.killer-file:hover .killer-image img { filter: grayscale(0) contrast(1.04); transform: scale(1.035); }

.ana-name, .killer-name { font-family: var(--display); font-size: clamp(20px, 2.8vw, 32px); letter-spacing: 0.12em; color: #fff; margin-bottom: 8px; }
.ana-role, .killer-role { font-family: var(--mono); font-size: 10px; letter-spacing: 4px; color: var(--red); opacity: 0.68; margin-bottom: 22px; }
.ana-desc, .killer-desc { color: rgba(221,213,197,0.82); line-height: 2; margin-bottom: 18px; font-size: 18px; }
.ana-duality, .killer-duality {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 3px;
  color: var(--text-dim); margin: 26px 0; padding: 14px 0;
  border-top: 1px solid rgba(204,17,0,0.06);
  border-bottom: 1px solid rgba(204,17,0,0.06);
}
.vs { color: var(--red); opacity: 0.68; }
.ana-note, .killer-note {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  color: rgba(204,17,0,0.42); line-height: 1.95; margin-top: 22px;
  padding: 16px 18px; border-left: 1px solid rgba(204,17,0,0.18);
  background: rgba(204,17,0,0.018);
}
.killer-alias { font-family: var(--mono); font-size: 11px; letter-spacing: 4px; color: var(--amber-dim); opacity: 0.82; display: block; margin-bottom: 10px; }
.killer-data { list-style: none; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--text-dim); margin-bottom: 22px; display: flex; flex-direction: column; gap: 7px; }
.killer-symbol { font-family: var(--mono); font-size: 9px; letter-spacing: 3px; color: var(--text-dim); opacity: 0.62; margin-bottom: 18px; }

.characters-close { text-align: center; margin-top: 52px; padding-top: 52px; }
.cc-divider { width: 1px; height: 64px; background: linear-gradient(to bottom, rgba(204,17,0,0.28), transparent); margin: 0 auto 24px; }
.cc-stamp { font-family: var(--mono); font-size: 10px; letter-spacing: 6px; color: rgba(204,17,0,0.48); margin-bottom: 18px; }
.cc-text  { font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--text-dim); opacity: 0.48; }

/* ─────────────────────────────────────────────
   INSTITUTIONAL COVER
───────────────────────────────────────────── */
.cover-institutional {
  min-height: 60vh; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden; background: #000;
}
.cover-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(100,0,0,0.15), transparent 65%);
  pointer-events: none;
}
.cover-inner { position: relative; z-index: 2; text-align: center; padding: 80px 40px; }
.cover-title {
  font-family: var(--display);
  font-size: clamp(42px, 7.5vw, 86px);
  font-weight: 900; letter-spacing: 0.2em; color: #fff;
  line-height: 1.07; margin-bottom: 44px;
  text-shadow: 0 0 80px rgba(204,17,0,0.12);
}
.cover-manifesto { font-family: var(--mono); font-size: 12px; letter-spacing: 6px; color: var(--text-dim); opacity: 0.55; line-height: 2.9; margin-bottom: 36px; }
.cover-decision { color: var(--red-bright); opacity: 1; text-shadow: 0 0 22px rgba(255,34,0,0.55); }
.cover-seal { font-family: var(--mono); font-size: 9px; letter-spacing: 7px; color: rgba(255,255,255,0.16); }

.cover-transition { padding: 64px 0; text-align: center; }
.transition-line { width: 1px; height: 64px; background: linear-gradient(to bottom, rgba(204,17,0,0.38), transparent); margin: 0 auto 32px; }
.transition-text { font-family: var(--mono); font-size: 10px; letter-spacing: 5px; color: var(--text-dim); opacity: 0.42; max-width: 480px; margin: 0 auto; line-height: 2; }

/* ─────────────────────────────────────────────
   INSTITUTIONAL BLOCK
───────────────────────────────────────────── */
.institutional-block { background: var(--black); padding: 88px 40px; border-top: 1px solid rgba(204,17,0,0.06); border-bottom: 1px solid rgba(204,17,0,0.06); }
.institutional-container { max-width: 900px; margin: 0 auto; }
.institutional-header { font-family: var(--mono); font-size: 10px; letter-spacing: 8px; color: var(--red); opacity: 0.55; margin-bottom: 52px; text-align: center; }
.institutional-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 44px; margin-bottom: 52px; }
.institutional-label { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 5px; color: var(--text-dim); opacity: 0.58; margin-bottom: 12px; }
.institutional-value { font-size: 16px; color: rgba(221,213,197,0.76); line-height: 1.9; }
.institutional-value a { color: inherit; text-decoration: none; transition: color 0.25s; }
.institutional-value a:hover { color: var(--red); }
.institutional-access { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.04); font-family: var(--mono); font-size: 9px; letter-spacing: 4px; color: var(--text-dim); opacity: 0.48; flex-wrap: wrap; gap: 16px; }

/* ─────────────────────────────────────────────
   ABOUT SERIES
───────────────────────────────────────────── */
.about-series { padding: 110px 0; background: #040004; }
.about-container { max-width: 740px; margin: 0 auto; padding: 0 48px; }
.about-title { font-family: var(--display); font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: 0.15em; color: #fff; margin-bottom: 44px; }
.about-series p { color: rgba(221,213,197,0.78); font-size: 19px; line-height: 2.05; margin-bottom: 26px; }

/* ─────────────────────────────────────────────
   ADN / DNA
───────────────────────────────────────────── */
#adn { background: #040004; }

.adn-header { text-align: center; margin-bottom: 96px; position: relative; padding-bottom: 52px; }
.adn-header::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(204,17,0,0.38), transparent);
}

.adn-title { font-family: var(--display); font-size: clamp(28px, 4.5vw, 50px); font-weight: 700; letter-spacing: 0.22em; color: #fff; margin-bottom: 14px; }
.adn-subline { font-family: var(--mono); font-size: 9px; letter-spacing: 6px; color: var(--red); opacity: 0.62; margin-bottom: 14px; text-transform: uppercase; }
.adn-micro { font-family: var(--serif); font-style: italic; color: rgba(221,213,197,0.38); font-size: 16px; letter-spacing: 0.05em; }
.adn-section { margin-bottom: 88px; }

.adn-section-title {
  font-family: var(--mono); font-size: 9px; letter-spacing: 7px;
  color: rgba(204,17,0,0.52); margin-bottom: 40px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(204,17,0,0.08); text-transform: uppercase;
  display: flex; align-items: center; gap: 16px;
}
.adn-section-title::before {
  content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 10px rgba(204,17,0,0.88); flex-shrink: 0;
}

.adn-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px; border: 1px solid rgba(204,17,0,0.06);
  background: rgba(204,17,0,0.06);
}
.adn-card {
  background: #040004; padding: 34px 30px; position: relative;
  transition: background 0.4s;
}
.adn-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: var(--red); transition: width 0.5s var(--ease);
}
.adn-card:hover { background: rgba(204,17,0,0.022); }
.adn-card:hover::before { width: 100%; }
.adn-card h4 { font-family: var(--mono); font-size: 8px; letter-spacing: 5px; color: rgba(200,162,40,0.62); margin-bottom: 18px; text-transform: uppercase; }
.adn-card p  { color: rgba(221,213,197,0.73); font-size: 16px; line-height: 1.95; }

.adn-prose { max-width: 780px; }
.adn-prose h4 { font-family: var(--mono); font-size: 8px; letter-spacing: 7px; color: rgba(204,17,0,0.48); text-transform: uppercase; margin-top: 48px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(204,17,0,0.06); display: inline-block; }
.adn-prose h4:first-child { margin-top: 0; }
.adn-prose p { color: rgba(221,213,197,0.78); font-size: 19px; line-height: 2.1; margin-bottom: 0; max-width: 720px; }
.adn-prose strong { color: rgba(200,162,40,0.78); font-weight: 600; }

.adn-tagline {
  font-family: var(--serif); font-size: 19px; font-style: italic;
  color: rgba(200,162,40,0.72); text-align: center;
  margin: 52px 0 36px; padding: 36px 44px;
  border-top: 1px solid rgba(200,162,40,0.08);
  border-bottom: 1px solid rgba(200,162,40,0.08);
  position: relative; font-weight: normal;
}
.adn-tagline::before, .adn-tagline::after {
  content: '◆'; font-family: var(--mono); font-size: 7px;
  color: rgba(200,162,40,0.22); position: absolute; top: 50%; transform: translateY(-50%);
}
.adn-tagline::before { left: 18px; }
.adn-tagline::after  { right: 18px; }
.adn-footer-text { font-style: italic; font-size: 17px; color: rgba(221,213,197,0.42); line-height: 2; }

.adn-table { border: 1px solid rgba(204,17,0,0.06); }
.adn-table > div { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; border-bottom: 1px solid rgba(204,17,0,0.05); transition: background 0.3s; }
.adn-table > div:last-child { border-bottom: none; }
.adn-table > div:hover { background: rgba(204,17,0,0.018); }
.adn-table > div span:first-child { font-family: var(--mono); font-size: 9px; letter-spacing: 5px; color: rgba(204,17,0,0.42); text-transform: uppercase; }
.adn-table > div span:last-child  { font-family: var(--serif); font-size: 17px; color: rgba(221,213,197,0.78); text-align: right; }

.adn-classified-wrap {
  margin: 64px 0 0; text-align: center;
  border: 1px solid rgba(204,17,0,0.14);
  padding: 52px 44px; background: rgba(204,17,0,0.012);
  position: relative;
  box-shadow: 0 0 80px rgba(204,17,0,0.04), inset 0 0 60px rgba(0,0,0,0.6);
}
.adn-classified-wrap::before, .adn-classified-wrap::after {
  content: ''; position: absolute;
  width: 22px; height: 22px;
  border-color: rgba(204,17,0,0.2); border-style: solid;
}
.adn-classified-wrap::before { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.adn-classified-wrap::after  { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
.adn-classified-label { font-family: var(--mono); font-size: 8px; letter-spacing: 6px; color: rgba(204,17,0,0.52); margin-bottom: 36px; text-transform: uppercase; }
.adn-classified-img  { max-width: 380px; width: 100%; border: 1px solid rgba(204,17,0,0.18); box-shadow: 0 0 70px rgba(0,0,0,0.97), 0 0 36px rgba(204,17,0,0.1); filter: contrast(1.07) brightness(0.9); }
.adn-classified-caption { font-family: var(--mono); font-size: 8px; letter-spacing: 4px; color: rgba(255,255,255,0.14); margin-top: 22px; text-transform: uppercase; }

/* ─────────────────────────────────────────────
   CLOSING / CONTACT
───────────────────────────────────────────── */
.authority-close {
  background: #000; padding: 130px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.authority-close::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(100,0,0,0.09), transparent 65%);
  pointer-events: none;
}
.authority-close::after {
  content: ''; position: absolute; top: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,17,0,0.28), transparent);
}
.authority-container { max-width: 820px; margin: 0 auto; position: relative; }
.authority-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 8px; color: var(--red); opacity: 0.58; margin-bottom: 26px; }
.authority-title { font-family: var(--display); font-size: clamp(36px, 6vw, 74px); font-weight: 900; letter-spacing: 0.18em; color: #fff; margin-bottom: 22px; text-shadow: 0 0 60px rgba(204,17,0,0.09); }
.authority-subtitle { font-size: 18px; font-style: italic; color: rgba(221,213,197,0.52); line-height: 2; margin-bottom: 68px; }
.authority-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 68px; }
.authority-contact a, .authority-contact span { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: rgba(221,213,197,0.48); text-decoration: none; transition: color 0.3s, letter-spacing 0.3s; }
.authority-contact a:hover { color: var(--red); letter-spacing: 4px; }
.authority-caption { font-family: var(--mono); font-size: 9px; letter-spacing: 6px; color: var(--text-dim); opacity: 0.28; margin-top: 52px; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: #000;
  border-top: 1px solid rgba(204,17,0,0.05);
  padding: 44px 40px; text-align: center; position: relative;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,17,0,0.16), transparent);
}
footer p { font-family: var(--mono); font-size: 9px; letter-spacing: 3px; color: var(--text-dim); opacity: 0.36; line-height: 2.2; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links      { display: none; }
  .nav-hamburger  { display: flex; }
  .nav-mobile     { display: block; }
  .nav-inner      { padding: 18px 24px; }
  .story-grid     { grid-template-columns: 1fr; }
  .ana-profile, .killer-profile { grid-template-columns: 1fr; }
  .ana-image, .killer-image     { aspect-ratio: 16/7; max-width: 100%; }
  .container, .about-container  { padding: 0 28px; }
  .historia-dossier-inner       { grid-template-columns: 1fr; }
  .historia-dossier-divider     { display: none; }
}
@media (max-width: 600px) {
  .section                   { padding: 80px 0; }
  .ana-file, .killer-file    { padding: 28px 20px; }
  .old-document              { padding: 28px 24px; }
  .adn-grid                  { grid-template-columns: 1fr; }
  .sys-formula               { padding: 28px 20px; gap: 10px 8px; }
}
