/* EXCLUSIØN · sitio oficial. Sin dependencias: tipografía local, una hoja, JS mínimo. */
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #08090A;
  --coal: #111315;
  --line: #1E2124;
  --mute: #777D82;
  --soft: #A9AEB1;
  --bone: #ECEDEB;
  --accent: #C46A2B;          /* naranja industrial: solo el punto de estado y el hover del CTA */
  --pad: clamp(20px, 4.2vw, 72px);
  --max: 1680px;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 17px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 4px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--bone); color: var(--ink); }

/* ---------- Tipografía ---------- */
.display { font: 600 clamp(44px, 7.4vw, 128px)/.9 var(--cond); text-transform: uppercase; letter-spacing: -.01em; }
.lede { max-width: 34em; color: var(--soft); font-size: clamp(17px, 1.25vw, 20px); }
.index, .kicker, .caption, .num { font: 500 12px/1.2 var(--cond); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.caption { letter-spacing: .14em; }

/* ---------- Navegación ---------- */
.nav { position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; gap: 40px; padding: 20px var(--pad); transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(8, 9, 10, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; font: 600 15px/1 var(--cond); letter-spacing: .32em; }
.nav__brand svg { width: 22px; height: 22px; color: var(--bone); }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a, .nav__cta { font: 500 13px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); transition: color .25s; }
.nav__links a:hover, .nav__cta:hover { color: var(--bone); }
.nav__cta { padding: 10px 14px; border: 1px solid var(--line); color: var(--bone); }
.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle i { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--bone); transition: transform .3s var(--ease); }
.nav__toggle i:first-of-type { top: 16px; } .nav__toggle i:last-of-type { top: 23px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; font: 600 14px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
.btn--solid { background: var(--bone); color: var(--ink); }
.btn--solid:hover { background: var(--accent); color: var(--ink); }
.btn--line { border: 1px solid #3A3E42; color: var(--bone); }
.btn--line:hover { border-color: var(--bone); }

/* ---------- A · Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--pad) clamp(48px, 9vh, 110px); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transform: scale(1.04); }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,10,.55) 0%, rgba(8,9,10,.15) 32%, rgba(8,9,10,.55) 68%, var(--ink) 100%),
              linear-gradient(90deg, rgba(8,9,10,.75) 0%, rgba(8,9,10,0) 60%); }
.hero__inner { max-width: var(--max); width: 100%; margin: 0 auto; }
.hero__logo { width: min(100%, 980px); margin: 22px 0 34px; color: var(--bone); }
.hero__logo svg { width: 100%; height: auto; }
.hero__line { font: 600 clamp(22px, 2.6vw, 38px)/1 var(--cond); letter-spacing: .26em; text-transform: uppercase; }
.hero__sub { margin-top: 14px; color: var(--soft); font-size: clamp(16px, 1.2vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font: 500 13px/1.3 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.dot { width: 7px; height: 7px; background: var(--accent); flex: none; }
.hero__caption { position: absolute; right: var(--pad); bottom: 24px; }

/* ---------- Secciones ---------- */
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(100px, 16vh, 200px) var(--pad); }
.section__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; margin-bottom: clamp(48px, 8vh, 96px); }
.section__head .index { grid-column: 1 / -1; margin-bottom: 28px; }
.section__head .display { grid-column: 1 / span 8; }
.section__head .lede { grid-column: 9 / span 4; align-self: end; }
.index { display: flex; align-items: center; gap: 14px; }
.index::after { content: ""; width: 48px; height: 1px; background: var(--line); }

figure { position: relative; }
figure img, .zoom img { background: var(--coal); }
.caption { margin-top: 12px; }
.zoom { display: block; width: 100%; overflow: hidden; cursor: zoom-in; }
.zoom img { transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.zoom:hover img { transform: scale(1.025); filter: saturate(1); }

/* B · Mosaico asimétrico: mismas capturas, proporciones distintas */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); }
.m img { height: 100%; object-fit: cover; }
.m .zoom { height: 100%; }
.m--a { grid-column: 1 / span 8; aspect-ratio: 16 / 9; }
.m--b { grid-column: 9 / span 4; aspect-ratio: 3 / 4; align-self: end; }
.m--c { grid-column: 2 / span 4; aspect-ratio: 4 / 5; margin-top: clamp(20px, 3vw, 48px); }
.m--d { grid-column: 6 / span 7; aspect-ratio: 16 / 9; align-self: start; margin-top: clamp(60px, 12vw, 220px); }
.m figcaption { position: absolute; top: calc(100% + 0px); }
.mosaic figure { margin-bottom: 30px; }

/* C · Mecánicas: texto e imagen alternos, cada una con su encuadre */
.mechanics { display: grid; gap: clamp(72px, 12vh, 140px); }
.mech { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.mech__text { grid-column: 1 / span 4; }
.mech__img { grid-column: 6 / span 7; aspect-ratio: 16 / 9; overflow: hidden; }
.mech__img img { height: 100%; object-fit: cover; }
.mech--flip .mech__text { grid-column: 9 / span 4; grid-row: 1; }
.mech--flip .mech__img { grid-column: 1 / span 7; grid-row: 1; aspect-ratio: 4 / 3; }
.mech:nth-child(3n) .mech__img { aspect-ratio: 21 / 9; }
.num { display: block; margin-bottom: 18px; color: var(--soft); }
.mech h3 { font: 600 clamp(28px, 3vw, 46px)/1 var(--cond); text-transform: uppercase; margin-bottom: 16px; }
.mech p { color: var(--soft); max-width: 26em; }

/* D · Construcción: banda a sangre */
.build { max-width: none; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-left: 0; padding-right: 0; }
.build__media { grid-column: 1 / -1; grid-row: 1; height: min(86vh, 900px); overflow: hidden; position: relative; }
.build__media img { height: 100%; object-fit: cover; }
.build__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(8,9,10,.1) 28%, rgba(8,9,10,.45) 62%, var(--ink) 100%),
              linear-gradient(90deg, rgba(8,9,10,.85) 0%, rgba(8,9,10,.4) 45%, rgba(8,9,10,0) 75%); }
.build__inner { grid-column: 1 / -1; grid-row: 1; align-self: end; position: relative; max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 var(--pad) 40px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.build__inner .index, .build__inner .display { grid-column: 1 / span 7; }
.build__inner .index { margin-bottom: -4px; }
.build__inner .lede { grid-column: 1 / span 5; }
.spec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 40px; }
.spec li { padding: 22px 24px 0 0; color: var(--soft); font-size: 15px; }
.spec span { display: block; margin-bottom: 8px; font: 600 15px/1 var(--cond); letter-spacing: .22em; text-transform: uppercase; color: var(--bone); }
.build__raid { grid-column: 7 / span 5; width: 100%; max-width: var(--max); margin: 60px 0 0; padding-right: 0; aspect-ratio: 16 / 10; }
.build__raid img { height: 100%; object-fit: cover; }

/* E · Atlas: rejilla táctica de biomas */
.atlas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.tile img { height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; opacity: .82; }
.tile:hover img { transform: scale(1.03); opacity: 1; }
.tile figcaption { position: absolute; left: 0; bottom: 0; display: flex; gap: 14px; padding: 14px 16px; font: 500 13px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; background: linear-gradient(0deg, rgba(8,9,10,.85), transparent); width: 100%; }
.tile b { color: var(--mute); font-weight: 500; }
.tile::before, .tile::after { content: ""; position: absolute; z-index: 1; width: 10px; height: 10px; border: 1px solid rgba(236,237,235,.55); pointer-events: none; }
.tile::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.tile::after { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.weather { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(16px, 2vw, 32px); margin-top: clamp(64px, 10vh, 120px); }
.weather .index { grid-column: 1 / -1; }
.weather figure img { aspect-ratio: 16 / 10; object-fit: cover; }

/* F · Comunidad */
.community .display { margin: 28px 0 24px; }
.links { margin-top: clamp(48px, 8vh, 90px); border-top: 1px solid var(--line); }
.links a { display: grid; grid-template-columns: 1fr 1fr auto; align-items: baseline; gap: 24px; padding: clamp(22px, 3vh, 34px) 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.links__k { font: 600 clamp(30px, 4.4vw, 72px)/1 var(--cond); text-transform: uppercase; }
.links__v { font: 500 14px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.links__a { font-size: 24px; color: var(--mute); transition: transform .4s var(--ease), color .3s; }
.links a:hover { padding-left: 14px; }
.links a:hover .links__a { transform: translate(4px, -4px); color: var(--bone); }

/* G · Pie */
.footer { max-width: var(--max); margin: 0 auto; padding: 80px var(--pad) 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 40px 24px; align-items: end; }
.footer__mark { width: min(420px, 100%); color: var(--soft); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer__nav a { font: 500 13px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.footer__nav a:hover { color: var(--bone); }
.footer__meta { grid-column: 1 / -1; color: var(--mute); font-size: 14px; }
.footer__meta a { text-decoration: underline; text-underline-offset: 3px; }

/* Visor */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 9, 10, .94); }
.lightbox img { width: auto; max-width: 96vw; max-height: 92vh; }
.lightbox__close { position: fixed; top: 16px; right: 20px; width: 48px; height: 48px; font-size: 30px; color: var(--bone); }

/* Apariciones al hacer scroll (solo si hay JS y no se pide menos movimiento) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .section__head .display { grid-column: 1 / -1; }
  .section__head .lede { grid-column: 1 / span 9; margin-top: 28px; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec li { padding-bottom: 22px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { gap: 16px; padding-top: 14px; padding-bottom: 14px; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 28px; padding: var(--pad); background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav__links a { font-size: 28px; color: var(--bone); }
  .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; } /* si no, el menú fijo queda encerrado en la barra */
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open .nav__toggle i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__cta { margin-left: auto; }
  .hero__caption { display: none; }
  .hero__media img { object-position: 60% 50%; }
  .mosaic, .mech, .section__head, .build__inner { grid-template-columns: 1fr; }
  .m--a, .m--b, .m--c, .m--d, .mech__text, .mech__img, .mech--flip .mech__text, .mech--flip .mech__img,
  .section__head .display, .section__head .lede, .build__inner > * { grid-column: 1 / -1; }
  .mech--flip .mech__img { grid-row: auto; }
  .m--b, .m--c { aspect-ratio: 4 / 5; margin-top: 0; }
  .m--d { aspect-ratio: 16 / 9; }
  .mech__img, .mech--flip .mech__img, .mech:nth-child(3n) .mech__img { aspect-ratio: 4 / 3; order: -1; }
  .build__media { height: 70vh; }
  .build__raid { grid-column: 1 / -1; margin: 32px var(--pad) 0; width: auto; }
  .spec { grid-template-columns: 1fr; }
  .atlas { grid-template-columns: 1fr 1fr; }
  .weather { grid-template-columns: 1fr; }
  .links a { grid-template-columns: 1fr auto; }
  .links__v { grid-row: 2; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .atlas { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (min-width: 2200px) {
  :root { --max: 2000px; }
  body { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}
