:root {
  --pk-black: #050505;
  --pk-red: #ff2a2a;
  --pk-red-soft: #ff5757;
  --pk-paper: #f3eee8;
  --pk-line: rgba(255, 42, 42, 0.22);
  --pk-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pk-pad: clamp(1.1rem, 4vw, 4.5rem);
}

html { scroll-behavior: smooth; }
body {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--pk-black);
  color: var(--pk-red);
}
a { color: inherit; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 200;
  padding: .7rem 1rem;
  background: var(--pk-paper);
  color: var(--pk-black);
  transform: translateY(-180%);
  transition: transform .2s var(--pk-ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 var(--pk-pad);
  border-bottom: 1px solid rgba(255, 42, 42, .13);
  background: linear-gradient(180deg, rgba(5, 5, 5, .94), rgba(5, 5, 5, .72));
  backdrop-filter: blur(14px);
}
.site-logo {
  position: relative;
  z-index: 2;
  font-size: clamp(.95rem, 1.5vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
  text-transform: lowercase;
}
.site-logo::before {
  content: "";
  display: inline-block;
  width: 1.35rem;
  height: .42rem;
  margin-right: .55rem;
  background: currentColor;
  box-shadow: -.42rem .42rem 0 currentColor;
  transform: translateY(-.12rem);
}
.site-nav { display: flex; align-items: center; gap: clamp(.7rem, 1.5vw, 1.7rem); }
.site-nav a {
  position: relative;
  padding: .5rem 0;
  color: rgba(255, 87, 87, .78);
  font-size: clamp(.63rem, .72vw, .78rem);
  letter-spacing: .12em;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: .2rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .65s var(--pk-ease);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
  padding: 8.5rem var(--pk-pad) clamp(3rem, 7vw, 7rem);
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  background:
    linear-gradient(90deg, var(--pk-black) 0 15%, transparent 48%),
    linear-gradient(0deg, var(--pk-black) 0%, transparent 48%),
    radial-gradient(circle at 70% 44%, rgba(255, 42, 42, .16), transparent 52%);
}
.hero::after {
  opacity: .24;
  background-image: linear-gradient(rgba(255,42,42,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,42,42,.11) 1px, transparent 1px);
  background-size: 7vw 7vw;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
}
.hero-image-wrap {
  position: absolute;
  z-index: -2;
  top: 5vh;
  right: -4vw;
  width: min(75vw, 1050px);
  height: 94vh;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 28%);
}
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pk-black), transparent 38%), linear-gradient(0deg, var(--pk-black), transparent 33%), linear-gradient(180deg, rgba(5,5,5,.4), transparent 30%);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(.92) contrast(1.08);
  transform: scale(1.04);
  transition: transform 1.4s var(--pk-ease);
}
.hero:hover .hero-image { transform: scale(1); }
.hero-copy { width: min(48rem, 78vw); }
.eyebrow,
.section-index {
  margin-bottom: 1.25rem;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 9ch;
  color: var(--pk-paper);
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(4.2rem, 11.8vw, 11rem);
  line-height: .76;
  letter-spacing: -.08em;
  text-transform: uppercase;
}
.hero-sub {
  margin-top: 2rem;
  max-width: 34ch;
  color: rgba(243, 238, 232, .68);
  font-size: clamp(.95rem, 1.3vw, 1.2rem);
  line-height: 1.5;
}
.hero-sub a { color: inherit; text-decoration: none; }
.hero-sub a:hover,
.hero-sub a:focus-visible { color: var(--pk-red); outline: none; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-actions a {
  min-width: 10rem;
  padding: .9rem 1.15rem;
  border: 1px solid var(--pk-red);
  font-size: .72rem;
  letter-spacing: .14em;
  text-align: center;
  text-decoration: none;
  transition: color .65s var(--pk-ease), background .65s var(--pk-ease), transform .65s var(--pk-ease);
}
.hero-actions a:first-child { background: var(--pk-red); color: var(--pk-black); }
.hero-actions a:hover { transform: translateY(-3px); background: var(--pk-paper); color: var(--pk-black); border-color: var(--pk-paper); }

/* Reencuadre del motor de traducción existente. */
.outer-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100svh;
  display: block;
  overflow: visible;
  background: var(--pk-black);
}
.outer-wrapper::before {
  content: "MANIFIESTO";
  position: absolute;
  top: 7.5rem;
  left: var(--pk-pad);
  z-index: 20;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(2.6rem, 8vw, 8rem);
  line-height: .8;
  letter-spacing: -.065em;
  color: rgba(255,42,42,.11);
}
.side-panel,
.banner-bg,
.right { display: none !important; }
.center-916 {
  width: 100%;
  height: auto;
  overflow: visible;
  border: 0;
  box-shadow: none;
}
.center-916::after { display: none; }
.shell { height: auto; background: transparent; }
.shell::before {
  position: absolute;
  background: linear-gradient(90deg, rgba(255,42,42,.04) 1px, transparent 1px);
  background-size: 12.5vw 100%;
  opacity: 1;
}
.left {
  min-height: 100svh;
  padding: clamp(10rem, 17vw, 15rem) var(--pk-pad) clamp(4rem, 9vw, 8rem);
  overflow: visible;
}
.hud {
  align-items: flex-end;
  margin-bottom: clamp(2rem, 5vw, 5rem);
  padding-bottom: 1rem;
  border-color: var(--pk-line);
}
.brand .title { font-size: clamp(1.1rem, 2.2vw, 2rem); letter-spacing: -.03em; text-transform: lowercase; }
.brand .title::after { content: ".net"; }
.brand .sub { font-size: .7rem; letter-spacing: .15em; }
.status .mode { color: var(--pk-red-soft); }
.field {
  min-height: clamp(38rem, 72vh, 58rem);
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(1.2rem, 4vw, 4rem) 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--pk-line);
  border-bottom: 1px solid var(--pk-line);
  border-radius: 0;
  background: radial-gradient(circle at 75% 30%, rgba(255,42,42,.08), transparent 45%);
  cursor: crosshair;
}
.base {
  width: min(61ch, 100%);
  padding: 0;
  color: rgba(243,238,232,.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.3vw, 2.65rem);
  line-height: 1.28;
  letter-spacing: -.025em;
  text-shadow: none;
  user-select: text;
}
.base p { margin-bottom: 1.2em; }
.base .hybrid-de { color: var(--pk-red-soft); }
.base .seg { transition: color .7s var(--pk-ease), opacity .7s var(--pk-ease); }
.base .seg.flash { color: var(--pk-paper); }
.hybrid-change { padding: 0; background: none !important; color: var(--pk-paper); font: inherit; transition: color .7s var(--pk-ease); }
.frag {
  color: var(--pk-red-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  text-shadow: 0 0 24px rgba(255,42,42,.25);
  mix-blend-mode: normal;
}
.footer { justify-content: flex-start; border: 0; }
.enter { flex-direction: row; padding: 1rem 0; }
.enter svg { width: 28px; height: 34px; }
.enter .label::after { content: " · FILOSOFÍA"; }

.coordination {
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding: clamp(5rem, 12vw, 12rem) var(--pk-pad);
  border-top: 1px solid var(--pk-line);
  background: var(--pk-red);
  color: var(--pk-black);
}
.coordination p {
  max-width: 13ch;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(3.2rem, 9.8vw, 10rem);
  line-height: .84;
  letter-spacing: -.065em;
}
.territories { border-top: 1px solid var(--pk-line); }
.territory {
  min-height: 62svh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 1rem;
  padding: clamp(4rem, 9vw, 9rem) var(--pk-pad);
  border-bottom: 1px solid var(--pk-line);
}
.territory:nth-child(even) { background: #090909; }
.territory h2 {
  color: var(--pk-paper);
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: .82;
  letter-spacing: -.065em;
}
.territory p,
.territory > a { align-self: end; font-size: .72rem; letter-spacing: .18em; }
.territory > a { color: var(--pk-red); text-decoration: none; }
.territory > a:hover,
.territory > a:focus-visible { color: var(--pk-paper); outline: none; }
.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem var(--pk-pad);
  border-bottom: 1px solid var(--pk-line);
  font-size: .72rem;
  letter-spacing: .16em;
}
.contact-strip a { text-decoration: none; }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--pk-ease), transform .8s var(--pk-ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { min-height: 64px; }
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
    border: 0;
    background: transparent;
    color: var(--pk-red);
    font: inherit;
    font-size: .7rem;
    letter-spacing: .14em;
  }
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: .5rem;
    padding: 6rem var(--pk-pad) 3rem;
    background: rgba(5,5,5,.98);
    transform: translateY(-105%);
    transition: transform .75s var(--pk-ease);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { font-size: clamp(1.4rem, 6vw, 3rem); letter-spacing: -.03em; }
  .hero { padding-top: 7rem; }
  .hero-image-wrap {
    inset: 4rem 0 auto;
    width: 100vw;
    height: min(100vw, 72vh);
    clip-path: none;
    opacity: .78;
  }
  .hero-image {
    object-fit: contain;
    object-position: center top;
    transform: none;
  }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(4rem, 20vw, 7rem); }
  .hero-sub { color: rgba(243,238,232,.82); }
  .left { padding-top: 10rem; }
  .field { min-height: 70svh; }
  .base { font-size: clamp(1.25rem, 5vw, 2rem); }
  .territory { min-height: 48svh; grid-template-columns: 1fr; }
  .territory p,
  .territory > a { align-self: auto; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 18vw; }
  .hero-actions a { flex: 1 1 100%; }
  .hud { align-items: flex-start; }
  .status .clock { display: none; }
  .field { min-height: 78svh; }
  .coordination { min-height: 75svh; }
  .contact-strip { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-image { transform: none; }
}
