/* Skullbonk landing — medievo cálido low-poly.
   Sin negros ni blancos puros, sin glassmorphism, sin neón.
   Placas pintadas con borde de madera y sombra dura. */

:root {
  --bone: #EFE3C8;
  --bone-light: #F6ECD6;
  --cream: #F4E8CC;
  --wood: #8B6F47;
  --wood-dark: #5C4632;
  --wood-deep: #3D2817;
  --stone: #C9B79C;
  --stone-dark: #A89678;
  --amber: #D4923A;
  --amber-dark: #B07628;
  --terracotta: #B85042;
  --terracotta-dark: #963F33;
  --moss: #6B7F4A;
  --moss-dark: #4F5F36;
  --sky: #9CC2DC;
  --parchment: #EDDCB4;
  --parchment-deep: #DCC8A0;
  --ink: #2A1A0E;
  --ink-soft: #4A3424;

  --edge: 3px solid var(--ink);
  --drop: 0 6px 0 var(--ink);
  --drop-lg: 0 10px 0 var(--ink);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: var(--parchment);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--bone);
  color: var(--ink);
  padding: 10px 16px;
  border: var(--edge);
  font-family: 'Anton', sans-serif;
}
.skip-link:focus { left: 12px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 24px;
}
.container.narrow { max-width: 760px; }

.muted { color: var(--ink-soft); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 32px);
  background: var(--cream);
  border-bottom: var(--edge);
  box-shadow: 0 4px 0 rgba(42, 26, 14, 0.25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Anton', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.07em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; object-fit: contain; }

.nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); }
.nav a:not(.btn) {
  font-family: 'Anton', sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.nav a:not(.btn):hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .brand-text { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: var(--edge);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

.btn-primary {
  background: var(--terracotta);
  color: var(--bone-light);
  box-shadow: var(--drop);
}
.btn-primary:hover {
  background: var(--amber-dark);
  color: var(--bone-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--ink);
}
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }

.btn-ghost {
  background: var(--bone);
  color: var(--ink);
  box-shadow: var(--drop);
}
.btn-ghost:hover {
  background: var(--bone-light);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--ink);
}
.btn-ghost:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 10vh, 120px) 24px clamp(90px, 14vh, 150px);
  overflow: hidden;
  border-bottom: var(--edge);
}
.hero-art { position: absolute; inset: 0; }
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42,26,14,0.45) 0%, rgba(42,26,14,0.25) 35%, rgba(42,26,14,0.72) 100%),
    radial-gradient(ellipse at 50% 55%, rgba(42,26,14,0.15) 0%, rgba(42,26,14,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}
.kicker {
  display: inline-block;
  font-family: 'Special Elite', 'Courier New', monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--bone-light);
  background: rgba(42, 26, 14, 0.78);
  padding: 7px 16px;
  border: 2px solid var(--bone);
  margin: 0 0 22px;
}
.display {
  max-width: 100%;
  font-family: 'Bowlby One SC', 'Anton', sans-serif;
  font-size: clamp(3rem, 11vw, 7rem);
  line-height: 0.92;
  margin: 0 0 22px;
  color: var(--bone-light);
  letter-spacing: 0.01em;
  text-shadow:
    5px 5px 0 var(--ink),
    10px 10px 0 rgba(42, 26, 14, 0.4);
}
.display .word { display: inline-block; }
.display .accent { color: var(--amber); }

.tagline {
  font-family: 'Special Elite', serif;
  font-size: clamp(1.02rem, 2.1vw, 1.35rem);
  color: var(--bone-light);
  max-width: 640px;
  margin: 0 auto 34px;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(42, 26, 14, 0.8);
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-meta {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  font-size: 0.8rem;
  margin: 0;
}

/* Valla de madera que corta el hero */
.fence {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 26px;
  background: var(--parchment);
  clip-path: polygon(
    0 40%, 4% 40%, 5% 15%, 6% 40%, 10% 40%, 11% 10%, 12% 40%, 16% 40%,
    17% 18%, 18% 40%, 22% 40%, 23% 8%, 24% 40%, 28% 40%, 29% 20%, 30% 40%,
    34% 40%, 35% 12%, 36% 40%, 40% 40%, 41% 16%, 42% 40%, 46% 40%, 47% 6%,
    48% 40%, 52% 40%, 53% 18%, 54% 40%, 58% 40%, 59% 10%, 60% 40%, 64% 40%,
    65% 20%, 66% 40%, 70% 40%, 71% 12%, 72% 40%, 76% 40%, 77% 16%, 78% 40%,
    82% 40%, 83% 8%, 84% 40%, 88% 40%, 89% 18%, 90% 40%, 94% 40%, 95% 12%,
    96% 40%, 100% 40%, 100% 100%, 0 100%
  );
}

/* ---------- Ajustes de pantalla angosta ---------- */
@media (max-width: 460px) {
  .container { padding-inline: 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .kicker { font-size: 0.7rem; letter-spacing: 0.1em; padding: 6px 10px; }
  .display { font-size: clamp(2.3rem, 12.5vw, 7rem); }
  .tagline { font-size: 1rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .btn-lg { padding: 14px 18px; font-size: 0.98rem; }
  .plate { padding: 26px 18px; }
  .social { flex: 1 1 44%; justify-content: center; }
}

/* ---------- Promesa ---------- */
.promise {
  background: var(--wood-deep);
  border-bottom: var(--edge);
  padding: clamp(36px, 6vw, 60px) 0;
}
.promise-line {
  margin: 0;
  text-align: center;
  font-family: 'Bowlby One SC', 'Anton', sans-serif;
  font-size: clamp(1.25rem, 3.2vw, 2.1rem);
  line-height: 1.25;
  color: var(--bone-light);
  max-width: 900px;
  margin-inline: auto;
}

/* ---------- Cabeceras de sección ---------- */
.section-head { margin-bottom: clamp(36px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-kicker {
  font-family: 'Special Elite', monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--terracotta);
  margin: 0 0 10px;
}
.section-title {
  font-family: 'Bowlby One SC', 'Anton', sans-serif;
  font-size: clamp(1.9rem, 5.2vw, 3.2rem);
  line-height: 1.06;
  color: var(--ink);
  margin: 0 0 18px;
}
.section-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0;
}
.section-lead.center { margin-inline: auto; }

/* ---------- Placas ---------- */
.plate {
  position: relative;
  background: var(--bone);
  border: var(--edge);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 3.4vw, 40px);
  box-shadow: var(--drop-lg), inset 0 0 0 5px var(--bone-light), inset 0 0 0 7px var(--ink);
}
.plate-center { text-align: center; }
.plate-tag {
  position: absolute;
  top: -17px;
  left: clamp(18px, 3vw, 32px);
  background: var(--terracotta);
  color: var(--bone-light);
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 6px 16px;
  border: var(--edge);
  box-shadow: 0 3px 0 var(--ink);
}
.plate-center .plate-tag { left: 50%; transform: translateX(-50%); }
.plate h3 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 8px 0 14px;
}
.plate p { margin: 0 0 12px; color: var(--ink-soft); }
.plate p:last-child { margin-bottom: 0; }

/* ---------- El juego en imagenes ---------- */
.shots {
  background: var(--cream);
  border-bottom: var(--edge);
}
.shot-big {
  position: relative;
  margin: 0;
  border-bottom: var(--edge);
}
.shot-big:last-child { border-bottom: 0; }
.shot-big img {
  width: 100%;
  height: clamp(300px, 58vh, 640px);
  object-fit: cover;
  display: block;
}
.shot-big figcaption {
  position: absolute;
  left: clamp(16px, 4vw, 48px);
  bottom: clamp(16px, 3vw, 34px);
}
.shot-big figcaption span {
  display: inline-block;
  font-family: 'Anton', sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-light);
  background: rgba(42, 26, 14, 0.82);
  border: 2px solid var(--bone);
  padding: 9px 18px;
}

/* ---------- Banda de clima ---------- */
.feature {
  position: relative;
  padding: clamp(72px, 11vw, 150px) 0;
  border-block: var(--edge);
  overflow: hidden;
}
.feature-art { position: absolute; inset: 0; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.feature-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(42,26,14,0.92) 0%, rgba(42,26,14,0.82) 45%, rgba(42,26,14,0.62) 100%);
}
.feature .container { position: relative; z-index: 2; }
.plate-dark {
  max-width: 640px;
  background: var(--wood-deep);
  color: var(--bone);
  box-shadow: var(--drop-lg), inset 0 0 0 5px var(--wood-dark), inset 0 0 0 7px var(--ink);
}
.plate-dark p { color: var(--bone); }
.feature-title {
  font-family: 'Bowlby One SC', 'Anton', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: var(--bone-light);
  margin: 10px 0 18px;
}
.feature-note {
  font-family: 'Special Elite', monospace;
  font-size: 0.92rem;
  color: var(--amber) !important;
  border-top: 2px solid var(--wood-dark);
  padding-top: 14px;
  margin-top: 18px !important;
}

/* ---------- Pilares ---------- */
/* ---------- Elenco ---------- */
.cast {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--cream);
  border-block: var(--edge);
}
.portraits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 28px);
  max-width: 780px;
  margin-inline: auto;
}
.portrait {
  margin: 0;
  border: var(--edge);
  box-shadow: var(--drop);
  background: var(--parchment-deep);
  overflow: hidden;
}
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .portraits { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
}

/* ---------- Galería ---------- */
.gallery-section {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--parchment);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 28px);
}
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }
.shot {
  margin: 0;
  background: var(--bone-light);
  border: var(--edge);
  box-shadow: var(--drop);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--ink); }
.shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--stone);
  cursor: zoom-in;
  line-height: 0;
}
.shot-btn img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption {
  padding: 11px 15px;
  font-family: 'Special Elite', monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
  background: var(--bone);
  border-top: 3px solid var(--ink);
}

/* ---------- Trailer ---------- */
.trailer {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--cream);
  border-top: var(--edge);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--wood-deep);
  border: var(--edge);
  box-shadow: var(--drop-lg), inset 0 0 0 5px var(--bone);
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(42, 26, 14, 0.62);
  transition: background 0.2s ease;
}
.video-placeholder:hover .video-overlay { background: rgba(42, 26, 14, 0.48); }
.play-mark { width: 84px; height: 84px; filter: drop-shadow(0 5px 0 var(--ink)); }
.placeholder-text {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--bone-light);
  text-align: center;
  margin: 0;
  padding-inline: 16px;
}
.placeholder-text span {
  display: block;
  margin-top: 8px;
  font-family: 'Special Elite', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--bone);
}

/* ---------- Newsletter ---------- */
.newsletter {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--parchment);
}
.signup {
  display: flex;
  gap: 10px;
  margin: 26px auto 0;
  max-width: 480px;
  flex-wrap: wrap;
  justify-content: center;
}
.signup input {
  flex: 1 1 240px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 14px 16px;
  background: var(--bone-light);
  border: var(--edge);
  box-shadow: inset 0 3px 0 rgba(42, 26, 14, 0.12);
  color: var(--ink);
  min-width: 0;
}
.signup input::placeholder { color: var(--stone-dark); }
.signup input:focus {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}
.signup .btn { padding: 14px 24px; }
.form-note { margin-top: 16px; font-size: 0.9rem; }

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 3px solid var(--stone);
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  background: var(--stone);
  color: var(--ink);
  border: var(--edge);
  box-shadow: 0 4px 0 var(--ink);
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.88rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}
.social svg { width: 18px; height: 18px; }
.social:hover {
  background: var(--bone);
  color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--ink);
}

/* ---------- Footer ---------- */
.footer {
  padding: 30px 0;
  background: var(--wood-deep);
  color: var(--bone);
  border-top: var(--edge);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.footer-brand .brand-mark { width: 30px; height: 30px; object-fit: contain; }
.footer .muted { color: var(--stone); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(42, 26, 14, 0.92);
}
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border: var(--edge);
  box-shadow: var(--drop-lg);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  line-height: 1;
  font-family: 'Anton', sans-serif;
  color: var(--ink);
  background: var(--bone);
  border: var(--edge);
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
}
.lightbox-close:hover { background: var(--amber); }
[hidden] { display: none !important; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .shot, .social { transition: none; }
}
